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
aa80c4c8
Commit
aa80c4c8
authored
Dec 03, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
0517a2c8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
yingyanMap.vue
src/components/SalesModule/yingyanMap.vue
+5
-4
No files found.
src/components/SalesModule/yingyanMap.vue
View file @
aa80c4c8
...
...
@@ -182,6 +182,7 @@
getlistIndex
:
0
,
FinalYingYan
:
true
,
datainfo
:{},
page_size100
:
100
,
page_size
:
1000
,
page_size2
:
5000
,
}
...
...
@@ -445,7 +446,7 @@
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
*
this
.
page_size
<
res
.
data
.
total
){
if
(
that
.
getlistIndex
*
this
.
page_size
100
<
res
.
data
.
total
){
that
.
getlistIndex
+=
1
;
that
.
getlistPage
(
url
);
}
...
...
@@ -682,7 +683,7 @@
var
rightLng
=
bsne
.
lng
;
let
timestamp
=
new
Date
()
let
start_time
=
timestamp
.
getTime
()
/
1000
let
url
=
this
.
keys
+
'&bounds='
+
bottomLat
+
','
+
leftLng
+
';'
+
topLat
+
','
+
rightLng
+
'&filter=&page_index=1&page_size=
1000
&timeStamp='
+
start_time
;
let
url
=
this
.
keys
+
'&bounds='
+
bottomLat
+
','
+
leftLng
+
';'
+
topLat
+
','
+
rightLng
+
'&filter=&page_index=1&page_size=
'
+
this
.
page_size
+
'
&timeStamp='
+
start_time
;
this
.
totalNum
=
0
let
that
=
this
this
.
$http
.
get
(
'https://bird.ioliu.cn/v1?url=http://yingyan.baidu.com/api/v3/entity/boundsearch'
+
url
).
then
(
res
=>
{
...
...
@@ -707,7 +708,7 @@
bottomLat
=
bssw
.
lat
;
leftLng
=
bssw
.
lng
;
rightLng
=
bsne
.
lng
;
let
url
=
that
.
keys
+
'&bounds='
+
bottomLat
+
','
+
leftLng
+
';'
+
topLat
+
','
+
rightLng
+
'&filter=&page_index=1&page_size=
1000
&timeStamp='
+
start_time
;
let
url
=
that
.
keys
+
'&bounds='
+
bottomLat
+
','
+
leftLng
+
';'
+
topLat
+
','
+
rightLng
+
'&filter=&page_index=1&page_size=
'
+
this
.
page_size
+
'
&timeStamp='
+
start_time
;
that
.
$http
.
get
(
'https://bird.ioliu.cn/v1?url=http://yingyan.baidu.com/api/v3/entity/boundsearch'
+
url
).
then
(
res
=>
{
that
.
totalNum
=
0
if
(
res
.
data
.
entities
)
{
...
...
@@ -730,7 +731,7 @@
bottomLat
=
bssw
.
lat
;
leftLng
=
bssw
.
lng
;
rightLng
=
bsne
.
lng
;
let
url
=
that
.
keys
+
'&bounds='
+
bottomLat
+
','
+
leftLng
+
';'
+
topLat
+
','
+
rightLng
+
'&filter=&page_index=1&page_size=
1000
&timeStamp='
+
start_time
;
let
url
=
that
.
keys
+
'&bounds='
+
bottomLat
+
','
+
leftLng
+
';'
+
topLat
+
','
+
rightLng
+
'&filter=&page_index=1&page_size=
'
+
this
.
page_size
+
'
&timeStamp='
+
start_time
;
that
.
$http
.
get
(
'https://bird.ioliu.cn/v1?url=http://yingyan.baidu.com/api/v3/entity/boundsearch'
+
url
).
then
(
res
=>
{
that
.
totalNum
=
0
that
.
personData
.
forEach
(
person
=>
{
...
...
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