作者 xudada

出港确报申报提交成功返回信息显示优化

@@ -216,11 +216,13 @@ @@ -216,11 +216,13 @@
216 addPrediction(this.departure).then(res=>{ 216 addPrediction(this.departure).then(res=>{
217 let response=res.data; 217 let response=res.data;
218 if(response.code=='200'){ 218 if(response.code=='200'){
219 - this.centerDialogVisible=true;  
220 - this.msg=response.msg; 219 + //this.centerDialogVisible=true;
  220 + //this.msg=response.msg;
  221 + this.$message.success(response.msg)
221 this.$router.push({path:'/queryDeparture',query:{flightNo:this.departure.flightNo,flightDate:this.departure.flightDate}}); 222 this.$router.push({path:'/queryDeparture',query:{flightNo:this.departure.flightNo,flightDate:this.departure.flightDate}});
222 }else{ 223 }else{
223 - this.msg=response.msg; 224 + //this.msg=response.msg;
  225 + this.$message.error(response.msg)
224 } 226 }
225 }); 227 });
226 } else { 228 } else {