From 9622f232363947560c66d498056f7d05e958f43b Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 10 Sep 2025 11:16:47 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=85=E7=89=87=E5=85=B3=E9=94=AE=E5=B8=A7?= =?UTF-8?q?=E7=94=BB=E6=A0=87=E6=B3=A8=E8=BF=9B=E8=A1=8C=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/DicomCanvas.vue | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue index 549ee4b..20615d7 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue @@ -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)