|
|
|
@ -1290,7 +1290,7 @@ export default {
|
|
|
|
|
for (let i = 0; i < response.data.length; i++) {
|
|
|
|
|
this.personList.push({
|
|
|
|
|
label: response.data[i].nickName + '(' + response.data[i].userName + ')',
|
|
|
|
|
key: response.data[i].userId,
|
|
|
|
|
key: response.data[i].userName,
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -1660,7 +1660,11 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
this.planLoading = true;
|
|
|
|
|
if (this.form.planId != null) {
|
|
|
|
|
this.form.personList = this.selectPersonList;
|
|
|
|
|
this.form.personList = this.selectPersonList.map(item => {
|
|
|
|
|
return{
|
|
|
|
|
userName: item.toString()
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
updatePlan(this.form).then(response => {
|
|
|
|
|
this.planLoading = false;
|
|
|
|
|
this.$modal.msgSuccess("修改成功");
|
|
|
|
@ -1668,7 +1672,11 @@ export default {
|
|
|
|
|
this.getList();
|
|
|
|
|
});
|
|
|
|
|
} else {
|
|
|
|
|
this.form.personList = this.selectPersonList;
|
|
|
|
|
this.form.personList = this.selectPersonList.map(item => {
|
|
|
|
|
return{
|
|
|
|
|
userName: item.toString()
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
addPlan(this.form).then(response => {
|
|
|
|
|
this.planLoading = false;
|
|
|
|
|
this.$modal.msgSuccess("新增成功");
|
|
|
|
|