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 @@