部分分割问题修复
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
parent
8724eeeafb
commit
57be74aea8
|
|
@ -123,7 +123,7 @@
|
||||||
</el-switch>
|
</el-switch>
|
||||||
<span style="margin-left: 5px;">{{
|
<span style="margin-left: 5px;">{{
|
||||||
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
|
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
|
||||||
}}</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<template v-if="segmentList.length > 0">
|
<template v-if="segmentList.length > 0">
|
||||||
|
|
@ -202,7 +202,7 @@
|
||||||
<div v-for="k in statsKey" :key="k" class="statsBox">
|
<div v-for="k in statsKey" :key="k" class="statsBox">
|
||||||
<span>{{ k }}</span>
|
<span>{{ k }}</span>
|
||||||
<span v-if="item.stats[k]">{{ Number(item.stats[k].value).toFixed(2)
|
<span v-if="item.stats[k]">{{ Number(item.stats[k].value).toFixed(2)
|
||||||
}}<i>{{ item.stats[k].unit }}</i></span>
|
}}<i>{{ item.stats[k].unit }}</i></span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="serialNum" slot="reference">{{ index + 1 }}</div>
|
<div class="serialNum" slot="reference">{{ index + 1 }}</div>
|
||||||
|
|
@ -895,6 +895,7 @@ export default {
|
||||||
},
|
},
|
||||||
// 删除分割片段
|
// 删除分割片段
|
||||||
async delSegment(data) {
|
async delSegment(data) {
|
||||||
|
this.popoverId = null;
|
||||||
let segmentIndex = data.segmentIndex
|
let segmentIndex = data.segmentIndex
|
||||||
let confirm = await this.$confirm(this.$t('trials:reading:Segmentations:confirm:delSegment'))
|
let confirm = await this.$confirm(this.$t('trials:reading:Segmentations:confirm:delSegment'))
|
||||||
if (!confirm) return false
|
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");
|
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')
|
console.log(an, 'an')
|
||||||
if (!an) return false
|
if (!an) return false
|
||||||
|
if (['viewport-MPR-1', 'viewport-MPR-2'].includes(viewportId)) return false
|
||||||
const renderingEngine = getRenderingEngine(renderingEngineId)
|
const renderingEngine = getRenderingEngine(renderingEngineId)
|
||||||
const viewport = renderingEngine.getViewport(viewportId)
|
const viewport = renderingEngine.getViewport(viewportId)
|
||||||
let key = Object.keys(an.data.cachedStats)[0]; // referencedImageId
|
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) {
|
if (segmentationId && segmentIndex) {
|
||||||
selectSegment(viewportId, segmentationId, segmentIndex)
|
selectSegment(viewportId, segmentationId, segmentIndex)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue