| 
					
				 | 
			
			
				@@ -359,7 +359,7 @@ const handleEdit = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     typeStr.value = "edit"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     disabledForm.value = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     mapData.disabledForm = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    authenticMap.startModify(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    authenticMap.startModify('edit'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 取消 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -389,6 +389,9 @@ const onSubmit = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     ruleFormRef.value.validate((valid, fields) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         if (valid) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             formInline.mu = formInline.mu.split("亩")[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(heightArr.value.length>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                formInline.height = heightArr.value 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             VE_API.authentic.saveData(formInline).then((res) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 store.commit("authentic/SET_ISEDIT_STATUS", false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 isUpdata.value = false; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -524,8 +527,9 @@ const handleAdd = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 // 删除点 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 const handleDeletePoint = () => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    authenticMap.removePoint(() => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    authenticMap.removePoint((index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         updatePointList(typeStr.value); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        heightArr.value.splice(index,1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -588,13 +592,16 @@ const getDetailsData = (id) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         data.createDate = dateFormat(new Date(data.createDate), "YYYY-mm-dd HH:MM:SS"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         updateFormInline({ ...data }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        formInline.mu = data.mu + "亩"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //   经纬度列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let arr = JSON.parse(data.points); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // 删除最后数组最后一项闭合数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         arr.pop(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         pointList.value = arr; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if(data.height.length>0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            heightArr.value = data.height 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            store.commit("authentic/SET_ISEDIT_STATUS", true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        formInline.mu = data.mu + "亩"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -607,7 +614,7 @@ const updatePointList = (type) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     result.pop(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     pointList.value = result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    //判断是否是导入数据, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    //判断是否是导入数据 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     if (store.state.authentic.isEditStatus) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         const arr = pointList.value.map((item, index) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return [...item, heightArr.value[index]]; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -637,7 +644,7 @@ watch( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             isUpdata.value = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             formInline.createDate = dateFormat(new Date(), "YYYY-mm-dd HH:MM:SS"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             updatePointList("add"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            authenticMap.startModify(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            authenticMap.startModify('add'); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 ); 
			 |