From e6683bb4a58c96a619948d17828364da69bac481 Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Wed, 27 Sep 2023 10:05:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E4=BB=B6=E8=AE=A4=E8=AF=81?= =?UTF-8?q?=E6=B8=85=E5=8D=95-=E7=BC=96=E8=BE=91-=E8=B4=A3=E4=BB=BB?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E5=92=8C=E8=B4=A3=E4=BB=BB=E9=A2=86=E5=9F=9F?= =?UTF-8?q?=E6=B2=A1=E6=9C=89=E5=85=B3=E8=81=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../certificationList/components/addModel.vue | 31 +++++++++++++------ 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue index 562412cfa..64c42a5fa 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/certificationList/components/addModel.vue @@ -217,12 +217,22 @@ :prop="'dataList.'+index+'.dutyTerritory'" :rules="[{ required: true, message: $t('areaOfResponsibility') + $t('cannotEmpty'), trigger: 'change'},]" > - + + + + {{ val.itemText }} + + + @@ -810,9 +820,12 @@ value.dutyDepart = value.dutyDepart ? value.dutyDepart.split(',') : [] value.dutyTerritory = value.dutyTerritory ? value.dutyTerritory.split(',') : [] this.formInline = JSON.parse(JSON.stringify(value)) - // if (value.dutyTerritory && value.dutyTerritory.length > 0) { - // this.queryPersonByProject(value.dutyTerritory.join(',')) - // } + if (value.dutyDepart && value.dutyDepart.length > 0) { + this.getDutyTerritoryOne(value.dutyDepart.join(',')) + } + if (value.dutyTerritory && value.dutyTerritory.length > 0) { + this.queryPersonByProject(value.dutyTerritory.join(',')) + } this.getRegulationNo() this.title = this.$t('edit') this.$nextTick(() => {