分割恢复提示语修改
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2026-05-13 11:23:55 +08:00
parent 632463327c
commit 917373e081
1 changed files with 6 additions and 5 deletions

View File

@ -127,7 +127,7 @@
</el-switch>
<span style="margin-left: 5px;">{{
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
}}</span>
}}</span>
</div>
</div>
<template v-if="segmentList.length > 0">
@ -173,9 +173,9 @@
</el-button>
</div>
</div>
<div class="addSegmentBox" @click.stop="addSegment"
<div class="addSegmentBox"
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') }}
</span>
<span style="width: 10px;" v-else></span>
@ -302,7 +302,7 @@
<template slot-scope="scope">
<el-button type="text" @click.stop="restoreSegmentationVersion(scope.row)">{{
$t('trials:reading:Segmentations:button:recovery')
}}</el-button>
}}</el-button>
</template>
</el-table-column>
</el-table>
@ -798,7 +798,8 @@ export default {
async restoreSegmentationVersion(row) {
try {
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
let data = {
SegmentationId: this.segmentationId,