融合页面交互工具存在问题
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
f59b205324
commit
97dda302e1
|
|
@ -454,7 +454,8 @@ export default {
|
|||
}
|
||||
const renderingEngine = getRenderingEngine(this.renderingEngineId)
|
||||
const viewport = renderingEngine.getViewport(this.viewportId)
|
||||
viewport.setProperties({ colormap: { name: presetName } }, this.volumeId)
|
||||
let volumeId = this.isFusion ? this.ptVolumeId : this.volumeId
|
||||
viewport.setProperties({ colormap: { name: presetName } }, volumeId)
|
||||
viewport.render()
|
||||
},
|
||||
async prefetchMetadataInformation(imageIdsToPrefetch) {
|
||||
|
|
@ -478,9 +479,10 @@ export default {
|
|||
async setSeriesInfo(obj, isLocate = false, option = {}) {
|
||||
try {
|
||||
let { data } = obj
|
||||
if (this.series && data.Id === this.series.Id && data.Description === this.series.Description) {
|
||||
data.SliceIndex = this.series.SliceIndex
|
||||
}
|
||||
// if (this.series && data.Id === this.series.Id && data.Description === this.series.Description) {
|
||||
// data.SliceIndex = this.series.SliceIndex
|
||||
// }
|
||||
// this.series = { ...data }
|
||||
const renderingEngine = getRenderingEngine(this.renderingEngineId)
|
||||
const viewport = renderingEngine.getViewport(this.viewportId)
|
||||
if (isLocate) return csUtils.jumpToSlice(viewport.element, { imageIndex: data.SliceIndex });
|
||||
|
|
@ -550,6 +552,9 @@ export default {
|
|||
if (colorMap) {
|
||||
this.setColorMap(this.presetName)
|
||||
}
|
||||
if (isLocate) {
|
||||
setTimeout(() => { csUtils.jumpToSlice(viewport.element, { imageIndex: data.SliceIndex }); })
|
||||
}
|
||||
})
|
||||
} else {
|
||||
viewport
|
||||
|
|
|
|||
|
|
@ -2813,7 +2813,7 @@ export default {
|
|||
if (this.isFusion) {
|
||||
this.activeViewportIndex = 0
|
||||
if (series.Modality === 'PT') {
|
||||
this.activeViewportIndex = 1
|
||||
this.activeViewportIndex = 2
|
||||
}
|
||||
series = {
|
||||
data: series,
|
||||
|
|
@ -2870,7 +2870,7 @@ export default {
|
|||
if (this.isFusion) {
|
||||
this.activeViewportIndex = 0
|
||||
if (series.Modality === 'PT') {
|
||||
this.activeViewportIndex = 1
|
||||
this.activeViewportIndex = 2
|
||||
}
|
||||
series = {
|
||||
data: series,
|
||||
|
|
|
|||
|
|
@ -109,7 +109,7 @@
|
|||
e,
|
||||
data: {
|
||||
TableQuestionId: question.Id,
|
||||
RowIndex: question.RowIndex,
|
||||
RowIndex: questionForm.RowIndex,
|
||||
QuestionName: question.QuestionName
|
||||
}
|
||||
})" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue