1
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
4d808ed87c
commit
a87769a60f
|
|
@ -127,7 +127,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">
|
||||||
|
|
@ -195,12 +195,12 @@
|
||||||
<div class="num">
|
<div class="num">
|
||||||
<span>L: {{
|
<span>L: {{
|
||||||
item.bidirectional && item.bidirectional.maxMajor
|
item.bidirectional && item.bidirectional.maxMajor
|
||||||
? Number(item.bidirectional.maxMajor).toFixed(2) : ' '
|
? `${Number(item.bidirectional.maxMajor).toFixed(2)} mm` : ' '
|
||||||
}} mm</span>
|
}}</span>
|
||||||
<span>S: {{
|
<span>S: {{
|
||||||
item.bidirectional && item.bidirectional.maxMinor
|
item.bidirectional && item.bidirectional.maxMinor
|
||||||
? Number(item.bidirectional.maxMinor).toFixed(2) : ' '
|
? `${Number(item.bidirectional.maxMinor).toFixed(2)} mm` : ' '
|
||||||
}} mm</span>
|
}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnBox">
|
<div class="btnBox">
|
||||||
<div
|
<div
|
||||||
|
|
|
||||||
|
|
@ -199,6 +199,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.$emit('activeSeries', series)
|
this.$emit('activeSeries', series)
|
||||||
this.activeStudyIndex = studyIndex
|
this.activeStudyIndex = studyIndex
|
||||||
this.activeSeriesIndex = seriesIndex
|
this.activeSeriesIndex = seriesIndex
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue