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 caeca750
authored
Jun 09, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
施工单bug修复。屏蔽驻店管理入口
1 parent
8c5b18c0
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
31 deletions
packageEquity/pages/index/index.js
tabIndex/pages/index/index.js
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.js
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
packageEquity/pages/index/index.js
View file @
caeca75
...
@@ -660,22 +660,22 @@ Component({
...
@@ -660,22 +660,22 @@ Component({
})
})
}
}
// 超管/区域运营/广联销售/飞行督导
// 超管/区域运营/广联销售/飞行督导
if
(
wx
.
$hasPermission
?.
canSelectMultiStoreForStaffDaily
?.(
userInfo
)
&&
menuList
.
every
((
item
)
=>
item
.
menuText
!=
"驻店管理"
))
{
//
if (wx.$hasPermission?.canSelectMultiStoreForStaffDaily?.(userInfo) && menuList.every((item) => item.menuText != "驻店管理")) {
menuList
.
push
({
//
menuList.push({
menuText
:
"驻店管理"
,
//
menuText: "驻店管理",
path
:
"tabWorkOrder.residentManage"
,
//
path: "tabWorkOrder.residentManage",
recordId
:
13
,
//
recordId: 13,
icon
:
"residentManage"
,
//
icon: "residentManage",
});
//
});
}
//
}
// 飞行督导展示带教管理入口(超管/飞行督导)
// 飞行督导展示带教管理入口(超管/飞行督导)
- 已屏蔽
if
(
wx
.
$hasPermission
?.
canViewMentorship
?.(
userInfo
)
&&
menuList
.
every
((
item
)
=>
item
.
menuText
!=
"带教管理"
))
{
//
if (wx.$hasPermission?.canViewMentorship?.(userInfo) && menuList.every((item) => item.menuText != "带教管理")) {
menuList
.
push
({
//
menuList.push({
menuText
:
"带教管理"
,
//
menuText: "带教管理",
path
:
"tabWorkOrder.mentorshipManage"
,
//
path: "tabWorkOrder.mentorshipManage",
icon
:
"mentorship-manage"
,
//
icon: "mentorship-manage",
});
//
});
}
//
}
if
(
isStaff
||
wx
.
$hasPermission
?.
canSelectMultiStoreForStaffDaily
?.(
userInfo
))
{
if
(
isStaff
||
wx
.
$hasPermission
?.
canSelectMultiStoreForStaffDaily
?.(
userInfo
))
{
if
(
this
.
merchantDirectSales
)
{
if
(
this
.
merchantDirectSales
)
{
let
{
uuid
,
merchantId
,
shopMerchantId
}
=
userInfo
;
let
{
uuid
,
merchantId
,
shopMerchantId
}
=
userInfo
;
...
...
tabIndex/pages/index/index.js
View file @
caeca75
...
@@ -1759,18 +1759,18 @@ Page({
...
@@ -1759,18 +1759,18 @@ Page({
path
:
''
path
:
''
})
})
}
}
if
(
//
if (
wx
.
$hasPermission
?.
canSelectMultiStoreForStaffDaily
?.(
userInfo
)
&&
//
wx.$hasPermission?.canSelectMultiStoreForStaffDaily?.(userInfo) &&
menu
.
every
(
item
=>
item
.
name
!=
'驻店管理'
)
//
menu.every(item => item.name != '驻店管理')
)
{
//
) {
menu
.
push
({
//
menu.push({
name
:
'驻店管理'
,
//
name: '驻店管理',
url
:
'tabWorkOrder.residentManage'
,
//
url: 'tabWorkOrder.residentManage',
recordId
:
13
,
//
recordId: 13,
icon
:
'residentManage'
,
//
icon: 'residentManage',
noCheckdailyReport
:
true
//
noCheckdailyReport: true
})
//
})
}
//
}
// 超管/飞行督导
// 超管/飞行督导
if
(
if
(
wx
.
$hasPermission
?.
canViewMentorship
?.(
userInfo
)
&&
wx
.
$hasPermission
?.
canViewMentorship
?.(
userInfo
)
&&
...
...
tabRepairOrder/pages/confirmWorkOrder/confirmWorkOrder.js
View file @
caeca75
...
@@ -504,7 +504,6 @@ Page({
...
@@ -504,7 +504,6 @@ Page({
handleSelectServiceConfirm
(
e
)
{
handleSelectServiceConfirm
(
e
)
{
this
.
setData
({
this
.
setData
({
editServicesList
:
e
.
detail
,
editServicesList
:
e
.
detail
,
serviceCount
:
this
.
_calcServiceCount
(
e
.
detail
)
})
})
this
.
handleSelectServiceCancel
()
this
.
handleSelectServiceCancel
()
},
},
...
...
tabRepairOrder/pages/repairOrderDetail/repairOrderDetail.wxml
View file @
caeca75
...
@@ -94,8 +94,8 @@
...
@@ -94,8 +94,8 @@
</view>
</view>
<view class="tabs">
<view class="tabs">
<view class="tab-item {{ currentTab === 'goods' ? 'active' : '' }}" bindtap="switchTab" data-tab="goods">施工商品
({{detailInfo.subOrderList.length}})
</view>
<view class="tab-item {{ currentTab === 'goods' ? 'active' : '' }}" bindtap="switchTab" data-tab="goods">施工商品
<text style="font-size: 20rpx;">({{detailInfo.subOrderList.length}})</text>
</view>
<view class="tab-item {{ currentTab === 'service' ? 'active' : '' }}" bindtap="switchTab" data-tab="service">服务项目
({{serviceCount}})
</view>
<view class="tab-item {{ currentTab === 'service' ? 'active' : '' }}" bindtap="switchTab" data-tab="service">服务项目
<text style="font-size: 20rpx;">({{serviceCount}})</text>
</view>
</view>
</view>
<view class="card tab-card">
<view class="card tab-card">
...
...
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