融合页面交互工具存在问题
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2025-12-24 14:22:30 +08:00
parent f59b205324
commit 97dda302e1
3 changed files with 12 additions and 7 deletions

View File

@ -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

View File

@ -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,

View File

@ -109,7 +109,7 @@
e,
data: {
TableQuestionId: question.Id,
RowIndex: question.RowIndex,
RowIndex: questionForm.RowIndex,
QuestionName: question.QuestionName
}
})" />