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;