From ac167460f93d3668969402ec88233fc88842604b Mon Sep 17 00:00:00 2001 From: "zyx.net" Date: Tue, 26 Sep 2023 10:22:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=B3=E5=8F=B0=E4=BB=B6=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=BA=93=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/listEditModel.vue | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue index 53fac2abb..103c66b22 100644 --- a/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue +++ b/jero-web/src/views/projectManagement/platformItemLibraryDetails/components/listEditModel.vue @@ -250,7 +250,7 @@ {{$t('personLiable')}} - @@ -381,7 +381,7 @@ {{$t('personLiable')}} - @@ -653,14 +653,14 @@ trigger: 'change' } ], - regulationOwnerId: [ + regulationOwnerIdName: [ { required: true, message: this.$t('regulatoryEngineer') + this.$t('cannotEmpty'), trigger: 'change' } ], - engineeringInterfacePerson: [ + engineeringInterfacePersonName: [ { required: true, message: this.$t('engineeringInterfacePerson') + this.$t('cannotEmpty'), @@ -830,9 +830,9 @@ }) }, DutyDepartChange(event) { - this.formInline.dutyTerritory = [] + // this.formInline.dutyTerritory = [] this.formInline = { ...this.formInline } - this.getDutyTerritory(event.join(',')) + // this.getDutyTerritory(event.join(',')) }, getDutyTerritory(row) { let query = { @@ -851,7 +851,7 @@ this.formInline.designInitiatorId = undefined this.formInline.prehomoInitiatorId = undefined this.formInline.verifyInitiatorId = undefined - this.queryPersonByProject(event.join(',')) + // this.queryPersonByProject(event.join(',')) }, queryPersonByProject(row) { @@ -932,12 +932,11 @@ item.prehomoDeliverableType = item.prehomoDeliverableType ? item.prehomoDeliverableType.split(',') : [] item.verifyDeliverableType = item.verifyDeliverableType ? item.verifyDeliverableType.split(',') : [] item.dutyDepart = item.dutyDepart ? item.dutyDepart.split(',') : [] - item.dutyTerritory = item.dutyTerritory ? item.dutyTerritory.split(',') : [] + // item.dutyTerritory = item.dutyTerritory ? item.dutyTerritory.split(',') : [] this.getRejectCause(item.id) if (item.dutyDepart && item.dutyDepart.length > 0) { this.getDutyTerritory(item.dutyDepart.join(',')) } - console.log(item.dutyTerritory) // if (item.dutyTerritory && item.dutyTerritory.length > 0) { // this.queryPersonByProject(item) // } else { @@ -945,7 +944,7 @@ this.formInline = { ...this.formInline } // } console.log(this.formInline) - console.log(this.formInline.regulationOwnerIdName) + console.log(this.formInline.dutyTerritory) this.$nextTick(() => { this.$refs.ruleForm.clearValidate() })