当加载Volume体数据时,页面显示的现在速度需要按照Series来计算。现在一直都是0。
continuous-integration/drone/push Build is passing Details

main
wangxiaoshuang 2026-04-02 15:01:32 +08:00
parent d317402f85
commit 3f2e39f46c
1 changed files with 10 additions and 6 deletions

View File

@ -909,9 +909,6 @@ export default {
handleSizeChange(e, viewportId) { handleSizeChange(e, viewportId) {
// console.log('handleSizeChange', e) // console.log('handleSizeChange', e)
this.resetRenderingEngine(viewportId) this.resetRenderingEngine(viewportId)
if (this.readingTool === 3) {
DicomEvent.$emit('isloaded', { isChange: false })
}
}, },
resetQuestion() { resetQuestion() {
this.$refs[`ecrf_${this.lastViewportTaskId}`][0].getQuestions(false) this.$refs[`ecrf_${this.lastViewportTaskId}`][0].getQuestions(false)
@ -1579,6 +1576,10 @@ export default {
setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId) setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId)
} }
} }
if (this.readingTool === 3) {
getNetWorkSpeed()
setNetWorkSpeedSizeAll(percentComplete, detail.total, imageId)
}
if (percentComplete === 100) { if (percentComplete === 100) {
workSpeedclose() workSpeedclose()
} }
@ -2847,6 +2848,9 @@ export default {
this.$refs[viewportId ? viewportId : `${this.viewportKey}-${this.activeViewportIndex}`][0].setFullScreen(index) this.$refs[viewportId ? viewportId : `${this.viewportKey}-${this.activeViewportIndex}`][0].setFullScreen(index)
clearTimeout(this.timer) clearTimeout(this.timer)
this.timer = null this.timer = null
if (this.readingTool === 3) {
DicomEvent.$emit('isloaded', { isChange: false })
}
}, 100) }, 100)
}, },
setDelay(time) { setDelay(time) {
@ -2869,9 +2873,9 @@ export default {
this.resetRenderingEngine() this.resetRenderingEngine()
this.isDelay = true this.isDelay = true
this.setDelay(2000) this.setDelay(2000)
if (this.readingTool === 3) { // if (this.readingTool === 3) {
DicomEvent.$emit('isloaded', { isChange: false }) // DicomEvent.$emit('isloaded', { isChange: false })
} // }
}) })
} }