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