|
|
@ -1778,7 +1778,6 @@ export default { |
|
|
|
}, |
|
|
|
// 人员修改 |
|
|
|
async updatePeoDo () { |
|
|
|
const manageScopeArra=[] |
|
|
|
if(this.peoForm.manageScopes){ |
|
|
|
const targetAgencyIds =this.peoForm.manageScopes?this.peoForm.manageScopes.map(innerArray => innerArray[innerArray.length - 1]):this.peoForm.manageScopes; |
|
|
|
// 用于存储提取结果的 Set 对象 |
|
|
@ -1786,7 +1785,7 @@ export default { |
|
|
|
// 调用递归函数提取 level 与 agencyId 组合成的字符串 |
|
|
|
this.extractLevelAndAgencyId(this.orgOptions[0], targetAgencyIds, result); |
|
|
|
// 将 Set 对象转换为数组 |
|
|
|
manageScopeArray = Array.from(result); |
|
|
|
var manageScopeArray = Array.from(result); |
|
|
|
console.log(this.peoForm,"查看"); |
|
|
|
} |
|
|
|
|
|
|
|