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 */ 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 @@ 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