调窗问题修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
671e73470f
commit
ac94a70d4b
|
@ -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'))
|
||||
|
|
Loading…
Reference in New Issue