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
adb59167
Commit
adb59167
authored
Jan 11, 2021
by
Maofei94
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of g.civnet.cn:ReactWeb5/maintenance
parents
cf241883
6c464d43
Pipeline
#22166
passed with stages
in 19 minutes 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
RelateRoleModal.jsx
src/pages/userCenter/userManage/RelateRoleModal.jsx
+5
-2
No files found.
src/pages/userCenter/userManage/RelateRoleModal.jsx
View file @
adb59167
...
...
@@ -17,6 +17,7 @@ const RelateRoleModal = props => {
multiRelateRoles
,
onCancel
,
onSelect
,
submitSearchUser
,
loading
,
}
=
props
;
const
{
TabPane
}
=
Tabs
;
...
...
@@ -81,8 +82,10 @@ const RelateRoleModal = props => {
.
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
onCancel
();
// 跳转到组织
onSelect
([
currentSelectOrg
]);
// 跳转到组织重新请求改机构下用户数据,查找用户时currentSelectOrg为空数组,不需要重新请求
if
(
currentSelectOrg
.
length
!==
0
)
{
onSelect
([
currentSelectOrg
]);
};
notification
.
success
({
message
:
'提交成功'
,
duration
:
2
,
...
...
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