From 7e424b1482b9d8971b8b738e7a165f3b09cb29e0 Mon Sep 17 00:00:00 2001
From: xufenglei <xufenglei>
Date: Thu, 15 Nov 2018 10:18:22 +0800
Subject: [PATCH] update

---
 src/main/webapp/view/map.jsp |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)

diff --git a/src/main/webapp/view/map.jsp b/src/main/webapp/view/map.jsp
index bc2a6d1..fcf948d 100644
--- a/src/main/webapp/view/map.jsp
+++ b/src/main/webapp/view/map.jsp
@@ -281,8 +281,8 @@
 	    <!-- <div class="search_box">
 		<button id="searchBtn" type="button">������</button>
 		<input id="searchParam"/>
-		</div>
-	  <div id="popup_box">
+		</div> -->
+	  <!-- <div id="popup_box">
 			<div id="equ_list" class="listview">
 			</div>
 	  </div> -->
@@ -319,7 +319,7 @@
         //$("#searchParam").val(mpoint['name']);
 		var url = 'get-devices-by-mid-oid?mpId=' + mpoint['id'] + "&orgId=" + params['orgId'];
 		listView.load(url); 
-		//moralMap.showPopupbox("#popup_box");
+		moralMap.showPopupbox("#popup_box");
 	}
 	function loadLazy(url,paramMap,callBack,lazyKeyer){
 		if(lazyKeyer==undefined){
@@ -642,6 +642,18 @@
                                     }
                                 }
                             }
+                            
+                            var equ = {
+									    methodName : 'refreshState',
+										markers : markers,
+										layer : layer	
+									}
+                            var equStr = JSON.stringify(equ);
+							if(window["console"]!=undefined){
+							}
+                      			if(!!window['external']&&!!window['external']['callWin']){
+                                      window['external'].callWin(equStr);
+							}
                         }
                         if(resultMap["popupEquStates"]!=null){
                             listView.refreshState(resultMap["popupEquStates"]);
@@ -654,6 +666,5 @@
 	
 	function callJS(jsonData){
 		moralMap.callJS(jsonData);
-		refreshAllState();
 	}
 </script>

--
Gitblit v1.8.0