From cbcb39644172db030ee0fd73b25cf3e5970dfe4f Mon Sep 17 00:00:00 2001 From: wangxiaoshuang <825034831@qq.com> Date: Wed, 25 Mar 2026 13:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E5=89=B2=E6=A0=87=E8=AE=B0=E8=B7=B3?= =?UTF-8?q?=E8=BD=AC=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../uploadDicomAndNonedicom/dicomFile.vue | 4 +- .../reading/dicoms3D/components/ReadPage.vue | 6 +- .../dicoms3D/components/Segmentations.vue | 86 ++++++++++++------- .../components/uploadDicomFiles2.vue | 4 +- 4 files changed, 61 insertions(+), 39 deletions(-) diff --git a/src/components/uploadDicomAndNonedicom/dicomFile.vue b/src/components/uploadDicomAndNonedicom/dicomFile.vue index 8ab4536a..c222c02c 100644 --- a/src/components/uploadDicomAndNonedicom/dicomFile.vue +++ b/src/components/uploadDicomAndNonedicom/dicomFile.vue @@ -712,12 +712,12 @@ export default { var studyUid = data.string('x0020000d') if (!studyUid) return resolve() var pixelDataElement = data.elements.x7fe00010 - if (!pixelDataElement && modality !== 'SR') return resolve() + if (!pixelDataElement && modality !== 'SR' && modality !== 'ECG') return resolve() var studyIndex = 0 while ( studyIndex < scope.uploadQueues.length && scope.uploadQueues[studyIndex].dicomInfo.studyUid !== studyUid && - (pixelDataElement || modality === 'SR') && + (pixelDataElement || modality === 'SR' || modality === 'ECG') && modality != '' ) { ++studyIndex 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 fb9f39b6..dbb838bd 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1720,7 +1720,7 @@ export default { if (annotation.metadata.toolName !== LabelMapEditWithContourTool.toolName) this.setToolsPassive() return } - if (annotation.data.segmentation || annotation.data.segment) return + if (annotation.metadata.segmentationId) return if (annotation.metadata.toolName === 'PlanarFreehandROI' && !annotation.data.contour.closed) return const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series if (series && series.TaskInfo.VisitTaskId && series.TaskInfo.VisitTaskId === this.taskInfo.VisitTaskId) { @@ -1808,7 +1808,7 @@ export default { if (annotation.metadata.toolName !== LabelMapEditWithContourTool.toolName) this.setToolsPassive() return } - if (annotation.data.segmentation || annotation.data.segment) return + if (annotation.metadata.segmentationId) return if (!annotation.data.label) return if (annotation.metadata.toolName === 'PlanarFreehandROI' && !annotation.data.contour.closed) return const series = this.$refs[`${this.viewportKey}-${this.activeViewportIndex}`][0].series @@ -1839,7 +1839,7 @@ export default { // 临时标记 return } - if (annotation.data.segmentation || annotation.data.segment) return + if (annotation.metadata.segmentationId) return if (annotation.visitTaskId === this.taskInfo.VisitTaskId) { const isBound = this.$refs[`ecrf_${annotation.visitTaskId}`][0].verifyAnnotationIsBound(annotation) if (isBound && this.activeTool === 'Eraser') { 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 0d5d859e..f438e7c3 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/Segmentations.vue @@ -84,7 +84,7 @@ {{ $t('trials:reading:Segmentations:title:InactiveSegmentationsShow') - }} + }}