Commit 4b892322 authored by zhengke's avatar zhengke

修改

parent 87ce810a
This diff is collapsed.
...@@ -1007,7 +1007,9 @@ ...@@ -1007,7 +1007,9 @@
//请求参数 //请求参数
msg: { msg: {
ID: 0, ID: 0,
tcid: 0 tcid: 0,
isDes:0,
NewId:''
}, },
dataList: {}, dataList: {},
FlightList: [], FlightList: [],
...@@ -1027,11 +1029,12 @@ ...@@ -1027,11 +1029,12 @@
mounted() { mounted() {
this.msg.ID = this.$route.query.ID; this.msg.ID = this.$route.query.ID;
this.msg.tcid = this.$route.query.tcid; this.msg.tcid = this.$route.query.tcid;
var oldTimeStamp = this.$route.query.ExpireTime;
var timestamp = Date.parse(new Date()); //获取浏览器NewId
if(timestamp>oldTimeStamp){ var NewId = this.$route.query.NewId;
// this.Error('超时'); if(NewId){
this.showDiv=true; this.msg.isDes=1;
this.msg.NewId=NewId;
} }
this.getTrip(); this.getTrip();
//加载滑动 //加载滑动
...@@ -1076,6 +1079,7 @@ ...@@ -1076,6 +1079,7 @@
this.getScroll(); this.getScroll();
}) })
} else { } else {
this.showDiv=true;
this.Error(res.data.message); this.Error(res.data.message);
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment