From dfc9efdb6a0d6c657a539db91ce81b0a6e5e40c6 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 27 Jun 2025 15:02:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=85=A8=E9=9A=8F=E6=9C=BA=E9=98=85?= =?UTF-8?q?=E7=89=87=EF=BC=8C=E8=87=AA=E5=AE=9A=E4=B9=89=E6=A0=87=E5=87=86?= =?UTF-8?q?=E4=B8=AD=EF=BC=8C=E9=9D=9EDICOM=E5=BD=B1=E5=83=8F=E4=B8=8D?= =?UTF-8?q?=E8=83=BD=E6=9F=A5=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms3D/components/ReadPage.vue | 14 ++++++++++++++ .../reading/dicoms3D/components/StudyList.vue | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index a6fe06df..0e898311 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -595,6 +595,7 @@ import { getRelatedVisitTask, getReadingVisitStudyList, getTableAnswerRowInfoList, deleteCustomTag, getCriterionReadingInfo } from '@/api/trials' import { getDoctorShortcutKey, getUserWLTemplateList } from '@/api/user' import { getCustomTag, submitCustomTag } from '@/api/reading' +import { getToken } from '@/utils/auth' import { RenderingEngine, Enums, @@ -2511,6 +2512,9 @@ export default { this.fullScreenIndex = null return this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj) } + if (!obj.IsDicom) { + return this.previewNoneDicoms(obj) + } this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj) this.clipPlaying = false this.fps = 15 @@ -2930,6 +2934,16 @@ export default { }, delay) } }, + previewNoneDicoms(obj) { + var index = this.visitTaskList.findIndex(i => i.VisitTaskId === obj.TaskInfo.VisitTaskId) + var taskBlindName = this.visitTaskList[index].TaskBlindName + var token = getToken() + let subjectId = localStorage.getItem("subjectId") + const routeData = this.$router.resolve({ + path: `/nonedicoms?subjectId=${subjectId}&trialId=${this.trialId}&visitTaskId=${obj.TaskInfo.VisitTaskId}&taskBlindName=${taskBlindName}&readingTaskState=${this.visitTaskList[index].ReadingTaskState}&TokenKey=${token}` + }) + this.open = window.open(routeData.href, '_blank') + }, // 融合视口相机同步 setUpSynchronizers() { const axialCameraPositionSynchronizer = createCameraPositionSynchronizer( diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue index 5b0407c0..5b846c98 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/StudyList.vue @@ -59,7 +59,7 @@