| 
					
				 | 
			
			
				@@ -32,7 +32,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <el-button type="primary" icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,8 +84,24 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <dict-tag :options="dict.type.tl_area_type" :value="scope.row.areaType"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-table-column label="区域设备" align="center" prop="deviceCount" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      <el-table-column label="区域巡检点" align="center" prop="locationCount" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-table-column label="区域设备" align="center" prop="deviceCount" > 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="mini" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="getDevice(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          >{{scope.row.deviceCount}}</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <el-table-column label="区域巡检点" align="center" prop="locationCount"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <el-button 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            size="mini" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            type="text" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            @click="getLocation(scope.row)" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          >{{scope.row.locationCount}}</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="区域描述" align="center" prop="detail" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="备注" align="center" prop="remark" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -119,7 +135,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     <!-- 添加或修改区域管理对话框 --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <el-dialog :title="addtitle" :visible.sync="open" width="150rem" append-to-body @open="openMap"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-dialog :title="addtitle" :visible.sync="open" width="150rem" append-to-body @open="openMap" v-if="open"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div style="height:70rem"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div style="float:left;width:30rem"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <el-form ref="form" :model="form" :rules="rules" label-width="8rem" > 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -154,7 +170,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </el-form> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div style="float:left;height:60rem;width:100rem;margin-left:10rem;margin-top:5rem"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-           <mapdiv ref='mapv' :point='pointArry'></mapdiv> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           <mapdiv ref='mapv' :pointObj='pointArry' :isEdit='isEdit'></mapdiv> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       <div slot="footer" class="dialog-footer" style="text-align:center"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -163,16 +179,56 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         <el-button type="primary" @click="deleteLocation">清 除</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     <el-dialog title="巡检设备列表" :visible.sync="openDevice" width="150rem" append-to-body> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div style="height:70rem"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-table v-loading="loading" :data="deviceList"  stripe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  class="my_table" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :row-class-name="tableRowClassName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  :header-cell-style="{background:'#24A3B3 50%',color: '#C5D0D4'}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-table-column type="selection" width="55" align="center" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-table-column label="设备编号" align="center" prop="deviceCode" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-table-column label="设备名称" align="center" prop="deviceName" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-table-column label="设备类型" align="center" prop="deviceType"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    <template slot-scope="scope"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                      <dict-tag :options="dict.type.tl_device_type" :value="scope.row.deviceType"/> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  </el-table-column> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-table-column label="经纬度" align="center" prop="lnglat" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                  <el-table-column label="备注" align="center" prop="remark" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </el-table>     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     <el-dialog title="巡检点列表" :visible.sync="openLocaton" width="150rem" append-to-body> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      <div style="height:70rem"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-table :data="locationList" stripe 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                class="my_table" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :row-class-name="tableRowClassName" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                :header-cell-style="{background:'#24A3B3 50%',color: '#C5D0D4'}"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-table-column type="selection" width="55" align="center" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-table-column label="编号" align="center" prop="locationCode" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-table-column label="名称" align="center" prop="locationName" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-table-column label="描述" align="center" prop="detail" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-table-column label="巡检设备" align="center" prop="deviceIds" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-table-column label="所属区域" align="center" prop="areaId" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                <el-table-column label="备注" align="center" prop="remark" /> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            </el-table>   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 </template> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 <script> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import { listArea, getArea, delArea, addArea, updateArea } from "@/api/qdtl/area"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { listDevice, getDevice, delDevice, addDevice, updateDevice } from "@/api/qdtl/device"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+import { listLocation, getLocation, delLocation, addLocation, updateLocation } from "@/api/qdtl/location"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import mapdiv from "@/components/map/index.vue" 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   name: "Area", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-  dicts: ['tl_area_type'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  dicts: ['tl_area_type','tl_device_type'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+  // dicts: ['tl_device_type'], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   data() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 遮罩层 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -189,14 +245,24 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       total: 0, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 区域管理表格数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       areaList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      deviceList:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      locationList:[], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 弹出层标题 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       title: "区域管理", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 是否显示弹出层 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       open: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      openDevice: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      openLocaton:false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       //分页器类型 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       layout:"total, prev, pager, next,jumper", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       addtitle:"新增区域", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //地图受否可以编辑打点 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      isEdit:'true', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 查询参数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       queryParams: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         pageNum: 1, 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -205,7 +271,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         areaName: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         areaType: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      pointArry:null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      pointArry:{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        locations:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        type:'' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 表单参数 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       form: {}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // 表单校验 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -229,22 +298,30 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     this.getList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				   methods: { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // getDeviceList() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   listDevice(this.queryParams).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //     this.deviceList = response.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //     this.total = response.total; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //   }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    // }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     openMap(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       var locationArry = "[[" + this.form.fence + "]]"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       this.pointArry = locationArry; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       var locationArry =  this.form.fence ; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       this.pointArry.locations = locationArry; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       this.pointArry.type = this.form.areaType 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+       console.log(this.pointArry); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //     addPoint(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // this.$refs.mapv.addpoint(locationArry) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 //     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     areaTypeChange(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       console.log(this.form.areaType); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      if(this.form.areaType == 1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$refs.mapv.typeSelect="Polygon"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$refs.mapv.changeAddInteractions(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$refs.mapv.typeSelect="Point"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          this.$refs.mapv.changeAddInteractions(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      }  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // if(this.form.areaType == 1){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     this.$refs.mapv.typeSelect="Polygon"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     this.$refs.mapv.changeAddInteractions(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     this.$refs.mapv.typeSelect="Point"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      //     this.$refs.mapv.changeAddInteractions(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      // }  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // this.$refs.mapv.typeSelect=""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     tableRowClassName({ row, rowIndex }) { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -286,6 +363,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         updateBy: null, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         updateTime: null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      if(this.pointArry){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+           this.pointArry = {locations:'', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      type:''}; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.resetForm("form"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 搜索按钮操作 */ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -320,9 +401,29 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.open = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.addtitle = "修改区域管理"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				          this.areaTypeChange(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         this.openMap(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // that.$refs.mapv.addInteractions(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     /** 打开设备列表弹窗 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     getDevice(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const id = row.id || this.ids 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      listDevice({areaId:id}).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             this.openDevice = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             this.deviceList = response.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              console.log( this.deviceList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+     getLocation(row) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const id = row.id || this.ids 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      const that = this; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      listLocation({areaId:id}).then(response => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             this.openLocaton = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             this.locationList = response.rows; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              // console.log( this.locationList); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /** 提交按钮 */ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     submitForm() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       this.$refs["form"].validate(valid => { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -371,8 +472,6 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     //清除绘制内容 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     deleteLocation(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(111); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-      console.log(this.$refs.mapv.draw.removeLastPoint()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       // this.$refs.mapv.draw.set 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				        this.$refs.mapv.vector.getSource().clear() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |