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
fe894532
Commit
fe894532
authored
Jan 11, 2021
by
陈前坚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 查找用户批量关联机构id为空
parent
ca1ddab2
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 @
fe894532
...
...
@@ -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