Commit b0629f00 by Jaxon

refactor: 分包大小超过限制. 删部分注释

1 parent c4fdc9b2
...@@ -351,10 +351,6 @@ Page({ ...@@ -351,10 +351,6 @@ Page({
}, },
async changeTabBar(e) { async changeTabBar(e) {
// let { pageShow } = this.data,
// wx.__HAS_NOREPORT_MODAL = false
// wx.__HAS_NOTARGET_MODAL = false
// console.log(e.detail)
wx.__HAS_SHOW_MODAL = false; wx.__HAS_SHOW_MODAL = false;
let tabIndex = e.detail; let tabIndex = e.detail;
// console.log(pageShow[tabIndex]) // console.log(pageShow[tabIndex])
...@@ -424,7 +420,6 @@ Page({ ...@@ -424,7 +420,6 @@ Page({
let flag = dateStaffPop?.[sceneType]?.[merchantId]; let flag = dateStaffPop?.[sceneType]?.[merchantId];
console.log(flag, "flag", dateStaffPop?.[sceneType], dateStaffPop?.[sceneType]?.[merchantId]); console.log(flag, "flag", dateStaffPop?.[sceneType], dateStaffPop?.[sceneType]?.[merchantId]);
// let num = 0 // let num = 0
// 当天已查询过
if (dayBoolean && flag) { if (dayBoolean && flag) {
// num = dateStaffPop?.num || 0 // num = dateStaffPop?.num || 0
// num = num + 1 // num = num + 1
...@@ -517,19 +512,11 @@ Page({ ...@@ -517,19 +512,11 @@ Page({
}, },
setTime() { setTime() {
let _this = this; let _this = this;
time = setTimeout(() => { time = setTimeout(() => {}, 10 * 1000);
// console.log(_this.getWaitOrder)
// 2025-8月版本,隐藏补录入口
// _this.getWaitOrder();
}, 10 * 1000);
}, },
// 10s轮询一次待补录 // 10s轮询一次待补录
getWaitOrder() { getWaitOrder() {
let { isStaff, mode } = this.data; let { isStaff, mode } = this.data;
// console.log('isStaff', isStaff)
// let thisPage = wx.$router.getPageInstance()
// console.log(thisPage.route, ' thisPage.route')
// thisPage.route == 'tabIndex/pages/index/index' &&
time && clearTimeout(time); //解决切换门店时 需要清除计时器 time && clearTimeout(time); //解决切换门店时 需要清除计时器
if (isStaff && mode) { if (isStaff && mode) {
waitinputorder() waitinputorder()
...@@ -579,11 +566,9 @@ Page({ ...@@ -579,11 +566,9 @@ Page({
}, },
}); });
} }
if (dialogParams.type === ServerCenterEnum.case) { if (dialogParams.type === ServerCenterEnum.case) {
wx.$router.go("tabWorkOrder.caseDetail", { caseId: noticeItem.id }); wx.$router.go("tabWorkOrder.caseDetail", { caseId: noticeItem.id });
} }
if (dialogParams.type === ServerCenterEnum.companyNotice) { if (dialogParams.type === ServerCenterEnum.companyNotice) {
wx.$router.go("tabWorkOrder.companyNoticeDetail", { id: noticeItem.id }); wx.$router.go("tabWorkOrder.companyNoticeDetail", { id: noticeItem.id });
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!