办公V3
This commit is contained in:
49
klp-ui/src/api/hrm/reimburse.js
Normal file
49
klp-ui/src/api/hrm/reimburse.js
Normal file
@@ -0,0 +1,49 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 日常报销单
|
||||
export function listReimburseReq(query) {
|
||||
return request({
|
||||
url: '/hrm/reimburse/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
export function getReimburseReq(bizId) {
|
||||
return request({
|
||||
url: `/hrm/reimburse/${bizId}`,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
export function addReimburseReq(data) {
|
||||
return request({
|
||||
url: '/hrm/reimburse',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function editReimburseReq(data) {
|
||||
return request({
|
||||
url: '/hrm/reimburse',
|
||||
method: 'put',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function delReimburseReq(bizIds) {
|
||||
return request({
|
||||
url: `/hrm/reimburse/${bizIds}`,
|
||||
method: 'delete'
|
||||
})
|
||||
}
|
||||
|
||||
export function allReimburseReq(query) {
|
||||
return request({
|
||||
url: '/hrm/reimburse/all',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user