【dicom分割】有的影像无法渲染,需要增加提示
parent
128cdc0f75
commit
d88535b75e
|
|
@ -1052,7 +1052,6 @@ export default {
|
||||||
let imageId = imageIds[0]
|
let imageId = imageIds[0]
|
||||||
const imagePixelModule = metaData.get('imagePixelModule', imageId);
|
const imagePixelModule = metaData.get('imagePixelModule', imageId);
|
||||||
const photometricInterpretation = imagePixelModule?.photometricInterpretation;
|
const photometricInterpretation = imagePixelModule?.photometricInterpretation;
|
||||||
console.log(photometricInterpretation, 'photometricInterpretation')
|
|
||||||
if (photometricInterpretation && photometricInterpretation !== 'MONOCHROME1' && photometricInterpretation !== 'MONOCHROME2') return this.$confirm(this.$t('trials:histogram:confirm:photometricInterpretationNotSupported'))
|
if (photometricInterpretation && photometricInterpretation !== 'MONOCHROME1' && photometricInterpretation !== 'MONOCHROME2') return this.$confirm(this.$t('trials:histogram:confirm:photometricInterpretationNotSupported'))
|
||||||
this.histogramVisible = true
|
this.histogramVisible = true
|
||||||
this.setToolsPassive()
|
this.setToolsPassive()
|
||||||
|
|
|
||||||
|
|
@ -74,9 +74,11 @@
|
||||||
#{{ series.SeriesNumber }}
|
#{{ series.SeriesNumber }}
|
||||||
|
|
||||||
</div>
|
</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 }}
|
{{ 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">
|
<el-popover placement="right" trigger="hover" popper-class="patient-info-popper">
|
||||||
<h4>{{ $t('trials:ptData:title') }}</h4>
|
<h4>{{ $t('trials:ptData:title') }}</h4>
|
||||||
<div class="patient-info-row">
|
<div class="patient-info-row">
|
||||||
|
|
@ -198,6 +200,9 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
activeSeries(series, seriesIndex, studyIndex) {
|
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.activeStudyIndex = studyIndex
|
||||||
this.activeSeriesIndex = seriesIndex
|
this.activeSeriesIndex = seriesIndex
|
||||||
this.$emit('activeSeries', series)
|
this.$emit('activeSeries', series)
|
||||||
|
|
@ -286,7 +291,7 @@ export default {
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.patient-info-popper .patient-info-row + .patient-info-row {
|
.patient-info-popper .patient-info-row+.patient-info-row {
|
||||||
margin-top: 4px;
|
margin-top: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue