From 96bcf675c8f3bf622b6435bf3b10354add6c3f86 Mon Sep 17 00:00:00 2001
From: liuyg <liuyg@qq.com>
Date: Mon, 21 Feb 2022 11:38:34 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/qfqk-android

---
 leafletMapOur/loginMap/js/vueMain.js |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/leafletMapOur/loginMap/js/vueMain.js b/leafletMapOur/loginMap/js/vueMain.js
index 68d0db6..61f8ae8 100644
--- a/leafletMapOur/loginMap/js/vueMain.js
+++ b/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 //城市

--
Gitblit v1.9.3