gz-att-web/src/api/process/wechatLeaveReporting.js

45 lines
876 B
JavaScript
Raw Normal View History

2024-12-03 17:48:23 +08:00
import request from '@/utils/request'
// 查询列表
export function listLeaveReporting(query) {
return request({
url: '/system/wechatLeaveReporting/list',
method: 'get',
params: query
})
}
// 查询详细
export function getLeaveReporting(id) {
return request({
url: '/system/wechatLeaveReporting/' + id,
method: 'get'
})
}
// 导出
export function exportWechatLeaveReporting(query) {
return request({
url: '/system/export/exportWechatLeaveReporting',
method: 'get',
responseType: 'blob',
params: query
})
}
// 查询职位
export function getPostName(id) {
return request({
url: '/system/leaveReporting/getPostName/' + id,
method: 'get'
})
}
// 查询职位
export function getUserList(id) {
return request({
url: '/system/leaveReporting/getUserList/' + id,
method: 'get'
})
}