2024-01-10 05:16:16 +00:00
|
|
|
import request from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
// 查询目的地列表
|
|
|
|
|
export function listEmisDestination(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisDestination/list',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-07 04:53:25 +00:00
|
|
|
export function listSimpleEmisDestination(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisDestination/listSimple',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 查询目的地站点详细
|
|
|
|
|
export function getDestSite(query) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisDestination/getDestSite',
|
|
|
|
|
method: 'get',
|
|
|
|
|
params: query
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
2024-01-10 05:16:16 +00:00
|
|
|
// 查询目的地详细
|
|
|
|
|
export function getEmisDestination(id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisDestination/' + id,
|
|
|
|
|
method: 'get'
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 新增目的地
|
|
|
|
|
export function addEmisDestination(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisDestination',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 修改目的地
|
|
|
|
|
export function updateEmisDestination(data) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisDestination',
|
|
|
|
|
method: 'put',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 删除目的地
|
|
|
|
|
export function delEmisDestination(id) {
|
|
|
|
|
return request({
|
|
|
|
|
url: '/emis/emisDestination/' + id,
|
|
|
|
|
method: 'delete'
|
|
|
|
|
})
|
|
|
|
|
}
|