Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
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
zhaochengxiang
szse
Commits
7c4f8953
Commit
7c4f8953
authored
Apr 28, 2025
by
fanyj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tijiao
parent
bb00d951
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
SelectUser.tsx
src/view/Manage/AssetManage/Component/SelectUser.tsx
+9
-1
No files found.
src/view/Manage/AssetManage/Component/SelectUser.tsx
View file @
7c4f8953
...
...
@@ -22,7 +22,15 @@ const SelectUser:React.FC<any>=(props)=>{
},[
item
])
const
getusers
=
async
()
=>
{
const
id
=
1
let
id
=
0
if
(
item
.
name
===
'数据管家'
){
id
=
6
}
else
if
(
item
.
name
===
'数据责任人'
||
item
.
name
===
'数据负责人'
){
id
=
5
}
if
(
!
id
){
return
;
}
setState
({
loading
:
true
})
const
result
:
any
=
await
usersService
.
getUserInRoles
({
params
:{
dataRoleId
:
id
}})
if
(
httpUtil
.
checkSuccess
(
result
,
1
)){
...
...
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