调窗问题修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-09-12 15:14:34 +08:00
parent 671e73470f
commit ac94a70d4b
1 changed files with 13 additions and 1 deletions

View File

@ -560,7 +560,7 @@ export default {
e.stopImmediatePropagation()
e.stopPropagation()
e.preventDefault()
} else if (this.activeToolName === 'Length' || this.activeToolName === 'Bidirectional' && this.readingTaskState < 2) {
} else if ((this.activeToolName === 'Length' || this.activeToolName === 'Bidirectional') && this.readingTaskState < 2) {
if (!e.detail.image.columnPixelSpacing || !e.detail.image.rowPixelSpacing) {
// ''
this.$confirm(this.$t('trials:reading:warnning:msg56'), '', {
@ -586,6 +586,15 @@ export default {
e.preventDefault()
}
} else if (this.IsCriticalSequence) {
if (this.activeToolName) {
// ''
this.$confirm(this.$t('trials:reading:warnning:msg99'), '', {
showCancelButton: false,
type: 'warning'
}).then(() => {
}).catch(() => { })
}
e.stopImmediatePropagation()
e.stopPropagation()
e.preventDefault()
@ -1826,6 +1835,9 @@ export default {
// console.log(toolName)
// cornerstoneTools.setToolPassiveForElement(this.canvas, toolName)
// })
if (toolName === 'Wwwc') {
this.isInitWwwc = false
}
this.activeToolName = toolName
this.$nextTick(() => {
// console.log(cornerstoneTools.isToolActiveForElement(this.canvas, 'Bidirectional'))