diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index d7e4ae245..c564b76a8 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -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) {