| | |
| | | // }, |
| | | ]); |
| | | common_vendor.onLoad(async () => { |
| | | common_vendor.index.__f__("log", "at pages/my/index.vue:203", userStore.userInfo, "userStore.userInfo"); |
| | | common_vendor.index.__f__("log", "at pages/my/index.vue:213", userStore.userInfo, "userStore.userInfo"); |
| | | userInfo.value = userStore.userInfo; |
| | | await donateTotal(); |
| | | }); |
| | |
| | | common_vendor.index.navigateTo({ |
| | | url, |
| | | fail: (err) => { |
| | | common_vendor.index.__f__("error", "at pages/my/index.vue:212", "导航失败:", err); |
| | | common_vendor.index.__f__("error", "at pages/my/index.vue:222", "导航失败:", err); |
| | | common_vendor.index.redirectTo({ |
| | | url, |
| | | fail: (err2) => { |
| | | common_vendor.index.__f__("error", "at pages/my/index.vue:217", "重定向失败:", err2); |
| | | common_vendor.index.__f__("error", "at pages/my/index.vue:227", "重定向失败:", err2); |
| | | } |
| | | }); |
| | | } |
| | |
| | | throw new Error(res.msg || "获取统计失败"); |
| | | } |
| | | } catch (error) { |
| | | common_vendor.index.__f__("error", "at pages/my/index.vue:237", "获取统计数据失败:", error); |
| | | common_vendor.index.__f__("error", "at pages/my/index.vue:247", "获取统计数据失败:", error); |
| | | } |
| | | }; |
| | | const handleLogout = () => { |
| | |
| | | c: common_assets._imports_1 |
| | | }, { |
| | | d: common_vendor.t(userInfo.value.nickName), |
| | | e: common_vendor.t(userInfo.value.createBy), |
| | | e: common_vendor.t(userInfo.value.userName), |
| | | f: userInfo.value.coordinatorName |
| | | }, userInfo.value.coordinatorName ? common_vendor.e({ |
| | | g: common_vendor.t(userInfo.value.coordinatorName), |
| | |
| | | k: common_vendor.t(stats.value.totalCases), |
| | | l: common_vendor.t(stats.value.readCases), |
| | | m: common_vendor.t(stats.value.agreedCases), |
| | | n: common_vendor.f(functionList.value, (section, idx, i0) => { |
| | | n: common_vendor.o(($event) => navigateTo("/pagesSub/case/index")), |
| | | o: common_vendor.f(functionList.value, (section, idx, i0) => { |
| | | return common_vendor.e({ |
| | | a: section.title |
| | | }, section.title ? { |
| | |
| | | d: idx |
| | | }); |
| | | }), |
| | | o: common_vendor.o(handleLogout), |
| | | p: common_vendor.gei(_ctx, "") |
| | | p: common_vendor.o(handleLogout), |
| | | q: common_assets._imports_2, |
| | | r: common_vendor.gei(_ctx, "") |
| | | }); |
| | | }; |
| | | } |