|
|
@ -2002,7 +2002,7 @@ export default { |
|
|
|
this.peoForm.gender = data.gender; |
|
|
|
this.peoForm.post = data.workType; |
|
|
|
this.peoForm.idCard = data.idCard; |
|
|
|
this.peoForm.duty = data.roleList.map(item=>item.roleId); |
|
|
|
this.peoForm.duty = data.roleList.filter(item => item.selected).map(item => item.roleId); |
|
|
|
// 已有的权限(职责) |
|
|
|
let existedDutyArr = []; |
|
|
|
data.roleList.forEach(function (sysDuty) { |
|
|
|