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') }}
@@ -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 @@
-
+
-
+
-
+
- = 1
- "
- type="text"
- @click="handleOpenDialog(scope.row, 'OrginalStudyList')"
- >
+ " type="text" @click="handleOpenDialog(scope.row, 'OrginalStudyList')">
{{ scope.row.OrginalStudyList.length }}
0
@@ -47,13 +30,9 @@
- = 1
- "
- type="text"
- @click="handleOpenDialog(scope.row, 'UploadStudyList', true)"
- >
+ " type="text" @click="handleOpenDialog(scope.row, 'UploadStudyList', true)">
{{ scope.row.UploadStudyList.length }}
0
@@ -63,57 +42,27 @@
-
-
+ " @click.stop="handleViewReadingImages(scope.row)" :title="$t('upload:dicom:button:preview')" />
-
+ " icon="el-icon-delete" :title="$t('upload:dicom:button:delete')" @click.stop="remove(scope.row)" />
@@ -125,36 +74,18 @@
-
+
@@ -180,9 +111,8 @@
N/A
- {{ scope.row.dicomInfo.modality.join('、') }},
+ {{ scope.row.dicomInfo.modality.join('、')
+ }},
N/A,
@@ -228,162 +158,123 @@
PID:
{{
- scope.row.dicomInfo.patientId }}
+ scope.row.dicomInfo.patientId }}
N/A
{{
- scope.row.dicomInfo.patientName
- ? scope.row.dicomInfo.patientName
- : 'N/A'
+ scope.row.dicomInfo.patientName
+ ? scope.row.dicomInfo.patientName
+ : 'N/A'
}}
{{
- scope.row.dicomInfo.patientSex
- ? scope.row.dicomInfo.patientSex
- : 'N/A'
+ scope.row.dicomInfo.patientSex
+ ? scope.row.dicomInfo.patientSex
+ : 'N/A'
}},
{{
- scope.row.dicomInfo.patientAge
- ? scope.row.dicomInfo.patientAge
- : 'N/A'
+ scope.row.dicomInfo.patientAge
+ ? scope.row.dicomInfo.patientAge
+ : 'N/A'
}},
-
+ ]">
{{
- scope.row.dicomInfo.patientBirthDate
- ? scope.row.dicomInfo.patientBirthDate
- : 'N/A'
+ scope.row.dicomInfo.patientBirthDate
+ ? scope.row.dicomInfo.patientBirthDate
+ : 'N/A'
}}
-
+
-
+ " />
{{ $t('trials:uploadDicomList:table:uploadNow')
}}{{ scope.row.dicomInfo.failedFileCount }}/{{
- scope.row.dicomInfo.fileCount
+ scope.row.dicomInfo.fileCount
}}
({{
- (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(3)
+ (scope.row.dicomInfo.uploadFileSize / 1024 / 1024).toFixed(3)
}}MB/{{
- (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(3)
+ (scope.row.dicomInfo.fileSize / 1024 / 1024).toFixed(3)
}}MB)
-
+
- {{ $t('trials:uploadDicomList:table:status1') }}
- {{ $t('trials:uploadDicomList:table:status1') }}
+ {{ $t('trials:uploadDicomList:table:status2') }}
- {{ $t('trials:uploadDicomList:table:status2') }}
+ {{ $t('trials:uploadDicomList:table:status2') }}
- {{ $t('trials:uploadDicomList:table:status2') }}
+ {{ $t('trials:uploadDicomList:table:status3') }}
- {{ $t('trials:uploadDicomList:table:status3') }}
+ {{ $t('trials:uploadDicomList:table:status5') }}
+ ">{{ $t('trials:uploadDicomList:table:status5') }}
{{
- $t('trials:uploadDicomList:table:Failed')
+ $t('trials:uploadDicomList:table:Failed')
}}
-
+
{{ $t('trials:uploadDicomList:table:Existed') }}:
-
{{ item }}
+
{{ item }}
{{ $t('trials:uploadDicomList:table:Uploaded') }}:
-
{{ item }}
+
{{ item }}
{{ $t('trials:uploadDicomList:table:Failed') }}:
-
{{ item }}
+
{{ item }}
@@ -391,19 +282,19 @@
{{
- scope.row.uploadState.record.Existed.length
+ scope.row.uploadState.record.Existed.length
}}
/
{{
- scope.row.uploadState.record.Uploaded.length
+ scope.row.uploadState.record.Uploaded.length
}}
/
{{
- scope.row.uploadState.record.Failed.length
+ scope.row.uploadState.record.Failed.length
}}
@@ -411,18 +302,9 @@
-
+