This commit is contained in:
BianLzhaoMin 2026-01-15 10:16:23 +08:00
parent 7fa39a3ea6
commit ba9949b727
7 changed files with 18 additions and 10 deletions

View File

@ -193,3 +193,12 @@ aside {
justify-content: flex-end;
border-top: 1px solid #f0f0f0;
}
.fixed-bottom {
position: fixed;
bottom: 15px;
right: 15px;
width: 100%;
background-color: #fff;
z-index: 1000;
}

View File

@ -150,6 +150,7 @@ onMounted(() => {
<style scoped lang="scss">
.monthly-add-form {
padding: 0;
padding-bottom: 30px;
.form-section {
margin-bottom: 20px;

View File

@ -68,7 +68,7 @@
<!-- 人员选择弹窗 -->
<ComDialog :dialog-config="managerDialogConfig" @closeDialogOuter="onCloseDialogOuter">
<template #outerContent>
<el-row :gutter="20">
<el-row :gutter="20" style="padding-bottom: 30px">
<el-col :span="16">
<div class="person-search-bar">
<el-input
@ -150,7 +150,7 @@
</div>
</el-col>
</el-row>
<el-row class="common-btn-row" justify="end" style="margin-top: 16px">
<el-row class="common-btn-row fixed-bottom">
<ComButton plain type="info" @click="managerDialogConfig.outerVisible = false">
取消
</ComButton>

View File

@ -68,7 +68,7 @@
<ComDialog :dialog-config="dialogConfig" @closeDialogOuter="onCloseDialogOuter">
<template #outerContent>
<AddForm ref="addFormRef" />
<el-row class="common-btn-row">
<el-row class="common-btn-row fixed-bottom">
<ComButton plain type="info" @click="onHandleCancel">取消</ComButton>
<ComButton @click="onHandleSave">保存</ComButton>
</el-row>

View File

@ -79,10 +79,7 @@ import dayjs from 'dayjs'
const { proxy } = getCurrentInstance()
const formRef = ref(null)
const loading = ref(false)
const tableData = ref([
{ name: '项目1', workTask: '工作任务1' },
{ name: '项目2', workTask: '工作任务2' },
])
const tableData = ref([])
const selectedRows = ref([])
const formData = ref({
@ -143,6 +140,7 @@ onMounted(() => {
<style scoped lang="scss">
.monthly-add-form {
padding: 0;
padding-bottom: 30px;
.form-section {
margin-bottom: 20px;

View File

@ -484,7 +484,7 @@
<!-- 人员选择弹窗使用封装的 ComDialog -->
<ComDialog :dialog-config="managerDialogConfig" @closeDialogOuter="onCloseDialogOuter">
<template #outerContent>
<el-row :gutter="20">
<el-row :gutter="20" style="padding-bottom: 30px">
<el-col :span="16">
<div class="person-search-bar">
<el-input
@ -566,7 +566,7 @@
</div>
</el-col>
</el-row>
<el-row class="common-btn-row" justify="end" style="margin-top: 16px">
<el-row class="common-btn-row fixed-bottom">
<ComButton plain type="info" @click="managerDialog.visible = false">
取消
</ComButton>

View File

@ -59,7 +59,7 @@
<ComDialog :dialog-config="dialogConfig" @closeDialogOuter="onCloseDialogOuter">
<template #outerContent>
<AddForm ref="addFormRef" />
<el-row class="common-btn-row">
<el-row class="common-btn-row fixed-bottom">
<ComButton plain type="info" @click="onHandleCancel">取消</ComButton>
<ComButton @click="onHandleSave">保存</ComButton>
</el-row>