分割恢复提示语修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
632463327c
commit
917373e081
|
|
@ -127,7 +127,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">
|
||||||
|
|
@ -173,9 +173,9 @@
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="addSegmentBox" @click.stop="addSegment"
|
<div class="addSegmentBox"
|
||||||
style="display: flex;align-items: center;justify-content: space-between;">
|
style="display: flex;align-items: center;justify-content: space-between;">
|
||||||
<span v-if="readingTaskState < 2"><i class="el-icon-plus"></i>
|
<span v-if="readingTaskState < 2" @click.stop="addSegment"><i class="el-icon-plus"></i>
|
||||||
{{ $t('trials:reading:Segmentations:button:addSegment') }}
|
{{ $t('trials:reading:Segmentations:button:addSegment') }}
|
||||||
</span>
|
</span>
|
||||||
<span style="width: 10px;" v-else></span>
|
<span style="width: 10px;" v-else></span>
|
||||||
|
|
@ -302,7 +302,7 @@
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" @click.stop="restoreSegmentationVersion(scope.row)">{{
|
<el-button type="text" @click.stop="restoreSegmentationVersion(scope.row)">{{
|
||||||
$t('trials:reading:Segmentations:button:recovery')
|
$t('trials:reading:Segmentations:button:recovery')
|
||||||
}}</el-button>
|
}}</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|
@ -798,7 +798,8 @@ export default {
|
||||||
async restoreSegmentationVersion(row) {
|
async restoreSegmentationVersion(row) {
|
||||||
try {
|
try {
|
||||||
this.popoverId = null
|
this.popoverId = null
|
||||||
let confirm = await this.$confirm(this.$t('trials:reading:Segmentations:confirm:CurrentDataIsLoss'))
|
let message = this.$t('trials:reading:Segmentations:confirm:CurrentDataIsLoss').replace("xxx", row.Version)
|
||||||
|
let confirm = await this.$confirm(message)
|
||||||
if (!confirm) return false
|
if (!confirm) return false
|
||||||
let data = {
|
let data = {
|
||||||
SegmentationId: this.segmentationId,
|
SegmentationId: this.segmentationId,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue