Commit a2bc073b authored by 皮倩雯's avatar 皮倩雯

fix: '修复机构管理-管理权限修改后,站点权限无法更新bug'

parent 9d819d1e
Pipeline #84346 passed with stages
......@@ -19,6 +19,7 @@ const RelateRoleModal = props => {
multiRoleList,
multistationList,
mult,
submitSearchUser,
} = props;
const { TabPane } = Tabs;
const [roleValueList, setRoleValueList] = useState({}); // 勾选的角色列表
......@@ -66,9 +67,10 @@ const RelateRoleModal = props => {
if (res.code == 0) {
onCancel();
// 跳转到新组织机构下的用户表
if (currentSelectOrg !== '-1') {
onSelect([currentSelectOrg]);
}
// if (currentSelectOrg !== '-1') {
// onSelect([currentSelectOrg]);
// }
currentSelectOrg === '-1' ? submitSearchUser() : onSelect([currentSelectOrg]);
notification.success({
message: '提交成功',
duration: 2,
......
......@@ -1679,6 +1679,7 @@ const UserManage = () => {
stationlist={stationlist}
multiRelateRoles={multiRelateRoles}
onSelect={onSelect}
submitSearchUser={submitSearchUser}
onCancel={() => {
setRoleVisible(false);
setMultiRelateRoles(false);
......
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