transport.js
4.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
import http from './http.js'
let baseUrl = 'air-server-transport/transport/route'
let baseUrlBill = 'air-server-transport/transport/bill'
let baseUrlFlight = 'air-server-transport/transport/flight'
let baseUrlFlightPlan = 'air-server-transport/transport/flightplan'
let baseUrlAircraft = 'air-server-transport/transport/aircraft'
let baseUrlAirLineAircraft = 'air-server-transport/transport/airlineaircraft'
let baseUrlPrediction = 'air-server-transport/transport/prediction'
let baseUrlConfirm = 'air-server-transport/transport/confirm'
let baseUrlSchedule = 'air-server-transport/transport/schedule'
let baseUrlLongtimeplan = 'air-server-transport/transport/longtimeplan'
let baseUrlBillperson = 'air-server-transport/transport/billperson'
let baseUrlResultMsg = 'air-server-transport/transport/returnmsg'
//航线申报
//新增方法
export const addRoute = params => { return http.post(`${baseUrl}/addRoute`, params); };
//查询列表
export const selectRoute=params=>{return http.get(`${baseUrl}/selectRoute`, params);};
//删除方法
export const editRoute=params=>{return http.put(`${baseUrl}/editRoute`, params);};
//单据申报
//新增方法
export const addBill = params => { return http.post(`${baseUrlBill}/addBill`, params); };
//查询列表
export const selectBill=params=>{return http.get(`${baseUrlBill}/selectBill`, params);};
//删除方法
export const editBill=params=>{return http.put(`${baseUrlBill}/editBill`, params);};
//航班申报
//新增方法
export const addFlight = params => { return http.post(`${baseUrlFlight}/addFlight`, params); };
//查询列表
export const selectFlight=params=>{return http.get(`${baseUrlFlight}/selectFlight`, params);};
//删除方法
export const editFlight=params=>{return http.put(`${baseUrlFlight}/editFlight`, params);};
//航班当日计划申报
//新增方法
export const addFlightPlan = params => { return http.post(`${baseUrlFlightPlan}/addFlightPlan`, params); };
//查询列表
export const selectFlightPlan=params=>{return http.get(`${baseUrlFlightPlan}/selectFlightPlan`, params);};
//删除方法
export const editFlightPlan=params=>{return http.put(`${baseUrlFlightPlan}/editFlightPlan`, params);};
//通用航空器申报
//新增方法
export const addAircraft = params => { return http.post(`${baseUrlAircraft}/addAircraft`, params); };
//查询列表
export const selectAircraft=params=>{return http.get(`${baseUrlAircraft}/selectAircraft`, params);};
//删除方法
export const editAircraft=params=>{return http.put(`${baseUrlAircraft}/editAircraft`, params);};
//航线航空器申报
//新增方法
export const addAirLineAircraft = params => { return http.post(`${baseUrlAirLineAircraft}/addAirLineAircraft`, params); };
//删除方法
export const editAirLineAircraft=params=>{return http.put(`${baseUrlAirLineAircraft}/editAirLineAircraft`, params);};
//查询列表
export const selectAirLineAircraft=params=>{return http.get(`${baseUrlAirLineAircraft}/selectAirLineAircraft`, params);};
//进港预报申报prediction
//新增方法
export const addPrediction = params => { return http.post(`${baseUrlPrediction}/addPrediction`, params); };
//删除方法
export const editPrediction=params=>{return http.put(`${baseUrlPrediction}/editPrediction`, params);};
//查询列表
export const selectPrediction=params=>{return http.get(`${baseUrlPrediction}/selectPrediction`, params);};
//进港确报申报confirm
//新增方法
export const addConfirm = params => { return http.post(`${baseUrlConfirm}/addConfirm`, params); };
//删除方法
export const editConfirm=params=>{return http.put(`${baseUrlConfirm}/editConfirm`, params);};
//查询列表
export const selectConfirm=params=>{return http.get(`${baseUrlConfirm}/selectConfirm`, params);};
//进港航班配置
//新增方法
export const addSchedule = params => { return http.post(`${baseUrlSchedule}/addSchedule`, params); };
//删除方法
export const editSchedule=params=>{return http.put(`${baseUrlSchedule}/editSchedule`, params);};
//查询列表
export const selectSchedule=params=>{return http.get(`${baseUrlSchedule}/selectSchedule`, params);};
//查询长期计划查询列表
export const selectLongTimePlan=params=>{return http.get(`${baseUrlLongtimeplan}/selectLongTimePlan`, params);};
//机组人员
//新增方法
export const addBillPerson = params => { return http.post(`${baseUrlBillperson}/addBillPerson`, params); };
//删除方法
export const editBillPerson=params=>{return http.put(`${baseUrlBillperson}/editBillPerson`, params);};
//查询列表
export const selectBillPerson=params=>{return http.get(`${baseUrlBillperson}/selectBillPerson`, params);};
//查询回执列表
export const selectReturnMsg=params=>{return http.get(`${baseUrlResultMsg}/selectReturnMsg`, params);};