chore: 请假申请布局

This commit is contained in:
dap 2024-12-17 19:16:55 +08:00
parent 3319310c11
commit 540108ac8d
2 changed files with 3 additions and 0 deletions

View File

@ -131,6 +131,7 @@ export const modalSchema: (isEdit: boolean) => VbenFormSchema[] = (
getPopupContainer,
},
rules: 'selectRequired',
formItemClass: 'col-span-1',
},
{
label: '开始时间',
@ -152,6 +153,7 @@ export const modalSchema: (isEdit: boolean) => VbenFormSchema[] = (
};
},
rules: 'required',
formItemClass: 'col-span-1',
},
{
label: '请假天数',

View File

@ -134,6 +134,7 @@ async function handleStartWorkFlow() {
}
function handleComplete() {
formApi.resetForm();
router.push('/demo/leave');
}
</script>