Compare commits

..

No commits in common. "d88f7c43b2c0d42877b58d750a4934797e2e3088" and "72b1a3906d13dd5baaba63bab9620ff6456b01ba" have entirely different histories.

1 changed files with 12 additions and 32 deletions

View File

@ -163,8 +163,7 @@
<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 || curSegmentGroup.isSaved"
<el-button type="success" size="small" :disabled="saveLoading || isMPR"
@click="saveSegmentGroup([curSegmentGroup])">
{{ $t("trials:reading:Segmentations:button:save") }}
</el-button>
@ -187,39 +186,21 @@
<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>
</div>
<template v-else>
<div class="num">
<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>
<span>L:{{ Number(item.bidirectional.maxMajor).toFixed(2) }} mm</span>
<span>S:{{ 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)"
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)"
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)" />
<svg-icon :icon-class="!item.bidirectionalView ? 'eye' : 'eye-open'"
style="color:#000;margin-right: 5px;cursor: pointer;"
@click.stop="viewBidirectional([item], !item.bidirectionalView)" />
<svg-icon icon-class="jumpto" style="color:#000;cursor: pointer;"
@click.stop="jumpBidirectional(item)" />
</div>
</template>
</div>
@ -272,8 +253,7 @@
</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 || curSegmentGroup.isSaved"
@click="saveSegmentGroup()">
<el-button type="success" size="small" :disabled="saveLoading || isMPR" @click="saveSegmentGroup()">
{{ $t("trials:reading:Segmentations:button:saveAll") }}
</el-button>
</div>