2024-10-12 00:53:10 +00:00
|
|
|
import {
|
|
|
|
https
|
|
|
|
} from '@/utils/http.js';
|
|
|
|
|
|
|
|
export function qjAddApi(config) { // 发起请假流程申请
|
|
|
|
return https({
|
|
|
|
url: '/CxcQxj/cxcQxj/add',
|
|
|
|
method: 'post',
|
|
|
|
data: config
|
|
|
|
})
|
|
|
|
}
|
|
|
|
|
|
|
|
export function queryZwmcAndExaApi(username) { // 根据username获取职位名称和审批领导列表
|
|
|
|
return https({
|
|
|
|
url: '/CxcQxj/cxcQxj/queryZwmcByUsername',
|
|
|
|
method: 'get',
|
|
|
|
data: {
|
|
|
|
username
|
|
|
|
}
|
|
|
|
})
|
2024-10-14 00:51:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export function qjQueryByIdApi(config) { // 通过id查询请假数据 流程用
|
|
|
|
return https({
|
|
|
|
url: '/CxcQxj/cxcQxj/queryById',
|
|
|
|
method: 'get',
|
|
|
|
data: config
|
|
|
|
})
|
2025-02-07 02:26:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
export function queryHisDateApi(username) { // 根据username获取最新请假结束日期
|
|
|
|
return https({
|
|
|
|
url: '/CxcQxj/cxcQxj/queryHisDate',
|
|
|
|
method: 'get',
|
|
|
|
data: {
|
|
|
|
username
|
|
|
|
}
|
|
|
|
})
|
2024-10-12 00:53:10 +00:00
|
|
|
}
|