@@ -17,7 +17,15 @@ Page({
},
onLoad(options: any) {
if (options.id) {
- this.getVerifyRecordList(options.id);
+ this.setData({
+ id: options.id,
+ });
+
+ }
+ },
+ onShow() {
+ if (this.data.id) {
+ this.getVerifyRecordList(Number(this.data.id));
}
// 生成二维码
@@ -210,7 +210,7 @@ Page({
wx.hideLoading();
wx.showToast({ title: "发布成功", icon: "success" });
wx.redirectTo({
- url: `/module/order/pages/offline-evaluate/offline-evaluate`,
+ url: `/module/care/pages/care/verifyRecord?id=${this.data.service?.patientConditioningProgramId}`,
});
} catch (error: any) {