Commit 7d16c069 by 李伟康

commit 接待记录新增入参

1 parent 828bd5f7
......@@ -179,11 +179,12 @@ export default {
const { dateList } = this,
{ startTime, endTime } = dateList[index],
userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId } = userInfo,
{ shopMerchantId, sceneType } = userInfo,
data = await uni.$api.commonApi.getReceptionStatistics({
merchantId: shopMerchantId,
startTime,
endTime
endTime,
bussinessType: sceneType == 0 ? 1 : 2, // sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
})
if (data.avgTime) {
const { minutes, seconds } = this.formatTime(data.avgTime)
......@@ -202,13 +203,14 @@ export default {
const { dateList, dateIndex, pageNum, pageSize } = this,
{ startTime, endTime } = dateList[dateIndex],
userInfo = uni.$storage.get("userInfo"),
{ shopMerchantId } = userInfo,
{ shopMerchantId, sceneType } = userInfo,
{ list, total } = await uni.$api.commonApi.getReceptionList({
merchantId: shopMerchantId,
pageNum,
pageSize,
startTime,
endTime
endTime,
bussinessType: sceneType == 0 ? 1 : 2, // sceneType 0延保 1精品。 bussinessType 1.延保 2.轻改
})
uni.hideLoading()
list?.length && list.map(e => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!