fix: keep schedule form within the dialog body

This commit is contained in:
2026-10-03 11:42:26 +08:00
parent 8bae21dea2
commit 863ad5249c
@@ -122,7 +122,7 @@ onBeforeUnmount(() => { generation++ })
<h3>修改历史</h3>
<el-table :data="schedule?.histories || []" empty-text="暂无修改历史">
<el-table-column label="修改时间" min-width="170"><template #default="{ row }">{{ time(row.createdAt) }}</template></el-table-column>
<el-table-column prop="operatorName" label="修改人" width="100" />
<el-table-column prop="operatorName" label="修改人" width="125" />
<el-table-column prop="reason" label="原因" min-width="150" />
<el-table-column label="修改前" min-width="240"><template #default="{ row }">{{ snapshot(row.beforeSnapshot) }}</template></el-table-column>
<el-table-column label="修改后" min-width="240"><template #default="{ row }">{{ snapshot(row.afterSnapshot) }}</template></el-table-column>
@@ -132,6 +132,6 @@ onBeforeUnmount(() => { generation++ })
</template>
<style scoped>
.schedule-actions { display:flex; align-items:center; gap:12px; margin:8px 0; }
.schedule-body { max-height:65vh; overflow:auto; }
.schedule-body { max-height:65vh; overflow:auto; padding-inline:8px; }
.schedule-body :deep(.el-date-editor) { width:100%; }
</style>