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(() => {