From a852f53e9973fc5632cb192611083a7df72c79e0 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Thu, 28 Sep 2023 10:47:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E5=BA=93-=E5=85=B3=E8=81=94?= =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E4=BB=B6=E5=90=8E=E7=BC=96=E8=BE=91=E5=BC=B9?= =?UTF-8?q?=E6=A1=86=E4=B8=AD=E5=9D=87=E4=B8=8D=E5=8F=AF=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../certificationList/components/addModel.vue | 9 ++++- .../components/listEditModel.vue | 33 ++++++++++++++++--- 2 files changed, 36 insertions(+), 6 deletions(-) diff --git a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue index 573f45019..633656b76 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue @@ -57,6 +57,7 @@ @@ -359,6 +360,7 @@ prop="category" > @@ -373,6 +375,7 @@ @@ -392,6 +395,7 @@ > @@ -415,6 +419,7 @@ @@ -434,6 +439,7 @@ @@ -876,7 +883,7 @@ this.queryPersonByProject(value.dutyTerritory.join(',')) } console.log(value) - if(value.projectCertificationInventoryEOS && (value.projectCertificationInventoryEOS.length > 0 || value.projectCertificationInventoryEOS == null)){ + if(value.projectCertificationInventoryEOS && (value.projectCertificationInventoryEOS.length > 0 || value.projectCertificationInventoryEOS != null)){ this.flowdisabled = true this.$refs.uploadFile.disabled = true } diff --git a/jero-web/src/views/projectManagement/components/listEditModel.vue b/jero-web/src/views/projectManagement/components/listEditModel.vue index 4542416a6..cedc088b7 100644 --- a/jero-web/src/views/projectManagement/components/listEditModel.vue +++ b/jero-web/src/views/projectManagement/components/listEditModel.vue @@ -18,7 +18,7 @@ @@ -31,6 +31,7 @@ @@ -45,6 +46,7 @@ @@ -58,6 +60,7 @@ @@ -75,6 +78,7 @@ @@ -90,6 +94,7 @@ @@ -109,7 +114,7 @@ optionFilterProp="label" @change="DutyDepartChange" mode="multiple" - :disabled="formInline.roleCodeIndex == 0 ? false : true" + :disabled="isdata(this.formInline)" :getPopupContainer="triggerNode=> triggerNode.parentNode" v-model="formInline.dutyDepart"> @@ -194,6 +199,7 @@ @@ -887,6 +893,23 @@ return true } }, + isdata(val) { + // if (val.designFlowStatus == 'Task to be confirmed' || val.designFlowStatus == 'Results to be submitted' || + // val.designFlowStatus == 'Results to be reviewed') { + // return true + // } else { + // return false + // } + if (val.roleCodeIndex == '0') { + if(this.dataList && this.dataList.length > 0) { + return true + }else{ + return false + } + } else { + return false + } + }, isEditVerifi(val) { // if (val.verifyFlowStatus == 'Task to be confirmed' || val.verifyFlowStatus == 'Results to be submitted' || // val.verifyFlowStatus == 'Results to be reviewed') {