1
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2026-03-31 17:59:10 +08:00
parent 67d2a83ec8
commit 3d538d6e67
2 changed files with 22 additions and 4 deletions

View File

@ -762,7 +762,9 @@ export default {
lastUpper: null, lastUpper: null,
hasFusionUpperInitialized: false, hasFusionUpperInitialized: false,
timer: null, timer: null,
timeNum: 0 timeNum: 0,
FullTimerOut: null,
isDelay: false
} }
}, },
computed: { computed: {
@ -1468,7 +1470,7 @@ export default {
] ]
}) })
toolGroup.addTool(MIPJumpToClickTool.toolName, { 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. // Set the initial state of the tools, here we set one tool active on left click.
@ -2841,15 +2843,26 @@ export default {
} }
}, 500) }, 500)
}, },
setDelay(time) {
if (this.FullTimerOut) return false
this.FullTimerOut = setTimeout(() => {
this.isDelay = false
clearTimeout(this.FullTimerOut)
this.FullTimerOut = null
}, time)
},
// //
toggleFullScreen(e, index) { toggleFullScreen(e, index) {
if (this.isDelay && (this.readingTool === 3 || this.isMPR)) return false
this.fullScreenIndex = this.fullScreenIndex === index ? null : index this.fullScreenIndex = this.fullScreenIndex === index ? null : index
this.activeViewportIndex = index this.activeViewportIndex = index
if (this.readingTool === 3 || this.isMPR) { if (this.readingTool === 3 || this.isMPR) {
// this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series) // this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setSeriesInfo(this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series)
this.$nextTick(() => { this.$nextTick(() => {
this.resetRenderingEngine() this.resetRenderingEngine()
this.isDelay = true
this.setDelay(2000)
if (this.readingTool === 3) { if (this.readingTool === 3) {
DicomEvent.$emit('isloaded', { isChange: false }) DicomEvent.$emit('isloaded', { isChange: false })
} }
@ -3951,6 +3964,11 @@ export default {
this.timer = null this.timer = null
this.timeNum = 0 this.timeNum = 0
} }
if (this.FullTimerOut) {
clearTimeout(this.FullTimerOut)
this.FullTimerOut = null
this.isDelay = false
}
workSpeedclose(true) workSpeedclose(true)
} }
} }

View File

@ -84,7 +84,7 @@ export default {
this.renderColorMaps() this.renderColorMaps()
this.upperRangeChange(this.range) this.upperRangeChange(this.range)
this.initSlider() this.initSlider()
this.syncSliderPosition() // this.syncSliderPosition()
}) })
}, },
methods: { methods: {