Commit 04558c14 authored by ml's avatar ml

修改

parent d2ee8fb6
......@@ -337,7 +337,7 @@ async function dealDepartmentAndPosition(data: any) {/*
}*/
let [aclRoleList, db] =
await Promise.all([getRoleByUser(data.userId), getDepartmentPositionByUid(data.userId)]);
let role_ids = aclRoleList.map(item => item.role_id);
let role_ids = aclRoleList.map(item => item.id);
data.role_ids = role_ids && role_ids.length ? role_ids.join(",") : "";
data.department_id = db.department_id;
data.position_id = db.position_id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment