切换视口重置分割分组和分割片段
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
ecf4c8a2c7
commit
7bf80c10eb
|
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="Segmentations" v-loading="loading">
|
<div class="Segmentations" v-loading="loading">
|
||||||
<h3 style="color: #fff;margin: 0;padding: 15px 10px 5px">
|
<h3 style="color: #fff;margin: 0;padding: 15px 10px 5px" v-if="series.TaskInfo">
|
||||||
<span>{{ series.TaskInfo.SubjectCode }} </span>
|
<span>{{ series.TaskInfo.SubjectCode }} </span>
|
||||||
<span style="margin-left:5px;">{{ series.TaskInfo.TaskBlindName }}</span>
|
<span style="margin-left:5px;">{{ series.TaskInfo.TaskBlindName }}</span>
|
||||||
</h3>
|
</h3>
|
||||||
|
|
@ -422,6 +422,8 @@ export default {
|
||||||
this.series = series
|
this.series = series
|
||||||
this.$emit("update:curSegSeries", Object.assign({}, series))
|
this.$emit("update:curSegSeries", Object.assign({}, series))
|
||||||
this.popoverId = null
|
this.popoverId = null
|
||||||
|
this.segmentIndex = null
|
||||||
|
this.segmentationId = null
|
||||||
this.getSegmentationList()
|
this.getSegmentationList()
|
||||||
})
|
})
|
||||||
DicomEvent.$on('isloaded', (data) => {
|
DicomEvent.$on('isloaded', (data) => {
|
||||||
|
|
|
||||||
|
|
@ -229,7 +229,7 @@ function selectSegmentation(viewportId, segmentationId) {
|
||||||
segmentation.activeSegmentation.setActiveSegmentation(viewportId, segmentationId)
|
segmentation.activeSegmentation.setActiveSegmentation(viewportId, segmentationId)
|
||||||
}
|
}
|
||||||
function selectSegment(viewportId, segmentationId, segmentIndex) {
|
function selectSegment(viewportId, segmentationId, segmentIndex) {
|
||||||
if (!segmentIndex) return false
|
if (!segmentIndex || !segmentationId) return false
|
||||||
selectSegmentation(viewportId, segmentationId)
|
selectSegmentation(viewportId, segmentationId)
|
||||||
segmentation.segmentIndex.setActiveSegmentIndex(segmentationId, segmentIndex);
|
segmentation.segmentIndex.setActiveSegmentIndex(segmentationId, segmentIndex);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue