diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/MPRViewport.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/MPRViewport.vue index 5f1a9124..011693cf 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/MPRViewport.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/MPRViewport.vue @@ -40,10 +40,10 @@
Location: {{ `${Number(imageInfo.location).toFixed(digitPlaces)} mm` - }}
+ }}
Slice Thickness: {{ `${Number(imageInfo.sliceThickness).toFixed(digitPlaces)} mm` - }}
+ }}
WW/WL: {{ imageInfo.wwwc }}
@@ -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 diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue index 3e4fd3f9..1507daf9 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1060,6 +1060,7 @@ export default { }, handleClick(tab, event) { this.formWrapperActiveName = tab.name + this.SegmentConfig.InactiveSegmentations.show = true }, setMPRInfo(obj) { let { type, key, value } = obj @@ -2903,6 +2904,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) // 1:默认值;2:垂直翻转;3:水平翻转;4:左转90度;5:右转90度; if (type === 1) { // viewport.resetCamera() @@ -3007,7 +3009,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 }) } diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue index adad3e32..ec937680 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue @@ -127,7 +127,7 @@ {{ $t('trials:reading:Segmentations:title:InactiveSegmentationsShow') - }} + }}