import request from '@/utils/request' // 查询码头-泊位分页列表 export function listBerth(query) { return request({ url: '/dp/dpBerth/pageList', method: 'get', params: query }) } // 查询码头-泊位列表 export function beList(whId) { return request({ url: '/dp/dpBerth/list?whId='+whId, method: 'get' }) } // 查询码头-泊位详细 export function getBerth(beId) { return request({ url: '/dp/dpBerth/' + beId, method: 'get' }) } // 新增码头-泊位 export function addBerth(data) { return request({ url: '/dp/dpBerth', method: 'post', data: data }) } // 修改码头-泊位 export function updateBerth(data) { return request({ url: '/dp/dpBerth', method: 'put', data: data }) } // 删除码头-泊位 export function delBerth(beId) { return request({ url: '/dp/dpBerth/' + beId, method: 'delete' }) }