初始化
This commit is contained in:
44
src/api/stureg/check.js
Normal file
44
src/api/stureg/check.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 查询报到核验列表
|
||||
export function listCheck(query) {
|
||||
return request({
|
||||
url: '/stureg/check/list',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 查询报到核验详细
|
||||
export function getCheck(id) {
|
||||
return request({
|
||||
url: '/stureg/check/' + id,
|
||||
method: 'get'
|
||||
})
|
||||
}
|
||||
|
||||
// 新增报到核验
|
||||
export function addCheck(data) {
|
||||
return request({
|
||||
url: '/stureg/check/add',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 修改报到核验
|
||||
export function updateCheck(data) {
|
||||
return request({
|
||||
url: '/stureg/check/update',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
||||
// 删除报到核验
|
||||
export function delCheck(id) {
|
||||
return request({
|
||||
url: '/stureg/check/' + id,
|
||||
method: 'post'
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user