作者 小范

请求方式put改为post

@@ -37,7 +37,7 @@ export const addRoute = params => { return http.post(`${baseUrl}/addRoute`, par @@ -37,7 +37,7 @@ export const addRoute = params => { return http.post(`${baseUrl}/addRoute`, par
37 //查询列表 37 //查询列表
38 export const selectRoute=params=>{return http.get(`${baseUrl}/selectRoute`, params);}; 38 export const selectRoute=params=>{return http.get(`${baseUrl}/selectRoute`, params);};
39 //删除方法 39 //删除方法
40 -export const editRoute=params=>{return http.put(`${baseUrl}/editRoute`, params);}; 40 +export const editRoute=params=>{return http.post(`${baseUrl}/editRoute`, params);};
41 41
42 42
43 43
@@ -48,7 +48,7 @@ export const addBill = params => { return http.post(`${baseUrlBill}/addBill`, p @@ -48,7 +48,7 @@ export const addBill = params => { return http.post(`${baseUrlBill}/addBill`, p
48 //查询列表 48 //查询列表
49 export const selectBill=params=>{return http.get(`${baseUrlBill}/selectBill`, params);}; 49 export const selectBill=params=>{return http.get(`${baseUrlBill}/selectBill`, params);};
50 //删除方法 50 //删除方法
51 -export const editBill=params=>{return http.put(`${baseUrlBill}/editBill`, params);}; 51 +export const editBill=params=>{return http.post(`${baseUrlBill}/editBill`, params);};
52 52
53 53
54 //航班申报 54 //航班申报
@@ -60,7 +60,7 @@ export const sendFlight = params => { return http.post(`${baseUrlFlight}/sendFli @@ -60,7 +60,7 @@ export const sendFlight = params => { return http.post(`${baseUrlFlight}/sendFli
60 //查询列表 60 //查询列表
61 export const selectFlight=params=>{return http.get(`${baseUrlFlight}/selectFlight`, params);}; 61 export const selectFlight=params=>{return http.get(`${baseUrlFlight}/selectFlight`, params);};
62 //删除方法 62 //删除方法
63 -export const editFlight=params=>{return http.put(`${baseUrlFlight}/editFlight`, params);}; 63 +export const editFlight=params=>{return http.post(`${baseUrlFlight}/editFlight`, params);};
64 64
65 //航班当日计划申报 65 //航班当日计划申报
66 //新增方法 66 //新增方法
@@ -71,7 +71,7 @@ export const sendFlightPlan = params => { return http.post(`${baseUrlFlightPlan} @@ -71,7 +71,7 @@ export const sendFlightPlan = params => { return http.post(`${baseUrlFlightPlan}
71 //查询列表 71 //查询列表
72 export const selectFlightPlan=params=>{return http.get(`${baseUrlFlightPlan}/selectFlightPlan`, params);}; 72 export const selectFlightPlan=params=>{return http.get(`${baseUrlFlightPlan}/selectFlightPlan`, params);};
73 //删除方法 73 //删除方法
74 -export const editFlightPlan=params=>{return http.put(`${baseUrlFlightPlan}/editFlightPlan`, params);}; 74 +export const editFlightPlan=params=>{return http.post(`${baseUrlFlightPlan}/editFlightPlan`, params);};
75 75
76 //通用航空器申报 76 //通用航空器申报
77 //新增方法 77 //新增方法
@@ -81,7 +81,7 @@ export const sendAircraft = params => { return http.post(`${baseUrlAircraft}/sen @@ -81,7 +81,7 @@ export const sendAircraft = params => { return http.post(`${baseUrlAircraft}/sen
81 //查询列表 81 //查询列表
82 export const selectAircraft=params=>{return http.get(`${baseUrlAircraft}/selectAircraft`, params);}; 82 export const selectAircraft=params=>{return http.get(`${baseUrlAircraft}/selectAircraft`, params);};
83 //删除方法 83 //删除方法
84 -export const editAircraft=params=>{return http.put(`${baseUrlAircraft}/editAircraft`, params);}; 84 +export const editAircraft=params=>{return http.post(`${baseUrlAircraft}/editAircraft`, params);};
85 //变更申请 85 //变更申请
86 export const changeAircraft = params => { return http.post(`${baseUrlAircraft}/changeAircraft`, params); }; 86 export const changeAircraft = params => { return http.post(`${baseUrlAircraft}/changeAircraft`, params); };
87 //撤销申请 87 //撤销申请
@@ -93,7 +93,7 @@ export const addAirLineAircraft = params => { return http.post(`${baseUrlAirLine @@ -93,7 +93,7 @@ export const addAirLineAircraft = params => { return http.post(`${baseUrlAirLine
93 //保存并发送 93 //保存并发送
94 export const sendAirLineAircraft = params => { return http.post(`${baseUrlAirLineAircraft}/sendAirLineAircraft`, params); }; 94 export const sendAirLineAircraft = params => { return http.post(`${baseUrlAirLineAircraft}/sendAirLineAircraft`, params); };
95 //删除方法 95 //删除方法
96 -export const editAirLineAircraft=params=>{return http.put(`${baseUrlAirLineAircraft}/editAirLineAircraft`, params);}; 96 +export const editAirLineAircraft=params=>{return http.post(`${baseUrlAirLineAircraft}/editAirLineAircraft`, params);};
97 //查询列表 97 //查询列表
98 export const selectAirLineAircraft=params=>{return http.get(`${baseUrlAirLineAircraft}/selectAirLineAircraft`, params);}; 98 export const selectAirLineAircraft=params=>{return http.get(`${baseUrlAirLineAircraft}/selectAirLineAircraft`, params);};
99 //变更申请 99 //变更申请
@@ -110,7 +110,7 @@ export const addPrediction = params => { return http.post(`${baseUrlPrediction}/ @@ -110,7 +110,7 @@ export const addPrediction = params => { return http.post(`${baseUrlPrediction}/
110 export const sendPredictionIn = params => { return http.post(`${baseUrlPrediction}/sendPredictionIn`, params); }; 110 export const sendPredictionIn = params => { return http.post(`${baseUrlPrediction}/sendPredictionIn`, params); };
111 111
112 //删除方法 112 //删除方法
113 -export const editPrediction=params=>{return http.put(`${baseUrlPrediction}/editPrediction`, params);}; 113 +export const editPrediction=params=>{return http.post(`${baseUrlPrediction}/editPrediction`, params);};
114 //查询列表 114 //查询列表
115 export const selectPrediction=params=>{return http.get(`${baseUrlPrediction}/selectPrediction`, params);}; 115 export const selectPrediction=params=>{return http.get(`${baseUrlPrediction}/selectPrediction`, params);};
116 116
@@ -124,7 +124,7 @@ export const sendConfirmIn = params => { return http.post(`${baseUrlConfirm}/sen @@ -124,7 +124,7 @@ export const sendConfirmIn = params => { return http.post(`${baseUrlConfirm}/sen
124 124
125 125
126 //删除方法 126 //删除方法
127 -export const editConfirm=params=>{return http.put(`${baseUrlConfirm}/editConfirm`, params);}; 127 +export const editConfirm=params=>{return http.post(`${baseUrlConfirm}/editConfirm`, params);};
128 //查询列表 128 //查询列表
129 export const selectConfirm=params=>{return http.get(`${baseUrlConfirm}/selectConfirm`, params);}; 129 export const selectConfirm=params=>{return http.get(`${baseUrlConfirm}/selectConfirm`, params);};
130 130
@@ -141,7 +141,7 @@ export const sendConfirmOut = params => { return http.post(`${baseUrlConfirm}/se @@ -141,7 +141,7 @@ export const sendConfirmOut = params => { return http.post(`${baseUrlConfirm}/se
141 //新增方法 141 //新增方法
142 export const addSchedule = params => { return http.post(`${baseUrlSchedule}/addSchedule`, params); }; 142 export const addSchedule = params => { return http.post(`${baseUrlSchedule}/addSchedule`, params); };
143 //删除方法 143 //删除方法
144 -export const editSchedule=params=>{return http.put(`${baseUrlSchedule}/editSchedule`, params);}; 144 +export const editSchedule=params=>{return http.post(`${baseUrlSchedule}/editSchedule`, params);};
145 //查询列表 145 //查询列表
146 export const selectSchedule=params=>{return http.get(`${baseUrlSchedule}/selectSchedule`, params);}; 146 export const selectSchedule=params=>{return http.get(`${baseUrlSchedule}/selectSchedule`, params);};
147 147
@@ -155,7 +155,7 @@ export const selectLongTimePlan=params=>{return http.get(`${baseUrlLongtimeplan} @@ -155,7 +155,7 @@ export const selectLongTimePlan=params=>{return http.get(`${baseUrlLongtimeplan}
155 //新增方法 155 //新增方法
156 export const addBillPerson = params => { return http.post(`${baseUrlBillperson}/addBillPerson`, params); }; 156 export const addBillPerson = params => { return http.post(`${baseUrlBillperson}/addBillPerson`, params); };
157 //删除方法 157 //删除方法
158 -export const editBillPerson=params=>{return http.put(`${baseUrlBillperson}/editBillPerson`, params);}; 158 +export const editBillPerson=params=>{return http.post(`${baseUrlBillperson}/editBillPerson`, params);};
159 //查询列表 159 //查询列表
160 export const selectBillPerson=params=>{return http.get(`${baseUrlBillperson}/selectBillPerson`, params);}; 160 export const selectBillPerson=params=>{return http.get(`${baseUrlBillperson}/selectBillPerson`, params);};
161 //国家代码 161 //国家代码