|
|
@ -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, |
|
|
|
}); |
|
|
|