import request from '../../utils/request'
|
|
// 查询
|
export function fetchList (data) {
|
return request.post('/business/salaryParam/page', data, {
|
trim: true
|
})
|
}
|
|
// 导出Excel
|
export function exportExcel (data) {
|
return request.post('/business/salaryParam/exportExcel', data, {
|
trim: true,
|
download: true
|
})
|
}
|
|
// 创建
|
export function create (data) {
|
return request.post('/business/salaryParam/create', data)
|
}
|
|
// 修改
|
export function updateById (data) {
|
return request.post('/business/salaryParam/updateById', data)
|
}
|
|
// 删除
|
export function deleteById (id) {
|
return request.get(`/business/salaryParam/delete/${id}`)
|
}
|
|
// 批量删除
|
export function deleteByIdInBatch (ids) {
|
return request.get('/business/salaryParam/delete/batch', {
|
params: {
|
ids
|
}
|
})
|
}
|
|
|
/**
|
// 修改
|
export function updateById (data) {
|
return http.post('/ext/workorderExt/updateById', data)
|
}
|
|
// 删除
|
export function deleteById (id) {
|
return http.get(`/ext/workorderExt/${id}`)
|
}
|
|
export function outScanAppliances(params) {
|
return http.get('/ext/workorderExt/outScanAppliances', { params })
|
}
|
*/
|