Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
member
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
member
member
Commits
49e3cc92
Commit
49e3cc92
authored
Oct 21, 2021
by
caoyanzhi
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/10月迭代' into dev
parents
37ad1a42
1f5811b9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
App.vue
src/App.vue
+6
-1
No files found.
src/App.vue
View file @
49e3cc92
...
...
@@ -76,9 +76,14 @@ export default {
},
setStore
(
data
)
{
const
{
enterpriseId
,
superAdmin
}
=
data
;
const
ids
=
[
'ff8080816dd0385e016ddca436d01fe1'
,
// 生产巴拉商户
'ff8080816a36326c016a53380d8b5f52'
,
// 生产金华达摩
'ff8080815dacd3a2015dacd3ef5c0000'
,
// 测试金华达摩
]
this
.
$store
.
commit
(
'checkAdmin'
,
data
);
// 如果是巴拉的子账号,不显示积分相关的操作按钮
this
.
$store
.
commit
(
'showHandleScoreBtn'
,
!
(
enterpriseId
==
'ff8080816dd0385e016ddca436d01fe1'
&&
superAdmin
==
0
));
this
.
$store
.
commit
(
'showHandleScoreBtn'
,
!
(
ids
.
includes
(
enterpriseId
)
&&
superAdmin
==
0
));
}
}
}
...
...
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