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