Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mingPayPc
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
fengzhaoyu
mingPayPc
Commits
e81b1753
Commit
e81b1753
authored
5 years ago
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
权限
parent
79fcf48e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
9 deletions
+17
-9
addOrRights.vue
src/components/pages/rightsManagement/addOrRights.vue
+13
-5
rightsManagement.vue
src/components/pages/rightsManagement/rightsManagement.vue
+4
-4
No files found.
src/components/pages/rightsManagement/addOrRights.vue
View file @
e81b1753
...
@@ -123,6 +123,16 @@ export default {
...
@@ -123,6 +123,16 @@ export default {
},
},
onCancel
()
{}
onCancel
()
{}
})
})
}
else
if
(
!
this
.
form
.
getFieldValue
(
'roleName'
))
{
console
.
log
(
this
.
roleName
,
'this.roleName'
);
this
.
$confirm
({
content
:
'请先填写角色名称'
,
onOk
()
{
// that.changeData(record, index)
},
onCancel
()
{}
})
}
else
{
}
else
{
if
(
this
.
type
===
0
)
{
if
(
this
.
type
===
0
)
{
let
data
=
{
let
data
=
{
...
@@ -209,15 +219,13 @@ export default {
...
@@ -209,15 +219,13 @@ export default {
line-height
:
22px
;
line-height
:
22px
;
margin
:
27px
0
18px
0
;
margin
:
27px
0
18px
0
;
}
}
input
{
.ant-form-item
/
deep
/
.ant-
input
{
height
:
40px
;
height
:
40px
;
margin-left
:
5px
;
}
}
.addOrRights
/
deep
/
.ant-form-item-label
{
.addOrRights
/
deep
/
.ant-form-item-label
{
width
:
9.5%
!important
;
width
:
9.5%
!important
;
}
}
input
{
margin-left
:
5px
;
}
.permisson
{
.permisson
{
display
:
flex
;
display
:
flex
;
height
:
500px
;
height
:
500px
;
...
@@ -258,7 +266,7 @@ export default {
...
@@ -258,7 +266,7 @@ export default {
width
:
100%
;
width
:
100%
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#cccccc
;
color
:
#cccccc
;
min-height
:
40
px
;
min-height
:
39
px
;
line-height
:
40px
;
line-height
:
40px
;
margin-left
:
5px
;
margin-left
:
5px
;
text-indent
:
10px
;
text-indent
:
10px
;
...
...
This diff is collapsed.
Click to expand it.
src/components/pages/rightsManagement/rightsManagement.vue
View file @
e81b1753
...
@@ -163,10 +163,10 @@ export default {
...
@@ -163,10 +163,10 @@ export default {
})
})
this
.
roleList
.
push
({
this
.
roleList
.
push
({
key
:
item
.
roleId
,
key
:
item
.
roleId
,
roleName
:
item
.
roleName
,
roleName
:
item
.
roleName
||
'---'
,
userHasRoles
:
userHasRoles
,
userHasRoles
:
userHasRoles
||
'---'
,
roleDesc
:
item
.
roleDesc
,
roleDesc
:
item
.
roleDesc
||
'---'
,
creatTime
:
item
.
createTime
,
creatTime
:
item
.
createTime
.
replace
(
'T'
,
' '
)
,
action
:
{
ddUserId
:
ddUserId
,
name
:
userHasRoles
}
action
:
{
ddUserId
:
ddUserId
,
name
:
userHasRoles
}
})
})
}
}
...
...
This diff is collapsed.
Click to expand it.
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