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
734553c8
Commit
734553c8
authored
Nov 09, 2021
by
maxiaohan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限管理 用户列表、用户组列表
parent
58cb3749
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
242 additions
and
114 deletions
+242
-114
src/views/SystemManage/AuthManage.vue
+0
-0
src/views/SystemManage/GroupManage.vue
+0
-25
src/views/SystemManage/RoleManage.vue
+1
-0
src/views/SystemManage/UserManage.vue
+0
-1
src/views/SystemManage/scss/auth.scss
+237
-84
src/views/SystemManage/scss/role.scss
+4
-4
No files found.
src/views/SystemManage/AuthManage.vue
View file @
734553c8
This diff is collapsed.
Click to expand it.
src/views/SystemManage/GroupManage.vue
View file @
734553c8
...
...
@@ -6,19 +6,6 @@
<div
class=
"search"
>
<div
class=
"search-item"
>
<div
class=
"label"
>
用户组:
</div>
<!--
<el-select-->
<!-- v-model="searchParams.groupname"-->
<!-- class="search-info"-->
<!-- placeholder="请输入并选择"-->
<!-- >-->
<!--
<el-option-->
<!-- v-for="item in options"-->
<!-- :key="item.value"-->
<!-- :label="item.label"-->
<!-- :value="item.value"-->
<!-- >-->
<!--
</el-option>
-->
<!--
</el-select>
-->
<el-input
v-model=
"searchParams.groupname"
class=
"search-info"
...
...
@@ -43,12 +30,6 @@
</div>
<div
class=
"search-item"
>
<div
class=
"label"
>
用户所属单位名称:
</div>
<!--
<el-select-->
<!-- v-model="searchParams.unitcode"-->
<!-- class="search-info"-->
<!-- placeholder="请输入并选择"-->
<!-- >-->
<!--
</el-select>
-->
<el-input
v-model=
"searchParams.unitcode"
class=
"search-info"
...
...
@@ -57,12 +38,6 @@
</div>
<div
class=
"search-item"
>
<div
class=
"label"
>
组角色:
</div>
<!--
<el-select-->
<!-- v-model="searchParams.roleId"-->
<!-- class="search-info"-->
<!-- placeholder="请输入并选择"-->
<!-- >-->
<!--
</el-select>
-->
<el-input
v-model=
"searchParams.rolename"
class=
"search-info"
...
...
src/views/SystemManage/RoleManage.vue
View file @
734553c8
...
...
@@ -358,6 +358,7 @@ export default {
del
(
id
)
{
console
.
info
(
"删除数据"
,
id
);
this
.
diyRoleList
.
splice
(
id
,
1
);
this
.
diyRoleItemIndex
=
-
1
;
// var sysRole = new URLSearchParams();
// sysRole.append("roleId", "16");
// this.$axios
...
...
src/views/SystemManage/UserManage.vue
View file @
734553c8
...
...
@@ -499,7 +499,6 @@ export default {
}
};
return
{
width5
:
180
,
width4
:
350
,
width3
:
200
,
width2
:
100
,
...
...
src/views/SystemManage/scss/auth.scss
View file @
734553c8
...
...
@@ -6,6 +6,7 @@
div
{
display
:
inline-block
;
}
//用户和用户组切换按钮
.header
{
width
:
100%
;
.btns
{
...
...
@@ -28,113 +29,265 @@
}
}
}
.search
{
width
:
100%
;
height
:
58px
;
border-bottom
:
1px
solid
#EEEEEE
;
padding-top
:
10px
;
margin-bottom
:
10px
;
display
:
flex
;
flex-direction
:
row
;
.search-item
{
width
:
auto
;
margin-right
:
17px
;
.label
{
// 用户
.user
{
width
:
100%
;
height
:
870px
;
.search
{
width
:
100%
;
height
:
50px
;
.search-item
{
width
:
auto
;
height
:
22px
;
font-size
:
14px
;
color
:
#333333
;
line-height
:
22px
;
margin-right
:
5px
;
height
:
32px
;
margin
:
5px
16px
5px
0
;
.label
{
width
:
auto
;
height
:
32px
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#333333
;
line-height
:
32px
;
margin
:
8px
;
}
.search-info
{
width
:
155px
;
height
:
32px
;
background
:
#ffffff
;
border-radius
:
4px
;
//border: 1px solid #e6e6e8;
//margin-top: 8px;
}
}
.input
{
width
:
156px
;
.btn
{
position
:absolute
;
top
:
125px
;
right
:
24px
;
width
:
95px
;
height
:
32px
;
background
:
#
FFFFFF
;
background
:
#
055fe7
;
border-radius
:
4px
;
border
:
1px
solid
#E6E6E8
;
line-height
:
32px
;
color
:
#ffffff
;
font-size
:
14px
;
text-align
:
center
;
cursor
:
pointer
;
}
}
.btns
{
width
:
180px
;
.table
{
height
:
750px
;
width
:
100%
;
margin-top
:
10px
;
.tags
{
width
:
100px
;
height
:
24px
;
background
:
#F0F3F6
;
border-radius
:
4px
;
text-align
:
center
;
margin-right
:
3px
;
}
.circle-red
{
width
:
8px
;
height
:
8px
;
background-color
:
#FE0000
;
border-radius
:
50%
;
-moz-border-radius
:
50%
;
-webkit-border-radius
:
50%
;
}
.circle-blue
{
width
:
8px
;
height
:
8px
;
background-color
:
#055FE7
;
border-radius
:
50%
;
-moz-border-radius
:
50%
;
-webkit-border-radius
:
50%
;
}
}
.footer
{
width
:
1544px
;
//width: calc(100vw - 367px);
position
:
absolute
;
right
:
24px
;
text-align
:
center
;
.btn-clear
{
width
:
50px
;
height
:
23px
;
bottom
:
27px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
.count
{
font-size
:
14px
;
color
:
#055FE7
;
line-height
:
23px
;
cursor
:
pointer
;
font-family
:
MicrosoftYaHei
;
color
:
#666666
;
}
.paging
{
float
:
right
;
}
/
deep
/
.el-pager
{
.number
{
background-color
:
transparent
;
}
.number.active
{
background-color
:
#055fe7
!
important
;
box-shadow
:
0px
12px
16px
1px
rgba
(
0
,
21
,
51
,
0
.03
);
border-radius
:
6px
;
}
.el-icon.more.btn-quicknext.el-icon-more
,
.el-icon.more.btn-quickprev.el-icon-more
{
background-color
:
transparent
!
important
;
}
}
/
deep
/
.btn-prev
,
/
deep
/
.btn-next
{
background-color
:
transparent
!
important
;
}
/
deep
/
.el-pagination__sizes
{
position
:
absolute
;
right
:
0
;
}
.btn-search
{
width
:
110px
;
/
deep
/
.btn-next
{
//margin-right: 120px !important;
}
}
}
// 用户组
.group
{
width
:
100%
;
height
:
870px
;
.search
{
width
:
100%
;
height
:
50px
;
.search-item
{
width
:
auto
;
height
:
32px
;
margin
:
5px
16px
5px
0
;
.label
{
width
:
auto
;
height
:
32px
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#333333
;
line-height
:
32px
;
margin
:
8px
;
}
.search-info
{
width
:
155px
;
height
:
32px
;
background
:
#ffffff
;
border-radius
:
4px
;
//border: 1px solid #e6e6e8;
//margin-top: 8px;
}
}
.clear
{
width
:
38px
;
border
:
none
;
height
:
22px
;
padding
:
0
;
margin
:
0
12px
0
12px
;
font-size
:
14px
;
color
:
#FFFFFF
;
line-height
:
32px
;
background
:
#055FE7
;
font-weight
:
350
;
color
:
#333333
;
text-align
:
center
;
position
:absolute
;
top
:
130px
;
right
:
124px
;
cursor
:
pointer
;
&
:hover
{
color
:
#055fe7
;
}
&
:active
{
color
:
#055fe7
;
}
}
.btn
{
position
:absolute
;
top
:
125px
;
right
:
24px
;
width
:
95px
;
height
:
32px
;
background
:
#055fe7
;
border-radius
:
4px
;
margin-left
:
10px
;
line-height
:
32px
;
color
:
#ffffff
;
font-size
:
14px
;
text-align
:
center
;
cursor
:
pointer
;
}
}
}
.main
{
.user
{
width
:
1550px
;
height
:
700px
;
}
.group
{
.table
{
height
:
750px
;
width
:
100%
;
height
:
700px
;
}
}
.footer
{
width
:
1544px
;
//width: calc(100vw - 367px);
position
:
absolute
;
bottom
:
27px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
.count
{
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#666666
;
}
.paging
{
float
:
right
;
}
/
deep
/
.el-pager
{
.number
{
background-color
:
transparent
;
margin-top
:
10px
;
.tags
{
width
:
100px
;
height
:
24px
;
background
:
#F0F3F6
;
border-radius
:
4px
;
text-align
:
center
;
margin-right
:
3px
;
}
.number.active
{
background-color
:
#055fe7
!
important
;
box-shadow
:
0px
12px
16px
1px
rgba
(
0
,
21
,
51
,
0
.03
);
border-radius
:
6px
;
.circle-red
{
width
:
8px
;
height
:
8px
;
background-color
:
#FE0000
;
border-radius
:
50%
;
-moz-border-radius
:
50%
;
-webkit-border-radius
:
50%
;
}
.el-icon.more.btn-quicknext.el-icon-more
,
.el-icon.more.btn-quickprev.el-icon-more
{
background-color
:
transparent
!
important
;
.circle-blue
{
width
:
8px
;
height
:
8px
;
background-color
:
#055FE7
;
border-radius
:
50%
;
-moz-border-radius
:
50%
;
-webkit-border-radius
:
50%
;
}
.group-item
{
width
:
70px
;
height
:
24px
;
background
:
#F0F3F6
;
border-radius
:
12px
;
font-size
:
16px
;
font-weight
:
bold
;
color
:
#282F3C
;
line-height
:
24px
;
text-align
:
center
;
margin-right
:
12px
;
}
.set-btn
{
width
:
56px
;
height
:
22px
;
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#055FE7
;
line-height
:
22px
;
cursor
:
pointer
;
//position: absolute;
//right: 100px;
}
}
/
deep
/
.btn-prev
,
/
deep
/
.btn-next
{
background-color
:
transparent
!
important
;
}
/
deep
/
.el-pagination__sizes
{
.footer
{
width
:
1544px
;
//width: calc(100vw - 367px);
position
:
absolute
;
right
:
0
;
}
/
deep
/
.btn-next
{
//margin-right: 120px !important;
bottom
:
27px
;
display
:
flex
;
flex-direction
:
row
;
justify-content
:
space-between
;
align-items
:
center
;
.count
{
font-size
:
14px
;
font-family
:
MicrosoftYaHei
;
color
:
#666666
;
}
.paging
{
float
:
right
;
}
/
deep
/
.el-pager
{
.number
{
background-color
:
transparent
;
}
.number.active
{
background-color
:
#055fe7
!
important
;
box-shadow
:
0px
12px
16px
1px
rgba
(
0
,
21
,
51
,
0
.03
);
border-radius
:
6px
;
}
.el-icon.more.btn-quicknext.el-icon-more
,
.el-icon.more.btn-quickprev.el-icon-more
{
background-color
:
transparent
!
important
;
}
}
/
deep
/
.btn-prev
,
/
deep
/
.btn-next
{
background-color
:
transparent
!
important
;
}
/
deep
/
.el-pagination__sizes
{
position
:
absolute
;
right
:
0
;
}
/
deep
/
.btn-next
{
//margin-right: 120px !important;
}
}
}
//表格表头样式
/
deep
/
.el-table
th
,
.el-table
tr
{
...
...
src/views/SystemManage/scss/role.scss
View file @
734553c8
...
...
@@ -81,9 +81,8 @@
//border: saddlebrown 1px solid;
width
:
215px
;
height
:
366px
;
display
:
flex
;
flex-direction
:
column
;
padding-top
:
10px
;
//display: flex;
//flex-direction: column;
overflow
:scroll
;
.diy-role-item
{
width
:
190px
;
...
...
@@ -93,7 +92,8 @@
font-size
:
14px
;
color
:
#333333
;
line-height
:
40px
;
margin-bottom
:
10px
;
margin-top
:
10px
;
margin-left
:
-22px
;
cursor
:
pointer
;
overflow
:
hidden
;
&
.active
{
...
...
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