融合页面交互工具存在问题
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 renderingEngine = getRenderingEngine(this.renderingEngineId)
|
||||||
const viewport = renderingEngine.getViewport(this.viewportId)
|
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()
|
viewport.render()
|
||||||
},
|
},
|
||||||
async prefetchMetadataInformation(imageIdsToPrefetch) {
|
async prefetchMetadataInformation(imageIdsToPrefetch) {
|
||||||
|
|
@ -478,9 +479,10 @@ export default {
|
||||||
async setSeriesInfo(obj, isLocate = false, option = {}) {
|
async setSeriesInfo(obj, isLocate = false, option = {}) {
|
||||||
try {
|
try {
|
||||||
let { data } = obj
|
let { data } = obj
|
||||||
if (this.series && data.Id === this.series.Id && data.Description === this.series.Description) {
|
// if (this.series && data.Id === this.series.Id && data.Description === this.series.Description) {
|
||||||
data.SliceIndex = this.series.SliceIndex
|
// data.SliceIndex = this.series.SliceIndex
|
||||||
}
|
// }
|
||||||
|
// this.series = { ...data }
|
||||||
const renderingEngine = getRenderingEngine(this.renderingEngineId)
|
const renderingEngine = getRenderingEngine(this.renderingEngineId)
|
||||||
const viewport = renderingEngine.getViewport(this.viewportId)
|
const viewport = renderingEngine.getViewport(this.viewportId)
|
||||||
if (isLocate) return csUtils.jumpToSlice(viewport.element, { imageIndex: data.SliceIndex });
|
if (isLocate) return csUtils.jumpToSlice(viewport.element, { imageIndex: data.SliceIndex });
|
||||||
|
|
@ -550,6 +552,9 @@ export default {
|
||||||
if (colorMap) {
|
if (colorMap) {
|
||||||
this.setColorMap(this.presetName)
|
this.setColorMap(this.presetName)
|
||||||
}
|
}
|
||||||
|
if (isLocate) {
|
||||||
|
setTimeout(() => { csUtils.jumpToSlice(viewport.element, { imageIndex: data.SliceIndex }); })
|
||||||
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
viewport
|
viewport
|
||||||
|
|
|
||||||
|
|
@ -2813,7 +2813,7 @@ export default {
|
||||||
if (this.isFusion) {
|
if (this.isFusion) {
|
||||||
this.activeViewportIndex = 0
|
this.activeViewportIndex = 0
|
||||||
if (series.Modality === 'PT') {
|
if (series.Modality === 'PT') {
|
||||||
this.activeViewportIndex = 1
|
this.activeViewportIndex = 2
|
||||||
}
|
}
|
||||||
series = {
|
series = {
|
||||||
data: series,
|
data: series,
|
||||||
|
|
@ -2870,7 +2870,7 @@ export default {
|
||||||
if (this.isFusion) {
|
if (this.isFusion) {
|
||||||
this.activeViewportIndex = 0
|
this.activeViewportIndex = 0
|
||||||
if (series.Modality === 'PT') {
|
if (series.Modality === 'PT') {
|
||||||
this.activeViewportIndex = 1
|
this.activeViewportIndex = 2
|
||||||
}
|
}
|
||||||
series = {
|
series = {
|
||||||
data: series,
|
data: series,
|
||||||
|
|
|
||||||
|
|
@ -109,7 +109,7 @@
|
||||||
e,
|
e,
|
||||||
data: {
|
data: {
|
||||||
TableQuestionId: question.Id,
|
TableQuestionId: question.Id,
|
||||||
RowIndex: question.RowIndex,
|
RowIndex: questionForm.RowIndex,
|
||||||
QuestionName: question.QuestionName
|
QuestionName: question.QuestionName
|
||||||
}
|
}
|
||||||
})" />
|
})" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue