From 3d538d6e67d90738decaee40638d49db7f05ed10 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Tue, 31 Mar 2026 17:59:10 +0800 Subject: [PATCH] 1 --- .../reading/dicoms3D/components/ReadPage.vue | 24 ++++++++++++++++--- .../reading/dicoms3D/components/colorMap.vue | 2 +- 2 files changed, 22 insertions(+), 4 deletions(-) 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 bf3f7c40..46d47d1a 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -762,7 +762,9 @@ export default { lastUpper: null, hasFusionUpperInitialized: false, timer: null, - timeNum: 0 + timeNum: 0, + FullTimerOut: null, + isDelay: false } }, computed: { @@ -1468,7 +1470,7 @@ export default { ] }) toolGroup.addTool(MIPJumpToClickTool.toolName, { - targetViewportIds: fusionViewportIds + targetViewportIds: fusionViewportIds.filter((id) => id !== toolGroupId) }) // Set the initial state of the tools, here we set one tool active on left click. @@ -2841,15 +2843,26 @@ export default { } }, 500) }, + setDelay(time) { + if (this.FullTimerOut) return false + this.FullTimerOut = setTimeout(() => { + this.isDelay = false + clearTimeout(this.FullTimerOut) + this.FullTimerOut = null + }, time) + }, // 切换全屏 toggleFullScreen(e, index) { + if (this.isDelay && (this.readingTool === 3 || this.isMPR)) return false + this.fullScreenIndex = this.fullScreenIndex === index ? null : index this.activeViewportIndex = index if (this.readingTool === 3 || this.isMPR) { // this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series) this.$nextTick(() => { this.resetRenderingEngine() - + this.isDelay = true + this.setDelay(2000) if (this.readingTool === 3) { DicomEvent.$emit('isloaded', { isChange: false }) } @@ -3951,6 +3964,11 @@ export default { this.timer = null this.timeNum = 0 } + if (this.FullTimerOut) { + clearTimeout(this.FullTimerOut) + this.FullTimerOut = null + this.isDelay = false + } workSpeedclose(true) } } diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/colorMap.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/colorMap.vue index 7c16543a..eeabfb45 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/colorMap.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/colorMap.vue @@ -84,7 +84,7 @@ export default { this.renderColorMaps() this.upperRangeChange(this.range) this.initSlider() - this.syncSliderPosition() + // this.syncSliderPosition() }) }, methods: {