Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
founder_vue
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
常超
founder_vue
Commits
cb176dad
Commit
cb176dad
authored
Feb 14, 2022
by
li_hongchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限管理 UI 问题调整
parent
8a0ad212
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
39 additions
and
21 deletions
+39
-21
src/views/SystemManage/PermissionManage.vue
+3
-2
src/views/SystemManage/UserPermission.vue
+4
-0
src/views/SystemManage/scss/role.scss
+6
-6
src/views/SystemManage/scss/userpermission.scss
+26
-13
No files found.
src/views/SystemManage/PermissionManage.vue
View file @
cb176dad
...
...
@@ -183,13 +183,14 @@
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.permissionNames && scope.row.permissionNames !== '/'"
v-for=
"(item, index) in scope.row.permissionNames &&
scope.row.permissionNames.split(',')"
:key=
"index"
>
:key=
"index"
>
{{
index
>
0
?
"/"
:
""
}}
{{
item
}}
</div>
<span
v-else
>
{{
'---'
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"status"
label=
"启用状态"
width=
"auto"
>
...
...
src/views/SystemManage/UserPermission.vue
View file @
cb176dad
...
...
@@ -781,4 +781,8 @@ export default {
}
}
@import
"scss/userpermission.scss"
;
.manage-page
.line
{
height
:
2rem
!important
;
}
</
style
>
src/views/SystemManage/scss/role.scss
View file @
cb176dad
...
...
@@ -280,7 +280,7 @@
}
.el-checkbox
{
margin
:
0px
0px
1
0
px
0px
;
margin
:
0px
0px
1
2
px
0px
;
&
:last-of-type
{
margin-bottom
:
0px
;
...
...
@@ -294,7 +294,7 @@
height
:
85px
;
border-bottom
:
1px
solid
#eeeeee
;
.el-checkbox
{
margin-bottom
:
1
0
px
;
margin-bottom
:
1
2
px
;
}
}
...
...
@@ -306,7 +306,7 @@
.el-checkbox
{
//margin: 22px 20px 0 20px;
margin-bottom
:
1
0
px
;
margin-bottom
:
1
2
px
;
}
}
...
...
@@ -355,7 +355,7 @@
//padding-left: 30px;
//padding-top: 8px;
.line
{
height
:
3
0
px
;
height
:
3
2
px
;
width
:
220px
;
}
}
...
...
@@ -372,7 +372,7 @@
//}
.line
{
height
:
3
0
px
;
height
:
3
2
px
;
width
:
220px
;
}
}
...
...
@@ -385,7 +385,7 @@
//padding-left: 30px;
.line
{
height
:
3
0
px
;
height
:
3
2
px
;
width
:
220px
;
>
.el-checkbox
{
...
...
src/views/SystemManage/scss/userpermission.scss
View file @
cb176dad
...
...
@@ -167,11 +167,12 @@
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
center
;
margin-left
:
0px
;
//border: 1px solid hotpink; width: auto;
.info-item
{
display
:
flex
;
align-items
:
center
;
padding
:
0
20px
0
2
0px
;
padding
:
0
20px
0
0px
;
border-right
:
1px
solid
#e6e6e8
;
.info-title
{
width
:
auto
;
...
...
@@ -355,6 +356,7 @@
width
:
155px
;
border-right
:
1px
solid
#eeeeee
;
.div3
{
padding
:
20px
;
width
:
100%
;
height
:
165px
;
&
:first-of-type
{
...
...
@@ -365,26 +367,34 @@
}
border-bottom
:
1px
solid
#eeeeee
;
.el-checkbox
{
margin
:
10px
20px
0
20px
;
&
:not
(
:first-of-type
)
{
margin-top
:
20px
;
//margin: 10px 20px 0 20px;
//&:not(:first-of-type) {
// margin-top: 20px;
//}
margin
:
0px
0px
12px
0px
;
&
:last-of-type
{
margin-bottom
:
0px
;
}
}
}
.div2
{
padding
:
20px
;
width
:
100%
;
height
:
85px
;
border-bottom
:
1px
solid
#eeeeee
;
.el-checkbox
{
margin
:
12px
20px
0
20px
;
//margin: 12px 20px 0 20px;
margin-bottom
:
12px
;
}
}
.div1
{
padding
:
20px
;
width
:
100%
;
height
:
55px
;
border-bottom
:
1px
solid
#eeeeee
;
.el-checkbox
{
margin
:
15px
20px
0
20px
;
//margin: 15px 20px 0 20px;
margin-bottom
:
12px
;
}
}
// 未选中字体颜色
...
...
@@ -410,6 +420,7 @@
.content
{
width
:
100%
;
.div3
{
padding
:
20px
;
&
:last-of-type
{
height
:
150px
;
}
...
...
@@ -420,9 +431,9 @@
width
:
100%
;
height
:
165px
;
border-bottom
:
1px
solid
#eeeeee
;
padding-left
:
30px
;
padding-top
:
8px
;
.line
{
//
padding-left: 30px;
//
padding-top: 8px;
/
deep
/
.line
{
width
:
220px
;
height
:
30px
;
}
...
...
@@ -430,10 +441,11 @@
.div2
{
width
:
100%
;
height
:
85px
;
padding-left
:
30px
;
padding
:
20px
;
//padding-left: 30px;
border-bottom
:
1px
solid
#eeeeee
;
.el-checkbox
{
margin
:
10px
20px
0
25px
;
//
margin: 10px 20px 0 25px;
}
.line
/
deep
/
{
width
:
220px
;
...
...
@@ -444,12 +456,13 @@
}
}
.div1
{
padding
:
20px
;
width
:
100%
;
height
:
55px
;
padding-left
:
30px
;
//
padding-left: 30px;
border-bottom
:
1px
solid
#eeeeee
;
.el-checkbox
{
margin
:
15px
20px
0
25px
;
//
margin: 15px 20px 0 25px;
}
.line
/
deep
/
{
width
:
220px
;
...
...
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