Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
SuperMan
Commits
40c0e3b3
Commit
40c0e3b3
authored
Dec 03, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
c877011d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
+8
-5
yingyanMap.vue
src/components/SalesModule/yingyanMap.vue
+8
-5
No files found.
src/components/SalesModule/yingyanMap.vue
View file @
40c0e3b3
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment