From 3198eef4035a7809bb0369f1d0789d10109b8456 Mon Sep 17 00:00:00 2001 From: zhaoyun Date: Thu, 18 Jun 2026 23:50:02 +0800 Subject: [PATCH] =?UTF-8?q?fix(#770):=20zhaoyun=20(=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E5=90=88=E5=85=A5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/surgery/surgeryApplication.vue | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/healthlink-his-ui/src/views/doctorstation/components/surgery/surgeryApplication.vue b/healthlink-his-ui/src/views/doctorstation/components/surgery/surgeryApplication.vue index 1512adfa5..15887323e 100755 --- a/healthlink-his-ui/src/views/doctorstation/components/surgery/surgeryApplication.vue +++ b/healthlink-his-ui/src/views/doctorstation/components/surgery/surgeryApplication.vue @@ -1813,14 +1813,24 @@ defineExpose({ padding: 20px 0; } -/* Bug #770: 对话框 body 滚动区域限制,防止 footer 按钮遮盖表单字段 */ +/* Bug #770: Dialog flex 布局 — 防止 footer 按钮遮盖表单字段 */ +:deep(.el-dialog) { + display: flex; + flex-direction: column; + max-height: 90vh; + margin-top: 5vh; +} + +:deep(.el-dialog__header) { + flex-shrink: 0; +} + :deep(.el-dialog__body) { - max-height: calc(100vh - 220px); + flex: 1; overflow-y: auto; padding-bottom: 10px; } -/* Bug #770: 确保 footer 固定在对话框底部,不随内容滚动 */ :deep(.el-dialog__footer) { flex-shrink: 0; border-top: 1px solid #ebeef5;