feat: 完成真实咨询提交闭环

This commit is contained in:
que01 committed 2026-09-23 09:30:47 +08:00
1 parent 16b0967dc5
commit ba0069ae6d
9 files changed
+259 -70

No files matched your search

+13 -1
View File
@@ -1 +1,13 @@
Page({ data: { record: {} }, onLoad(options) { const records = wx.getStorageSync("linjingInquiryRecords") || []; this.setData({ record: records.find((item) => item.id === options.id) || records[0] || {} }); }, viewRecords() { wx.redirectTo({ url: "/pages/records/index" }); }, home() { wx.switchTab({ url: "/pages/index/index" }); } });
Page({
data: { record: {} },
onLoad(options) {
const record = wx.getStorageSync("latestInquirySubmission") || {};
this.setData({ record: record.id === options.id ? record : {} });
},
viewRecords() {
wx.redirectTo({ url: "/pages/records/index" });
},
home() {
wx.switchTab({ url: "/pages/index/index" });
},
});