Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sass-admin
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hqzhdj_app
sass-admin
Commits
63c6ad34
Commit
63c6ad34
authored
Sep 13, 2025
by
Lichen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户列表添加关联角色字段
parent
df3681e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
src/pages/SystemManagement/Organization/UserTable/UserTable.jsx
+18
-0
No files found.
src/pages/SystemManagement/Organization/UserTable/UserTable.jsx
View file @
63c6ad34
...
...
@@ -48,6 +48,23 @@ class UserTable extends Component {
},
},
{
title
:
"关联角色"
,
dataIndex
:
"relationRoleNames"
,
render
:
(
text
,
record
)
=>
{
if
(
record
.
relationRoleNames
)
{
return
(
<
span
title=
{
record
.
relationRoleNames
}
>
{
record
.
relationRoleNames
.
length
>
15
?
record
.
relationRoleNames
.
substring
(
14
,
0
)
+
"..."
:
record
.
relationRoleNames
}
</
span
>
);
}
else
{
return
<
span
></
span
>;
}
},
},
{
title
:
"状态"
,
dataIndex
:
"enabled"
,
},
...
...
@@ -287,6 +304,7 @@ class UserTable extends Component {
fullName
:
item
.
fullName
,
telephone
:
item
.
telephone
,
position
:
item
.
position
,
relationRoleNames
:
item
.
relationRoleNames
,
enabled
:
item
.
enabled
?
"启用"
:
"停用"
,
wechat
:
item
.
wechat
,
expiredTime
:
item
.
expiredTime
,
...
...
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