部分问题解决

main
wangxiaoshuang 2026-05-26 10:39:52 +08:00
parent a2668b39be
commit b7a0a336dd
2 changed files with 13 additions and 9 deletions

View File

@ -24,9 +24,9 @@
$t('DicomViewer:anonymous:Comparison') }}</div>
<div class="btn" v-else @click="comparison(false)">{{
$t('DicomViewer:anonymous:Exit') }}</div>
<div :class="{ btn: true, isNoted: isComparison }" @click="recovery(false)">{{
<div :class="{ btn: true }" @click="recovery(false)">{{
$t('DicomViewer:anonymous:Recovery') }}</div>
<div :class="{ btn: true, isNoted: isComparison }" @click="recovery(true)">{{
<div :class="{ btn: true }" @click="recovery(true)">{{
$t('DicomViewer:anonymous:RecoveryAll') }}</div>
</div>
<div v-show="layoutRow >= 1" class="dicom-row" :style="{ height: rowHeight }">
@ -562,8 +562,8 @@ export default {
],
imageIds: [newImageId]
}, serie)
this.$refs[`dicomCanvas0`].loadImageStack(dicomCanvas0_info, this.$t('DicomViewer:anonymous:before'))
this.$refs[`dicomCanvas1`].loadImageStack(dicomCanvas1_info, this.$t('DicomViewer:anonymous:after'))
this.$refs[`dicomCanvas0`].loadImageStack(dicomCanvas0_info, this.$t('DicomViewer:anonymous:after'))
this.$refs[`dicomCanvas1`].loadImageStack(dicomCanvas1_info, this.$t('DicomViewer:anonymous:before'))
})
} else {
this.isComparison = f
@ -573,7 +573,10 @@ export default {
}
},
recovery(isAll = false) {
if (this.isComparison) return false
// if (this.isComparison) return false
if (this.isAnonymous) {
this.comparison(false)
}
this.setToolsPassive()
this.$refs[`dicomCanvas0`].getNote_RectangleRoi().then(async obj => {
let { image } = obj

View File

@ -128,7 +128,7 @@
</el-switch>
<span style="margin-left: 5px;">{{
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
}}</span>
}}</span>
</div>
</div>
<template v-if="segmentList.length > 0">
@ -243,9 +243,10 @@
<el-color-picker v-model="item.color" size="mini"
@change="(e) => changeColor(e, item)"></el-color-picker>
<div style="width: 100%;display: flex;align-items: center;justify-content: space-between;">
<div
style="width: 100%;display: flex;align-items: center;justify-content: space-between;">
<div class="SegmentName">{{ item.SegmentLabel }}</div>
<div v-if="item.stats && item.stats['volume']">{{
<div v-if="item.stats && item.stats['volume']" style="text-align: left;width: 100px;">{{
Number(item.stats['volume'].value).toFixed(digitPlaces) }}{{
item.stats['volume'].unit }}</div>
</div>
@ -309,7 +310,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>