分割标记与分割段绑定错误问题
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
3c0b084f7e
commit
d80101f86b
|
|
@ -349,6 +349,14 @@
|
|||
<!-- 表单 -->
|
||||
<div class="form-wrapper">
|
||||
<el-tabs v-model="formWrapperActiveName" v-if="readingTool === 3" @tab-click="handleClick">
|
||||
<el-tab-pane :label="$t('trials:reading:dicom3D:tabs:segment')" name="segment">
|
||||
<Segmentations ref="Segmentations" :visitInfo="taskInfo" :isMPR="isMPR"
|
||||
:volumeToolGroupId="volumeToolGroupId" :viewportKey="viewportKey" :global-loading.sync="loading"
|
||||
:loadingText.sync="loadingText" :rendering-engine-id="renderingEngineId"
|
||||
:activeViewportIndex="activeViewportIndex" :activeTool.sync="activeTool"
|
||||
:actionConfiguration="actionConfiguration" @setToolsPassive="setToolsPassive"
|
||||
@resetQuestion="resetQuestion" />
|
||||
</el-tab-pane>
|
||||
<el-tab-pane :label="$t('trials:reading:dicom3D:tabs:ecrf')" name="ecrf">
|
||||
<div v-for="s in visitTaskList" v-show="lastViewportTaskId === s.VisitTaskId" :key="s.VisitTaskId"
|
||||
style="height: 100%;">
|
||||
|
|
@ -363,14 +371,6 @@
|
|||
@openSegmentForm="openSegmentForm" />
|
||||
</div>
|
||||
</el-tab-pane>
|
||||
<el-tab-pane :label="$t('trials:reading:dicom3D:tabs:segment')" name="segment">
|
||||
<Segmentations ref="Segmentations" :visitInfo="taskInfo" :isMPR="isMPR"
|
||||
:volumeToolGroupId="volumeToolGroupId" :viewportKey="viewportKey" :global-loading.sync="loading"
|
||||
:loadingText.sync="loadingText" :rendering-engine-id="renderingEngineId"
|
||||
:activeViewportIndex="activeViewportIndex" :activeTool.sync="activeTool"
|
||||
:actionConfiguration="actionConfiguration" @setToolsPassive="setToolsPassive"
|
||||
@resetQuestion="resetQuestion" />
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
<template v-else>
|
||||
<div v-for="s in visitTaskList" v-show="lastViewportTaskId === s.VisitTaskId" :key="s.VisitTaskId"
|
||||
|
|
@ -743,7 +743,7 @@ export default {
|
|||
|
||||
segmentVisible: false,
|
||||
segmentVisitInfo: {},
|
||||
formWrapperActiveName: 'ecrf',
|
||||
formWrapperActiveName: 'segment',
|
||||
actionConfiguration: {
|
||||
contourBidirectional: {
|
||||
method: CStUtils.segmentation.segmentContourAction,
|
||||
|
|
|
|||
|
|
@ -1051,6 +1051,7 @@ export default {
|
|||
}
|
||||
|
||||
})
|
||||
generatedSegmentation.dataset.SegmentSequence.sort((a, b) => a.SegmentNumber - b.SegmentNumber)
|
||||
if (!isFile) {
|
||||
const buffer = Buffer.from(dcmjs.data.datasetToDict(generatedSegmentation.dataset).write());
|
||||
let blob = new Blob([buffer], { type: "application/dicom" });
|
||||
|
|
|
|||
Loading…
Reference in New Issue