feat: 添加请假申请详情接口,优化请假操作表单样式

This commit is contained in:
AN
2025-05-30 17:48:43 +08:00
parent 3629c7a9dd
commit ab1d3a237e
2 changed files with 15 additions and 2 deletions

View File

@ -8,6 +8,13 @@ export function fetchGetLeaveList(params?: Api.Workflow.LeaveSearchParams) {
params
});
}
/** 获取请假申请详情 */
export function fetchGetLeaveDetail(id: CommonType.IdType) {
return request<Api.Workflow.LeaveOperateParams>({
url: `/workflow/leave/${id}`,
method: 'get'
});
}
/** 新增请假申请 */
export function fetchCreateLeave(data: Api.Workflow.LeaveOperateParams) {