部分分割问题修复
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
8724eeeafb
commit
57be74aea8
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue