diff --git a/src/components/downloadDicomAndNonedicom/index.vue b/src/components/downloadDicomAndNonedicom/index.vue index 49bd1582..4ff5820c 100644 --- a/src/components/downloadDicomAndNonedicom/index.vue +++ b/src/components/downloadDicomAndNonedicom/index.vue @@ -336,6 +336,14 @@ export default { if (data.StudyList && data.StudyList.length > 0) { let StudyList = data.StudyList StudyList.forEach((study) => { + let arr = [] + study.SeriesList.forEach(item => { + if (!arr.includes(item.Modality)) { + arr.push(item.Modality) + } + }) + let str = arr.join('_') + let time = study.StudyTime.split(' ')[0] if (study.StudyDIRPath) { let obj = { name: `${data.SubjectCode}/${data.TaskBlindName @@ -347,7 +355,7 @@ export default { obj = { name: `${data.SubjectCode}/${data.VisitName }/${this.$fd('IsDicom', true)}/${study.StudyCode - }/DICOMDIR`, + }_${time}_${str}/DICOMDIR`, url: this.OSSclientConfig.basePath + study.StudyDIRPath, } } else if (this.IsReadingTaskViewInOrder === 0) { @@ -380,7 +388,7 @@ export default { obj = { name: `${data.SubjectCode}/${data.VisitName }/${this.$fd('IsDicom', true)}/${study.StudyCode - }/IMAGE/${fileName}`, + }_${time}_${str}/IMAGE/${fileName}`, url: this.OSSclientConfig.basePath + instance.Path, IsEncapsulated: instance.IsEncapsulated }