| | |
| | | const utils_dict = require("../../utils/dict.js"); |
| | | if (!Array) { |
| | | const _easycom_u_input2 = common_vendor.resolveComponent("u-input"); |
| | | const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon"); |
| | | const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon"); |
| | | const _easycom_u_loading_icon2 = common_vendor.resolveComponent("u-loading-icon"); |
| | | (_easycom_u_input2 + _easycom_u_icon2 + _easycom_u_loading_icon2)(); |
| | | (_easycom_u_input2 + _easycom_up_icon2 + _easycom_u_loading_icon2)(); |
| | | } |
| | | const _easycom_u_input = () => "../../uni_modules/uview-plus/components/u-input/u-input.js"; |
| | | const _easycom_u_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js"; |
| | | const _easycom_up_icon = () => "../../uni_modules/uview-plus/components/u-icon/u-icon.js"; |
| | | const _easycom_u_loading_icon = () => "../../uni_modules/uview-plus/components/u-loading-icon/u-loading-icon.js"; |
| | | if (!Math) { |
| | | (_easycom_u_input + _easycom_u_icon + _easycom_u_loading_icon)(); |
| | | (_easycom_u_input + _easycom_up_icon + _easycom_u_loading_icon)(); |
| | | } |
| | | const _sfc_main = { |
| | | __name: "index", |
| | |
| | | `/project/ethicalreviewopinions/listnew`, |
| | | params |
| | | ); |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:419", res, "11"); |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:418", res, "11"); |
| | | if (res.code == 200) { |
| | | const list = res.rows || []; |
| | | const totalCount = res.total || 0; |
| | |
| | | } else { |
| | | reviewList.value = list; |
| | | } |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:430", reviewList.value, "reviewList.value"); |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:429", reviewList.value, "reviewList.value"); |
| | | total.value = totalCount; |
| | | hasMore.value = reviewList.value.length < totalCount; |
| | | } else { |
| | |
| | | }); |
| | | } |
| | | } catch (error) { |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:441", "加载案例数据失败:", error); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:440", "加载案例数据失败:", error); |
| | | common_vendor.index.showToast({ |
| | | title: "数据加载失败,请重试", |
| | | icon: "none" |
| | |
| | | filePath: saveRes.savedFilePath, |
| | | showMenu: true, |
| | | success: () => { |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:516", "打开文档成功"); |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:515", "打开文档成功"); |
| | | }, |
| | | fail: (err) => { |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:519", "打开文档失败", err); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:518", "打开文档失败", err); |
| | | } |
| | | }); |
| | | } |
| | |
| | | icon: "error", |
| | | duration: 2e3 |
| | | }); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:549", "下载文件失败:", err); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:548", "下载文件失败:", err); |
| | | } |
| | | }); |
| | | downloadTask.onProgressUpdate((res) => { |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:555", "下载进度:", res.progress); |
| | | common_vendor.index.__f__("log", "at pagesSub/ethicalReview/index.vue:554", "下载进度:", res.progress); |
| | | }); |
| | | } catch (error) { |
| | | common_vendor.index.hideLoading(); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:559", "下载报告失败:", error); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:558", "下载报告失败:", error); |
| | | common_vendor.index.showToast({ |
| | | title: "下载失败", |
| | | icon: "error", |
| | |
| | | } |
| | | } catch (error) { |
| | | common_vendor.index.hideLoading(); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:614", "重新开始审查失败:", error); |
| | | common_vendor.index.__f__("error", "at pagesSub/ethicalReview/index.vue:613", "重新开始审查失败:", error); |
| | | common_vendor.index.showToast({ |
| | | title: "操作失败", |
| | | icon: "error", |
| | |
| | | }), |
| | | m: !loading.value && reviewList.value.length == 0 |
| | | }, !loading.value && reviewList.value.length == 0 ? { |
| | | n: common_vendor.t(loading.value), |
| | | o: common_vendor.t(reviewList.value.length), |
| | | p: common_vendor.p({ |
| | | name: "file-remove", |
| | | size: "80", |
| | | color: "#C0C4CC" |
| | | }), |
| | | q: common_vendor.o(resetFilters) |
| | | n: common_vendor.o(resetFilters) |
| | | } : {}, { |
| | | r: !hasMore.value && reviewList.value.length > 0 |
| | | o: !hasMore.value && reviewList.value.length > 0 |
| | | }, !hasMore.value && reviewList.value.length > 0 ? {} : {}, { |
| | | s: refreshing.value, |
| | | t: common_vendor.o(onRefresh), |
| | | v: common_vendor.o(onLoadMore), |
| | | w: common_vendor.gei(_ctx, "") |
| | | p: refreshing.value, |
| | | q: common_vendor.o(onRefresh), |
| | | r: common_vendor.o(onLoadMore), |
| | | s: common_vendor.gei(_ctx, "") |
| | | }); |
| | | }; |
| | | } |