Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
youjj
cloud-platform-ui
Commits
e7a8de73
Commit
e7a8de73
authored
Sep 21, 2019
by
lixy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公众号
parent
432d95cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
companyMap.vue
src/views/baseInfo/companyInfo/companyMap.vue
+2
-2
index.vue
src/views/baseInfo/companyInfo/index.vue
+6
-6
No files found.
src/views/baseInfo/companyInfo/companyMap.vue
View file @
e7a8de73
...
...
@@ -98,7 +98,7 @@
}
else
{
allPage
(
this
.
listQuery
)
.
then
(
response
=>
{
let
listTemp
=
response
.
data
.
data
;
let
listTemp
=
response
.
data
;
let
arr
=
[];
listTemp
.
map
(
function
(
item
){
arr
.
push
(
item
);
...
...
@@ -202,7 +202,7 @@
type
:
'get'
,
url
:
'https://api.map.baidu.com/geocoder/v2/?ak=wWYw0yCb8ntXmSgTxTx40vKR&callback=renderReverse&location='
+
r
.
point
.
lat
+
','
+
r
.
point
.
lng
+
'&output=json&pois=1'
,
async
:
false
,
jsonp
:
"callback"
,
jsonp
:
"callback"
,
dataType
:
'jsonp'
,
success
:
function
(
data
)
{
var
addrCity
=
data
.
result
.
addressComponent
.
adcode
...
...
src/views/baseInfo/companyInfo/index.vue
View file @
e7a8de73
...
...
@@ -328,7 +328,7 @@
}
},
created
()
{
},
computed
:
{
...
mapGetters
([
...
...
@@ -381,7 +381,7 @@
//鼠标释放时候的函数
end
(){
this
.
flags
=
false
;
},
},
close
(){
this
.
otherProvince
=
false
this
.
quanguo
()
...
...
@@ -490,7 +490,7 @@
.
then
(
res
=>
{
this
.
loading
=
false
;
let
allList
=
[];
let
listTemp
=
res
.
data
.
data
;
let
listTemp
=
res
.
data
;
//一次读入所有涉及地区,防止多次读取
// if (!this.$utils.isEmpty(listTemp)) {
// let allRegions = new Set();
...
...
@@ -503,11 +503,11 @@
// }
// getRegionByCodes([...allRegions]);
// }
if
(
res
.
data
.
data
){
res
.
data
.
data
.
forEach
(
function
(
item
)
{
if
(
res
.
data
){
res
.
data
.
forEach
(
function
(
item
)
{
allList
.
push
(
item
);
});
if
(
res
.
data
.
data
.
length
<
this
.
listQuery
.
limit
&&
this
.
list
.
length
>
0
){
if
(
res
.
data
.
length
<
this
.
listQuery
.
limit
&&
this
.
list
.
length
>
0
){
//已加载全部
this
.
nomore
=
true
;
}
...
...
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