Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivManage
Commits
a2bc073b
Commit
a2bc073b
authored
Jan 18, 2024
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '修复机构管理-管理权限修改后,站点权限无法更新bug'
parent
9d819d1e
Pipeline
#84346
passed with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
RelateRoleModal.jsx
src/pages/userCenter/userManage/RelateRoleModal.jsx
+5
-3
UserManage.jsx
src/pages/userCenter/userManage/UserManage.jsx
+1
-0
No files found.
src/pages/userCenter/userManage/RelateRoleModal.jsx
View file @
a2bc073b
...
...
@@ -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
,
...
...
src/pages/userCenter/userManage/UserManage.jsx
View file @
a2bc073b
...
...
@@ -1679,6 +1679,7 @@ const UserManage = () => {
stationlist=
{
stationlist
}
multiRelateRoles=
{
multiRelateRoles
}
onSelect=
{
onSelect
}
submitSearchUser=
{
submitSearchUser
}
onCancel=
{
()
=>
{
setRoleVisible
(
false
);
setMultiRelateRoles
(
false
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment