From f59b205324b9302b1cebea31d9b95ecc39e44dff Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 24 Dec 2025 13:35:26 +0800 Subject: [PATCH] =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89=E8=9E=8D=E5=90=88?= =?UTF-8?q?=E9=98=85=E7=89=87=E6=A0=87=E8=AE=B0=E9=97=AE=E9=A2=98=E7=BB=91?= =?UTF-8?q?=E5=AE=9A=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms3D/components/PetCtViewport.vue | 9 +++++---- .../reading/dicoms3D/components/ReadPage.vue | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue index 168c452b..268b39fb 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/PetCtViewport.vue @@ -475,20 +475,21 @@ export default { }) this.loading = false }, - async setSeriesInfo(obj, option = {}) { + async setSeriesInfo(obj, isLocate = false, option = {}) { try { let { data } = obj if (this.series && data.Id === this.series.Id && data.Description === this.series.Description) { data.SliceIndex = this.series.SliceIndex } + const renderingEngine = getRenderingEngine(this.renderingEngineId) + const viewport = renderingEngine.getViewport(this.viewportId) + if (isLocate) return csUtils.jumpToSlice(viewport.element, { imageIndex: data.SliceIndex }); + this.volumeId = data.SeriesInstanceUid this.ptVolumeId = null this.series = {} let { isFusion, isMip, colorMap } = option this.isFusion = isFusion; this.isMip = isMip; - const renderingEngine = getRenderingEngine(this.renderingEngineId) - const viewport = renderingEngine.getViewport(this.viewportId) - this.volumeId = data.SeriesInstanceUid if (this.isFusion) { this.$nextTick(() => { this.renderColorBar(this.presetName) 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 37356433..f9b95a0b 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -3352,9 +3352,9 @@ export default { this.$refs[`viewport-3`][0].setSeriesInfo(pt) this.$refs[`viewport-fusion-0`][0].setSeriesInfo(ctData) - this.$refs[`viewport-fusion-1`][0].setSeriesInfo(ptData, { colorMap: true }) - this.$refs[`viewport-fusion-2`][0].setSeriesInfo(fusionData, { isFusion: true, colorMap: true }) - this.$refs[`viewport-fusion-3`][0].setSeriesInfo(ptData, { isMip: true, colorMap: true }) + this.$refs[`viewport-fusion-1`][0].setSeriesInfo(ptData, false, { colorMap: true }) + this.$refs[`viewport-fusion-2`][0].setSeriesInfo(fusionData, false, { isFusion: true, colorMap: true }) + this.$refs[`viewport-fusion-3`][0].setSeriesInfo(ptData, false, { isMip: true, colorMap: true }) // this.resetAnnotation = false this.$nextTick(() => { this.$refs[`colorMap`].init()