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] } }