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 1ae6ab47
authored
Jun 06, 2024
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
隐藏个人中心 客户管理入口
1 parent
26daa278
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 @
1ae6ab4
...
...
@@ -40,11 +40,13 @@ Page({
name
:
'员工管理'
,
path
:
'packageMine.staffList'
,
isHide
:
true
},
{
name
:
'客户管理'
,
path
:
'packageMine.customerList'
,
isHide
:
true
},
},
// 个人中心-客户管理,不再向服务商开放客户管理功能
// {
// name: '客户管理',
// path: 'packageMine.customerList',
// isHide: true
// },
{
name
:
'更新日志'
,
path
:
'packageMine.log'
,
...
...
@@ -154,7 +156,8 @@ Page({
judgeIsHide
()
{
let
{
boxItemList
,
userInfo
}
=
this
.
data
let
nameList
=
[
'服务中心管理'
,
'员工管理'
,
'客户管理'
]
// let nameList = ['服务中心管理', '员工管理', '客户管理']
let
nameList
=
[
'服务中心管理'
,
'员工管理'
]
if
(
!
userInfo
.
isSuper
)
{
nameList
.
forEach
(
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