From f3ab28fd376caec5b142145d9b779d846f9fbc10 Mon Sep 17 00:00:00 2001
From: 陈泽平 <chenzeping>
Date: 星期一, 31 五月 2021 10:23:28 +0800
Subject: [PATCH] 企业应急-事件上报布局问题修改

---
 src/components/base-page/enterprise-emergency/events-reported/ReportLocationPoint.vue |   51 ++++-----------------------------------------------
 1 files changed, 4 insertions(+), 47 deletions(-)

diff --git a/src/components/base-page/enterprise-emergency/events-reported/ReportLocationPoint.vue b/src/components/base-page/enterprise-emergency/events-reported/ReportLocationPoint.vue
index 45d885a..44ffaa2 100644
--- a/src/components/base-page/enterprise-emergency/events-reported/ReportLocationPoint.vue
+++ b/src/components/base-page/enterprise-emergency/events-reported/ReportLocationPoint.vue
@@ -1,27 +1,5 @@
 <template>
     <div class="location-lon-and-lat">
-        <!--        <el-row>-->
-        <!--            <el-form :model="lonlatpos" label-width="60px">-->
-        <!--                <el-col :span="12">-->
-        <!--                    <el-form-item label="缁忓害:">-->
-        <!--                        <el-input type="text" v-model="lonlatpos.longPos"></el-input>-->
-        <!--                    </el-form-item>-->
-        <!--                </el-col>-->
-        <!--                <el-col :span="12">-->
-        <!--                    <el-form-item label="绾害:">-->
-        <!--                        <el-input type="text" v-model="lonlatpos.latPos"></el-input>-->
-        <!--                    </el-form-item>-->
-        <!--                </el-col>-->
-        <!--            </el-form>-->
-        <!--            <el-row>-->
-        <!--                <el-col :span="12" style="text-align: center;margin: 5px 0">-->
-        <!--                    <el-button type="primary" size="small" @click="mapPoints">绮剧‘瀹氫綅</el-button>-->
-        <!--                </el-col>-->
-        <!--                <el-col :span="12" style="text-align: center;margin: 5px 0">-->
-        <!--                    <el-button type="primary" size="small" @click="dataPoints">鏁版嵁璇嗗彇</el-button>-->
-        <!--                </el-col>-->
-        <!--            </el-row>-->
-        <!--        </el-row>-->
         <el-form :model="lonlatpos" label-width="60px">
             <el-row class="pipe-line-search">
                 <el-col :span="12">
@@ -41,10 +19,10 @@
                 <el-button type="primary" size="small" @click="mapPoints">绮剧‘瀹氫綅</el-button>
             </el-col>
             <el-col :span="12" style="text-align: center;margin: 5px 0">
-                <el-button type="primary" size="small" @click="dataPoints">鏁版嵁璇嗗彇</el-button>
+                <el-button type="primary" size="small" @click="dataPoints">浣嶇疆璇嗗彇</el-button>
             </el-col>
         </el-row>
-        <el-row class="place-bottom" style="text-align: right;margin: 5px">
+        <el-row style="text-align: right;margin: 5px">
             <el-button type="primary" @click="confirm" size="small">纭</el-button>
         </el-row>
     </div>
@@ -88,12 +66,12 @@
         window.map.addLayer(this.marker)
         this.layersGroupArrList.push(this.marker)
         window.map.off('click')
+        // this.lonlatpos.latPos = ''
+        // this.lonlatpos.longPos = ''
       })
     },
     // 閫氳繃鏁版嵁瀹氫綅
     dataPoints () {
-      // this.lonlatpos.latPos = ''
-      // this.lonlatpos.longPos = ''
       if (this.lonlatpos.latPos !== '' && this.lonlatpos.longPos !== '') {
         const as = [this.lonlatpos.latPos, this.lonlatpos.longPos]
         window.map.setView(as, 17)
@@ -127,25 +105,4 @@
 </script>
 
 <style lang="less" scoped>
-    .place-box {
-        display: flex;
-        align-items: center;
-        justify-content: space-around;
-    }
-
-    .place {
-        text-align: center;
-
-        .place-top {
-            display: flex;
-            align-items: center;
-            justify-content: space-around;
-
-            .place-right {
-                .el-button {
-                    margin: 15px;
-                }
-            }
-        }
-    }
 </style>

--
Gitblit v1.8.0