|
@@ -5821,13 +5821,19 @@ a {
|
|
|
}else if(obj.distinction =='6') {
|
|
|
this.hasSetGroupInchargerId = obj.id
|
|
|
} else if(obj.distinction == '10') {
|
|
|
- let userList = obj.arrUserList
|
|
|
- let arr = []
|
|
|
- for(var i in userList) {
|
|
|
- arr.push(userList[i].id)
|
|
|
- }
|
|
|
- this.participator = JSON.parse(JSON.stringify(this.participator))
|
|
|
- this.addForm.auditUserIds = arr
|
|
|
+ const { arrUserList, id } = obj;
|
|
|
+ console.log('返回的数据:', obj);
|
|
|
+ this.participator = [...this.participator];
|
|
|
+ this.addForm.auditUserIds = (arrUserList && arrUserList.length)
|
|
|
+ ? arrUserList.map(user => user.id)
|
|
|
+ : id;
|
|
|
+ // let userList = obj.arrUserList
|
|
|
+ // let arr = []
|
|
|
+ // for(var i in userList) {
|
|
|
+ // arr.push(userList[i].id)
|
|
|
+ // }
|
|
|
+ // this.participator = JSON.parse(JSON.stringify(this.participator))
|
|
|
+ // this.addForm.auditUserIds = arr
|
|
|
} else if(obj.distinction == '11') {
|
|
|
let userList = obj.id
|
|
|
console.log(obj)
|
|
@@ -6301,9 +6307,6 @@ a {
|
|
|
overflow: hidden;
|
|
|
text-overflow: ellipsis;
|
|
|
}
|
|
|
-.dialogSwitch {
|
|
|
-
|
|
|
-}
|
|
|
|
|
|
// 111
|
|
|
|