From f6c36a4545b180597864df0320c0dbcdfb0b3108 Mon Sep 17 00:00:00 2001 From: wanggongfeng <1305282856@qq.com> Date: Wed, 11 Nov 2020 18:02:02 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E9=A1=B9=E7=9B=AE=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E3=80=91=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9-=E7=8E=8B?= =?UTF-8?q?=E5=85=AC=E5=B3=B0-2020-11-11?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/modules/events/item-close-list.vue | 22 ++++++++++--------- src/views/modules/events/item-deal-list.vue | 22 ++++++++++--------- src/views/modules/events/item-end-list.vue | 22 ++++++++++--------- .../modules/events/item-process-list.vue | 22 ++++++++++--------- 4 files changed, 48 insertions(+), 40 deletions(-) diff --git a/src/views/modules/events/item-close-list.vue b/src/views/modules/events/item-close-list.vue index 8f56a2f..c1646b1 100644 --- a/src/views/modules/events/item-close-list.vue +++ b/src/views/modules/events/item-close-list.vue @@ -276,23 +276,25 @@ watch: { ids: function (val) { if (val.length === 0) { - this.dataForm.streetId = '' - this.dataForm.communityId = '' + // this.dataForm.streetId = '' + // this.dataForm.communityId = '' this.dataForm.deptId = '' } if (val.length === 1) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = '' - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = '' + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[0] } if (val.length === 2) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[1] } if (val.length === 3) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] this.dataForm.deptId = this.ids[2] } } diff --git a/src/views/modules/events/item-deal-list.vue b/src/views/modules/events/item-deal-list.vue index 69792e1..edb5c71 100644 --- a/src/views/modules/events/item-deal-list.vue +++ b/src/views/modules/events/item-deal-list.vue @@ -275,23 +275,25 @@ watch: { ids: function (val) { if (val.length === 0) { - this.dataForm.streetId = '' - this.dataForm.communityId = '' + // this.dataForm.streetId = '' + // this.dataForm.communityId = '' this.dataForm.deptId = '' } if (val.length === 1) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = '' - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = '' + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[0] } if (val.length === 2) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[1] } if (val.length === 3) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] this.dataForm.deptId = this.ids[2] } } diff --git a/src/views/modules/events/item-end-list.vue b/src/views/modules/events/item-end-list.vue index cf606eb..e3f8ed9 100644 --- a/src/views/modules/events/item-end-list.vue +++ b/src/views/modules/events/item-end-list.vue @@ -281,23 +281,25 @@ watch: { ids: function (val) { if (val.length === 0) { - this.dataForm.streetId = '' - this.dataForm.communityId = '' + // this.dataForm.streetId = '' + // this.dataForm.communityId = '' this.dataForm.deptId = '' } if (val.length === 1) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = '' - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = '' + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[0] } if (val.length === 2) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[1] } if (val.length === 3) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] this.dataForm.deptId = this.ids[2] } } diff --git a/src/views/modules/events/item-process-list.vue b/src/views/modules/events/item-process-list.vue index 335da6f..d43b9c2 100644 --- a/src/views/modules/events/item-process-list.vue +++ b/src/views/modules/events/item-process-list.vue @@ -282,23 +282,25 @@ watch: { ids: function (val) { if (val.length === 0) { - this.dataForm.streetId = '' - this.dataForm.communityId = '' + // this.dataForm.streetId = '' + // this.dataForm.communityId = '' this.dataForm.deptId = '' } if (val.length === 1) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = '' - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = '' + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[0] } if (val.length === 2) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] - this.dataForm.deptId = '' + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] + // this.dataForm.deptId = '' + this.dataForm.deptId = this.ids[1] } if (val.length === 3) { - this.dataForm.streetId = this.ids[0] - this.dataForm.communityId = this.ids[1] + // this.dataForm.streetId = this.ids[0] + // this.dataForm.communityId = this.ids[1] this.dataForm.deptId = this.ids[2] } }