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