分割部分问题解决

uat_us
wangxiaoshuang 2026-04-27 13:12:35 +08:00
parent 91386589ae
commit 0f25958d9b
3 changed files with 18 additions and 7 deletions

View File

@ -40,10 +40,10 @@
<div v-if="series" class="right-bottom-text">
<div v-show="imageInfo.location">Location: {{
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
}}</div>
}}</div>
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
}}</div>
}}</div>
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
</div>
<div class="orientation-top">
@ -185,7 +185,8 @@ export default {
rotateAngle: 0,
rotateBarLeft: 0,
loading: false,
toggleClipPlayTimer: null
toggleClipPlayTimer: null,
isFlip: false
}
},
mounted() {
@ -363,7 +364,11 @@ export default {
return 'unknown';
},
setFilp(f = false) {
this.isFlip = f
},
stackNewImage(e) {
if (this.isFlip) return this.isFlip = false
const { detail } = e
this.series.SliceIndex = detail.imageIndex
this.sliderInfo.height = detail.imageIndex * 100 / detail.numberOfSlices

View File

@ -2882,6 +2882,7 @@ export default {
const viewportId = `${this.viewportKey}-${this.activeViewportIndex}`
const viewport = renderingEngine.getViewport(viewportId)
const type = parseInt(value)
if (this.readingTool === 3 || this.isMPR) this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].setFilp(true)
// 123490590
if (type === 1) {
// viewport.resetCamera()
@ -2985,7 +2986,7 @@ export default {
viewport.setProperties({ voiRange: { upper: 5, lower: 0 } })
}
viewport.render()
renderingEngine.render()
// renderingEngine.render()
if (this.readingTool === 3) {
DicomEvent.$emit('isloaded', { isChange: false, viewportId })
}

View File

@ -59,10 +59,10 @@
<div v-if="series" class="right-bottom-text">
<div v-show="imageInfo.location">Location: {{
`${Number(imageInfo.location).toFixed(digitPlaces)} mm`
}}</div>
}}</div>
<div v-show="imageInfo.sliceThickness">Slice Thickness: {{
`${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm`
}}</div>
}}</div>
<div v-show="imageInfo.wwwc">WW/WL: {{ imageInfo.wwwc }}</div>
</div>
<div class="orientation-top">
@ -203,7 +203,8 @@ export default {
rotateAngle: 0,
rotateBarLeft: 0,
loading: false,
toggleClipPlayTimer: null
toggleClipPlayTimer: null,
isFlip: false
}
},
mounted() {
@ -382,7 +383,11 @@ export default {
return 'unknown';
},
setFilp(f = false) {
this.isFlip = f
},
stackNewImage(e) {
if (this.isFlip) return this.isFlip = false
const { detail } = e
delete this.series.segment
this.series.SliceIndex = detail.imageIndex