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
7bbef083
Commit
7bbef083
authored
Dec 07, 2019
by
fengzhaoyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
编辑成功返回首页,角色太多增加
parent
fcc1343c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
addOrRights.vue
src/components/pages/rightsManagement/addOrRights.vue
+1
-0
rightsManagement.vue
src/components/pages/rightsManagement/rightsManagement.vue
+1
-0
No files found.
src/components/pages/rightsManagement/addOrRights.vue
View file @
7bbef083
...
@@ -161,6 +161,7 @@ export default {
...
@@ -161,6 +161,7 @@ export default {
$http
.
post
(
`/admin/manager/modifyFullRole`
,
data
).
then
(
res
=>
{
$http
.
post
(
`/admin/manager/modifyFullRole`
,
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$message
.
success
(
'保存成功'
)
this
.
$router
.
push
({
name
:
'rightsManagement'
})
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
)
this
.
$message
.
error
(
res
.
data
.
msg
)
}
}
...
...
src/components/pages/rightsManagement/rightsManagement.vue
View file @
7bbef083
...
@@ -67,6 +67,7 @@ export default {
...
@@ -67,6 +67,7 @@ export default {
},
{
},
{
title
:
'拥有该角色的员工'
,
title
:
'拥有该角色的员工'
,
dataIndex
:
'userHasRoles'
,
dataIndex
:
'userHasRoles'
,
width
:
'30%'
,
scopedSlots
:
{
customRender
:
'userHasRoles'
}
scopedSlots
:
{
customRender
:
'userHasRoles'
}
},
{
},
{
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