You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

18 lines
488 B

import { defHttp } from '@/utils/http/axios'
import { LeaveVO } from './types'
// 创建请假申请
export const createLeaveApi = (data: LeaveVO) => {
return defHttp.post({ url: '/bpm/oa/leave/create', data: data })
}
// 获得请假申请
export const getLeaveApi = (id: number) => {
return defHttp.get({ url: '/bpm/oa/leave/get?id=' + id })
}
// 获得请假申请分页
export const getLeavePageApi = (params) => {
return defHttp.get({ url: '/bpm/oa/leave/page', params })
}