Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
supervisor-miniprogram
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 1dfa634e
authored
Mar 23, 2026
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
走流程自测修改
1 parent
68ecc4af
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
22 additions
and
5 deletions
packageCrew/pages/mentoring/mentoring.js
packageCrew/pages/peopleOverview/components/behaviorAnalysis/behaviorAnalysis.js
packageCrew/pages/peopleOverview/components/personalPerformance/personalPerformance.js
packageCrew/pages/peopleOverview/peopleOverview.js
packageCrew/pages/peopleOverview/peopleOverview.wxml
packageCrew/pages/receptionRecording/components/recordItem/recordItem.js
packageCrew/pages/receptionRecording/components/recordItem/recordItem.wxml
packageCrew/pages/receptionRecording/receptionRecording.wxml
packageCrew/pages/recordingDetail/recordingDetail.js
packageIndex/pages/dailySupervisionReport/dailySupervisionReport.js
packageIndex/pages/monthlyPlan/monthlyPlan.js
packageIndex/pages/specialTask/specialTask.js
packageIndex/pages/weeklyReview/weeklyReview.js
packageCrew/pages/mentoring/mentoring.js
View file @
1dfa634
...
@@ -263,7 +263,7 @@ Page({
...
@@ -263,7 +263,7 @@ Page({
wx
.
$util
.
hideLoading
()
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
console
.
log
(
'222
'
)
wx
.
$util
.
showToast
(
'操作成功
'
)
this
.
back
()
this
.
back
()
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
packageCrew/pages/peopleOverview/components/behaviorAnalysis/behaviorAnalysis.js
View file @
1dfa634
...
@@ -171,6 +171,7 @@ Component({
...
@@ -171,6 +171,7 @@ Component({
selectOptions
:
merchantList
,
selectOptions
:
merchantList
,
selectValue
:
selectedMerchantObj
.
merchantId
?
[
selectedMerchantObj
.
merchantId
]
:
[]
selectValue
:
selectedMerchantObj
.
merchantId
?
[
selectedMerchantObj
.
merchantId
]
:
[]
})
})
this
.
triggerEvent
(
'changeMerchant'
,
true
)
},
},
handlePopupConfirm
(
e
)
{
handlePopupConfirm
(
e
)
{
let
{
items
}
=
e
.
detail
let
{
items
}
=
e
.
detail
...
@@ -191,6 +192,7 @@ Component({
...
@@ -191,6 +192,7 @@ Component({
this
.
setData
({
this
.
setData
({
showSelectPopup
:
false
showSelectPopup
:
false
})
})
this
.
triggerEvent
(
'changeMerchant'
,
false
)
},
},
},
},
})
})
packageCrew/pages/peopleOverview/components/personalPerformance/personalPerformance.js
View file @
1dfa634
...
@@ -469,6 +469,7 @@ Component({
...
@@ -469,6 +469,7 @@ Component({
selectOptions: merchantList,
selectOptions: merchantList,
selectValue: selectedMerchantObj.merchantId ? [selectedMerchantObj.merchantId] : []
selectValue: selectedMerchantObj.merchantId ? [selectedMerchantObj.merchantId] : []
})
})
this.triggerEvent('changeMerchant', true)
},
},
handlePopupConfirm(e) {
handlePopupConfirm(e) {
let { items } = e.detail
let { items } = e.detail
...
@@ -489,6 +490,7 @@ Component({
...
@@ -489,6 +490,7 @@ Component({
this.setData({
this.setData({
showSelectPopup: false
showSelectPopup: false
})
})
this.triggerEvent('changeMerchant', false)
},
},
},
},
})
})
packageCrew/pages/peopleOverview/peopleOverview.js
View file @
1dfa634
...
@@ -58,6 +58,11 @@ Page({
...
@@ -58,6 +58,11 @@ Page({
isFooterHidden
:
!!
e
?.
detail
?.
visible
isFooterHidden
:
!!
e
?.
detail
?.
visible
})
})
},
},
onChangeMerchant
(
e
)
{
this
.
setData
({
isFooterHidden
:
!!
e
?.
detail
})
},
onDateSave
(
e
)
{
onDateSave
(
e
)
{
const
{
scope
,
timeDimension
,
startDate
,
endDate
}
=
e
?.
detail
||
{}
const
{
scope
,
timeDimension
,
startDate
,
endDate
}
=
e
?.
detail
||
{}
if
(
!
scope
)
return
if
(
!
scope
)
return
...
...
packageCrew/pages/peopleOverview/peopleOverview.wxml
View file @
1dfa634
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
</view>
</view>
<view class="tab-content">
<view class="tab-content">
<basic-info wx:if="{{tabIndex === 0}}" baseInfo="{{baseInfo}}" />
<basic-info wx:if="{{tabIndex === 0}}" baseInfo="{{baseInfo}}" />
<personal-performance wx:if="{{tabIndex === 1}}" detailInfo="{{detailInfo}}" merchantList="{{merchantList}}" selectedMerchantObj="{{selectedMerchantObj}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{personalPerformanceDate.timeDimension}}" initStartDate="{{personalPerformanceDate.startDate}}" initEndDate="{{personalPerformanceDate.endDate}}" />
<personal-performance wx:if="{{tabIndex === 1}}" detailInfo="{{detailInfo}}"
bindchangeMerchant="onChangeMerchant"
merchantList="{{merchantList}}" selectedMerchantObj="{{selectedMerchantObj}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{personalPerformanceDate.timeDimension}}" initStartDate="{{personalPerformanceDate.startDate}}" initEndDate="{{personalPerformanceDate.endDate}}" />
<behavior-analysis wx:if="{{tabIndex === 2}}" detailInfo="{{detailInfo}}" merchantList="{{merchantList}}" selectedMerchantObj="{{selectedMerchantObj}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{behaviorAnalysisDate.timeDimension}}" initStartDate="{{behaviorAnalysisDate.startDate}}" initEndDate="{{behaviorAnalysisDate.endDate}}" />
<behavior-analysis wx:if="{{tabIndex === 2}}" detailInfo="{{detailInfo}}"
bindchangeMerchant="onChangeMerchant"
merchantList="{{merchantList}}" selectedMerchantObj="{{selectedMerchantObj}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{behaviorAnalysisDate.timeDimension}}" initStartDate="{{behaviorAnalysisDate.startDate}}" initEndDate="{{behaviorAnalysisDate.endDate}}" />
<training-experience id="training" wx:if="{{tabIndex === 3}}" detailInfo="{{detailInfo}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{trainingExperienceDate.timeDimension}}" initStartDate="{{trainingExperienceDate.startDate}}" initEndDate="{{trainingExperienceDate.endDate}}" />
<training-experience id="training" wx:if="{{tabIndex === 3}}" detailInfo="{{detailInfo}}" bindpopupvisible="onDatePopupVisible" binddatesave="onDateSave" initTimeDimension="{{trainingExperienceDate.timeDimension}}" initStartDate="{{trainingExperienceDate.startDate}}" initEndDate="{{trainingExperienceDate.endDate}}" />
<view style="width: 100%;height: 200rpx;"></view>
<view style="width: 100%;height: 200rpx;"></view>
</view>
</view>
...
...
packageCrew/pages/receptionRecording/components/recordItem/recordItem.js
View file @
1dfa634
...
@@ -7,6 +7,9 @@ Component({
...
@@ -7,6 +7,9 @@ Component({
record
:
{
record
:
{
type
:
Object
,
type
:
Object
,
},
},
detailInfo
:
{
type
:
Object
},
hideBtn
:
Boolean
hideBtn
:
Boolean
},
},
...
...
packageCrew/pages/receptionRecording/components/recordItem/recordItem.wxml
View file @
1dfa634
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<view class="phone">{{record.phoneNumber}}</view>
<view class="phone">{{record.phoneNumber}}</view>
</view>
</view>
<view class="right">
<view class="right">
<view class="staff">{{
record.sales
Name || '-'}}</view>
<view class="staff">{{
detailInfo.storeManager
Name || '-'}}</view>
<view class="status" style="color: {{statusMap[record.receptionResult].color}};background: {{statusMap[record.receptionResult].background}}">{{record.receptionResult}}</view>
<view class="status" style="color: {{statusMap[record.receptionResult].color}};background: {{statusMap[record.receptionResult].background}}">{{record.receptionResult}}</view>
</view>
</view>
</view>
</view>
...
...
packageCrew/pages/receptionRecording/receptionRecording.wxml
View file @
1dfa634
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
<view class="card-line"></view>
<view class="card-line"></view>
</view>
</view>
<view class="card-item" wx:key="subIndex">
<view class="card-item" wx:key="subIndex">
<record-item record="{{record}}"></record-item>
<record-item record="{{record}}"
detailInfo="{{detailInfo}}"
></record-item>
</view>
</view>
</view>
</view>
</block>
</block>
...
...
packageCrew/pages/recordingDetail/recordingDetail.js
View file @
1dfa634
...
@@ -281,6 +281,7 @@ Page({
...
@@ -281,6 +281,7 @@ Page({
wx
.
$util
.
hideLoading
()
wx
.
$util
.
hideLoading
()
let
{
code
,
data
,
message
}
=
res
let
{
code
,
data
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
$util
.
showToast
(
'操作成功'
)
wx
.
navigateBack
()
wx
.
navigateBack
()
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
packageIndex/pages/dailySupervisionReport/dailySupervisionReport.js
View file @
1dfa634
...
@@ -212,6 +212,7 @@ Page({
...
@@ -212,6 +212,7 @@ Page({
wx
.
$util
.
hideLoading
()
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
$util
.
showToast
(
'操作成功'
)
this
.
back
()
this
.
back
()
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
packageIndex/pages/monthlyPlan/monthlyPlan.js
View file @
1dfa634
...
@@ -87,6 +87,7 @@ Page({
...
@@ -87,6 +87,7 @@ Page({
wx
.
$util
.
hideLoading
()
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
$util
.
showToast
(
'操作成功'
)
this
.
back
()
this
.
back
()
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
packageIndex/pages/specialTask/specialTask.js
View file @
1dfa634
...
@@ -95,6 +95,7 @@ Page({
...
@@ -95,6 +95,7 @@ Page({
wx
.
$util
.
hideLoading
()
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
$util
.
showToast
(
'操作成功'
)
this
.
back
()
this
.
back
()
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
packageIndex/pages/weeklyReview/weeklyReview.js
View file @
1dfa634
...
@@ -202,6 +202,7 @@ Page({
...
@@ -202,6 +202,7 @@ Page({
wx
.
$util
.
hideLoading
()
wx
.
$util
.
hideLoading
()
let
{
code
,
message
}
=
res
let
{
code
,
message
}
=
res
if
(
code
==
0
)
{
if
(
code
==
0
)
{
wx
.
$util
.
showToast
(
'操作成功'
)
this
.
back
()
this
.
back
()
}
else
{
}
else
{
wx
.
$util
.
showToast
(
message
)
wx
.
$util
.
showToast
(
message
)
...
...
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