Browse Source

维护服务定义优化

suzhou_blueVersion
wangxy 3 years ago
parent
commit
fa0710d85e
1 changed files with 7 additions and 1 deletions
  1. +7
    -1
      src/views/equip/basic/service.vue

+ 7
- 1
src/views/equip/basic/service.vue View File

@ -470,6 +470,9 @@ export default {
}) })
return item && flag return item && flag
}) })
if (!this.form.unvalst) {
this.form.unvalst = []
}
this.form.unvalst = this.form.unvalst.concat(this.assignArray || []) this.form.unvalst = this.form.unvalst.concat(this.assignArray || [])
}, },
/** 未分配 ->已分配*/ /** 未分配 ->已分配*/
@ -485,6 +488,9 @@ export default {
}) })
return item && flag return item && flag
}) })
if (!this.form.valst) {
this.form.valst = []
}
this.form.valst = this.form.valst.concat(this.unassignArray || []) this.form.valst = this.form.valst.concat(this.unassignArray || [])
}, },
// //
@ -528,7 +534,7 @@ export default {
handleAdd() { handleAdd() {
this.reset() this.reset()
getUnassignList().then(res => { getUnassignList().then(res => {
this.form.unvalst = res.data
this.form.unvalst = res.data || []
this.open = true this.open = true
}) })
this.title = '添加' this.title = '添加'


Loading…
Cancel
Save