1
continuous-integration/drone/push Build is passing Details

uat_us
wangxiaoshuang 2026-03-31 17:38:36 +08:00
parent 2efb229c96
commit 67d2a83ec8
3 changed files with 7 additions and 13 deletions

View File

@ -40,10 +40,10 @@
<div v-if="series" class="right-bottom-text"> <div v-if="series" class="right-bottom-text">
<div v-show="imageInfo.location">Location: {{ <div v-show="imageInfo.location">Location: {{
`${Number(imageInfo.location).toFixed(digitPlaces)} mm` `${Number(imageInfo.location).toFixed(digitPlaces)} mm`
}}</div> }}</div>
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{ <div v-show="imageInfo.sliceThickness">Slice Thickness: {{
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm` `${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
}}</div> }}</div>
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div> <div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
</div> </div>
<div class="orientation-top"> <div class="orientation-top">
@ -303,6 +303,7 @@ export default {
// const toolGroupId = this.viewportId // const toolGroupId = this.viewportId
}, },
setFullScreen(index) { setFullScreen(index) {
this.series.SliceIndex = index
setTimeout(() => { setTimeout(() => {
const renderingEngine = getRenderingEngine(this.renderingEngineId) const renderingEngine = getRenderingEngine(this.renderingEngineId)
const viewport = renderingEngine.getViewport( const viewport = renderingEngine.getViewport(

View File

@ -2829,18 +2829,10 @@ export default {
let index = null let index = null
this.timer = setInterval(() => { this.timer = setInterval(() => {
this.timeNum++ this.timeNum++
index = index || index === 0 ? index : this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series.SliceIndex
const renderingEngine = getRenderingEngine(renderingEngineId) const renderingEngine = getRenderingEngine(renderingEngineId)
renderingEngine.resize(true, false) renderingEngine.resize(true, false)
renderingEngine.render() renderingEngine.render()
// let viewportIds = [`${this.viewportKey}-0`, `${this.viewportKey}-1`, `${this.viewportKey}-2`]
// if (!this.isMPR) {
// viewportIds = []
// for (let i = 0; i < this.cells.length; i++) {
// const viewportId = `${this.viewportKey}-${i}`
// viewportIds.push(viewportId)
// }
// }
index = index || index === 0 ? index : this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series.SliceIndex
this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setFullScreen(index) this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setFullScreen(index)
if (this.timeNum >= 3) { if (this.timeNum >= 3) {
clearInterval(this.timer) clearInterval(this.timer)

View File

@ -40,10 +40,10 @@
<div v-if="series" class="right-bottom-text"> <div v-if="series" class="right-bottom-text">
<div v-show="imageInfo.location">Location: {{ <div v-show="imageInfo.location">Location: {{
`${Number(imageInfo.location).toFixed(digitPlaces)} mm` `${Number(imageInfo.location).toFixed(digitPlaces)} mm`
}}</div> }}</div>
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{ <div v-show="imageInfo.sliceThickness">Slice Thickness: {{
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm` `${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
}}</div> }}</div>
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div> <div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
</div> </div>
<div class="orientation-top"> <div class="orientation-top">
@ -314,6 +314,7 @@ export default {
}, },
setFullScreen(index) { setFullScreen(index) {
setTimeout(() => { setTimeout(() => {
this.series.SliceIndex = index
const renderingEngine = getRenderingEngine(this.renderingEngineId) const renderingEngine = getRenderingEngine(this.renderingEngineId)
const viewport = renderingEngine.getViewport( const viewport = renderingEngine.getViewport(
this.viewportId this.viewportId