| 
					
				 | 
			
			
				@@ -42,21 +42,21 @@ class MockFarmLayer { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             zIndex:-1 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // eventBus.on("homeMap:init", function (kmap) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     that.initLayer(kmap) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     VE_API.farm.weatherRiskVirtualFarmList().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         if(res.code ===0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //             that.setData(res.data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // eventBus.on("MockFarmLayer:click", function ({event, feature}) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     let targetSampleId = feature.get("targetSampleId") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     let mockFarmId = feature.get("mockFarmId") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     // let lonLat = event.map.getCoordinateFromPixel(event.pixel); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     // console.log('纬度:', lonlat[1]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        //     router.push({path:'feature_album',query:{farmId:mockFarmId,sampleId:targetSampleId,timestamp: Date.now()}}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        eventBus.on("warningMap:init", function (kmap) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            that.initLayer(kmap) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            VE_API.mini_farm.weatherRiskVirtualFarmList().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if(res.code ===0){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    that.setData(res.data) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        eventBus.on("MockFarmLayer:click", function ({event, feature}) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let targetSampleId = feature.get("targetSampleId") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            let mockFarmId = feature.get("mockFarmId") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // let lonLat = event.map.getCoordinateFromPixel(event.pixel); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // console.log('纬度:', lonlat[1]); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            router.push({path:'feature_album',query:{farmId:mockFarmId,sampleId:targetSampleId,timestamp: Date.now()}}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 |