From cf7fa066fd5032493040ff3f8c743d27313ccbbd Mon Sep 17 00:00:00 2001 From: 123456 <17862666717> Date: Thu, 23 Jun 2022 13:57:46 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=94=B9=E6=8C=89=E9=92=AE?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../icpointnucleicmonitoring-add-or-update.vue | 13 +++++++++---- .../plugins/point/icpointnucleicmonitoring.vue | 1 + .../icpointvaccinesinoculation-add-or-update.vue | 10 ++++++++-- .../plugins/point/icpointvaccinesinoculation.vue | 9 +++++++++ 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue index 98ae2884..c9c9308f 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring-add-or-update.vue @@ -66,7 +66,7 @@ >查询
@@ -95,12 +95,12 @@ - + @@ -203,6 +203,7 @@ export default { }, }, created() { + console.log(document.getElementById("map_add")); this.getFormInfo(); this.initMap(); }, @@ -212,7 +213,7 @@ export default { // 定义地图中心点坐标 var center = new window.TMap.LatLng(36.0722275, 120.38945519); // 定义map变量,调用 TMap.Map() 构造函数创建地图 - map = new window.TMap.Map(document.getElementById("map_app"), { + map = new window.TMap.Map(document.getElementById("map_add"), { center: center, // 设置地图中心点坐标 zoom: 17.2, // 设置地图缩放级别 pitch: 43.5, // 设置俯仰角 @@ -396,4 +397,8 @@ export default { .position_label >>> .el-form-item__label::before{ color:#fff!important; } +.submit{ + text-align: center; + margin: auto; +} diff --git a/src/views/modules/plugins/point/icpointnucleicmonitoring.vue b/src/views/modules/plugins/point/icpointnucleicmonitoring.vue index eb39591a..e1d96925 100644 --- a/src/views/modules/plugins/point/icpointnucleicmonitoring.vue +++ b/src/views/modules/plugins/point/icpointnucleicmonitoring.vue @@ -147,6 +147,7 @@ :destroy-on-close="true" > diff --git a/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue b/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue index f5a950b1..4e994c2f 100644 --- a/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue +++ b/src/views/modules/plugins/point/icpointvaccinesinoculation-add-or-update.vue @@ -73,6 +73,7 @@ @@ -122,12 +123,12 @@ - + @@ -270,6 +271,7 @@ export default { }, }, mounted() { + console.log(document.getElementById("map_app")); this.getFormInfo(); this.initMap(); }, @@ -450,4 +452,8 @@ export default { .position_label >>> .el-form-item__label::before{ color:#fff!important; } +.submit{ + text-align: center; + margin: auto; +} diff --git a/src/views/modules/plugins/point/icpointvaccinesinoculation.vue b/src/views/modules/plugins/point/icpointvaccinesinoculation.vue index 9668e34f..230d2c1a 100644 --- a/src/views/modules/plugins/point/icpointvaccinesinoculation.vue +++ b/src/views/modules/plugins/point/icpointvaccinesinoculation.vue @@ -323,9 +323,18 @@ export default { };