MIP图移除VOLUME_NEW_IMAGE监听事件
parent
2d94f07796
commit
f4842ba34d
|
@ -691,9 +691,9 @@ export default {
|
|||
this.setUpToolGroups()
|
||||
|
||||
this.setUpSynchronizers()
|
||||
this.$refs['CT_AXIAL'].scroll(0)
|
||||
this.$refs['PT_AXIAL'].scroll(0)
|
||||
this.$refs['FUSION_AXIAL'].scroll(0)
|
||||
// this.$refs['CT_AXIAL'].scroll(0)
|
||||
// this.$refs['PT_AXIAL'].scroll(0)
|
||||
// this.$refs['FUSION_AXIAL'].scroll(0)
|
||||
const viewport = renderingEngine.getViewport('CT_AXIAL')
|
||||
if (viewport) {
|
||||
this.defaultCamera = viewport.getCamera()
|
||||
|
@ -1996,12 +1996,14 @@ export default {
|
|||
if (index > -1) {
|
||||
viewportId = 'PT_AXIAL'
|
||||
this.$refs[viewportId].scroll(index)
|
||||
}else{
|
||||
index = this.ctSeries.instanceList.findIndex(i => i === instanceId)
|
||||
if (index > -1) {
|
||||
viewportId = 'CT_AXIAL'
|
||||
this.$refs[viewportId].scroll(index)
|
||||
}
|
||||
}
|
||||
index = this.ctSeries.instanceList.findIndex(i => i === instanceId)
|
||||
if (index > -1) {
|
||||
viewportId = 'CT_AXIAL'
|
||||
this.$refs[viewportId].scroll(index)
|
||||
}
|
||||
|
||||
resolve()
|
||||
})
|
||||
},
|
||||
|
|
|
@ -232,7 +232,9 @@ export default {
|
|||
methods: {
|
||||
handleVolumeNewImage(e) {
|
||||
const { imageIndex } = e.detail
|
||||
this.seriesInfo.imageIdIndex = imageIndex
|
||||
if(this.viewportId === e.detail.viewportId && this.index !== 4){
|
||||
this.seriesInfo.imageIdIndex = imageIndex
|
||||
}
|
||||
renderingEngine = getRenderingEngine(this.renderingEngineId)
|
||||
viewport = renderingEngine.getViewport(this.viewportId)
|
||||
|
||||
|
|
Loading…
Reference in New Issue