feat: 添加请假申请功能

This commit is contained in:
AN
2025-05-29 10:34:00 +08:00
parent b265f590e4
commit d7e0516cfb
15 changed files with 531 additions and 4 deletions

View File

@ -1,5 +1,15 @@
import { transformRecordToOption } from '@/utils/common';
/** leave type */
export const leaveTypeRecord: Record<Api.Workflow.LeaveType, string> = {
'1': '事假',
'2': '调休',
'3': '病假',
'4': '婚假'
};
export const leaveTypeOptions = transformRecordToOption(leaveTypeRecord);
/** workflow publish status */
export const workflowPublishStatusRecord: Record<Api.Workflow.WorkflowPublishStatus, string> = {
'0': '未发布',