阅片关键帧画标注进行提示
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)
|
cornerstone.resize(this.canvas)
|
||||||
},
|
},
|
||||||
mouseMove(e) {
|
mouseMove(e) {
|
||||||
|
if (this.IsCriticalSequence) {
|
||||||
|
e.stopImmediatePropagation()
|
||||||
|
e.stopPropagation()
|
||||||
|
e.preventDefault()
|
||||||
|
}
|
||||||
const { element, image, currentPoints } = e.detail
|
const { element, image, currentPoints } = e.detail
|
||||||
const x = Math.round(currentPoints.image.x)
|
const x = Math.round(currentPoints.image.x)
|
||||||
const y = Math.round(currentPoints.image.y)
|
const y = Math.round(currentPoints.image.y)
|
||||||
|
@ -562,6 +567,18 @@ export default {
|
||||||
type: 'warning'
|
type: 'warning'
|
||||||
}).then(() => {
|
}).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(() => { })
|
}).catch(() => { })
|
||||||
e.stopImmediatePropagation()
|
e.stopImmediatePropagation()
|
||||||
e.stopPropagation()
|
e.stopPropagation()
|
||||||
|
@ -1341,6 +1358,7 @@ export default {
|
||||||
this.setMarkers()
|
this.setMarkers()
|
||||||
},
|
},
|
||||||
onMeasurementcompleted(e) {
|
onMeasurementcompleted(e) {
|
||||||
|
console.log(this.IsCriticalSequence, 'this.IsCriticalSequence')
|
||||||
if (this.readingTaskState >= 2 || this.IsCriticalSequence) return
|
if (this.readingTaskState >= 2 || this.IsCriticalSequence) return
|
||||||
|
|
||||||
var element = cornerstone.getEnabledElement(this.canvas)
|
var element = cornerstone.getEnabledElement(this.canvas)
|
||||||
|
|
Loading…
Reference in New Issue