From 57be74aea8373e14e72f61b4bdc08bb0aa8d90e0 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 16 Apr 2026 13:39:52 +0800 Subject: [PATCH] =?UTF-8?q?=E9=83=A8=E5=88=86=E5=88=86=E5=89=B2=E9=97=AE?= =?UTF-8?q?=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms3D/components/Segmentations.vue | 5 +++-- .../reading/dicoms3D/components/helpers/segmentations.js | 9 +-------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue index 557da921..8b0a3b01 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue @@ -123,7 +123,7 @@ {{ $t('trials:reading:Segmentations:title:InactiveSegmentationsShow') - }} + }}
{{ index + 1 }}
@@ -895,6 +895,7 @@ export default { }, // 删除分割片段 async delSegment(data) { + this.popoverId = null; let segmentIndex = data.segmentIndex let confirm = await this.$confirm(this.$t('trials:reading:Segmentations:confirm:delSegment')) if (!confirm) return false diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/helpers/segmentations.js b/src/views/trials/trials-panel/reading/dicoms3D/components/helpers/segmentations.js index f17db1a3..a51dcd4e 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/helpers/segmentations.js +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/helpers/segmentations.js @@ -296,6 +296,7 @@ async function jumpBidirectional(item, viewportId, volumeId) { let an = annotation.state.getAllAnnotations().find(i => i.metadata.segmentationId === item.segmentationId && i.metadata.segmentIndex === item.segmentIndex && i.metadata.toolName === "SegmentBidirectional"); console.log(an, 'an') if (!an) return false + if (['viewport-MPR-1', 'viewport-MPR-2'].includes(viewportId)) return false const renderingEngine = getRenderingEngine(renderingEngineId) const viewport = renderingEngine.getViewport(viewportId) let key = Object.keys(an.data.cachedStats)[0]; // referencedImageId @@ -404,14 +405,6 @@ async function renderSegmentation(series, visitInfo, viewportId, SegmentConfig, }) } - - // this.$nextTick(() => { - // if (SEGMENT) { - // // console.log(SEGMENT, 'SEGMENT') - // return this.getBidirectional(obj.segments, SEGMENT) - // } - // this.getBidirectional(obj.segments, null, false) - // }) if (segmentationId && segmentIndex) { selectSegment(viewportId, segmentationId, segmentIndex) }