From 514a9cc10622d996c3cfe1f3a2e955d52e7fc0c3 Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期五, 23 二月 2024 15:55:36 +0800 Subject: [PATCH] bug修改 --- src/views/safetyReview/projectManage/index.vue | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/safetyReview/projectManage/index.vue b/src/views/safetyReview/projectManage/index.vue index 672de99..ae959cb 100644 --- a/src/views/safetyReview/projectManage/index.vue +++ b/src/views/safetyReview/projectManage/index.vue @@ -111,7 +111,7 @@ <el-table-column label="缺失要件" align="center" width="150"> <template #default="scope"> <div style="cursor:pointer;color: #3b82f6;" > - <span v-if="scope.row.process === 5" @click="goMenu('toTwelve',scope.row)">{{scope.row.materialCnt}}</span> + <span v-if="scope.row.process === 5" @click="goMenu('toTwelve',scope.row)">{{scope.row.missingMaterialCnt}}</span> <span v-else></span> </div> </template> @@ -316,11 +316,12 @@ ...item, process: item.reportProgress <= 4 ? 1 : item.reportProgress > 4 && item.reportProgress <= 6 ? 2 : item.reportProgress > 6 && item.reportProgress <= 9 ? 3 : item.reportProgress > 9 && item.reportProgress <= 11 ? 4 : 5, leaderName: item.leader ? item.leader.name : '', - area: item.district ? item.province + '/' + item.city + '/' + item.district : item.city?item.province + '/' + item.city:item.province , + area: item.district ? item.province + '/' + item.city + '/' + item.district : item.city != item.province ? item.province + '/' + item.city: item.province , filingDate: item.filingDate ? conversionDays(item.filingDate,item.createTime) : conversionDays('',item.createTime), contractMoney: item.contract ? item.contract.contractMoney : '', actualContractMoney: item.contract ? item.contract.actualContractMoney : '', - activeConfirm: item.personRecognition ? item.personRecognition.recognitionCnt + '/' + item.personRecognition.personCnt: '' + activeConfirm: item.personRecognition ? item.personRecognition.recognitionCnt + '/' + item.personRecognition.personCnt: '', + missingMaterialCnt: 3-item.materialCnt } }) total.value = res.data.total @@ -492,7 +493,7 @@ }); const goMenu = (toPath,val) => { console.log("val",val) - if(val.personRecognition && val.personRecognition. recognitionCnt === 0){ + if(toPath ==='toThirteen' && val.personRecognition && val.personRecognition. recognitionCnt === 0){ ElMessage.warning('未进行签字确认,无法查看!') return; } -- Gitblit v1.9.2