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)">