Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d0160918
authored
Jun 27, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V4.40.0-0624' into 'develop'
上线合并 See merge request
!66
2 parents
26daa278
1ae6ab47
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
pages/tab/mine/mine.js
pages/tab/mine/mine.js
View file @
d016091
...
@@ -40,11 +40,13 @@ Page({
...
@@ -40,11 +40,13 @@ Page({
name
:
'员工管理'
,
name
:
'员工管理'
,
path
:
'packageMine.staffList'
,
path
:
'packageMine.staffList'
,
isHide
:
true
isHide
:
true
},
{
},
name
:
'客户管理'
,
// 个人中心-客户管理,不再向服务商开放客户管理功能
path
:
'packageMine.customerList'
,
// {
isHide
:
true
// name: '客户管理',
},
// path: 'packageMine.customerList',
// isHide: true
// },
{
{
name
:
'更新日志'
,
name
:
'更新日志'
,
path
:
'packageMine.log'
,
path
:
'packageMine.log'
,
...
@@ -154,7 +156,8 @@ Page({
...
@@ -154,7 +156,8 @@ Page({
judgeIsHide
()
{
judgeIsHide
()
{
let
{
boxItemList
,
userInfo
}
=
this
.
data
let
{
boxItemList
,
userInfo
}
=
this
.
data
let
nameList
=
[
'服务中心管理'
,
'员工管理'
,
'客户管理'
]
// let nameList = ['服务中心管理', '员工管理', '客户管理']
let
nameList
=
[
'服务中心管理'
,
'员工管理'
]
if
(
!
userInfo
.
isSuper
)
{
if
(
!
userInfo
.
isSuper
)
{
nameList
.
forEach
(
item
=>
{
nameList
.
forEach
(
item
=>
{
let
idx
=
boxItemList
.
findIndex
(
k
=>
k
.
name
==
item
)
let
idx
=
boxItemList
.
findIndex
(
k
=>
k
.
name
==
item
)
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment