Commit 40c0e3b3 authored by zhengke's avatar zhengke

x

parent c877011d
......@@ -298,6 +298,8 @@
}
this.creatMap()
}
}else{
this.Error('暂无定位数据');
}
},
......@@ -351,6 +353,8 @@
}
this.creatMap()
}
}else{
this.Error('暂无定位数据');
}
},
......@@ -441,9 +445,8 @@
let that=this
this.$http.get('https://bird.ioliu.cn/v1?url=http://yingyan.baidu.com/api/v3/entity/search' + url+'&page_index='+this.getlistIndex+'&page_size'+this.page_size).then(res => {
this.markersList=this.markersList.concat(res.data.entities)
if(that.getlistIndex*100<res.data.total){
if(that.getlistIndex*this.page_size<res.data.total){
that.getlistIndex+=1;
that.getlistIndex=this.page_size/that.getlistIndex*100
that.getlistPage(url);
}
else{
......@@ -484,13 +487,13 @@
}
})
this.gettrackPageIndex=1;
let url = this.keys + '&entity_name=' + obj.Phone + '&start_time=' + start_time + '&end_time=' + end_time +'&page_size=5000&is_processed=' + this.isjiuzheng +
let url = this.keys + '&entity_name=' + obj.Phone + '&start_time=' + start_time + '&end_time=' + end_time +'&page_size='+this.page_size2+'&is_processed=' + this.isjiuzheng +
'&process_option=' + canshu + ',transport_mode=' + this.transportMode;
this.gettrackPage(url);
this.Point = []
},
gettrackPage(url){
this.$http.get('https://bird.ioliu.cn/v1?url=http://yingyan.baidu.com/api/v3/track/gettrack' + url+'&page_index='+this.gettrackPageIndex+'&page_size'+this.page_size2).then(res => {
this.$http.get('https://bird.ioliu.cn/v1?url=http://yingyan.baidu.com/api/v3/track/gettrack' + url+'&page_index='+this.gettrackPageIndex).then(res => {
let xy = res.data.points
if(xy != undefined) {
xy.forEach(x => {
......@@ -500,7 +503,7 @@
})
}
if(this.gettrackPageIndex*5000<res.data.total){
if(this.gettrackPageIndex*this.page_size2<res.data.total){
this.gettrackPageIndex+=1;
this.gettrackPage(url);
}
......
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