From 3a35f4a966f446ac38041cf157d63751442dddad Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 6 May 2026 17:01:31 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=8C=BF=E5=90=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dicom/DicomViewer.vue | 9 ++++++--- src/views/dicom-show/dicom-study.vue | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/components/Dicom/DicomViewer.vue b/src/components/Dicom/DicomViewer.vue index 602ac1f2..2a8bfcdc 100644 --- a/src/components/Dicom/DicomViewer.vue +++ b/src/components/Dicom/DicomViewer.vue @@ -26,6 +26,8 @@ $t('DicomViewer:anonymous:Exit') }}
{{ $t('DicomViewer:anonymous:Recovery') }}
+
{{ + $t('DicomViewer:anonymous:RecoveryAll') }}
3x2 -
{{ $t('DicomViewer:anonymous:PixelAnonymity') - }} +
{{ + $t('DicomViewer:anonymous:PixelAnonymity') + }}
@@ -1170,7 +1173,7 @@ export default { z-index: 9999; .btn { - width: 15%; + width: 12%; text-align: center; height: 40px; line-height: 30px; diff --git a/src/views/dicom-show/dicom-study.vue b/src/views/dicom-show/dicom-study.vue index 8dbe35f1..bbc60004 100644 --- a/src/views/dicom-show/dicom-study.vue +++ b/src/views/dicom-show/dicom-study.vue @@ -531,7 +531,7 @@ export default { } }, showSeriesImage(e, seriesIndex, series) { - if (!isComparison) return false + if (!this.isComparison) return false this.activeSeriesId = series.seriesId workSpeedclose(true) // if (seriesIndex === this.currentSeriesIndex) return From 49c7482d76bcbe508c0175588fab4b8edc87b180 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 6 May 2026 17:55:11 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E5=8C=BF=E5=90=8D=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=83=A8=E5=88=86=E9=97=AE=E9=A2=98=E8=A7=A3=E5=86=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dicom/DicomViewer.vue | 11 ++++++----- src/views/dicom-show/dicom-study.vue | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/components/Dicom/DicomViewer.vue b/src/components/Dicom/DicomViewer.vue index 2a8bfcdc..41c39b9c 100644 --- a/src/components/Dicom/DicomViewer.vue +++ b/src/components/Dicom/DicomViewer.vue @@ -103,7 +103,7 @@
{{ $t('DicomViewer:anonymous:PixelAnonymity') - }} + }}
@@ -504,8 +504,6 @@ export default { methods: { comparison(f) { - this.isComparison = f - this.$emit("update:Comparison", f) const elements = document.querySelectorAll('.dicom-item') const scope = this Array.from(elements).forEach((element, index) => { @@ -514,12 +512,14 @@ export default { } }) scope.activeTool = null - if (this.isComparison) { + if (f) { this.$refs[`dicomCanvas0`].getNote_RectangleRoi().then(obj => { let { image } = obj let instanceInfo = this.series.instanceInfoList.find(item => item.ImageId === image.imageId) if (!instanceInfo.IsMasked) return this.$confirm(this.$t("DicomViewer:anonymous:notMasked")) this.changeLayout('1x2') + this.isComparison = f + this.$emit("update:Comparison", f) let serie = {} Object.keys(this.series).forEach(key => { if (key !== 'instanceInfoList' && key !== 'imageIds') { @@ -555,10 +555,11 @@ export default { this.$refs[`dicomCanvas1`].loadImageStack(dicomCanvas1_info) }) } else { + this.isComparison = f + this.$emit("update:Comparison", f) this.changeLayout('1x1') this.$refs[`dicomCanvas0`].loadImageStack(this.series) } - }, recovery(isAll = false) { if (this.isComparison) return false diff --git a/src/views/dicom-show/dicom-study.vue b/src/views/dicom-show/dicom-study.vue index bbc60004..afee92cb 100644 --- a/src/views/dicom-show/dicom-study.vue +++ b/src/views/dicom-show/dicom-study.vue @@ -531,7 +531,7 @@ export default { } }, showSeriesImage(e, seriesIndex, series) { - if (!this.isComparison) return false + if (this.isComparison) return false this.activeSeriesId = series.seriesId workSpeedclose(true) // if (seriesIndex === this.currentSeriesIndex) return From e100d45bc1f0dee300c1812b1c6ef5a1ddd40598 Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Thu, 7 May 2026 10:20:53 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E4=BF=A1=E6=81=AF=E8=8E=B7=E5=8F=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uploadDicomAndNonedicom/dicomFile.vue | 305 +++------ .../components/uploadDicomFiles2.vue | 584 +++++------------- 2 files changed, 254 insertions(+), 635 deletions(-) diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index b97c49e3..9104e453 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -12,33 +12,16 @@ - + - + - +