(window.webpackJsonp=window.webpackJsonp||[]).push([["er4n"],{er4n:function(e,n,t){"use strict";t.r(n);var a=t("t3Un");var o={name:"GGMap",data:function(){return{show:!1,center:{lng:122.3843288,lat:11.4574355},markers:[],icon:"../qishou.png",position:{},websock:null}},created:function(){this.getmapdata()},mounted:function(){this.mapBuild()},methods:{getmapdata:function(){var e=this;(function(){var e=new URLSearchParams;return e.append("regionid",0),e.append("repositoryid",0),Object(a.a)({url:"/pss/repository/getrepositorybyreid",method:"post",data:e})})().then(function(n){var t=[];n.data.data.content.map(function(e){var n={},a={};a.lng=e.longitude,a.lat=e.latitude,n.position=a,n.name=e.name,n.address=e.address,n.phone=e.phone,t.push(n)}),e.markers=t,e.mapBuild()})},mapBuild:function(){var e=new google.maps.Map(document.getElementById("map_canvas"),{zoom:6,center:this.center,mapTypeId:google.maps.MapTypeId.ROADMAP});this.markers.map(function(n){var t=new google.maps.Marker({map:e,position:n.position}),a=new google.maps.InfoWindow({content:"
门店地址: "+n.address+"
\n门店名:"+n.name+"
\n