From bd8dd3bfedc43c8587e1b36ee1ecf192cd1f9fb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8C=83=E5=BC=BA=E5=BC=BA?= <787203167> Date: Fri, 24 Mar 2023 14:05:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=A4=E8=AF=81=E6=B8=85?= =?UTF-8?q?=E5=8D=95=E7=9A=84=E5=BF=85=E5=A1=AB=E6=A0=A1=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../certificationList/components/addModel.vue | 29 +++++++++++++------ .../components/certificationList/index.vue | 5 +++- 2 files changed, 24 insertions(+), 10 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 71e0eb61c..25f1f896c 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/components/addModel.vue @@ -46,7 +46,7 @@ @@ -75,7 +75,7 @@ }]" > @@ -92,7 +92,7 @@ {max: 300,message: $t('inspectionItems') + $t('cannotExceed') + 300 + $t('Characters'),trigger: 'blur' }]"> @@ -113,7 +113,7 @@ }]" > @@ -204,7 +204,7 @@ @@ -295,7 +295,7 @@ @@ -313,7 +313,7 @@ :prop="'configItem'" > @@ -398,6 +398,7 @@ > { + return res.value === id + }) + if (content && content.length > 0) { + this.formInline.dataList[index].dutyPersonName = content[0].name + this.formInline.dataList[index].dutyPerson = content[0].value + } + } this.$nextTick(() => { this.formInline = { ...this.formInline } this.$refs.ruleForm.validateField([value]) @@ -796,6 +806,7 @@ this.formInline.dataList[index].engineeringInterfacePersonList = res.result.engineeringInterfacePersonList || [] if (res.result.engineeringInterfacePersonList && res.result.engineeringInterfacePersonList.length == 1) { this.formInline.dataList[index].sdt = res.result.engineeringInterfacePersonList[0].value + this.handleInput('dataList.' + index + '.sdt', this.formInline.dataList[index].sdt, index, res.result.engineeringInterfacePersonList) } this.formInline = { ...this.formInline } }) diff --git a/jero-web/src/views/projectManagement/components/certificationList/index.vue b/jero-web/src/views/projectManagement/components/certificationList/index.vue index 67604767d..ec076d2c6 100644 --- a/jero-web/src/views/projectManagement/components/certificationList/index.vue +++ b/jero-web/src/views/projectManagement/components/certificationList/index.vue @@ -284,7 +284,10 @@ + (record.flowStatus == 'Review and return' && + record.dutyPersonName == userInfoQuery.username && roleSwitchingCode == 20) || + (record.flowStatus == 'Results to be submitted' && roleSwitchingCode == 21) || + (record.flowStatus == 'Review and return' && roleSwitchingCode == 21)">