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
9b94ed67
Commit
9b94ed67
authored
Jan 08, 2021
by
tianfen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pref: 站点管理修改
parent
7385dff1
Pipeline
#21956
skipped with stages
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
SiteManage.jsx
src/pages/userCenter/siteManage/SiteManage.jsx
+1
-2
SiteManage.less
src/pages/userCenter/siteManage/SiteManage.less
+8
-3
No files found.
src/pages/userCenter/siteManage/SiteManage.jsx
View file @
9b94ed67
...
...
@@ -116,14 +116,13 @@ const SiteManage = props => {
if
(
name
)
params
=
{
...
params
,
name
};
groupUserPagingList
(
params
).
then
(
res
=>
{
if
(
res
.
code
===
0
)
{
// let list = res.data.list.filter(item => item.Users.length > 0);
let
{
list
}
=
res
.
data
;
if
(
selectList
.
length
>
0
)
{
selectList
.
forEach
(
item
=>
{
list
.
forEach
((
value
,
index
)
=>
{
if
(
item
.
GroupId
===
value
.
GroupId
)
{
list
[
index
].
Users
.
forEach
((
user
,
userIndex
)
=>
{
if
(
user
.
userI
d
===
item
.
userId
)
{
if
(
user
.
userI
D
===
item
.
userID
)
{
list
[
index
].
Users
[
userIndex
].
isChecked
=
true
;
}
});
...
...
src/pages/userCenter/siteManage/SiteManage.less
View file @
9b94ed67
...
...
@@ -148,16 +148,20 @@
margin: 0;
padding: 15px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
li{
width:200px;
height: 35px;
line-height: 35px;
background: rgba(24, 144, 255,0.16) url('../../../assets/images/icons/close.png') no-repeat 17
0
px;
background: rgba(24, 144, 255,0.16) url('../../../assets/images/icons/close.png') no-repeat 17
5
px;
background-size: 20px;
padding-left: 10px;
margin: 0 10px 10px 0;
cursor: pointer;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
padding: 0 20px 0 10px;
}
}
}
\ No newline at end of file
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