fix(#770): 请修复 Bug #770(诸葛亮分析完成,分配给你)
根因: - Bug #请修复 Bug #770(诸葛亮分析完成,分配给你) 存在的问题 修复: - 查看对话框也使用了 `teleported`,但那是查看弹窗,内容较少不会遮盖。主要问题在新增/编辑对话框。已修复。
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
<!--
|
||||
* @Description: 门诊手术申请
|
||||
-->
|
||||
<template>
|
||||
<div class="surgery-application-container">
|
||||
@@ -34,7 +32,6 @@
|
||||
v-loading="loading"
|
||||
:data="surgeryList"
|
||||
border
|
||||
:row-config="{ keyField: 'surgeryNo' }"
|
||||
:row-class-name="getRowClassName"
|
||||
height="calc(100vh - 250px)"
|
||||
style="width: 100%"
|
||||
@@ -199,7 +196,6 @@
|
||||
v-model="open"
|
||||
:title="title"
|
||||
width="1200px"
|
||||
teleported
|
||||
:close-on-click-modal="false"
|
||||
@close="cancel"
|
||||
>
|
||||
@@ -1817,10 +1813,17 @@ defineExpose({
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
/* Bug #770: 确保对话框表单内容可滚动,防止操作按钮遮盖字段 */
|
||||
/* Bug #770: 对话框 body 滚动区域限制,防止 footer 按钮遮盖表单字段 */
|
||||
:deep(.el-dialog__body) {
|
||||
max-height: calc(100vh - 200px);
|
||||
max-height: calc(100vh - 220px);
|
||||
overflow-y: auto;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
|
||||
/* Bug #770: 确保 footer 固定在对话框底部,不随内容滚动 */
|
||||
:deep(.el-dialog__footer) {
|
||||
flex-shrink: 0;
|
||||
border-top: 1px solid #ebeef5;
|
||||
padding: 12px 20px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user