feat: 完成员工排班模块并统一门店抽屉底部操作样式
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user