审查视图

src/api/transport.js 8.6 KB
xudada authored
1 2
import http from './http.js'
let baseUrl = 'air-server-transport/transport/route'
xudada authored
3
let baseUrlBill = 'air-server-transport/transport/bill'
xudada authored
4
let baseUrlFlight = 'air-server-transport/transport/flight'
xudada authored
5 6 7
let baseUrlFlightPlan = 'air-server-transport/transport/flightplan'
let baseUrlAircraft = 'air-server-transport/transport/aircraft'
let baseUrlAirLineAircraft = 'air-server-transport/transport/airlineaircraft'
xudada authored
8 9
let baseUrlPrediction = 'air-server-transport/transport/prediction'
let baseUrlConfirm = 'air-server-transport/transport/confirm'
xudada authored
10
let baseUrlSchedule = 'air-server-transport/transport/schedule'
xudada authored
11
let baseUrlLongtimeplan = 'air-server-transport/transport/longtimeplan'
xudada authored
12
let baseUrlBillperson = 'air-server-transport/transport/billperson'
xudada authored
13
let baseUrlResultMsg = 'air-server-transport/transport/returnmsg'
小范 authored
14
let baseUrlDynamics = 'air-server-transport/transport/aircraftStaying'
15
let baseUrlCancel = 'air-server-transport/transport/prediction'
16 17
let baseUrlBillcountry = 'air-server-transport/transport/country'
let baseUrlBillcreden = 'air-server-transport/transport/creden'
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
//确报
let baseUrlExact = 'air-server-transport/exactPlanConfig'
//预报
let baseUrlConfig = 'air-server-transport/prePlanConfig'



// 确保申报配置
export const addExact = params => { return http.post(`${baseUrlExact}/addExact`,  params); };
export const ediExact = params => { return http.post(`${baseUrlExact}/ediExact`,  params); };
export const delExact = params => { return http.post(`${baseUrlExact}/delExact`,  params); };
export const selectExact = params => { return http.get(`${baseUrlExact}/selectExact`,  params); };
//预报申报配置
export const addPrePlanConfig = params => { return http.post(`${baseUrlConfig}/addPrePlanConfig`,  params); };
export const ediPrePlanConfig = params => { return http.post(`${baseUrlConfig}/ediPrePlanConfig`,  params); };
export const delPrePlanConfig = params => { return http.post(`${baseUrlConfig}/delPrePlanConfig`,  params); };
export const selectPrePlanConfig = params => { return http.get(`${baseUrlConfig}/selectPrePlanConfig`,  params); };
35 36

37
xudada authored
38
xudada authored
39
40 41 42 43 44



//进港预报  取消申报原因
export const cancelPrediction = params => { return http.post(`${baseUrlCancel}/cancelPrediction`,  params); };
小范 authored
45 46 47 48 49 50 51
//在港动态
//增删改
export const addAircraftStaying = params => { return http.post(`${baseUrlDynamics}/addAircraftStaying`,  params); };
//查
export const selectAircraftStaying = params => { return http.get(`${baseUrlDynamics}/selectAircraftStaying`,  params); };
//申报
export const sendAircraftStaying = params => { return http.post(`${baseUrlDynamics}/sendAircraftStaying`,  params); };
xudada authored
52
xudada authored
53 54 55

//航线申报
//新增方法
xudada authored
56
export const addRoute = params => { return http.post(`${baseUrl}/addRoute`,  params); };
xudada authored
57
//查询列表
xudada authored
58
export const selectRoute=params=>{return http.get(`${baseUrl}/selectRoute`,  params);};
xudada authored
59
//删除方法
小范 authored
60
export const editRoute=params=>{return http.post(`${baseUrl}/editRoute`,  params);};
xudada authored
61
xudada authored
62 63 64 65 66 67 68 69 70



//单据申报
//新增方法
export const addBill = params => { return http.post(`${baseUrlBill}/addBill`,  params); };
//查询列表
export const selectBill=params=>{return http.get(`${baseUrlBill}/selectBill`,  params);};
//删除方法
小范 authored
71
export const editBill=params=>{return http.post(`${baseUrlBill}/editBill`,  params);};
xudada authored
72 73 74 75 76


//航班申报
//新增方法
export const addFlight = params => { return http.post(`${baseUrlFlight}/addFlight`,  params); };
小范 authored
77 78 79
//保存并发送
export const sendFlight = params => { return http.post(`${baseUrlFlight}/sendFlight`,  params); };
xudada authored
80 81 82
//查询列表
export const selectFlight=params=>{return http.get(`${baseUrlFlight}/selectFlight`,  params);};
//删除方法
小范 authored
83
export const editFlight=params=>{return http.post(`${baseUrlFlight}/editFlight`,  params);};
xudada authored
84 85 86 87

//航班当日计划申报
//新增方法
export const addFlightPlan = params => { return http.post(`${baseUrlFlightPlan}/addFlightPlan`,  params); };
小范 authored
88 89 90
//保存并发送
export const sendFlightPlan = params => { return http.post(`${baseUrlFlightPlan}/sendFlightPlan`,  params); };
xudada authored
91 92 93
//查询列表
export const selectFlightPlan=params=>{return http.get(`${baseUrlFlightPlan}/selectFlightPlan`,  params);};
//删除方法
小范 authored
94
export const editFlightPlan=params=>{return http.post(`${baseUrlFlightPlan}/editFlightPlan`,  params);};
xudada authored
95 96 97 98

//通用航空器申报
//新增方法
export const addAircraft = params => { return http.post(`${baseUrlAircraft}/addAircraft`,  params); };
小范 authored
99 100
//保存并发送
export const sendAircraft = params => { return http.post(`${baseUrlAircraft}/sendAircraft`,  params); };
xudada authored
101 102 103
//查询列表
export const selectAircraft=params=>{return http.get(`${baseUrlAircraft}/selectAircraft`,  params);};
//删除方法
小范 authored
104
export const editAircraft=params=>{return http.post(`${baseUrlAircraft}/editAircraft`,  params);};
105 106 107 108
//变更申请
export const changeAircraft = params => { return http.post(`${baseUrlAircraft}/changeAircraft`,  params); };
//撤销申请
export const cancleAircraft = params => { return http.post(`${baseUrlAircraft}/cancleAircraft`,  params); };
xudada authored
109 110 111 112

//航线航空器申报
//新增方法
export const addAirLineAircraft = params => { return http.post(`${baseUrlAirLineAircraft}/addAirLineAircraft`,  params); };
小范 authored
113 114
//保存并发送
export const sendAirLineAircraft = params => { return http.post(`${baseUrlAirLineAircraft}/sendAirLineAircraft`,  params); };
xudada authored
115
//删除方法
小范 authored
116
export const editAirLineAircraft=params=>{return http.post(`${baseUrlAirLineAircraft}/editAirLineAircraft`,  params);};
xudada authored
117
//查询列表
xudada authored
118
export const selectAirLineAircraft=params=>{return http.get(`${baseUrlAirLineAircraft}/selectAirLineAircraft`,  params);};
119 120 121 122 123
//变更申请
export const changeAirLineAircraft = params => { return http.post(`${baseUrlAirLineAircraft}/changeAirLineAircraft`,  params); };
//撤销申请
export const cancleAirLineAircraft = params => { return http.post(`${baseUrlAirLineAircraft}/cancleAirLineAircraft`,  params); };
xudada authored
124 125 126 127 128


//进港预报申报prediction
//新增方法
export const addPrediction = params => { return http.post(`${baseUrlPrediction}/addPrediction`,  params); };
小范 authored
129 130 131
//保存并发送
export const sendPredictionIn = params => { return http.post(`${baseUrlPrediction}/sendPredictionIn`,  params); };
xudada authored
132
//删除方法
小范 authored
133
export const editPrediction=params=>{return http.post(`${baseUrlPrediction}/editPrediction`,  params);};
xudada authored
134
//查询列表
xudada authored
135
export const selectPrediction=params=>{return http.get(`${baseUrlPrediction}/selectPrediction`,  params);};
xudada authored
136 137

xudada authored
138
//进港确报申报confirm
xudada authored
139 140
//新增方法
export const addConfirm = params => { return http.post(`${baseUrlConfirm}/addConfirm`,  params); };
小范 authored
141
//保存并发送
小范 authored
142 143 144 145
export const sendConfirmIn = params => { return http.post(`${baseUrlConfirm}/sendConfirmIn`,  params); };
// 修改

xudada authored
146
//删除方法
小范 authored
147
export const editConfirm=params=>{return http.post(`${baseUrlConfirm}/editConfirm`,  params);};
xudada authored
148
//查询列表
xudada authored
149
export const selectConfirm=params=>{return http.get(`${baseUrlConfirm}/selectConfirm`,  params);};
xudada authored
150 151

小范 authored
152 153 154 155 156 157 158
//出港预报申报
//保存并发送
export const sendPredictionOut = params => { return http.post(`${baseUrlPrediction}/sendPredictionOut`,  params); };
//出港确报申报
//保存并发送
export const sendConfirmOut = params => { return http.post(`${baseUrlConfirm}/sendConfirmOut`,  params); };
159 160 161
// 查询是否预报审核通过
export const selectPredictionInterface = params => { return http.get(`${baseUrlPrediction}/selectPredictionInterface`, params)}
小范 authored
162
xudada authored
163 164 165 166
//进港航班配置
//新增方法
export const addSchedule = params => { return http.post(`${baseUrlSchedule}/addSchedule`,  params); };
//删除方法
小范 authored
167
export const editSchedule=params=>{return http.post(`${baseUrlSchedule}/editSchedule`,  params);};
xudada authored
168
//查询列表
xudada authored
169
export const selectSchedule=params=>{return http.get(`${baseUrlSchedule}/selectSchedule`,  params);};
xudada authored
170
小范 authored
171 172

xudada authored
173
//查询长期计划查询列表
xudada authored
174 175
export const selectLongTimePlan=params=>{return http.get(`${baseUrlLongtimeplan}/selectLongTimePlan`,  params);};
小范 authored
176
xudada authored
177 178 179 180
//机组人员
//新增方法
export const addBillPerson = params => { return http.post(`${baseUrlBillperson}/addBillPerson`,  params); };
//删除方法
小范 authored
181
export const editBillPerson=params=>{return http.post(`${baseUrlBillperson}/editBillPerson`,  params);};
xudada authored
182
//查询列表
xudada authored
183
export const selectBillPerson=params=>{return http.get(`${baseUrlBillperson}/selectBillPerson`,  params);};
184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199
//国家代码
export const selectCountry=params=>{return http.get(`${baseUrlBillcountry}/selectCountry`,  params);};
//证件查询
export const selectCreden=params=>{return http.get(`${baseUrlBillcreden}/selectCreden`,  params);};
//保存并发送
export const sendBill=params=>{return http.post(`${baseUrlBill}/sendBill`,  params);};









xudada authored
200 201 202

//查询回执列表
export const selectReturnMsg=params=>{return http.get(`${baseUrlResultMsg}/selectReturnMsg`,  params);};