1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
67d2a83ec8
commit
3d538d6e67
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ export default {
|
|||
this.renderColorMaps()
|
||||
this.upperRangeChange(this.range)
|
||||
this.initSlider()
|
||||
this.syncSliderPosition()
|
||||
// this.syncSliderPosition()
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue