解决选择抄送人后审批通过却没有保存抄送记录的bug
This commit is contained in:
@@ -557,6 +557,13 @@ export default {
|
|||||||
this.userData.copyUser = this.userMultipleSelection.map(k => {
|
this.userData.copyUser = this.userMultipleSelection.map(k => {
|
||||||
return { id: k.userId, label: k.nickName }
|
return { id: k.userId, label: k.nickName }
|
||||||
})
|
})
|
||||||
|
// 设置抄送人ID
|
||||||
|
if (this.userData.copyUser && this.userData.copyUser.length > 0) {
|
||||||
|
const val = this.userData.copyUser.map(item => item.id);
|
||||||
|
this.taskForm.copyUserIds = val instanceof Array ? val.join(',') : val;
|
||||||
|
} else {
|
||||||
|
this.taskForm.copyUserIds = '';
|
||||||
|
}
|
||||||
this.userData.open = false;
|
this.userData.open = false;
|
||||||
} else {
|
} else {
|
||||||
if (!this.taskForm.comment) {
|
if (!this.taskForm.comment) {
|
||||||
|
|||||||
Reference in New Issue
Block a user