@@ -156,7 +112,7 @@ export default {
setup() {
const state = reactive({
- loading:false,
+ loading: false,
optionsproj: [
{
value: "jack",
@@ -178,19 +134,19 @@ export default {
projAuditModal: false,
closeBack: false,
columns1: [
- // {
- // title: "序号",
- // dataIndex: "number",
- // key: "number",
- // align: "center",
- // },
+ // {
+ // title: "序号",
+ // dataIndex: "number",
+ // key: "number",
+ // align: "center",
+ // },
{
title: "项目名称",
dataIndex: "name",
key: "name",
align: "center",
ellipsis: true,
- width:"20%",
+ width: "20%",
},
{
@@ -199,14 +155,15 @@ export default {
key: "topName",
align: "center",
ellipsis: true,
- width:"20%",
+ width: "20%",
customRender: ({ record: { gaName, faName, name } }) => (
-
- {faName
- ? gaName !== null
- ? gaName + "/" + faName
- : faName
- : name}
+
+ {
+ faName ? gaName !== null
+ ? (gaName + "/" + faName).length > 16 ? (gaName + "/" + faName).slice(0, 16) + '...' : (gaName + "/" + faName)
+ : faName.length > 16 ? faName.slice(0, 16) + '...' : faName
+ : name.length > 16 ? name.slice(0, 16) + '...' : name
+ }
),
},
@@ -216,7 +173,7 @@ export default {
key: "manager",
align: "center",
ellipsis: true,
- width:"10%",
+ width: "10%",
},
{
title: "审核状态",
@@ -224,7 +181,7 @@ export default {
key: "status",
align: "center",
ellipsis: true,
- width:"10%",
+ width: "10%",
customRender: ({ record: { status } }) => (
{{ '2': "审核通过", "-5": "未通过" }[status + ""] || '审核通过'}
),
@@ -235,7 +192,7 @@ export default {
key: "createName",
align: "center",
ellipsis: true,
- width:"10%",
+ width: "10%",
},
{
title: "审核时间",
@@ -243,7 +200,7 @@ export default {
key: "updateTime",
align: "center",
ellipsis: true,
- width:"10%",
+ width: "10%",
},
{
title: "审核说明",
@@ -251,8 +208,8 @@ export default {
key: "description",
align: "center",
ellipsis: true,
- width:"20%",
-
+ width: "20%",
+
customRender: ({ record: { auditList, description } }) => (
{auditList.length !== 0
@@ -260,8 +217,8 @@ export default {
? auditList[auditList.length - 1].description
: "-"
: description
- ? description
- : "-"}
+ ? description
+ : "-"}
),
},
@@ -271,14 +228,14 @@ export default {
dataIndex: "opt",
key: "opt",
align: "center",
-
- width:"10%",
+
+ width: "10%",
customRender: (value) => {
return (
{
- showProjAuditModal(value.record.auditList.length!==0?value.record.auditList:[]);
+ showProjAuditModal(value.record.auditList.length !== 0 ? value.record.auditList : []);
}}
style="cursor:pointer;color:#387DF7"
>
@@ -328,7 +285,7 @@ export default {
tableData1: [],
});
const getProjList = () => {
- state.loading=true
+ state.loading = true
let objn = {
beginTime: state.valueDate ? dayjs(state.valueDate[0]).format("YYYY-MM-DD") : "",
endTime: state.valueDate ? dayjs(state.valueDate[1]).format("YYYY-MM-DD") : "",
@@ -351,7 +308,7 @@ export default {
});
state.tableData1 = numdata;
- state.loading=false
+ state.loading = false
});
};
const changePagination = (pagina) => {
@@ -383,10 +340,10 @@ export default {
item.status == 1
? "提交待审核"
: item.status == 2
- ? "通过"
- : item.status == 3
- ? "拒绝"
- : "-",
+ ? "通过"
+ : item.status == 3
+ ? "拒绝"
+ : "-",
time: item.createTime,
description: item.description,
};
@@ -435,6 +392,7 @@ export default {
background: #ffffff;
box-shadow: 0px 1px 35px 0px rgba(118, 136, 166, 0.21);
border-radius: 4px;
+
// position: absolute;
// left: 50%;
// top: 10%;
@@ -443,10 +401,8 @@ export default {
position: absolute;
width: calc(100%);
height: 68px;
- background: linear-gradient(
- rgba(78, 166, 255, 0.2) 0%,
- rgba(78, 166, 255, 0) 100%
- );
+ background: linear-gradient(rgba(78, 166, 255, 0.2) 0%,
+ rgba(78, 166, 255, 0) 100%);
}
.del_main {
@@ -546,26 +502,28 @@ export default {
.projectviewed {
width: 100%;
+
.addTimeBox {
- position: relative;
- display: flex;
- align-items: center;
+ position: relative;
+ display: flex;
+ align-items: center;
- .addTime {
- position: absolute;
- z-index: 10;
- margin-left: 10px;
- color: rgba(0, 0, 0, 0.4);
+ .addTime {
+ position: absolute;
+ z-index: 10;
+ margin-left: 10px;
+ color: rgba(0, 0, 0, 0.4);
+ }
+
+ .ant-picker {
+ padding-left: 85px;
+ }
+
+ .ant-picker-range .ant-picker-active-bar {
+ margin-left: 85px;
+ }
}
- .ant-picker {
- padding-left: 85px;
- }
-
- .ant-picker-range .ant-picker-active-bar {
- margin-left: 85px;
- }
-}
.tmpl {
width: 100%;
diff --git a/src/views/examine/ProjectReviewedN.vue b/src/views/examine/ProjectReviewedN.vue
index 313ab6ca..68936bc7 100644
--- a/src/views/examine/ProjectReviewedN.vue
+++ b/src/views/examine/ProjectReviewedN.vue
@@ -14,55 +14,38 @@
@@ -78,40 +61,20 @@