Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
ydauto-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 9247317d
authored
Apr 15, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加驻店日报
1 parent
bd2e6b56
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
14 deletions
tabIndex/pages/index/index.js
tabIndex/pages/index/index.js
View file @
9247317
...
...
@@ -771,20 +771,20 @@ Page({
if
(
userInfo
?.
loginRole
===
3
||
userInfo
?.
loginRole
===
5
||
userInfo
?.
isSuper
)
{
menu
=
[]
}
//
if (
//
(app.globalData.isStaff ||
//
userInfo?.isSuper ||
//
userInfo?.loginRole === 3 || userInfo?.loginRole === 5) &&
//
menu.every(item => item.name != '驻店日报')
//
) {
//
menu.push({
//
name: '驻店日报',
//
url: 'tabWorkOrder.upgradeStaffDaily',
//
recordId: 13,
//
icon: 'staffreport',
//
noCheckdailyReport: true
//
})
//
}
if
(
(
app
.
globalData
.
isStaff
||
userInfo
?.
isSuper
||
userInfo
?.
loginRole
===
3
||
userInfo
?.
loginRole
===
5
)
&&
menu
.
every
(
item
=>
item
.
name
!=
'驻店日报'
)
)
{
menu
.
push
({
name
:
'驻店日报'
,
url
:
'tabWorkOrder.upgradeStaffDaily'
,
recordId
:
13
,
icon
:
'staffreport'
,
noCheckdailyReport
:
true
})
}
// if (
// (userInfo?.isSuper || userInfo?.loginRole === 3 || userInfo?.loginRole === 5) &&
// menu.every(item => item.name != 'BI报表')
...
...
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