部分分割问题修复
continuous-integration/drone/push Build is running Details

uat_us
wangxiaoshuang 2026-04-16 13:39:52 +08:00
parent 8724eeeafb
commit 57be74aea8
2 changed files with 4 additions and 10 deletions

View File

@ -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

View File

@ -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)
}