| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- // 查询航线详情列表
- import request from '@/utils/request'
- export function listCorps(tCntrno) {
- return request({
- url: '/shipping/cntrno/updateTCntrno',
- method: 'post',
- data: {
- tCntrno:tCntrno
- }
- })
- }
- // 查询港口详情详细
- export function getCorps(fId) {
- return request({
- url: '/shipping/address/' + fId,
- method: 'get'
- })
- }
- // 新增传值
- export function addmodify(query) {
- return request({
- url: '/shipping/cntrno/getTCntrnoDistribute',
- method: 'get',
- params: query
- })
- }
- // 修改航线详情
- 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(fId) {
- return request({
- url: '/shipping/route/' + fId,
- method: 'delete'
- })
- }
- // 导出客户详情
- export function exportCorps(query) {
- return request({
- url: '/shipping/route/export',
- method: 'get',
- params: query
- })
- }
- //查询港口名称
- export function getyard(query) {
- return request({
- url: '/shipping/address/selectStorageName',
- method: 'get',
- params: query
- })
- }
- //查询地点
- export function getaddress(query) {
- return request({
- url: '/shipping/address/selectadress',
- method: 'get',
- params: query
- })
- }
|