From cd7d261adf832940bdcef15dcd4a81966b828d62 Mon Sep 17 00:00:00 2001 From: caiyiling <1321909229@qq.com> Date: Thu, 26 Sep 2024 16:54:55 +0800 Subject: [PATCH] =?UTF-8?q?=E9=98=85=E7=89=87=E6=A0=B7=E5=BC=8F=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../trials-panel/reading/dicoms/components/DicomViewer.vue | 2 +- .../reading/dicoms/components/IVUS/QuestionList.vue | 3 ++- .../reading/dicoms/components/OCT/QuestionList.vue | 3 ++- 3 files changed, 5 insertions(+), 3 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 d77ffa77..f6ac386f 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/DicomViewer.vue @@ -758,7 +758,7 @@ >
{{ $t('common:dialogTitle:sign') }} - {{ `(${$t('common:label:sign')}${ currentUser })` }} + {{ `(${$t('common:label:sign')}${ currentUser })` }}
diff --git a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue index 54fbeb40..f1a10881 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/IVUS/QuestionList.vue @@ -721,7 +721,8 @@ export default { const span = document.createElement('span') span.innerText = column.label document.body.appendChild(span) - column.minWidth = span.getBoundingClientRect().width + 20 + const w = span.getBoundingClientRect().width + column.minWidth = w > 65 ? w + 10 : w + 30 document.body.removeChild(span) return h('span', column.label) } diff --git a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue index 4f61f025..22ff16b6 100644 --- a/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue +++ b/src/views/trials/trials-panel/reading/dicoms/components/OCT/QuestionList.vue @@ -732,7 +732,8 @@ export default { const span = document.createElement('span') span.innerText = column.label document.body.appendChild(span) - column.minWidth = span.getBoundingClientRect().width + 30 + const w = span.getBoundingClientRect().width + column.minWidth = w > 65 ? w + 10 : w + 30 document.body.removeChild(span) return h('span', column.label) }