From ac94a70d4b9609f6a3384879e48a45fa1695010f Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Fri, 12 Sep 2025 15:14:34 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E7=AA=97=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/DicomCanvas.vue | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 8416a78..0e03cb4 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomCanvas.vue @@ -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'))