From 9653e4478bece8b28881367a81075e17e37ccbd4 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6C3NK6N\\WXS" <815034831@qq.com> Date: Tue, 10 Sep 2024 18:32:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=BB=E5=AD=A6=E5=AE=A1=E6=A0=B8=E4=B8=8B?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../downloadDicomAndNonedicom/index.vue | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/components/downloadDicomAndNonedicom/index.vue b/src/components/downloadDicomAndNonedicom/index.vue index 9850225d..edef5de7 100644 --- a/src/components/downloadDicomAndNonedicom/index.vue +++ b/src/components/downloadDicomAndNonedicom/index.vue @@ -172,6 +172,10 @@ export default { type: String, default: '', }, + TaskId: { + type: String, + default: '', + }, SubjectCode: { type: String, default: '', @@ -223,6 +227,9 @@ export default { this.searchData.TrialReadingCriterionId = this.Criterion.TrialReadingCriterionId this.searchData.SubjectCode = this.SubjectCode + if (this.TaskId) { + this.searchData.VisitTaskId = this.TaskId + } this.loading = true let res = await getSubjectImageDownloadSelectList(this.searchData) this.loading = false @@ -339,10 +346,11 @@ export default { series.InstancePathList.forEach((instance) => { let fileName = instance.Path.split('/').pop() let obj = { - name: `${data.SubjectCode}/${data.TaskBlindName}/${this.$fd( - 'IsDicom', - true - )}/${study.StudyCode}/${fileName}`, + name: `${data.SubjectCode}/${ + data.TaskBlindName + }/${this.$fd('IsDicom', true)}/${ + study.StudyCode + }/${fileName}`, url: this.OSSclientConfig.basePath + instance.Path, } files.push(obj)