From 7e2292c7051bfb957a435a944863a22d9fb117a2 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 24 Apr 2024 11:21:54 +0800 Subject: [PATCH] =?UTF-8?q?oa=E9=A1=B5=E9=9D=A2=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 3 +- src/components/BaseForm/search-form.vue | 162 +++++++++++++----- src/layout/components/Sidebar/SidebarItem.vue | 4 +- src/utils/uploadZip.js | 3 +- src/views/recompose/index.vue | 1 + src/views/system/hospital/index.vue | 9 +- src/views/system/user/list/index.vue | 31 +++- src/views/trials/trials-list/index.vue | 4 +- .../reading/dicoms/components/ReportPage.vue | 7 +- .../reading/reading-tracking/index.vue | 7 +- .../trial-summary/trial-information/index.vue | 86 +++++----- 11 files changed, 217 insertions(+), 100 deletions(-) diff --git a/src/App.vue b/src/App.vue index 0b6ce56..cdebbf6 100644 --- a/src/App.vue +++ b/src/App.vue @@ -103,7 +103,8 @@ export default { }; }, mounted() { - this.show = process.env.VUE_APP_OSS_PATH === "/hir_test/dist"; + // this.show = process.env.VUE_APP_OSS_PATH === "/hir_test/dist"; + this.show = true; }, methods: { changeValue(target, attr, e) { diff --git a/src/components/BaseForm/search-form.vue b/src/components/BaseForm/search-form.vue index dfaadf4..43d416c 100644 --- a/src/components/BaseForm/search-form.vue +++ b/src/components/BaseForm/search-form.vue @@ -2,18 +2,28 @@ - + --> - {{$t('trials:dicoms:button:evaluationReport')}} + {{$t('trials:dicoms:button:evaluationReport')}} { @@ -317,6 +317,7 @@ export default { loading: false, total: 0, // 修改检查 + reportBtnLoading: false, }; }, created() { @@ -330,12 +331,16 @@ export default { }, // 评估报告 async showReport(item) { + if (this.reportBtnLoading) return; let data = { VisitTaskId: item.Id, }; try { + this.reportBtnLoading = true; let res = await downLoadReadReport(data); + this.reportBtnLoading = false; } catch (err) { + this.reportBtnLoading = false; console.log(err); } }, diff --git a/src/views/trials/trials-panel/trial-summary/trial-information/index.vue b/src/views/trials/trials-panel/trial-summary/trial-information/index.vue index 2bbd568..5d1a3e0 100644 --- a/src/views/trials/trials-panel/trial-summary/trial-information/index.vue +++ b/src/views/trials/trials-panel/trial-summary/trial-information/index.vue @@ -1,48 +1,33 @@