@@ -21,7 +21,8 @@ Page({
// await this.getOfflineTreatmentList("");
},
async onShow() {
- await this.getOfflineTreatmentList("");
+ // 返回本页时要沿用当前 Tab 的筛选条件
+ await this.getOfflineTreatmentList(this.data.currentTab ?? "");
// 跳转到核销记录
onRecord(e: any) {
@@ -43,7 +44,6 @@ Page({
// 去预约
goAppointment(e: any) {
-
const { item } = e.currentTarget.dataset;
const { offlineId, conditioningProgramName, offlineDuration, itemImgSecond, estimatedStartDate } = item;
const goodsInfo = {