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

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

View File

@ -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>
@ -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,