destinationFlight.js 1.12 KB
import request from '@/utils/request'

//目的航班规则接口

// 查询航班列表
export function findFlightNo(query) {
  return request({
    url: '/destinationFlight/findFlightNo',
    method: 'post',
    data: query
  })
}

// id查询目的航班列表
export function findByFlightId(id) {
  const data = {
    id
  }
  return request({
    url: '/destinationFlight/findByFlightId',
    method: 'post',
    data: data
  })
}

//申报类别
export function cargoTypeData(){
  return request({
    url: '/destinationFlight/cargoTypeData',
    method: 'post'
  })
}

//货物类型
export function cargoStatusData(){
  return request({
    url: '/destinationFlight/cargoStatusData',
    method: 'post'
  })
}

//ServiceCode
export function serviceCodeData(){
  return request({
    url: '/destinationFlight/serviceCodeData',
    method: 'post'
  })
}

//SubCategory
export function subCategoryData(){
  return request({
    url: '/destinationFlight/subCategoryData',
    method: 'post'
  })
}

//获取全部字典
export function allDictData(){
  return request({
    url: '/destinationFlight/allDictData',
    method: 'post'
  })
}