部分问题解决
parent
a2668b39be
commit
b7a0a336dd
|
|
@ -24,9 +24,9 @@
|
||||||
$t('DicomViewer:anonymous:Comparison') }}</div>
|
$t('DicomViewer:anonymous:Comparison') }}</div>
|
||||||
<div class="btn" v-else @click="comparison(false)">{{
|
<div class="btn" v-else @click="comparison(false)">{{
|
||||||
$t('DicomViewer:anonymous:Exit') }}</div>
|
$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>
|
$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>
|
$t('DicomViewer:anonymous:RecoveryAll') }}</div>
|
||||||
</div>
|
</div>
|
||||||
<div v-show="layoutRow >= 1" class="dicom-row" :style="{ height: rowHeight }">
|
<div v-show="layoutRow >= 1" class="dicom-row" :style="{ height: rowHeight }">
|
||||||
|
|
@ -562,8 +562,8 @@ export default {
|
||||||
],
|
],
|
||||||
imageIds: [newImageId]
|
imageIds: [newImageId]
|
||||||
}, serie)
|
}, serie)
|
||||||
this.$refs[`dicomCanvas0`].loadImageStack(dicomCanvas0_info, this.$t('DicomViewer:anonymous:before'))
|
this.$refs[`dicomCanvas0`].loadImageStack(dicomCanvas0_info, this.$t('DicomViewer:anonymous:after'))
|
||||||
this.$refs[`dicomCanvas1`].loadImageStack(dicomCanvas1_info, this.$t('DicomViewer:anonymous:after'))
|
this.$refs[`dicomCanvas1`].loadImageStack(dicomCanvas1_info, this.$t('DicomViewer:anonymous:before'))
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.isComparison = f
|
this.isComparison = f
|
||||||
|
|
@ -573,7 +573,10 @@ export default {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
recovery(isAll = false) {
|
recovery(isAll = false) {
|
||||||
if (this.isComparison) return false
|
// if (this.isComparison) return false
|
||||||
|
if (this.isAnonymous) {
|
||||||
|
this.comparison(false)
|
||||||
|
}
|
||||||
this.setToolsPassive()
|
this.setToolsPassive()
|
||||||
this.$refs[`dicomCanvas0`].getNote_RectangleRoi().then(async obj => {
|
this.$refs[`dicomCanvas0`].getNote_RectangleRoi().then(async obj => {
|
||||||
let { image } = obj
|
let { image } = obj
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,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">
|
||||||
|
|
@ -243,9 +243,10 @@
|
||||||
|
|
||||||
<el-color-picker v-model="item.color" size="mini"
|
<el-color-picker v-model="item.color" size="mini"
|
||||||
@change="(e) => changeColor(e, item)"></el-color-picker>
|
@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 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) }}{{
|
Number(item.stats['volume'].value).toFixed(digitPlaces) }}{{
|
||||||
item.stats['volume'].unit }}</div>
|
item.stats['volume'].unit }}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -309,7 +310,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>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue