You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
816 B

1 month ago
  1. import { createAPI } from '@/utils/httpRequest.js'
  2. //分页列表
  3. export const searchTransitPage = data => createAPI('/portTransit/page', 'POST', data)
  4. // 查询列表(根据港口编码)
  5. export function getTransitList(data) { return request({ url: '/portTransit/list', method: 'post', data }) }
  6. // 新增
  7. export function createTransit(data) { return request({ url: '/portTransit/save', method: 'post', data }) }
  8. // 更新
  9. export function updateTransit(data) { return request({ url: '/portTransit/save', method: 'post', data }) }
  10. // 删除
  11. export function deleteTransit(data) { return request({ url: '/portTransit/delete', method: 'delete', data }) }
  12. // 查询运输选项列表
  13. export function searchTransportOptions(data) { return request({ url: '/portTransit/calculateArrivalTime', method: 'post', data }) }