From 86c506bc1d2c95b85da232df8c79337c079a7249 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Wed, 22 Apr 2026 13:41:03 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9Edicom=E9=98=85=E7=89=87=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=BF=AB=E6=8D=B7=E9=94=AE=E5=8A=9F=E8=83=BD=E8=A1=A5?= =?UTF-8?q?=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reading/dicoms/components/DicomViewer.vue | 2 +- .../reading/dicoms/components/Hotkeys.vue | 2 +- .../dicoms/customize/CustomizeDicomViewer.vue | 2 +- .../reading/dicoms/customize/Hotkeys.vue | 2 +- .../reading/dicoms3D/components/ReadPage.vue | 2 +- .../visit-review/components/FileViewer.vue | 166 +++++++++++++++++- 6 files changed, 166 insertions(+), 10 deletions(-) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue index 979db17b..72a6e7fc 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue @@ -1230,7 +1230,7 @@ export default { async getHotKeys() { // const loading = this.$loading({ fullscreen: true }) try { - const res = await getDoctorShortcutKey({ imageToolType: 0 }) + const res = await getDoctorShortcutKey({ imageToolType: 1 }) res.Result.map(item => { this.hotKeyList.push({ id: item.Id, altKey: item.AltKey, ctrlKey: item.CtrlKey, shiftKey: item.ShiftKey, metaKey: item.MetaKey, key: item.Keyboardkey, code: item.Code, text: item.Text, shortcutKeyEnum: item.ShortcutKeyEnum }) }) diff --git a/src/views/trials/trials-panel/reading/dicoms/components/Hotkeys.vue b/src/views/trials/trials-panel/reading/dicoms/components/Hotkeys.vue index 1f1cdb63..89e5f2e5 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/Hotkeys.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/Hotkeys.vue @@ -60,7 +60,7 @@ export default { this.loading = true this.hotKeyList = [] try { - const res = await getDoctorShortcutKey({ imageToolType: this.readingTool }) + const res = await getDoctorShortcutKey({ imageToolType: this.readingTool === 1 ? 2 : 1 }) if (res.IsSuccess) { res.Result.map(item => { this.hotKeyList.push({ id: item.Id, keys: { controlKey: { altKey: item.AltKey, ctrlKey: item.CtrlKey, shiftKey: item.ShiftKey, metaKey: item.MetaKey, key: item.Keyboardkey, code: item.Code }, text: item.Text }, label: item.ShortcutKeyEnum }) diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue index 1f635265..507bc05e 100644 --- a/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/customize/CustomizeDicomViewer.vue @@ -924,7 +924,7 @@ export default { async getHotKeys() { // const loading = this.$loading({ fullscreen: true }) try { - let res = await getDoctorShortcutKey({ imageToolType: 0 }) + let res = await getDoctorShortcutKey({ imageToolType: 1 }) res.Result.map((item) => { this.hotKeyList.push({ id: item.Id, diff --git a/src/views/trials/trials-panel/reading/dicoms/customize/Hotkeys.vue b/src/views/trials/trials-panel/reading/dicoms/customize/Hotkeys.vue index 6b98939a..839805a9 100644 --- a/src/views/trials/trials-panel/reading/dicoms/customize/Hotkeys.vue +++ b/src/views/trials/trials-panel/reading/dicoms/customize/Hotkeys.vue @@ -61,7 +61,7 @@ export default { this.loading = true this.hotKeyList = [] try{ - let res = await getDoctorShortcutKey({ imageToolType: this.readingTool }) + let res = await getDoctorShortcutKey({ imageToolType: this.readingTool === 1 ? 2 : 1 }) res.Result.map(item => { this.hotKeyList.push({ id: item.Id, keys: { controlKey: { altKey: item.AltKey, ctrlKey: item.CtrlKey, shiftKey: item.ShiftKey, metaKey: item.MetaKey, key: item.Keyboardkey, code: item.Code }, text: item.Text }, label: item.ShortcutKeyEnum }) }) 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 eb315fd2..8bfe8c25 100644 --- a/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue +++ b/src/views/trials/trials-panel/reading/dicoms3D/components/ReadPage.vue @@ -3124,7 +3124,7 @@ export default { // 获取热键配置信息 async getHotKeys() { try { - const res = await getDoctorShortcutKey({ imageToolType: 0 }) + const res = await getDoctorShortcutKey({ imageToolType: 1 }) res.Result.map(item => { this.hotKeyList.push({ id: item.Id, altKey: item.AltKey, ctrlKey: item.CtrlKey, shiftKey: item.ShiftKey, metaKey: item.MetaKey, key: item.Keyboardkey, code: item.Code, text: item.Text, shortcutKeyEnum: item.ShortcutKeyEnum }) }) diff --git a/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue b/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue index 1d237434..d867d4ee 100644 --- a/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue +++ b/src/views/trials/trials-panel/reading/visit-review/components/FileViewer.vue @@ -129,7 +129,7 @@