From 35bff089b7027694bccaad6f3bcfdd6af19ad47e Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 27 Feb 2025 18:01:38 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9Edicom=E9=A2=84=E8=A7=88=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=A1=BA=E5=BA=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/image-viewer.vue | 336 +++++++++--------- .../none-dicom-show/components/preview.vue | 317 +++++++++-------- src/views/none-dicom-show/index.vue | 8 +- 3 files changed, 343 insertions(+), 318 deletions(-) diff --git a/src/views/none-dicom-show/components/image-viewer.vue b/src/views/none-dicom-show/components/image-viewer.vue index a9718f07..92ec89b6 100644 --- a/src/views/none-dicom-show/components/image-viewer.vue +++ b/src/views/none-dicom-show/components/image-viewer.vue @@ -1,13 +1,19 @@ /* eslint-disable no-unused-vars */ - + - + - {{ `${index+1} / ${urlList.length}` }} + {{ `${index + 1} / ${urlList.length}` }} @@ -38,37 +44,46 @@ - - + + - - + + + - - diff --git a/src/views/none-dicom-show/components/preview.vue b/src/views/none-dicom-show/components/preview.vue index 327c2279..7eedf98e 100644 --- a/src/views/none-dicom-show/components/preview.vue +++ b/src/views/none-dicom-show/components/preview.vue @@ -1,6 +1,5 @@ - - + 暂无数据 - - - - {{ `${index+1}` }} - - + + + + + {{ `${index + 1}` }} + + + diff --git a/src/views/none-dicom-show/index.vue b/src/views/none-dicom-show/index.vue index 375e8232..08d029a4 100644 --- a/src/views/none-dicom-show/index.vue +++ b/src/views/none-dicom-show/index.vue @@ -177,6 +177,7 @@ export default { }) }, selected(file, studyIndex, fileIndex, isChangeSub = false) { + this.currentFileId = file.Id if (!!~file.FileType.indexOf('pdf')) { this.pdfFile.path = file.Path || file.FullFilePath this.pdfFile.type = 'pdf' @@ -185,11 +186,10 @@ export default { } else { this.showPDF = false } - this.currentFileId = file.Id + this.currentStudyIndex = studyIndex - this.previewImage.imgList = this.studyList[ - studyIndex - ].NoneDicomStudyFileList.filter((item) => !~item.FileType.indexOf('pdf')) + this.previewImage.imgList = + this.studyList[studyIndex].NoneDicomStudyFileList this.currentStudyFileIndex = fileIndex this.previewImage.index = fileIndex this.previewImage.studyCode = this.studyList[studyIndex].CodeView
- {{ `${index+1}` }} -
+ {{ `${index + 1}` }} +