123456789101112131415161718192021222324252627282930313233343536373839 |
- import $http from '../index'
- /**
- * 请假
- */
- // 我的请假列表
- export const Leave_User_list = (params: any) => $http.post('api/ams/Leave/User_list', params)
- // 请假类型
- export const LeaveType_List = (params: any) => $http.post('api/ams/LeaveType/List', params)
- // 请假审批
- export const Leave_List = (params: any) => $http.post('api/ams/Leave/List', params)
- // 请假申请
- export const Leave_Add = (params: any) => $http.post('api/ams/Leave/Add', params)
- // 扣除-财务权限
- export const Leave_Deduct = (params: any) => $http.post('api/ams/Leave/Deduct', params)
- // 编辑
- export const Leave_Edit = (params: any) => $http.post('api/ams/Leave/Edit', params)
- // 审批
- export const Leave_Approval = (params: any) => $http.post('api/ams/Leave/Approval', params)
- // 删除
- export const Leave_Del = (params: any) => $http.post('api/ams/Leave/Del', params)
- // 请假剩余时长
- export const Leave_DaysOff = (params: any) => $http.post('/api/ams/Leave/DaysOff', params)
- /**
- * 加班
- */
- // 审批列表
- export const Overtime_List = (params: any) => $http.post('api/ams/Overtime/List', params)
- // 我的加班列表
- export const Overtime_User_list = (params: any) => $http.post('/api/ams/Overtime/User_list', params)
- // 加班申请
- export const Overtime_Add = (params: any) => $http.post('api/ams/Overtime/Add', params)
- // 编辑
- export const Overtime_Edit = (params: any) => $http.post('api/ams/Overtime/Edit', params)
- // 审批
- export const Overtime_Approval = (params: any) => $http.post('api/ams/Overtime/Approval', params)
- // 删除
- export const Overtime_Del = (params: any) => $http.post('api/ams/Overtime/Del', params)
- // 统计
- export const Overtime_Stat = (params: any) => $http.post('/api/ams/Overtime/Stat', params)
|