From 13c9bb8b736775d80636084c4e160e1ce53073e1 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 21 Nov 2025 17:37:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD=E9=97=AE=E9=A2=98=E8=A7=A3?= =?UTF-8?q?=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/view-study-list.vue | 2 +- src/views/trials/trials-inspection/index.vue | 27 ++----------------- 2 files changed, 3 insertions(+), 26 deletions(-) diff --git a/src/views/trials/trials-inspection/components/view-study-list.vue b/src/views/trials/trials-inspection/components/view-study-list.vue index 88ab521..0a84d68 100644 --- a/src/views/trials/trials-inspection/components/view-study-list.vue +++ b/src/views/trials/trials-inspection/components/view-study-list.vue @@ -276,7 +276,7 @@ export default { ] }, btnLoading: false, - hospitalGroupList: [], + // hospitalGroupList: [], groupStatus: 1, currentData: {} } diff --git a/src/views/trials/trials-inspection/index.vue b/src/views/trials/trials-inspection/index.vue index 7a8f27b..15e6698 100644 --- a/src/views/trials/trials-inspection/index.vue +++ b/src/views/trials/trials-inspection/index.vue @@ -320,6 +320,7 @@ export default { async downloadImage(data) { try { let { files, name } = this.formatDownloadFile(data) + // return console.log(files) let res = await downLoadFile(files, name, 'zip') if (res && this.downloadId) { @@ -351,7 +352,7 @@ export default { files.push(obj) } series.InstanceList.forEach((instance) => { - let fileName = instance.Path.split('/').pop() + let fileName = instance.FileName let obj = { name: `${study.PatientId}/${study.StudyTime.split(' ')[0]}_${series.Modality }/IMAGE/${fileName}`, @@ -365,30 +366,6 @@ export default { }) } }) - if (Array.isArray(data.StudyList) && data.StudyList.length > 0) { - data.StudyList.forEach((study) => { - if (Array.isArray(study.SeriesList) && study.SeriesList.length > 0) { - study.SeriesList.forEach((series) => { - if ( - Array.isArray(series.InstanceList) && - series.InstanceList.length > 0 - ) { - series.InstanceList.forEach((instance) => { - let fileName = instance.Path.split('/').pop() - let obj = { - name: `${data.SubjectCode}_${data.VisitName}/${study.StudyCode - }_${study.StudyTime.split(' ')[0]}_${series.Modality - }/${fileName}`, - url: this.OSSclientConfig.basePath + instance.Path, - } - files.push(obj) - }) - } - }) - } - }) - } - return { files, name } }, // 影像下载成功确认