正在显示
16 个修改的文件
包含
90 行增加
和
80 行删除
@@ -282,7 +282,6 @@ | @@ -282,7 +282,6 @@ | ||
282 | this.loading = true; | 282 | this.loading = true; |
283 | selectCountry(params).then(res =>{ | 283 | selectCountry(params).then(res =>{ |
284 | if (res!=null) { | 284 | if (res!=null) { |
285 | - console.log(res.data.data) | ||
286 | setTimeout(() => { | 285 | setTimeout(() => { |
287 | this.loading = false; | 286 | this.loading = false; |
288 | this.countryOptions=res.data.data; | 287 | this.countryOptions=res.data.data; |
@@ -300,7 +299,6 @@ | @@ -300,7 +299,6 @@ | ||
300 | this.loading = true; | 299 | this.loading = true; |
301 | selectCreden(params).then(res =>{ | 300 | selectCreden(params).then(res =>{ |
302 | if (res!=null) { | 301 | if (res!=null) { |
303 | - console.log(res.data.data) | ||
304 | setTimeout(() => { | 302 | setTimeout(() => { |
305 | this.loading = false; | 303 | this.loading = false; |
306 | this.certOptions=res.data.data; | 304 | this.certOptions=res.data.data; |
@@ -318,8 +316,9 @@ | @@ -318,8 +316,9 @@ | ||
318 | addAircraft(this.aircraft).then(res=>{ | 316 | addAircraft(this.aircraft).then(res=>{ |
319 | let response=res.data; | 317 | let response=res.data; |
320 | if(response.code=='200'){ | 318 | if(response.code=='200'){ |
321 | - this.centerDialogVisible=true; | ||
322 | - this.msg=response.msg; | 319 | + //this.centerDialogVisible=true; |
320 | + //this.msg=response.msg; | ||
321 | + this.$message.success(response.msg) | ||
323 | this.$router.push({path:'/queryAircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo}}); | 322 | this.$router.push({path:'/queryAircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo}}); |
324 | }else{ | 323 | }else{ |
325 | this.msg=response.msg; | 324 | this.msg=response.msg; |
@@ -338,17 +337,16 @@ | @@ -338,17 +337,16 @@ | ||
338 | this.aircraft.createBy=loginUserInfo.username | 337 | this.aircraft.createBy=loginUserInfo.username |
339 | sendAircraft(this.aircraft).then(res=>{ | 338 | sendAircraft(this.aircraft).then(res=>{ |
340 | let response=res.data; | 339 | let response=res.data; |
341 | - console.log(response); | ||
342 | if(response.code=='200'){ | 340 | if(response.code=='200'){ |
343 | - this.centerDialogVisible=true; | ||
344 | - this.msg=response.msg; | 341 | + //this.centerDialogVisible=true; |
342 | + //this.msg=response.msg; | ||
345 | this.$router.push({path:'/queryAircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo}}); | 343 | this.$router.push({path:'/queryAircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo}}); |
344 | + this.$message.success(response.msg) | ||
346 | }else{ | 345 | }else{ |
347 | - this.msg=response.msg; | 346 | + this.$message.error(response.msg) |
348 | } | 347 | } |
349 | }); | 348 | }); |
350 | } else { | 349 | } else { |
351 | - console.log('error submit!!'); | ||
352 | return false; | 350 | return false; |
353 | } | 351 | } |
354 | }); | 352 | }); |
@@ -241,15 +241,15 @@ | @@ -241,15 +241,15 @@ | ||
241 | submitForm(formName) { | 241 | submitForm(formName) { |
242 | this.$refs[formName].validate((valid) => { | 242 | this.$refs[formName].validate((valid) => { |
243 | if (valid) { | 243 | if (valid) { |
244 | - console.log(this.arrival) | ||
245 | addPrediction(this.arrival).then(res=>{ | 244 | addPrediction(this.arrival).then(res=>{ |
246 | let response=res.data; | 245 | let response=res.data; |
247 | if(response.code=='200'){ | 246 | if(response.code=='200'){ |
248 | - this.centerDialogVisible=true; | ||
249 | - this.msg=response.msg; | 247 | + // this.centerDialogVisible=true; |
248 | + //this.msg=response.msg; | ||
250 | this.$router.push({path:'/queryArrival',query:{flightNo:this.arrival.flightNo,flightDate:this.arrival.flightDate}}); | 249 | this.$router.push({path:'/queryArrival',query:{flightNo:this.arrival.flightNo,flightDate:this.arrival.flightDate}}); |
250 | + this.$message.success(response.msg) | ||
251 | }else{ | 251 | }else{ |
252 | - this.msg=response.msg; | 252 | + this.$message.error(response.msg) |
253 | } | 253 | } |
254 | } | 254 | } |
255 | ); | 255 | ); |
@@ -641,8 +641,9 @@ background-color: white; | @@ -641,8 +641,9 @@ background-color: white; | ||
641 | addBillPerson(this.billperson).then(res=>{ | 641 | addBillPerson(this.billperson).then(res=>{ |
642 | let response=res.data; | 642 | let response=res.data; |
643 | if(response.code=='200'){ | 643 | if(response.code=='200'){ |
644 | - this.centerDialogVisible=true; | ||
645 | - this.msg=response.msg; | 644 | + //this.centerDialogVisible=true; |
645 | + //this.msg=response.msg; | ||
646 | + this.$message.success(response.msg); | ||
646 | this.transList() | 647 | this.transList() |
647 | //document.getElementById("send").disabled=true; | 648 | //document.getElementById("send").disabled=true; |
648 | let sy=this.type="2"; | 649 | let sy=this.type="2"; |
@@ -771,15 +772,16 @@ background-color: white; | @@ -771,15 +772,16 @@ background-color: white; | ||
771 | addBill(this.bill).then(res=>{ | 772 | addBill(this.bill).then(res=>{ |
772 | let response=res.data; | 773 | let response=res.data; |
773 | if(response.code=='200'){ | 774 | if(response.code=='200'){ |
774 | - this.centerDialogVisible=true; | ||
775 | - this.msg=response.msg; | 775 | + this.$message.success(response.msg) |
776 | + //this.centerDialogVisible=true; | ||
777 | + //this.msg=response.msg; | ||
776 | // this.$router.push({path:'/queryBill',query:{aircraftNo:this.bill.aircraftNo,flightNo:this.bill.flightNo, | 778 | // this.$router.push({path:'/queryBill',query:{aircraftNo:this.bill.aircraftNo,flightNo:this.bill.flightNo, |
777 | // flightDate:this.bill.flightDate}}); | 779 | // flightDate:this.bill.flightDate}}); |
778 | //document.getElementById("add").disabled=true; | 780 | //document.getElementById("add").disabled=true; |
779 | let st=this.status="2"; | 781 | let st=this.status="2"; |
780 | this.btDeleStatusFormater(st); | 782 | this.btDeleStatusFormater(st); |
781 | }else{ | 783 | }else{ |
782 | - this.msg=response.msg; | 784 | + this.$message.error(response.msg) |
783 | } | 785 | } |
784 | }); | 786 | }); |
785 | } else { | 787 | } else { |
@@ -797,10 +799,11 @@ background-color: white; | @@ -797,10 +799,11 @@ background-color: white; | ||
797 | sendBill(this.bill).then(res=>{ | 799 | sendBill(this.bill).then(res=>{ |
798 | let response=res.data; | 800 | let response=res.data; |
799 | if(response.code=='200'){ | 801 | if(response.code=='200'){ |
800 | - this.centerDialogVisible=true; | ||
801 | - this.msg=response.msg; | 802 | + //this.centerDialogVisible=true; |
803 | + //this.msg=response.msg; | ||
802 | this.$router.push({path:'/queryBill',query:{aircraftNo:this.bill.aircraftNo,flightNo:this.bill.flightNo, | 804 | this.$router.push({path:'/queryBill',query:{aircraftNo:this.bill.aircraftNo,flightNo:this.bill.flightNo, |
803 | flightDate:this.bill.flightDate}}); | 805 | flightDate:this.bill.flightDate}}); |
806 | + this.$message.success(response.msg) | ||
804 | //document.getElementById("add").disabled=true; | 807 | //document.getElementById("add").disabled=true; |
805 | // let st=this.status="2"; | 808 | // let st=this.status="2"; |
806 | // this.btDeleStatusFormater(st); | 809 | // this.btDeleStatusFormater(st); |
@@ -487,7 +487,6 @@ | @@ -487,7 +487,6 @@ | ||
487 | const _this = this | 487 | const _this = this |
488 | selectExact(this.queryConfigure).then((response) => { | 488 | selectExact(this.queryConfigure).then((response) => { |
489 | const res = response.data | 489 | const res = response.data |
490 | - console.log(response.data) | ||
491 | if (res.code !== '200') { | 490 | if (res.code !== '200') { |
492 | return _this.$message.error('获取消息收发记录,失败!') | 491 | return _this.$message.error('获取消息收发记录,失败!') |
493 | } | 492 | } |
@@ -93,7 +93,7 @@ | @@ -93,7 +93,7 @@ | ||
93 | configure:{ | 93 | configure:{ |
94 | username:loginUserInfo.username, | 94 | username:loginUserInfo.username, |
95 | flightNo:undefined, | 95 | flightNo:undefined, |
96 | - ietype:'0', | 96 | + ietype:'1', |
97 | reamrk:undefined, | 97 | reamrk:undefined, |
98 | // accessFlag:'1', | 98 | // accessFlag:'1', |
99 | country:'', | 99 | country:'', |
@@ -138,16 +138,15 @@ | @@ -138,16 +138,15 @@ | ||
138 | if (valid) { | 138 | if (valid) { |
139 | this.configure.createBy=loginUserInfo.username | 139 | this.configure.createBy=loginUserInfo.username |
140 | this.configure.username=loginUserInfo.username | 140 | this.configure.username=loginUserInfo.username |
141 | - console.log(this.configure.flightNo) | ||
142 | addSchedule(this.configure).then(res=>{ | 141 | addSchedule(this.configure).then(res=>{ |
143 | let response=res.data; | 142 | let response=res.data; |
144 | - console.log(response) | ||
145 | if(response.code=='200'){ | 143 | if(response.code=='200'){ |
146 | - this.centerDialogVisible=true; | ||
147 | - this.msg=response.msg; | 144 | + //this.centerDialogVisible=true; |
145 | + //this.msg=response.msg; | ||
148 | this.$router.push({path:'/queryConfigure',query:{flightNo:this.configure.flightNo}}); | 146 | this.$router.push({path:'/queryConfigure',query:{flightNo:this.configure.flightNo}}); |
147 | + this.$message.success(response.msg) | ||
149 | }else{ | 148 | }else{ |
150 | - this.msg=response.msg; | 149 | + this.$message.error(response.msg) |
151 | } | 150 | } |
152 | }); | 151 | }); |
153 | } else { | 152 | } else { |
@@ -218,11 +218,12 @@ | @@ -218,11 +218,12 @@ | ||
218 | addConfirm(this.confirmatory).then(res=>{ | 218 | addConfirm(this.confirmatory).then(res=>{ |
219 | let response=res.data; | 219 | let response=res.data; |
220 | if(response.code=='200'){ | 220 | if(response.code=='200'){ |
221 | - this.centerDialogVisible=true; | ||
222 | - this.msg=response.msg; | 221 | + //this.centerDialogVisible=true; |
222 | + //this.msg=response.msg; | ||
223 | this.$router.push({path:'/queryConfirmatory',query:{flightNo:this.confirmatory.flightNo,flightDate:this.confirmatory.flightDate}}); | 223 | this.$router.push({path:'/queryConfirmatory',query:{flightNo:this.confirmatory.flightNo,flightDate:this.confirmatory.flightDate}}); |
224 | + this.$message.success(response.msg) | ||
224 | }else{ | 225 | }else{ |
225 | - this.msg=response.msg; | 226 | + this.$message.error(response.msg) |
226 | } | 227 | } |
227 | }); | 228 | }); |
228 | } else { | 229 | } else { |
@@ -235,17 +236,16 @@ | @@ -235,17 +236,16 @@ | ||
235 | sendForm(formName) { | 236 | sendForm(formName) { |
236 | this.$refs[formName].validate((valid) => { | 237 | this.$refs[formName].validate((valid) => { |
237 | if (valid) { | 238 | if (valid) { |
238 | - console.log(this.confirmatory) | ||
239 | this.confirmatory.createBy=loginUserInfo.username | 239 | this.confirmatory.createBy=loginUserInfo.username |
240 | - | ||
241 | sendConfirmIn(this.confirmatory).then(res=>{ | 240 | sendConfirmIn(this.confirmatory).then(res=>{ |
242 | let response=res.data; | 241 | let response=res.data; |
243 | if(response.code=='200'){ | 242 | if(response.code=='200'){ |
244 | - this.centerDialogVisible=true; | ||
245 | - this.msg=response.msg; | 243 | + //this.centerDialogVisible=true; |
244 | + //this.msg=response.msg; | ||
246 | this.$router.push({path:'/queryConfirmatory',query:{flightNo:this.confirmatory.flightNo,flightDate:this.confirmatory.flightDate}}); | 245 | this.$router.push({path:'/queryConfirmatory',query:{flightNo:this.confirmatory.flightNo,flightDate:this.confirmatory.flightDate}}); |
246 | + this.$message.success(response.msg) | ||
247 | }else{ | 247 | }else{ |
248 | - this.msg=response.msg; | 248 | + this.$message.error(response.msg) |
249 | } | 249 | } |
250 | }); | 250 | }); |
251 | } else { | 251 | } else { |
@@ -195,11 +195,12 @@ | @@ -195,11 +195,12 @@ | ||
195 | addConfirm(this.declare).then(res=>{ | 195 | addConfirm(this.declare).then(res=>{ |
196 | let response=res.data; | 196 | let response=res.data; |
197 | if(response.code=='200'){ | 197 | if(response.code=='200'){ |
198 | - this.centerDialogVisible=true; | ||
199 | - this.msg=response.msg; | 198 | + //this.centerDialogVisible=true; |
199 | + //this.msg=response.msg; | ||
200 | + this.$message.success(response.msg) | ||
200 | this.$router.push({path:'/queryDeclare',query:{flightNo:this.declare.flightNo,flightDate:this.declare.flightDate}}); | 201 | this.$router.push({path:'/queryDeclare',query:{flightNo:this.declare.flightNo,flightDate:this.declare.flightDate}}); |
201 | }else{ | 202 | }else{ |
202 | - this.msg=response.msg; | 203 | + this.$message.error(response.msg) |
203 | } | 204 | } |
204 | }); | 205 | }); |
205 | } else { | 206 | } else { |
@@ -216,11 +217,12 @@ | @@ -216,11 +217,12 @@ | ||
216 | sendConfirmOut(this.declare).then(res=>{ | 217 | sendConfirmOut(this.declare).then(res=>{ |
217 | let response=res.data; | 218 | let response=res.data; |
218 | if(response.code=='200'){ | 219 | if(response.code=='200'){ |
219 | - this.centerDialogVisible=true; | ||
220 | - this.msg=response.msg; | 220 | + //this.centerDialogVisible=true; |
221 | + //this.msg=response.msg; | ||
222 | + this.$message.success(response.msg) | ||
221 | this.$router.push({path:'/queryDeclare',query:{flightNo:this.declare.flightNo,flightDate:this.declare.flightDate}}); | 223 | this.$router.push({path:'/queryDeclare',query:{flightNo:this.declare.flightNo,flightDate:this.declare.flightDate}}); |
222 | }else{ | 224 | }else{ |
223 | - this.msg=response.msg; | 225 | + this.$message.error(response.msg) |
224 | } | 226 | } |
225 | }); | 227 | }); |
226 | } else { | 228 | } else { |
@@ -240,11 +240,12 @@ | @@ -240,11 +240,12 @@ | ||
240 | sendPredictionOut(this.departure).then(res=>{ | 240 | sendPredictionOut(this.departure).then(res=>{ |
241 | let response=res.data; | 241 | let response=res.data; |
242 | if(response.code=='200'){ | 242 | if(response.code=='200'){ |
243 | - this.centerDialogVisible=true; | ||
244 | - this.msg=response.msg; | 243 | + //this.centerDialogVisible=true; |
244 | + //this.msg=response.msg; | ||
245 | + this.$message.success(response.msg) | ||
245 | this.$router.push({path:'/queryDeparture',query:{flightNo:this.departure.flightNo,flightDate:this.departure.flightDate}}); | 246 | this.$router.push({path:'/queryDeparture',query:{flightNo:this.departure.flightNo,flightDate:this.departure.flightDate}}); |
246 | }else{ | 247 | }else{ |
247 | - this.msg=response.msg; | 248 | + this.$message.error(response.msg) |
248 | } | 249 | } |
249 | }); | 250 | }); |
250 | } else { | 251 | } else { |
@@ -435,13 +435,15 @@ | @@ -435,13 +435,15 @@ | ||
435 | addFlight(this.flight).then(res=>{ | 435 | addFlight(this.flight).then(res=>{ |
436 | let response=res.data; | 436 | let response=res.data; |
437 | if(response.code=='200'){ | 437 | if(response.code=='200'){ |
438 | - this.centerDialogVisible=true; | ||
439 | - this.msg=response.msg; | 438 | + //this.centerDialogVisible=true; |
439 | + //this.msg=response.msg; | ||
440 | this.$router.push({path:'/queryFlights',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate}}); | 440 | this.$router.push({path:'/queryFlights',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate}}); |
441 | - this.centerDialogVisible=false; | 441 | + //this.centerDialogVisible=false; |
442 | + this.$message.success(response.msg) | ||
442 | }else{ | 443 | }else{ |
443 | - this.centerDialogVisible=true; | ||
444 | - this.msg=response.msg; | 444 | + //this.centerDialogVisible=true; |
445 | + //this.msg=response.msg; | ||
446 | + this.$message.error(response.msg) | ||
445 | } | 447 | } |
446 | }); | 448 | }); |
447 | } else { | 449 | } else { |
@@ -457,13 +459,15 @@ | @@ -457,13 +459,15 @@ | ||
457 | sendFlight(this.flight).then(res=>{ | 459 | sendFlight(this.flight).then(res=>{ |
458 | let response=res.data; | 460 | let response=res.data; |
459 | if(response.code=='200'){ | 461 | if(response.code=='200'){ |
460 | - this.centerDialogVisible=true; | ||
461 | - this.msg=response.msg; | 462 | + //this.centerDialogVisible=true; |
463 | + //this.msg=response.msg; | ||
462 | this.$router.push({path:'/queryFlights',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate}}); | 464 | this.$router.push({path:'/queryFlights',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate}}); |
463 | - this.centerDialogVisible=false; | 465 | + //this.centerDialogVisible=false; |
466 | + this.$message.success(response.msg) | ||
464 | }else{ | 467 | }else{ |
465 | - this.centerDialogVisible=true; | ||
466 | - this.msg=response.msg; | 468 | + //this.centerDialogVisible=true; |
469 | + //this.msg=response.msg; | ||
470 | + this.$message.error(response.msg) | ||
467 | } | 471 | } |
468 | }); | 472 | }); |
469 | } else { | 473 | } else { |
@@ -257,9 +257,10 @@ | @@ -257,9 +257,10 @@ | ||
257 | addFlightPlan(this.flight).then(res=>{ | 257 | addFlightPlan(this.flight).then(res=>{ |
258 | let response=res.data; | 258 | let response=res.data; |
259 | if(response.code=='200'){ | 259 | if(response.code=='200'){ |
260 | - this.centerDialogVisible=true; | ||
261 | - this.msg=response.msg; | 260 | + //this.centerDialogVisible=true; |
261 | + //this.msg=response.msg; | ||
262 | this.$router.push({path:'/queryFlightplan',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate,aircraftNo:this.flight.aircraftNo}}); | 262 | this.$router.push({path:'/queryFlightplan',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate,aircraftNo:this.flight.aircraftNo}}); |
263 | + this.$message.success(response.msg) | ||
263 | }else{ | 264 | }else{ |
264 | this.msg=response.msg; | 265 | this.msg=response.msg; |
265 | } | 266 | } |
@@ -277,9 +278,10 @@ | @@ -277,9 +278,10 @@ | ||
277 | sendFlightPlan(this.flight).then(res=>{ | 278 | sendFlightPlan(this.flight).then(res=>{ |
278 | let response=res.data; | 279 | let response=res.data; |
279 | if(response.code=='200'){ | 280 | if(response.code=='200'){ |
280 | - this.centerDialogVisible=true; | ||
281 | - this.msg=response.msg; | 281 | + //this.centerDialogVisible=true; |
282 | + // this.msg=response.msg; | ||
282 | this.$router.push({path:'/queryFlightplan',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate,aircraftNo:this.flight.aircraftNo}}); | 283 | this.$router.push({path:'/queryFlightplan',query:{flightNo:this.flight.flightNo,flightDate:this.flight.flightDate,aircraftNo:this.flight.aircraftNo}}); |
284 | + this.$message.success(response.msg) | ||
283 | }else{ | 285 | }else{ |
284 | this.msg=response.msg; | 286 | this.msg=response.msg; |
285 | } | 287 | } |
@@ -78,7 +78,7 @@ | @@ -78,7 +78,7 @@ | ||
78 | outConfigure:{ | 78 | outConfigure:{ |
79 | username:loginUserInfo.username, | 79 | username:loginUserInfo.username, |
80 | flightNo:undefined, | 80 | flightNo:undefined, |
81 | - ietype:'1', | 81 | + ietype:'2', |
82 | reamrk:undefined, | 82 | reamrk:undefined, |
83 | // accessFlag:'2', | 83 | // accessFlag:'2', |
84 | createBy:loginUserInfo.username, | 84 | createBy:loginUserInfo.username, |
@@ -113,11 +113,12 @@ | @@ -113,11 +113,12 @@ | ||
113 | addSchedule(this.outConfigure).then(res=>{ | 113 | addSchedule(this.outConfigure).then(res=>{ |
114 | let response=res.data; | 114 | let response=res.data; |
115 | if(response.code=='200'){ | 115 | if(response.code=='200'){ |
116 | - this.centerDialogVisible=true; | ||
117 | - this.msg=response.msg; | 116 | + //this.centerDialogVisible=true; |
117 | + //this.msg=response.msg; | ||
118 | + this.$message.success(response.msg) | ||
118 | this.$router.push({path:'/queryFlightConfigure',query:{flightNo:this.outConfigure.flightNo}}); | 119 | this.$router.push({path:'/queryFlightConfigure',query:{flightNo:this.outConfigure.flightNo}}); |
119 | }else{ | 120 | }else{ |
120 | - this.msg=response.msg; | 121 | + this.$message.error(response.msg) |
121 | } | 122 | } |
122 | }); | 123 | }); |
123 | } else { | 124 | } else { |
@@ -159,7 +159,6 @@ | @@ -159,7 +159,6 @@ | ||
159 | let params={messageid:row.messageid}; | 159 | let params={messageid:row.messageid}; |
160 | selectReturnMsg(params).then(res=>{ | 160 | selectReturnMsg(params).then(res=>{ |
161 | let response=res.data.data; | 161 | let response=res.data.data; |
162 | - console.log(response) | ||
163 | this.gridData=response; | 162 | this.gridData=response; |
164 | }); | 163 | }); |
165 | }, | 164 | }, |
@@ -174,7 +173,7 @@ | @@ -174,7 +173,7 @@ | ||
174 | //获取进港航班配置查询列表 | 173 | //获取进港航班配置查询列表 |
175 | submitForm() { | 174 | submitForm() { |
176 | let params = { | 175 | let params = { |
177 | - pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryConfigure.flightNo,ieType:'0' | 176 | + pageNum: this.pageNum, pageSize: this.pageSize, flightNo: this.queryConfigure.flightNo,ieType:'2' |
178 | }; | 177 | }; |
179 | this.tableloading = true; | 178 | this.tableloading = true; |
180 | selectSchedule(params).then(res => { | 179 | selectSchedule(params).then(res => { |
@@ -45,7 +45,7 @@ | @@ -45,7 +45,7 @@ | ||
45 | label="用户名"> | 45 | label="用户名"> |
46 | </el-table-column> | 46 | </el-table-column> |
47 | <el-table-column | 47 | <el-table-column |
48 | - prop="flightno" | 48 | + prop="flightNo" |
49 | label="航班号"> | 49 | label="航班号"> |
50 | </el-table-column> | 50 | </el-table-column> |
51 | <el-table-column | 51 | <el-table-column |
@@ -180,6 +180,7 @@ | @@ -180,6 +180,7 @@ | ||
180 | selectSchedule(params).then(res => { | 180 | selectSchedule(params).then(res => { |
181 | let response = res.data.data; | 181 | let response = res.data.data; |
182 | this.tableData = response.list; | 182 | this.tableData = response.list; |
183 | + console.log(response) | ||
183 | this.tableloading = false; | 184 | this.tableloading = false; |
184 | this.total = response.total; | 185 | this.total = response.total; |
185 | }); | 186 | }); |
@@ -490,7 +490,6 @@ | @@ -490,7 +490,6 @@ | ||
490 | const _this = this | 490 | const _this = this |
491 | selectPrePlanConfig(this.queryConfigure).then((response) => { | 491 | selectPrePlanConfig(this.queryConfigure).then((response) => { |
492 | const res = response.data | 492 | const res = response.data |
493 | - console.log(response.data) | ||
494 | if (res.code !== '200') { | 493 | if (res.code !== '200') { |
495 | return _this.$message.error('获取消息收发记录,失败!') | 494 | return _this.$message.error('获取消息收发记录,失败!') |
496 | } | 495 | } |
@@ -519,7 +518,6 @@ | @@ -519,7 +518,6 @@ | ||
519 | this.$refs.configure_addForm.validate(valid => { | 518 | this.$refs.configure_addForm.validate(valid => { |
520 | // 未通过,表单预校验 | 519 | // 未通过,表单预校验 |
521 | if (!valid) return | 520 | if (!valid) return |
522 | - console.log(this.configure_addForm); | ||
523 | addPrePlanConfig(this.configure_addForm).then((response) => { | 521 | addPrePlanConfig(this.configure_addForm).then((response) => { |
524 | const res = response.data | 522 | const res = response.data |
525 | // 添加失败 | 523 | // 添加失败 |
@@ -541,7 +539,6 @@ | @@ -541,7 +539,6 @@ | ||
541 | // 打开编辑 | 539 | // 打开编辑 |
542 | handleEdit(index, row) { | 540 | handleEdit(index, row) { |
543 | this.configure_addForm = Object.assign({}, row); | 541 | this.configure_addForm = Object.assign({}, row); |
544 | - console.log(this.configure_addForm) | ||
545 | this.configure_addForm.schedule.options=[]; | 542 | this.configure_addForm.schedule.options=[]; |
546 | for(var obj in row.schedulelist){ | 543 | for(var obj in row.schedulelist){ |
547 | console.log(this.configure_addForm.schedule.options.push(row.schedulelist[obj]['weekday'])) | 544 | console.log(this.configure_addForm.schedule.options.push(row.schedulelist[obj]['weekday'])) |
@@ -109,7 +109,7 @@ | @@ -109,7 +109,7 @@ | ||
109 | </el-col> | 109 | </el-col> |
110 | <el-col :span="8" style="margin-left: 120px"> | 110 | <el-col :span="8" style="margin-left: 120px"> |
111 | <el-button type="primary" @click="submitForm('airline')">保 存</el-button> | 111 | <el-button type="primary" @click="submitForm('airline')">保 存</el-button> |
112 | - <el-button type="success">保存并发送</el-button> | 112 | + <!--<el-button type="success">保存并发送</el-button>--> |
113 | </el-col> | 113 | </el-col> |
114 | </el-form> | 114 | </el-form> |
115 | </el-row> | 115 | </el-row> |
@@ -296,13 +296,15 @@ | @@ -296,13 +296,15 @@ | ||
296 | addRoute(this.airline).then(res=>{ | 296 | addRoute(this.airline).then(res=>{ |
297 | let response=res.data; | 297 | let response=res.data; |
298 | if(response.code=='200'){ | 298 | if(response.code=='200'){ |
299 | - this.centerDialogVisible=true; | ||
300 | - this.msg=response.msg; | 299 | + //this.centerDialogVisible=true; |
300 | + //this.msg=response.msg; | ||
301 | this.$router.push({path:'/queryRoute',query:{serialNo:this.airline.serialNo}}); | 301 | this.$router.push({path:'/queryRoute',query:{serialNo:this.airline.serialNo}}); |
302 | - this.centerDialogVisible=false; | 302 | + //this.centerDialogVisible=false; |
303 | + this.$message.success(response.msg) | ||
303 | }else{ | 304 | }else{ |
304 | - this.centerDialogVisible=true; | ||
305 | - this.msg=response.msg; | 305 | + //this.centerDialogVisible=true; |
306 | + //this.msg=response.msg; | ||
307 | + this.$message.error(response.msg) | ||
306 | } | 308 | } |
307 | }); | 309 | }); |
308 | } else { | 310 | } else { |
@@ -279,11 +279,12 @@ | @@ -279,11 +279,12 @@ | ||
279 | addAirLineAircraft(this.aircraft).then(res=>{ | 279 | addAirLineAircraft(this.aircraft).then(res=>{ |
280 | let response=res.data; | 280 | let response=res.data; |
281 | if(response.code=='200'){ | 281 | if(response.code=='200'){ |
282 | - this.centerDialogVisible=true; | ||
283 | - this.msg=response.msg; | 282 | + //this.centerDialogVisible=true; |
283 | + //this.msg=response.msg; | ||
284 | this.$router.push({path:'/queryRouteaircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo},}); | 284 | this.$router.push({path:'/queryRouteaircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo},}); |
285 | + this.$message.success(response.msg) | ||
285 | }else{ | 286 | }else{ |
286 | - this.msg=response.msg; | 287 | + this.$message.error(response.msg) |
287 | } | 288 | } |
288 | }); | 289 | }); |
289 | } else { | 290 | } else { |
@@ -300,11 +301,12 @@ | @@ -300,11 +301,12 @@ | ||
300 | sendAirLineAircraft(this.aircraft).then(res=>{ | 301 | sendAirLineAircraft(this.aircraft).then(res=>{ |
301 | let response=res.data; | 302 | let response=res.data; |
302 | if(response.code=='200'){ | 303 | if(response.code=='200'){ |
303 | - this.centerDialogVisible=true; | ||
304 | - this.msg=response.msg; | 304 | + //this.centerDialogVisible=true; |
305 | + //this.msg=response.msg; | ||
305 | this.$router.push({path:'/queryRouteaircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo},}); | 306 | this.$router.push({path:'/queryRouteaircraft',query:{airwayCode:this.aircraft.airwayCode,aircraftNo:this.aircraft.aircraftNo},}); |
307 | + this.$message.success(response.msg) | ||
306 | }else{ | 308 | }else{ |
307 | - this.msg=response.msg; | 309 | + this.$message.error(response.msg) |
308 | } | 310 | } |
309 | }); | 311 | }); |
310 | } else { | 312 | } else { |
-
请 注册 或 登录 后发表评论