import request from '@/utils/request'
|
|
// 数据分页
|
export function getJobRegistPage(query) {
|
return request({
|
url: '/work/registration/list/page',
|
method: 'get',
|
params: query
|
})
|
}
|
|
// 获取数据
|
export function getJobRegist(id) {
|
return request({
|
url: '/work/registration/get/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增数据
|
export function addJobRegist(data) {
|
return request({
|
url: '/work/registration/add',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改数据
|
export function editJobRegist(data) {
|
return request({
|
url: '/work/registration/mod',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 删除数据
|
export function delJobRegist(ids) {
|
return request({
|
url: '/work/registration/del/batch/' + ids,
|
method: 'delete'
|
})
|
}
|
|
// 上传
|
export function uploadFile(data) {
|
return request({
|
url: '/attachment/upload/detail',
|
method: 'post',
|
data: data
|
})
|
}
|