123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131 |
- // 查询航线详情列表
- import request from '@/utils/request'
- export function listCorps(query) {
- return request({
- url: '/shipping/cntrno/selectTcntrnoMessage',
- method: 'get',
- params: query
- })
- }
- // 查询港口详情详细
- export function getInforma(fId) {
- return request({
- url: '/shipping/cntrno/' + fId,
- method: 'get'
- })
- }
- // 新增
- export function addboxinformation(data) {
- return request({
- url: '/shipping/cntrno',
- method: 'post',
- data: data
- })
- }
- // 修改航线详情
- export function updateCorps(data) {
- return request({
- url: '/shipping/address/edit',
- method: 'put',
- data: data
- })
- }
- // 状态修改
- export function changeCorpsStatus(fId, fStatus) {
- const data = {
- fId,
- fStatus
- }
- return request({
- url: '/shipping/route',
- method: 'put',
- data: data
- })
- }
- // 删除客户详情
- export function delCorps(fIds) {
- return request({
- url: '/shipping/cntrno/' + fIds,
- method: 'delete'
- })
- }
- // 导出客户详情
- export function exportCorps(query) {
- return request({
- url: '/shipping/cntrno/export',
- method: 'get',
- params: query
- })
- }
- //查询港口名称
- export function getType(query) {
- return request({
- url: '/shipping/cntr/selectRcntrName',
- method: 'get',
- params: query
- })
- }
- //查询地点
- export function getaddress(query) {
- return request({
- url: '/shipping/address/selectadress',
- method: 'get',
- params: query
- })
- }
- //导入
- export function getImport(data) {
- return request({
- url: '/shipping/cntrno/importDataTcntrno',
- method: 'post',
- data: {
- }
- })
- }
- //下载模板
- export function getDown(query) {
- return request({
- url: '/shipping/cntrno/importTCntrnoTemplate',
- method: 'get',
- params: query
- })
- }
- //提交箱信息
- export function batch(query) {
- return request({
- url: '/shipping/cntrno/batch',
- method: 'post',
- data: query
- })
- }
- //导入箱信息
- export function leadingIn(data) {
- return request({
- url: '/shipping/cntrno/updateAirForceStation',
- method: 'post',
- data: data
- })
- }
- //下载箱动态模板
- export function downloadBox() {
- return request({
- url: '/shipping/cntrno/importTCnTrNoAirForce',
- method: 'get'
- })
- }
- // 退租起租
- export function updateHire(data) {
- return request({
- url: '/shipping/cntrno/updateHire',
- method: 'post',
- data: data
- })
- }
|