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
53ab5be5
Commit
53ab5be5
authored
Nov 25, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
08a8508b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
customerMap.vue
src/components/SalesModule/customerMap.vue
+4
-5
customerTransfer.vue
src/components/SalesModule/customerTransfer.vue
+2
-2
No files found.
src/components/SalesModule/customerMap.vue
View file @
53ab5be5
...
...
@@ -19,11 +19,11 @@ export default {
};
},
methods
:
{
creatMap
(){
creatMap
(
arr
,
type
){
let
_this
=
this
let
data
=
this
.
baiduMapData
;
//实例化,并设置最大最小缩放层级
const
map
=
new
BMap
.
Map
(
"centerMpBaidu"
,
{
let
map
=
map
=
new
BMap
.
Map
(
"centerMpBaidu"
,
{
minZoom
:
3
,
maxZoom
:
20
,
});
...
...
@@ -54,7 +54,6 @@ export default {
//绑定事件,显示窗口
// marker.addEventListener("click", function(){
// _this.markerClick(point, item)
// // map.openInfoWindow(infoWindow,point);
// });
markerClusterers
[
item
.
type
||
0
].
push
(
marker
)
//添加点标注即添加覆盖物
...
...
@@ -143,7 +142,7 @@ export default {
})
this
.
apipost
(
'financestatistics_post_GetB2BBoardClientAddressList'
,
{
BranchId
:
RB_Branch_id
,
ProvinceName
:
''
},
r
=>
{
if
(
r
.
data
.
resultCode
==
1
)
{
console
.
log
(
r
.
data
.
data
)
let
_this
=
this
;
let
data
=
r
.
data
.
data
data
.
ActivateList
.
map
(
x
=>
{
x
.
type
=
0
...
...
@@ -154,7 +153,7 @@ export default {
data
.
NotVisit
.
map
(
x
=>
{
x
.
type
=
1
})
let
baiduMapData
=
[...
data
.
ActivateList
,
...
data
.
InActiveList
,
...
data
.
NotVisit
]
let
baiduMapData
=
[...
data
.
ActivateList
,
...
data
.
InActiveList
,
...
data
.
NotVisit
]
;
this
.
baiduMapData
=
baiduMapData
this
.
creatMap
()
}
...
...
src/components/SalesModule/customerTransfer.vue
View file @
53ab5be5
...
...
@@ -75,12 +75,12 @@
</li>
<li
style=
"float:right;padding-top:10px;color:#111111"
>
{{
$t
(
'salesModule.JYETJ'
)
}}
:
{{
datainfo
.
sumMoney
}}
</li>
<li>
<input
<
!--
<
input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('ground.kehuditu')"
@
click=
"getMap()"
>
>
-->
<input
type=
"button"
class=
"hollowFixedBtn"
...
...
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