|
|
@ -241,6 +241,13 @@ export default { |
|
|
} |
|
|
} |
|
|
this.isAuthBusinessList.push(obj) |
|
|
this.isAuthBusinessList.push(obj) |
|
|
} |
|
|
} |
|
|
|
|
|
//去除选中所有userId相同的,确保唯一 |
|
|
|
|
|
let newArray = this.isAuthBusinessList.filter( |
|
|
|
|
|
(item, index, self) => |
|
|
|
|
|
index === self.findIndex((t) => t.userId === item.userId) |
|
|
|
|
|
) |
|
|
|
|
|
this.isAuthBusinessList = newArray |
|
|
|
|
|
//将选中的user提取出来,去除可选人选中对应的user |
|
|
let ids = [] |
|
|
let ids = [] |
|
|
for (let i = 0; i < this.isAuthBusinessList.length; i++) { |
|
|
for (let i = 0; i < this.isAuthBusinessList.length; i++) { |
|
|
ids.push(this.isAuthBusinessList[i].userId) |
|
|
ids.push(this.isAuthBusinessList[i].userId) |
|
|
|