Merge branch 'main' of https://gitea.frp.extimaging.com/XCKJ/irc_web into main
continuous-integration/drone/push Build is running
Details
continuous-integration/drone/push Build is running
Details
commit
06d0ce2290
|
|
@ -163,7 +163,8 @@
|
|||
<i class="el-icon-warning-outline" style="color:red;margin-right: 5px;"
|
||||
:title="$t('trials:reading:Segmentations:tip:segmentationIsNotSave')"
|
||||
v-if="!curSegmentGroup.isSaved"></i>
|
||||
<el-button type="success" size="small" :disabled="saveLoading || isMPR"
|
||||
<el-button type="success" size="small"
|
||||
:disabled="saveLoading || isMPR || curSegmentGroup.isSaved"
|
||||
@click="saveSegmentGroup([curSegmentGroup])">
|
||||
{{ $t("trials:reading:Segmentations:button:save") }}
|
||||
</el-button>
|
||||
|
|
@ -186,21 +187,39 @@
|
|||
<div class="messageBox">
|
||||
<el-popover placement="left" :title="item.SegmentLabel" width="200" trigger="hover">
|
||||
<div class="Bidirectionalbox">
|
||||
<div class="BidirectionalBtn" @click.stop="addTip(item)"
|
||||
<!-- <div class="BidirectionalBtn" @click.stop="addTip(item)"
|
||||
v-if="!item.bidirectional">
|
||||
{{ $t('trials:reading:Segmentations:button:getBidirectional') }}
|
||||
</div>
|
||||
<template v-else>
|
||||
</div> -->
|
||||
<template>
|
||||
<div class="num">
|
||||
<span>L:{{ Number(item.bidirectional.maxMajor).toFixed(2) }} mm</span>
|
||||
<span>S:{{ Number(item.bidirectional.maxMinor).toFixed(2) }} mm</span>
|
||||
<span>L: {{
|
||||
item.bidirectional && item.bidirectional.maxMajor
|
||||
? Number(item.bidirectional.maxMajor).toFixed(2) : ' '
|
||||
}} mm</span>
|
||||
<span>S: {{
|
||||
item.bidirectional && item.bidirectional.maxMinor
|
||||
? Number(item.bidirectional.maxMinor).toFixed(2) : ' '
|
||||
}} mm</span>
|
||||
</div>
|
||||
<div class="btnBox">
|
||||
<div
|
||||
:title="!item.bidirectionalView ? $t('trials:reading:Segmentations:button:eye') : $t('trials:reading:Segmentations:button:eye-open')">
|
||||
<svg-icon :icon-class="!item.bidirectionalView ? 'eye' : 'eye-open'"
|
||||
style="color:#000;margin-right: 5px;cursor: pointer;"
|
||||
@click.stop="viewBidirectional([item], !item.bidirectionalView)" />
|
||||
@click.stop="viewBidirectional([item], !item.bidirectionalView)"
|
||||
v-if="item.bidirectional" />
|
||||
</div>
|
||||
<div :title="$t('trials:reading:Segmentations:button:jumpto')">
|
||||
<svg-icon icon-class="jumpto" style="color:#000;cursor: pointer;"
|
||||
@click.stop="jumpBidirectional(item)" />
|
||||
@click.stop="jumpBidirectional(item)"
|
||||
v-if="item.bidirectional" />
|
||||
</div>
|
||||
|
||||
<i class="el-icon-plus" style="color:#000;cursor: pointer;"
|
||||
v-if="!item.bidirectional"
|
||||
:title="$t('trials:reading:Segmentations:button:getBidirectional')"
|
||||
@click.stop="addTip(item)" />
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
|
|
@ -253,7 +272,8 @@
|
|||
</el-collapse-item>
|
||||
</el-collapse>
|
||||
<div class="saveBtnBox" v-if="readingTaskState < 2 && segmentList && segmentList.length > 1">
|
||||
<el-button type="success" size="small" :disabled="saveLoading || isMPR" @click="saveSegmentGroup()">
|
||||
<el-button type="success" size="small" :disabled="saveLoading || isMPR || curSegmentGroup.isSaved"
|
||||
@click="saveSegmentGroup()">
|
||||
{{ $t("trials:reading:Segmentations:button:saveAll") }}
|
||||
</el-button>
|
||||
</div>
|
||||
|
|
@ -746,7 +766,7 @@ export default {
|
|||
return name
|
||||
},
|
||||
getSegmentName(arr, num = 1) {
|
||||
let defaultSegmentName = arr[0].SegmentLabel
|
||||
let defaultSegmentName = this.trialCriterion && this.trialCriterion.DefaultSegmentName && this.trialCriterion.DefaultSegmentName.SegmentNameList && this.trialCriterion.DefaultSegmentName.SegmentNameList.length > 0 ? this.trialCriterion.DefaultSegmentName.SegmentNameList[0] : arr[0].SegmentLabel
|
||||
let name = defaultSegmentName + num
|
||||
let has = arr.find(item => item.SegmentLabel === name)
|
||||
num++
|
||||
|
|
|
|||
Loading…
Reference in New Issue