From 3c10ae73dd6c82b08bf87b84706a037a93420e0b Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 28 Apr 2026 09:14:54 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E8=9E=8D=E5=90=88=E8=A7=86=E5=8F=A3?= =?UTF-8?q?=E5=8D=81=E5=AD=97=E7=BA=BF=E5=AE=9A=E4=BD=8D=E5=B7=A5=E5=85=B7?= =?UTF-8?q?=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms3D/components/ReadPage.vue | 1 + .../components/tools/FusionJumpToPointTool.js | 11 ++++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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 c598008f..3e4fd3f9 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -1711,6 +1711,7 @@ export default { enabled: true, lineLengthInPx: this.fusionCrosshairStyle.lineLength, }, + mipViewportIds: ['viewport-fusion-3'], }) toolGroup.setToolActive(VolumeRotateTool.toolName, { diff --git a/src/views/trials/trials-panel/reading/dicoms3D/components/tools/FusionJumpToPointTool.js b/src/views/trials/trials-panel/reading/dicoms3D/components/tools/FusionJumpToPointTool.js index 364e4684..27b06361 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/tools/FusionJumpToPointTool.js +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/tools/FusionJumpToPointTool.js @@ -25,6 +25,7 @@ class FusionJumpToPointTool extends AnnotationDisplayTool { enabled: true, lineLengthInPx: 20, }, + mipViewportIds: [], }, }) { super(toolProps, defaultToolProps) @@ -77,7 +78,10 @@ class FusionJumpToPointTool extends AnnotationDisplayTool { const annotation = this._getViewportCrosshairAnnotation(viewport) const sourceViewportId = this.dragSourceViewportId || annotation?.data?.sourceViewportId || viewport.id - this.setPoint(worldPoint, sourceViewportId, renderingEngine.id) + const sourceIsMip = this._isMipViewportId(viewport.id) + this.setPoint(worldPoint, sourceViewportId, renderingEngine.id, { + jumpToTargetViewports: sourceIsMip, + }) evt.preventDefault?.() } @@ -497,6 +501,11 @@ class FusionJumpToPointTool extends AnnotationDisplayTool { return fallbackColor || '#6fb9ff' } + _isMipViewportId(viewportId) { + const mipViewportIds = this.configuration?.mipViewportIds + return Array.isArray(mipViewportIds) && mipViewportIds.includes(viewportId) + } + _normalizeAppearance(appearance = {}, sourceViewportId) { const lineWidth = Number.isFinite(appearance.lineWidth) ? appearance.lineWidth : 2 const lineLength = Number.isFinite(appearance.lineLength) ? appearance.lineLength : 9 From 4ed0ebc913aa7a154f1062b78739330ef72ecc2d Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Tue, 28 Apr 2026 10:18:31 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../data-sync/components/FileList.vue | 94 ++++++++++--------- .../data-sync/components/StudyList.vue | 46 ++++----- .../data-sync/components/TaskList.vue | 31 +++--- .../trial-summary/data-sync/index.vue | 30 ++---- 4 files changed, 97 insertions(+), 104 deletions(-) diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue index 6730bbca..f5e910ed 100644 --- a/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue +++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/FileList.vue @@ -3,15 +3,15 @@ - + - + - + - + - + - + - + - + - + - + - + - 取消 - 保存 + {{ $t('common:button:cancel') }} + {{ $t('common:button:save') }} - + - + - 取消 - 保存 + {{ $t('common:button:cancel') }} + {{ $t('common:button:save') }} @@ -277,8 +279,8 @@ export default { // IsSync: null, }, editRules: { - Priority: [{ required: true, message: '请输入', trigger: 'change' }], - IsSync: [{ required: true, message: '请选择', trigger: 'change' }], + Priority: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'change' }], + IsSync: [{ required: true, message: this.$t('common:ruleMessage:select'), trigger: 'change' }], }, formLoading: false, selectedRows: [], @@ -287,7 +289,7 @@ export default { Priority: null, }, batchEditRules: { - Priority: [{ required: true, message: '请输入', trigger: 'change' }], + Priority: [{ required: true, message: this.$t('common:ruleMessage:specify'), trigger: 'change' }], }, } }, @@ -350,7 +352,7 @@ export default { } let res = await batchAddSyncFileTask(params) if (res.IsSuccess) { - this.$message.success('执行成功!') + this.$message.success(this.$t('trials:data-sync:msg:executeSuccessfully')) } this.loading = false this.getList() diff --git a/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue b/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue index 35768346..386b60b7 100644 --- a/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue +++ b/src/views/trials/trials-panel/trial-summary/data-sync/components/StudyList.vue @@ -3,11 +3,11 @@