From 489acf5ce86f711ef70e67a3bb1511571177a8bb Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Thu, 12 Aug 2021 16:48:41 +0800
Subject: [PATCH] 部分修改
---
pages/map/map.vue | 26 ++++----------------------
1 files changed, 4 insertions(+), 22 deletions(-)
diff --git a/pages/map/map.vue b/pages/map/map.vue
index 04340cb..51d5a86 100644
--- a/pages/map/map.vue
+++ b/pages/map/map.vue
@@ -15,28 +15,10 @@
methods: {},
mounted() {},
onLoad: function(options) {
- var data = [];
- // console.log(options,"options")
- if (options.data == undefined) {
- data = [{
- "id": '100000',
- "place": '无数据',
- "state": '0',
- "dtype": '0',
- "size": '300',
- "jd": "114.822311",
- "wd": "28.646341"
- }]
- data = JSON.stringify(data);
- } else {
- data = options.data;
- }
- // console.log(options.html)
- var a = options.html != undefined ? options.html : "xcxMapWz/xcxmap.html";
- // console.log(a)
- this.urls = "http://web.byisf.com/xcxMapWz/xcxmap.html?data=" + data;
- // this.dataList = data;
- // console.log(this.urls,'url');
+
+ this.urls = "http://web.byisf.com/mapWz/xcxmap.html?id="+ this.$store.state.UserData.jurisdiction + "&userid="+ this.$store.state.UserData.role_id;
+ // this.urls = "http://127.0.0.1:5500/mapWz/xcxmap.html?id="+ this.$store.state.UserData.jurisdiction + "&userid="+ this.$store.state.UserData.role_id;
+
},
}
</script>
--
Gitblit v1.9.3