Browse Source

fix: 角色新增同级

main
xuziqiang 3 months ago
parent
commit
c7bbc1f003
  1. 7
      hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue

7
hx-ai-intelligent/src/view/organizationManage/departmentManage/index.vue

@ -402,7 +402,7 @@
};
};
const addUser = () => {
const addUser = (data) => {
roleDisabled.value = false;
opMap.type = 'addUser';
roleFormData.value = { isLeader: 1 };
@ -414,6 +414,7 @@
...params,
orgId,
projectId,
proleId: data.proleId || '',
deptId: selectRef.value.deptInfo.deptId,
deptName: selectRef.value.deptInfo.deptName,
});
@ -421,7 +422,7 @@
};
};
const addUserSon = () => {
const addUserSon = (data) => {
roleDisabled.value = false;
opMap.type = 'addUserSon';
roleActiveKey.value = 1;
@ -433,7 +434,7 @@
...params,
orgId,
projectId,
proleId: selectRoleRef.value.roleId,
proleId: data.roleId,
deptId: selectRef.value.deptInfo.deptId,
deptName: selectRef.value.deptInfo.deptName,
});

Loading…
Cancel
Save