...
|
...
|
@@ -216,11 +216,13 @@ |
|
|
addPrediction(this.departure).then(res=>{
|
|
|
let response=res.data;
|
|
|
if(response.code=='200'){
|
|
|
this.centerDialogVisible=true;
|
|
|
this.msg=response.msg;
|
|
|
//this.centerDialogVisible=true;
|
|
|
//this.msg=response.msg;
|
|
|
this.$message.success(response.msg)
|
|
|
this.$router.push({path:'/queryDeparture',query:{flightNo:this.departure.flightNo,flightDate:this.departure.flightDate}});
|
|
|
}else{
|
|
|
this.msg=response.msg;
|
|
|
//this.msg=response.msg;
|
|
|
this.$message.error(response.msg)
|
|
|
}
|
|
|
});
|
|
|
} else {
|
...
|
...
|
|