退出MPR时ecrf表显示不正确

uat_us
wangxiaoshuang 2026-04-29 14:06:55 +08:00
parent 7a454d09ff
commit 1541e3d353
1 changed files with 7 additions and 6 deletions

View File

@ -899,8 +899,8 @@ export default {
this.fps = 15 this.fps = 15
} }
if (index === this.cells.length - 1 && series && series.TaskInfo) { if (index === this.cells.length - 1 && series && series.TaskInfo) {
this.lastViewportTaskId = series.TaskInfo.VisitTaskId // this.lastViewportTaskId = series.TaskInfo.VisitTaskId
this.currentVisitInfo = series.TaskInfo // this.currentVisitInfo = series.TaskInfo
} }
} }
}, },
@ -3498,14 +3498,14 @@ export default {
this.setToolsPassive() this.setToolsPassive()
this.rows = 1 this.rows = 1
this.cols = 1 this.cols = 1
this.activeViewportIndex = 0
this.fullScreenIndex = null this.fullScreenIndex = null
this.isMPR = false this.isMPR = false
obj.isChange = false obj.isChange = false
return this.$nextTick(() => { return this.$nextTick(() => {
DicomEvent.$emit('activeSeries', obj) DicomEvent.$emit('activeSeries', obj)
DicomEvent.$emit('changeMPR') 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) const renderingEngine = getRenderingEngine(renderingEngineId)
renderingEngine.resize(true, false) renderingEngine.resize(true, false)
renderingEngine.render() renderingEngine.render()
@ -3519,6 +3519,7 @@ export default {
if (!obj.IsDicom) { if (!obj.IsDicom) {
return this.previewNoneDicoms(obj) return this.previewNoneDicoms(obj)
} }
this.activeViewportIndex = 0
this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj) this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(obj)
this.clipPlaying = false this.clipPlaying = false
this.fps = 15 this.fps = 15