import request from '@/utils/request'
|
|
// 查询过站采集列表
|
export function listStationCollection(query) {
|
return request({
|
url: '/da/stationCollection/list',
|
method: 'get',
|
params: query
|
})
|
}
|
export function printList(query) {
|
return request({
|
url: '/da/stationCollection/printList',
|
method: 'get',
|
params: query
|
})
|
}
|
printList
|
// 查询过站采集详细
|
export function getStationCollection(id) {
|
return request({
|
url: '/da/stationCollection/' + id,
|
method: 'get'
|
})
|
}
|
|
// 新增过站采集
|
export function addStationCollection(data) {
|
return request({
|
url: '/da/stationCollection',
|
method: 'post',
|
data: data
|
})
|
}
|
|
// 修改过站采集
|
export function updateStationCollection(data) {
|
return request({
|
url: '/da/stationCollection',
|
method: 'put',
|
data: data
|
})
|
}
|
|
// 删除过站采集
|
export function delStationCollection(id) {
|
return request({
|
url: '/da/stationCollection/' + id,
|
method: 'delete'
|
})
|
}
|
|
export function crave(param) {
|
return request({
|
url: '/da/stationCollection/crave',
|
method: 'get',
|
params: param
|
})
|
}
|
|
export function reCrave(param) {
|
return request({
|
url: '/da/stationCollection/reCrave',
|
method: 'get',
|
params: param
|
})
|
}
|