Browse Source

【项目管理】查询修改-王公峰-2020-11-11

feature/borad
wanggongfeng 5 years ago
parent
commit
f6c36a4545
  1. 22
      src/views/modules/events/item-close-list.vue
  2. 22
      src/views/modules/events/item-deal-list.vue
  3. 22
      src/views/modules/events/item-end-list.vue
  4. 22
      src/views/modules/events/item-process-list.vue

22
src/views/modules/events/item-close-list.vue

@ -276,23 +276,25 @@
watch: { watch: {
ids: function (val) { ids: function (val) {
if (val.length === 0) { if (val.length === 0) {
this.dataForm.streetId = '' // this.dataForm.streetId = ''
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' this.dataForm.deptId = ''
} }
if (val.length === 1) { if (val.length === 1) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[0]
} }
if (val.length === 2) { if (val.length === 2) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[1]
} }
if (val.length === 3) { if (val.length === 3) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = this.ids[2] this.dataForm.deptId = this.ids[2]
} }
} }

22
src/views/modules/events/item-deal-list.vue

@ -275,23 +275,25 @@
watch: { watch: {
ids: function (val) { ids: function (val) {
if (val.length === 0) { if (val.length === 0) {
this.dataForm.streetId = '' // this.dataForm.streetId = ''
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' this.dataForm.deptId = ''
} }
if (val.length === 1) { if (val.length === 1) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[0]
} }
if (val.length === 2) { if (val.length === 2) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[1]
} }
if (val.length === 3) { if (val.length === 3) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = this.ids[2] this.dataForm.deptId = this.ids[2]
} }
} }

22
src/views/modules/events/item-end-list.vue

@ -281,23 +281,25 @@
watch: { watch: {
ids: function (val) { ids: function (val) {
if (val.length === 0) { if (val.length === 0) {
this.dataForm.streetId = '' // this.dataForm.streetId = ''
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' this.dataForm.deptId = ''
} }
if (val.length === 1) { if (val.length === 1) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[0]
} }
if (val.length === 2) { if (val.length === 2) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[1]
} }
if (val.length === 3) { if (val.length === 3) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = this.ids[2] this.dataForm.deptId = this.ids[2]
} }
} }

22
src/views/modules/events/item-process-list.vue

@ -282,23 +282,25 @@
watch: { watch: {
ids: function (val) { ids: function (val) {
if (val.length === 0) { if (val.length === 0) {
this.dataForm.streetId = '' // this.dataForm.streetId = ''
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' this.dataForm.deptId = ''
} }
if (val.length === 1) { if (val.length === 1) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = '' // this.dataForm.communityId = ''
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[0]
} }
if (val.length === 2) { if (val.length === 2) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = '' // this.dataForm.deptId = ''
this.dataForm.deptId = this.ids[1]
} }
if (val.length === 3) { if (val.length === 3) {
this.dataForm.streetId = this.ids[0] // this.dataForm.streetId = this.ids[0]
this.dataForm.communityId = this.ids[1] // this.dataForm.communityId = this.ids[1]
this.dataForm.deptId = this.ids[2] this.dataForm.deptId = this.ids[2]
} }
} }

Loading…
Cancel
Save