liuyg
2022-02-21 96bcf675c8f3bf622b6435bf3b10354add6c3f86
leafletMapOur/loginMap/js/vueMain.js
@@ -21,8 +21,13 @@
        nowPosition: '',
        resultFeedbackPopupShow: false,
        popupDisplay: "none",
        regionName: ''
    },
    methods: {
        getLocalPoliceStation () {
            window.parent.getRegionName(this.regionName)
        },
        getDataList () {
            var that = this
            that.beginCome()
@@ -39,6 +44,8 @@
            }]
            //url解码
            this.getdata = this.getQueryVariable('data') || data
            console.log(this.getdata, 456)
            this.map = this.beginMap(this.map, this.getdata) //创建并接受map
            this.map.invalidateSize(true) //应用地图高度
        },
@@ -110,6 +117,11 @@
            }
            function showPosition (position) {
                that.regionName = position.district || position.city
                console.log(position)
                var adCode = position.adCode //邮政编码
                var nation = position.nation //中国
                var city = position.city //城市