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
ba6afe38
Commit
ba6afe38
authored
Dec 07, 2019
by
liang ce
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'ISV' of
http://gitlab.roboming.com/Simon/mingPay-web
into ISV
parents
66c9464c
7bbef083
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
2 deletions
+5
-2
PaymentManagementHome.vue
...ponents/pages/PaymentManagement/PaymentManagementHome.vue
+1
-0
addOrRights.vue
src/components/pages/rightsManagement/addOrRights.vue
+1
-0
rightsManagement.vue
src/components/pages/rightsManagement/rightsManagement.vue
+3
-2
No files found.
src/components/pages/PaymentManagement/PaymentManagementHome.vue
View file @
ba6afe38
...
...
@@ -36,6 +36,7 @@ export default {
}
},
created
()
{
console
.
log
(
this
.
$store
.
state
.
menuList
,
11111
)
this
.
defaultSelectedKeys
=
this
.
$route
.
name
this
.
chooseMenuList
=
this
.
$route
.
name
if
(
this
.
$store
.
state
.
menuList
.
indexOf
(
'3100'
)
>
-
1
)
{
...
...
src/components/pages/rightsManagement/addOrRights.vue
View file @
ba6afe38
...
...
@@ -161,6 +161,7 @@ export default {
$http
.
post
(
`/admin/manager/modifyFullRole`
,
data
).
then
(
res
=>
{
if
(
res
.
data
.
code
===
0
)
{
this
.
$message
.
success
(
'保存成功'
)
this
.
$router
.
push
({
name
:
'rightsManagement'
})
}
else
{
this
.
$message
.
error
(
res
.
data
.
msg
)
}
...
...
src/components/pages/rightsManagement/rightsManagement.vue
View file @
ba6afe38
...
...
@@ -67,6 +67,7 @@ export default {
},
{
title
:
'拥有该角色的员工'
,
dataIndex
:
'userHasRoles'
,
width
:
'30%'
,
scopedSlots
:
{
customRender
:
'userHasRoles'
}
},
{
title
:
'创建时间'
,
...
...
@@ -132,8 +133,8 @@ export default {
addRole
(
obj
)
{
// console.log(obj, 111)
// this.chooseMenuList = obj.key
if
(
this
.
roleList
.
length
>
10
)
{
this
.
$message
.
err
(
'最多可添加十个角色'
)
if
(
this
.
roleList
.
length
>
9
)
{
this
.
$message
.
err
or
(
'最多可添加十个角色'
)
}
else
{
this
.
$router
.
push
({
name
:
'addOrRights'
})
}
...
...
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