From 1c69ed08cd8dbf4ba0dec2e034380ee08fab2dba Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Mon, 4 Aug 2025 13:37:01 +0800 Subject: [PATCH] 1 --- .../trials-panel/reading/dicoms3D/components/ReadPage.vue | 2 +- .../reading/visit-review/components/FileViewer.vue | 3 ++- 2 files changed, 3 insertions(+), 2 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 1f33dd0f..eeb03185 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -2093,7 +2093,7 @@ export default { } }, setMoreToolActive(toolName) { - if (this.readingTaskState === 2) return + // if (this.readingTaskState === 2) return this.setToolsPassive() const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series if (series && series.TaskInfo.VisitTaskId && series.TaskInfo.VisitTaskId === this.taskInfo.VisitTaskId) { diff --git a/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue b/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue index 21d4882b..4415e20f 100644 --- a/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue +++ b/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue @@ -854,7 +854,8 @@ export default { }, // 激活标注工具 setAnnotateToolActive(toolName) { - if (this.readingTaskState === 2) return + // if (this.readingTaskState === 2) return + if (this.readingTaskState === 2 && toolName === 'Lengthscale') return const i = this.viewportInfos.findIndex(i => i.index === this.activeCanvasIndex) if (i === -1) return if (this.viewportInfos[i].taskInfo.VisitTaskId === this.taskInfo.VisitTaskId) {