feat: 完成员工排班模块并统一门店抽屉底部操作样式

This commit is contained in:
2026-02-16 22:43:45 +08:00
parent aebd0c285b
commit becef7e6cb
43 changed files with 5127 additions and 53 deletions

View File

@@ -154,7 +154,9 @@ function toNumber(value: null | number | string, fallback = 0) {
<template #footer>
<div class="drawer-footer">
<Button @click="emit('update:open', false)">取消</Button>
<Button type="primary" @click="emit('submit')">确认</Button>
<Button type="primary" @click="emit('submit')">
{{ props.form.id ? '保存修改' : '新增并保存' }}
</Button>
</div>
</template>
</Drawer>

View File

@@ -153,7 +153,9 @@ function readInputValue(event: Event) {
<template #footer>
<div class="drawer-footer">
<Button @click="emit('update:open', false)">取消</Button>
<Button type="primary" @click="emit('submit')">确认</Button>
<Button type="primary" @click="emit('submit')">
{{ props.form.id ? '保存修改' : '新增并保存' }}
</Button>
</div>
</template>
</Drawer>

View File

@@ -80,6 +80,14 @@
.drawer-footer {
display: flex;
gap: 10px;
gap: 12px;
justify-content: flex-end;
}
.drawer-footer .ant-btn {
min-width: 96px;
height: 40px;
padding: 0 24px;
font-size: 15px;
border-radius: 10px;
}