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
667ca8c1
Commit
667ca8c1
authored
Nov 30, 2023
by
皮倩雯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: '机构管理,所在机构展示优化'
parent
d4617766
Pipeline
#82575
passed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
UserManage.jsx
src/pages/userCenter/userManage/UserManage.jsx
+14
-5
No files found.
src/pages/userCenter/userManage/UserManage.jsx
View file @
667ca8c1
...
@@ -209,13 +209,22 @@ const UserManage = () => {
...
@@ -209,13 +209,22 @@ const UserManage = () => {
},
},
{
{
title
:
'所在机构'
,
title
:
'所在机构'
,
dataIndex
:
'group
Name
'
,
dataIndex
:
'group
Level
'
,
key
:
'group
Name
'
,
key
:
'group
Level
'
,
// width: 150,
// width: 150,
ellipsis
:
true
,
ellipsis
:
true
,
// filters: orgFilters,
render
:
text
=>
{
// filteredValue,
let
arr
=
text
.
split
(
'/'
);
// onFilter: (value, record) => record.groupName === value,
if
(
arr
.
length
>
2
)
{
let
str
=
`
${
arr
[
0
]}
/.../
${
arr
[
arr
.
length
-
1
]}
`
;
return
(
<
Tooltip
title=
{
text
}
>
<
span
>
{
str
}
</
span
>
</
Tooltip
>
);
}
return
<
span
>
{
text
}
</
span
>;
},
},
},
{
{
title
:
'手机号码'
,
title
:
'手机号码'
,
...
...
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