From 82447c58dea0d8552e8c71c30faacf9c8326e830 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Fri, 13 Sep 2024 09:20:25 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8B=AC=E7=AB=8B=E9=98=85=E7=89=87=E4=BA=BA?= =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E5=BD=B1=E5=83=8F=E9=A1=B5=E9=9D=A2=E5=9B=BD?= =?UTF-8?q?=E9=99=85=E5=8C=96=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../downloadDicomAndNonedicom/index.vue | 5 ++- .../uploadDicomAndNonedicom/dicomFile.vue | 5 ++- .../uploadDicomAndNonedicom/nonedicomFile.vue | 16 ++++----- .../uploadDicomAndNonedicom/study-view.vue | 34 +++++++++++++++++-- 4 files changed, 48 insertions(+), 12 deletions(-) diff --git a/src/components/downloadDicomAndNonedicom/index.vue b/src/components/downloadDicomAndNonedicom/index.vue index 042777b3..4b93da47 100644 --- a/src/components/downloadDicomAndNonedicom/index.vue +++ b/src/components/downloadDicomAndNonedicom/index.vue @@ -139,6 +139,7 @@ v-if="model_cfg.visible" :model_cfg="model_cfg" :modelList="modelList" + :bodyPart="bodyPart" :IsDicom="IsDicom" /> @@ -213,10 +214,12 @@ export default { IsDicom: true, open: null, downloadId: null, + bodyPart: [], } }, - mounted() { + async mounted() { this.getList() + this.bodyPart = await this.$getBodyPart(this.$route.query.trialId) this.title = `Download Images:${this.SubjectCode}(${this.Criterion.TrialReadingCriterionName})` }, beforeDestroy() { diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index d439231f..6c908b8a 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -75,13 +75,13 @@ :title="$t('upload:dicom:button:upload')" /> @@ -526,6 +527,7 @@ export default { subjectVisitId: null, errStudyUidList: [], open: null, + bodyPart: [], } }, created() { @@ -533,6 +535,7 @@ export default { }, async mounted() { this.trialId = this.$route.query.trialId + this.bodyPart = await this.$getBodyPart(this.$route.query.trialId) this.uploadQueues = [] this.OSSclient.close() }, diff --git a/src/components/uploadDicomAndNonedicom/nonedicomFile.vue b/src/components/uploadDicomAndNonedicom/nonedicomFile.vue index d057d3ad..9642f150 100644 --- a/src/components/uploadDicomAndNonedicom/nonedicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/nonedicomFile.vue @@ -62,15 +62,15 @@ @@ -109,15 +109,15 @@ diff --git a/src/components/uploadDicomAndNonedicom/study-view.vue b/src/components/uploadDicomAndNonedicom/study-view.vue index 3fd1070b..6aac7b24 100644 --- a/src/components/uploadDicomAndNonedicom/study-view.vue +++ b/src/components/uploadDicomAndNonedicom/study-view.vue @@ -24,7 +24,19 @@ prop="BodyPartForEdit" :label="$t('trials:uploadImage:table:BodyPartForEdit')" v-if="IsDicom" - /> + > + + + > + + { + return [] + }, + }, modelList: { type: Array, default: () => {