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 8d0ce71c..ab6449bf 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -708,8 +708,8 @@ export default { criterionType: null, tools: [], rotateOptions: [ - { label: this.$t('trials:reading:button:rotateDefault'), val: 1, icon: ''}, - { label: this.$t('trials:reading:button:rotateVertical'), val: 2, icon: 'rotateVertical' }, + { label: this.$t('trials:reading:button:rotateDefault'), val: 1, icon: '' }, + { label: this.$t('trials:reading:button:rotateVertical'), val: 2, icon: 'rotateVertical' }, { label: this.$t('trials:reading:button:rotateHorizontal'), val: 3, icon: 'rotateHorizontal' }, { label: this.$t('trials:reading:button:rotateTurnLeft'), val: 4, icon: 'rotateTurnLeft' }, { label: this.$t('trials:reading:button:rotateTurnRight'), val: 5, icon: 'rotateTurnRight' } @@ -899,8 +899,8 @@ export default { this.fps = 15 } if (index === this.cells.length - 1 && series && series.TaskInfo) { - this.lastViewportTaskId = series.TaskInfo.VisitTaskId - this.currentVisitInfo = series.TaskInfo + // this.lastViewportTaskId = series.TaskInfo.VisitTaskId + // this.currentVisitInfo = series.TaskInfo } } }, @@ -3498,14 +3498,14 @@ export default { this.setToolsPassive() this.rows = 1 this.cols = 1 - this.activeViewportIndex = 0 this.fullScreenIndex = null this.isMPR = false obj.isChange = false return this.$nextTick(() => { DicomEvent.$emit('activeSeries', obj) DicomEvent.$emit('changeMPR') - this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj) + this.$refs[`${this.viewportKey}-0`][0].setSeriesInfo(obj) + this.activeViewportIndex = 0 const renderingEngine = getRenderingEngine(renderingEngineId) renderingEngine.resize(true, false) renderingEngine.render() @@ -3519,6 +3519,7 @@ export default { if (!obj.IsDicom) { return this.previewNoneDicoms(obj) } + this.activeViewportIndex = 0 this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj) this.clipPlaying = false this.fps = 15