【dicom分割】删除已绑定问题的分割标记时,eicrf页面没有刷新状态
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
parent
5c76bda1e7
commit
2c305af49e
|
|
@ -900,6 +900,7 @@ export default {
|
|||
methods: {
|
||||
resetQuestion() {
|
||||
this.$refs[`ecrf_${this.lastViewportTaskId}`][0].getQuestions(false)
|
||||
this.$refs[`ecrf_${this.lastViewportTaskId}`][0].initSegmentBinding()
|
||||
},
|
||||
handleSegmentSave(obj) {
|
||||
this.$refs[`ecrf_${this.lastViewportTaskId}`][0].handleSegmentSave(obj)
|
||||
|
|
|
|||
|
|
@ -120,7 +120,7 @@
|
|||
</el-switch>
|
||||
<span style="margin-left: 5px;">{{
|
||||
$t('trials:reading:Segmentations:title:InactiveSegmentationsShow')
|
||||
}}</span>
|
||||
}}</span>
|
||||
</div>
|
||||
<!-- <div class="SegmentConfig" v-if="SegmentConfig.InactiveSegmentations.show">
|
||||
<span>{{ $t('trials:reading:Segmentations:title:Opacity') }}</span>
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
<div v-for="k in statsKey" :key="k" class="statsBox">
|
||||
<span>{{ k }}</span>
|
||||
<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>
|
||||
</template>
|
||||
<div class="serialNum" slot="reference">{{ item.segmentIndex }}</div>
|
||||
|
|
@ -210,7 +210,7 @@
|
|||
<div class="SegmentGroupBtn" @click.stop="rename('segment', item)">
|
||||
{{ $t('trials:reading:Segmentations:button:renameSegmentGroup') }}
|
||||
</div>
|
||||
<div class="SegmentGroupBtn" @click.stop="delSegment(item.segmentIndex)">
|
||||
<div class="SegmentGroupBtn" @click.stop="delSegment(item)">
|
||||
{{ $t('trials:reading:Segmentations:button:deleteSegmentGroup') }}
|
||||
</div>
|
||||
<div class="SegmentGroupBtn" v-if="!item.lock"
|
||||
|
|
@ -763,6 +763,7 @@ export default {
|
|||
annotations.forEach(item => {
|
||||
annotation.state.removeAnnotation(item.annotationUID)
|
||||
})
|
||||
let segmentationId = this.segmentationId
|
||||
if (this.segmentList.length > 0) {
|
||||
this.segmentationId = this.segmentList[0].segmentationId;
|
||||
this.selectSegmentGroup()
|
||||
|
|
@ -771,9 +772,17 @@ export default {
|
|||
}
|
||||
this.readingSegmentByConfig()
|
||||
this.resetViewport()
|
||||
let data = {
|
||||
SegmentationId: segmentationId
|
||||
}
|
||||
let r = await this.getSegmentBindingList(data)
|
||||
if (r && r.length > 0) {
|
||||
this.$set('resetQuestion')
|
||||
}
|
||||
},
|
||||
// 删除分割片段
|
||||
async delSegment(segmentIndex) {
|
||||
async delSegment(data) {
|
||||
let segmentIndex = data.segmentIndex
|
||||
let confirm = await this.$confirm(this.$t('trials:reading:Segmentations:confirm:delSegment'))
|
||||
if (!confirm) return false
|
||||
let groupIndex = this.segmentList.findIndex(item => item.segmentationId === this.segmentationId)
|
||||
|
|
@ -794,6 +803,13 @@ export default {
|
|||
if (this.segmentList[groupIndex].segments.length > 0) {
|
||||
this.selectSegment(this.segmentList[groupIndex].segments[0])
|
||||
}
|
||||
let data = {
|
||||
SegmentId: data.id
|
||||
}
|
||||
let r = await this.getSegmentBindingList(data)
|
||||
if (r && r.length > 0) {
|
||||
this.$set('resetQuestion')
|
||||
}
|
||||
|
||||
},
|
||||
resetViewport(passive = true) {
|
||||
|
|
|
|||
|
|
@ -40,10 +40,10 @@
|
|||
<div v-if="series" class="right-bottom-text">
|
||||
<div v-show="imageInfo.location">Location: {{
|
||||
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
|
||||
}}</div>
|
||||
}}</div>
|
||||
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
|
||||
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
|
||||
}}</div>
|
||||
}}</div>
|
||||
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
|
||||
</div>
|
||||
<div class="orientation-top">
|
||||
|
|
@ -271,9 +271,11 @@ export default {
|
|||
const zoom = viewport.getZoom()
|
||||
this.imageInfo.zoom = zoom.toFixed(4)
|
||||
let imageIds = viewport.getImageIds(this.volumeId)
|
||||
let imageId = imageIds[0]
|
||||
let imageId = imageIds[detail.imageIndex]
|
||||
if (imageId) {
|
||||
const imagePlaneModule = metaData.get('imagePlaneModule', imageId)
|
||||
// const voi = metaData.get('voiLutModule', imageId)
|
||||
// console.log(voi, 'voi')
|
||||
this.imageInfo.imageOrientationPatient = imagePlaneModule.imageOrientationPatient
|
||||
this.imageInfo.imagePositionPatient = imagePlaneModule.imagePositionPatient
|
||||
this.imageInfo.size = `${imagePlaneModule.columns}*${imagePlaneModule.rows}`
|
||||
|
|
|
|||
Loading…
Reference in New Issue