From 09144f2b9877cf0ea2b4e186296ea5fbdbe7919b Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 28 Apr 2026 13:59:43 +0800 Subject: [PATCH] 1 --- .../reading/dicoms3D/components/ReadPage.vue | 12 +++++++++++- .../setting/reading-unit/components/ReadingRules.vue | 4 ++-- 2 files changed, 13 insertions(+), 3 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 71fe8527..26d8f8bc 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1926,6 +1926,7 @@ export default { console.log('Completed') const { annotation } = e.detail if (!annotation) return + if (annotation.metadata.toolName === FusionJumpToPointTool.toolName) return if (annotation.metadata.toolName.includes('histogram_')) return this.$refs.histogram.initToolValue(annotation) if (this.readingTaskState === 2) return if (annotation.metadata.toolName === 'PlanarFreehandROI' && !annotation.data.contour.closed) return @@ -1952,6 +1953,7 @@ export default { console.log('Modified') const { annotation } = e.detail if (!annotation) return + if (annotation.metadata.toolName === FusionJumpToPointTool.toolName) return if (annotation.metadata.toolName.includes('histogram_')) return this.$refs.histogram.initToolValue(annotation) if (this.readingTaskState === 2) return if (!annotation.highlighted) return @@ -1968,6 +1970,7 @@ export default { const { annotation } = e.detail try { if (!annotation) return + if (annotation.metadata.toolName === FusionJumpToPointTool.toolName) return if (annotation.metadata.toolName === CrosshairsTool.toolName) return if (this.readingTaskState === 2 && !annotation.data.label) return false if (this.readingTaskState === 2) { @@ -1997,6 +2000,7 @@ export default { async customAnnotationCompletedListener(e) { const { annotation } = e.detail if (!annotation) return + if (annotation.metadata.toolName === FusionJumpToPointTool.toolName) return if (annotation.metadata.toolName.includes('histogram_')) return this.$refs.histogram.initToolValue(annotation) if (this.readingTaskState === 2) return const i = this.tools.findIndex(i => i.toolName === annotation.metadata.toolName) @@ -2085,6 +2089,7 @@ export default { customAnnotationModifiedListener(e) { const { annotation } = e.detail if (!annotation) return + if (annotation.metadata.toolName === FusionJumpToPointTool.toolName) return if (annotation.metadata.toolName.includes('histogram_')) return this.$refs.histogram.initToolValue(annotation) if (this.readingTaskState === 2) return if (!annotation.highlighted) return @@ -2114,6 +2119,7 @@ export default { try { // if ( this.resetAnnotation && this.isFusion ) return false if (!annotation) return false + if (annotation.metadata.toolName === FusionJumpToPointTool.toolName) return false if (annotation.metadata.toolName === CrosshairsTool.toolName) return false if (this.readingTaskState === 2 && !annotation.data.label) return false if (this.readingTaskState === 2) { @@ -2218,7 +2224,11 @@ export default { } } }, - annotationSelectionChangeListener(e) { }, + annotationSelectionChangeListener(e) { + const { annotation } = e.detail || {} + if (!annotation) return + if (annotation.metadata.toolName === FusionJumpToPointTool.toolName) return + }, async getAnnotations(visitTaskId) { if (this.readingTaskState === 2) return const taskIdx = this.visitTaskList.findIndex(i => i.VisitTaskId === visitTaskId) diff --git a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue index 39388075..39e45a68 100644 --- a/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue +++ b/src/views/trials/trials-panel/setting/reading-unit/components/ReadingRules.vue @@ -521,7 +521,7 @@ export default { IsImageFilter: false, KeyFileListStr: '', KeyFileList: [], - CircleRadius: null + CircleRadius: 10 }, rules: { IsAutoCreate: [ @@ -1063,7 +1063,7 @@ export default { }, handleReadingToolListChange(v) { if (!v.includes('FixedRadiusCircleROI')) { - this.form.CircleRadius = null + this.form.CircleRadius = 10 } }, handleNumberInput(value, field) {