Compare commits
No commits in common. "73f8f816b7e5bccf95d025345a2c3fbf106c800d" and "e0ecd3f4ac55e2ccba60525db23821b810960494" have entirely different histories.
73f8f816b7
...
e0ecd3f4ac
|
|
@ -84,7 +84,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 class="SegmentConfig" v-if="SegmentConfig.InactiveSegmentations.show">
|
<!-- <div class="SegmentConfig" v-if="SegmentConfig.InactiveSegmentations.show">
|
||||||
<span>{{ $t('trials:reading:Segmentations:title:Opacity') }}</span>
|
<span>{{ $t('trials:reading:Segmentations:title:Opacity') }}</span>
|
||||||
|
|
@ -155,7 +155,7 @@
|
||||||
<div v-for="k in statsKey" :key="k" class="statsBox">
|
<div v-for="k in statsKey" :key="k" class="statsBox">
|
||||||
<span>{{ k }}</span>
|
<span>{{ k }}</span>
|
||||||
<span v-if="item.stats[k]">{{ Number(item.stats[k].value).toFixed(2)
|
<span v-if="item.stats[k]">{{ Number(item.stats[k].value).toFixed(2)
|
||||||
}}<i>{{ item.stats[k].unit }}</i></span>
|
}}<i>{{ item.stats[k].unit }}</i></span>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<div class="serialNum" slot="reference">{{ item.segmentIndex }}</div>
|
<div class="serialNum" slot="reference">{{ item.segmentIndex }}</div>
|
||||||
|
|
@ -405,13 +405,6 @@ export default {
|
||||||
})
|
})
|
||||||
this.resetViewport(false)
|
this.resetViewport(false)
|
||||||
item.bidirectional = null
|
item.bidirectional = null
|
||||||
if (DATA) {
|
|
||||||
this.segmentationId = DATA.SegmentationId;
|
|
||||||
this.segmentIndex = DATA.SegmentMumber;
|
|
||||||
setTimeout(() => {
|
|
||||||
this.selectSegment(DATA)
|
|
||||||
})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
bidirectionalData.forEach((bidirectional) => {
|
bidirectionalData.forEach((bidirectional) => {
|
||||||
const { segmentIndex } = bidirectional;
|
const { segmentIndex } = bidirectional;
|
||||||
|
|
@ -1061,11 +1054,8 @@ export default {
|
||||||
// console.log(segmentStat, 'segmentStat')
|
// console.log(segmentStat, 'segmentStat')
|
||||||
segmentStat.count.label = 'Voxels';
|
segmentStat.count.label = 'Voxels';
|
||||||
let segmentGroup = this.segmentList.find(item => item.segmentationId === segmentationId)
|
let segmentGroup = this.segmentList.find(item => item.segmentationId === segmentationId)
|
||||||
if (segmentGroup) {
|
let segment = segmentGroup.segments.find(item => item.segmentIndex === segmentIndex)
|
||||||
let segment = segmentGroup.segments.find(item => item.segmentIndex === segmentIndex)
|
segment.stats = segmentStat;
|
||||||
segment.stats = segmentStat;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1302,7 +1292,6 @@ export default {
|
||||||
// this.getBidirectional(o)
|
// this.getBidirectional(o)
|
||||||
// })
|
// })
|
||||||
if (SEGMENT && index === segments.length - 1) {
|
if (SEGMENT && index === segments.length - 1) {
|
||||||
console.log(SEGMENT, 'SEGMENT')
|
|
||||||
return this.getBidirectional(o, SEGMENT)
|
return this.getBidirectional(o, SEGMENT)
|
||||||
}
|
}
|
||||||
this.getBidirectional(o)
|
this.getBidirectional(o)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue