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')
- }}
+ }}
@@ -202,7 +202,7 @@
{{ k }}
{{ Number(item.stats[k].value).toFixed(2)
- }}{{ item.stats[k].unit }}
+ }}{{ item.stats[k].unit }}
{{ 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)
}