45 lines
853 B
JavaScript
45 lines
853 B
JavaScript
|
import request from '@/utils/request'
|
||
|
|
||
|
// 查询业务磅点列表
|
||
|
export function listBuspound(query) {
|
||
|
return request({
|
||
|
url: '/measurement/basedata/buspound/list',
|
||
|
method: 'get',
|
||
|
params: query
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 查询业务磅点详细
|
||
|
export function getBuspound(id) {
|
||
|
return request({
|
||
|
url: '/measurement/basedata/buspound/' + id,
|
||
|
method: 'get'
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 新增业务磅点
|
||
|
export function addBuspound(data) {
|
||
|
return request({
|
||
|
url: '/measurement/basedata/buspound',
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 修改业务磅点
|
||
|
export function updateBuspound(data) {
|
||
|
return request({
|
||
|
url: '/measurement/basedata/buspound',
|
||
|
method: 'put',
|
||
|
data: data
|
||
|
})
|
||
|
}
|
||
|
|
||
|
// 删除业务磅点
|
||
|
export function delBuspound(id) {
|
||
|
return request({
|
||
|
url: '/measurement/basedata/buspound/' + id,
|
||
|
method: 'delete'
|
||
|
})
|
||
|
}
|