Commit 75174f85 by zhangxw

筛选参数修改

1 parent 78a33d08
......@@ -62,7 +62,7 @@ Page({
pageSize: 10,
pageNum: currentPage,
merchantNoList: selectInfo?.yqMerchantId ? [selectInfo?.yqMerchantId] : allServiceIds,
staffBusinessType: selectInfo.staffBusinessType
staffType: selectInfo.staffBusinessType
}
if (nothing || isAsk) {
return
......
......@@ -17,7 +17,7 @@ Component({
thisPage.setData({
isShowFilterScreen: true
})
if (!this.data.formData.startTime || !this.data.formData.endTime) this.setDate() // 未选择时间默认展示当前月份
if (!this.data.screenFlag) this.setDate() // 默认展示当前月份
this.setViewData()
}
}
......@@ -214,6 +214,7 @@ Component({
formData.sceneType = sceneList.filter(val => val.active)[0]?.id || ''
formData.staffUUIDs = staffList.filter(val => val.active).map(subVal => {if (subVal.uuid) return subVal.uuid})
this.triggerEvent('screenFlag')
this.setData({screenFlag: true})
const thisPage = wx.$router.getPageInstance()
if (formData?.partnerMerchantIds[0] !== userInfo.subLoginUser.merchantId) {
USERAPI.switchSubLoginInfo({ merchantId: formData?.partnerMerchantIds[0] }).then(res => {
......
......@@ -97,6 +97,7 @@ Component({
...thisPage.data.screenFormData
}
delete params.shopMerchantNames
delete params.sceneType // 删除场景参数
if (nothing || isAsk) {
return
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!