阅片关键帧画标注进行提示
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
37e07fda42
commit
9622f23236
|
@ -504,6 +504,11 @@ export default {
|
|||
cornerstone.resize(this.canvas)
|
||||
},
|
||||
mouseMove(e) {
|
||||
if (this.IsCriticalSequence) {
|
||||
e.stopImmediatePropagation()
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
}
|
||||
const { element, image, currentPoints } = e.detail
|
||||
const x = Math.round(currentPoints.image.x)
|
||||
const y = Math.round(currentPoints.image.y)
|
||||
|
@ -562,6 +567,18 @@ export default {
|
|||
type: 'warning'
|
||||
}).then(() => {
|
||||
|
||||
}).catch(() => { })
|
||||
e.stopImmediatePropagation()
|
||||
e.stopPropagation()
|
||||
e.preventDefault()
|
||||
}
|
||||
if (this.IsCriticalSequence) {
|
||||
// '关键帧上不允许画标注。'
|
||||
this.$confirm(this.$t('trials:reading:warnning:msg99'), '', {
|
||||
showCancelButton: false,
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
|
||||
}).catch(() => { })
|
||||
e.stopImmediatePropagation()
|
||||
e.stopPropagation()
|
||||
|
@ -1341,6 +1358,7 @@ export default {
|
|||
this.setMarkers()
|
||||
},
|
||||
onMeasurementcompleted(e) {
|
||||
console.log(this.IsCriticalSequence, 'this.IsCriticalSequence')
|
||||
if (this.readingTaskState >= 2 || this.IsCriticalSequence) return
|
||||
|
||||
var element = cornerstone.getEnabledElement(this.canvas)
|
||||
|
|
Loading…
Reference in New Issue