Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ce047b82
authored
Jul 28, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
ff704e83
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
16 deletions
packageEquity/pages/index/index.js
packageEquity/pages/index/index.js
View file @
ce047b8
...
...
@@ -620,24 +620,27 @@ Component({
if
(
!
userInfo
?.
isSuper
&&
userInfo
?.
loginRole
!=
3
&&
userInfo
?.
loginRole
!=
6
)
this
.
getMerchantCarBrandList
();
},
getAwaitAuditCount
(
userInfo
)
{
let
{
menuList
}
=
this
.
data
// 区域运营角色退款审批入口
if
(
userInfo
?.
loginRole
==
3
&&
menuList
.
every
(
item
=>
item
.
menuText
!=
'待审批'
))
{
menuList
.
push
({
menuText
:
'待审批'
,
path
:
'tabWorkOrder.refundOperationList'
,
icon
:
'refund_review_icon'
,
tipsNum
:
0
})
}
let
index
=
menuList
.
findIndex
(
e
=>
e
.
menuText
==
'待审批'
)
getWaitAuditCountAPI
({
sceneType
:
userInfo
?.
sceneType
}).
then
(
res
=>
{
let
{
code
,
data
}
=
res
if
(
code
==
0
)
{
this
.
setData
({
[
`menuList[
${
index
}
].tipsNum`
]:
data
.
waiteForAuditNum
return
new
Promise
(
resolve
=>
{
let
{
menuList
}
=
this
.
data
// 区域运营角色退款审批入口
if
(
userInfo
?.
loginRole
==
3
&&
menuList
.
every
(
item
=>
item
.
menuText
!=
'待审批'
))
{
menuList
.
push
({
menuText
:
'待审批'
,
path
:
'tabWorkOrder.refundOperationList'
,
icon
:
'refund_review_icon'
,
tipsNum
:
0
})
}
let
index
=
menuList
.
findIndex
(
e
=>
e
.
menuText
==
'待审批'
)
getWaitAuditCountAPI
({
sceneType
:
userInfo
?.
sceneType
}).
then
(
res
=>
{
let
{
code
,
data
}
=
res
if
(
code
==
0
)
{
this
.
setData
({
[
`menuList[
${
index
}
].tipsNum`
]:
data
.
waiteForAuditNum
})
}
})
resolve
()
})
},
getStoreList
()
{
...
...
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