From f36a00cf81cf68cf8455f2b57a8e7467b5a8b332 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 4 Aug 2025 11:46:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms3D/components/ReadPage.vue | 22 ++++++++++++++----- .../components/configList.vue | 2 +- .../reading/reading-tracking/index.vue | 2 +- .../setting/email-manage/index.vue | 13 ++++++++++- 4 files changed, 30 insertions(+), 9 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index e3e236fa..1f33dd0f 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -2040,7 +2040,7 @@ export default { }, // 激活标注工具 setAnnotateToolActive(toolName) { - if (this.readingTaskState === 2) return + // if (this.readingTaskState === 2) return const toolObj = this.tools.find(i => i.toolName === toolName) if (!toolObj || toolObj.isDisabled) return const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series @@ -2130,7 +2130,10 @@ export default { const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series const isCurrentTask = series.TaskInfo.IsCurrentTask const readingTaskState = this.readingTaskState - if (!isCurrentTask || readingTaskState >= 2) { + if (isCurrentTask && readingTaskState >= 2) { + this.tools[i].isDisabled = false + e.target.style.cursor = 'pointer' + } else if (!isCurrentTask || readingTaskState >= 2) { this.tools[i].isDisabled = true e.target.style.cursor = 'not-allowed' if (this.activeTool) { @@ -2948,15 +2951,22 @@ export default { const that = this // 请输入标记名称 let message = this.$t('trials:noneDicom:message:msg1') - if (isShowCancelButton) { - message = `
${this.$t('trials:noneDicom:message:msg1')}
${this.$t('trials:noneDicom:message:saveTip')}
${this.$t('trials:noneDicom:message:msg1')}
${this.$t('trials:noneDicom:message:saveTip')}