【dicom分割】有的影像无法渲染,需要增加提示

uat_us
wangxiaoshuang 2026-04-30 11:46:57 +08:00
parent 128cdc0f75
commit d88535b75e
2 changed files with 8 additions and 4 deletions

View File

@ -1052,7 +1052,6 @@ export default {
let imageId = imageIds[0]
const imagePixelModule = metaData.get('imagePixelModule', imageId);
const photometricInterpretation = imagePixelModule?.photometricInterpretation;
console.log(photometricInterpretation, 'photometricInterpretation')
if (photometricInterpretation && photometricInterpretation !== 'MONOCHROME1' && photometricInterpretation !== 'MONOCHROME2') return this.$confirm(this.$t('trials:histogram:confirm:photometricInterpretationNotSupported'))
this.histogramVisible = true
this.setToolsPassive()

View File

@ -74,9 +74,11 @@
#{{ series.SeriesNumber }}
</div>
<div v-if="series.Description" class="text-desc" :title="series.Description" style="position: relative;">
<div v-if="series.Description" class="text-desc" :title="series.Description"
style="position: relative;">
{{ series.Description }}
<div class="patient-info" style="position: absolute;right: 0;top: 0;" v-if="['PT','PET'].includes(series.Modality)">
<div class="patient-info" style="position: absolute;right: 0;top: 0;"
v-if="['PT', 'PET'].includes(series.Modality)">
<el-popover placement="right" trigger="hover" popper-class="patient-info-popper">
<h4>{{ $t('trials:ptData:title') }}</h4>
<div class="patient-info-row">
@ -198,6 +200,9 @@ export default {
},
methods: {
activeSeries(series, seriesIndex, studyIndex) {
const photometricInterpretation = series?.InstanceInfoList[0]?.PhotometricInterpretation;
if (!photometricInterpretation || (photometricInterpretation !== 'MONOCHROME1' && photometricInterpretation !== 'MONOCHROME2'))
return this.$confirm(this.$t('trials:histogram:confirm:activeSeriesPhotometricInterpretationNotSupported'))
this.activeStudyIndex = studyIndex
this.activeSeriesIndex = seriesIndex
this.$emit('activeSeries', series)