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: () => {