分割标记与分割段绑定错误问题
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">
|
<div class="form-wrapper">
|
||||||
<el-tabs v-model="formWrapperActiveName" v-if="readingTool === 3" @tab-click="handleClick">
|
<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">
|
<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"
|
<div v-for="s in visitTaskList" v-show="lastViewportTaskId === s.VisitTaskId" :key="s.VisitTaskId"
|
||||||
style="height: 100%;">
|
style="height: 100%;">
|
||||||
|
|
@ -363,14 +371,6 @@
|
||||||
@openSegmentForm="openSegmentForm" />
|
@openSegmentForm="openSegmentForm" />
|
||||||
</div>
|
</div>
|
||||||
</el-tab-pane>
|
</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>
|
</el-tabs>
|
||||||
<template v-else>
|
<template v-else>
|
||||||
<div v-for="s in visitTaskList" v-show="lastViewportTaskId === s.VisitTaskId" :key="s.VisitTaskId"
|
<div v-for="s in visitTaskList" v-show="lastViewportTaskId === s.VisitTaskId" :key="s.VisitTaskId"
|
||||||
|
|
@ -743,7 +743,7 @@ export default {
|
||||||
|
|
||||||
segmentVisible: false,
|
segmentVisible: false,
|
||||||
segmentVisitInfo: {},
|
segmentVisitInfo: {},
|
||||||
formWrapperActiveName: 'ecrf',
|
formWrapperActiveName: 'segment',
|
||||||
actionConfiguration: {
|
actionConfiguration: {
|
||||||
contourBidirectional: {
|
contourBidirectional: {
|
||||||
method: CStUtils.segmentation.segmentContourAction,
|
method: CStUtils.segmentation.segmentContourAction,
|
||||||
|
|
|
||||||
|
|
@ -120,7 +120,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 class="SegmentConfig" v-if="SegmentConfig.InactiveSegmentations.show">
|
<!-- <div class="SegmentConfig" v-if="SegmentConfig.InactiveSegmentations.show">
|
||||||
<span>{{ $t('trials:reading:Segmentations:title:Opacity') }}</span>
|
<span>{{ $t('trials:reading:Segmentations:title:Opacity') }}</span>
|
||||||
|
|
@ -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>
|
||||||
|
|
@ -1051,6 +1051,7 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
|
generatedSegmentation.dataset.SegmentSequence.sort((a, b) => a.SegmentNumber - b.SegmentNumber)
|
||||||
if (!isFile) {
|
if (!isFile) {
|
||||||
const buffer = Buffer.from(dcmjs.data.datasetToDict(generatedSegmentation.dataset).write());
|
const buffer = Buffer.from(dcmjs.data.datasetToDict(generatedSegmentation.dataset).write());
|
||||||
let blob = new Blob([buffer], { type: "application/dicom" });
|
let blob = new Blob([buffer], { type: "application/dicom" });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue