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)