From f86d079dcafc190e634f248d1dcc7007b7cf1028 Mon Sep 17 00:00:00 2001
From: LiJun <LiJun@192.168.10.18>
Date: 星期二, 30 十月 2018 10:25:55 +0800
Subject: [PATCH] 屏蔽页面输出

---
 gx_tieta/WebRoot/Top.jsp |   58 ++++++++++++++++++++++++++++++----------------------------
 1 files changed, 30 insertions(+), 28 deletions(-)

diff --git a/gx_tieta/WebRoot/Top.jsp b/gx_tieta/WebRoot/Top.jsp
index b733db6..22a3b2e 100644
--- a/gx_tieta/WebRoot/Top.jsp
+++ b/gx_tieta/WebRoot/Top.jsp
@@ -620,6 +620,35 @@
 		});
 	}
 	
+	//鏌ヨ鏈�杩�30鍐呯殑璁惧鍜岀數姹犲憡璀﹀苟鎾姤璇煶
+	function searchRecentlyAlarm(){
+		$.ajax({ 	
+       		type: "post", 				
+	        url: "Battalarm_dataAction!serchIn30",				
+	        async:true,				
+	        dataType:'json',
+	        data:null,		
+	        success: function(data){ 
+	        	//console.info(data);
+	        	var model = eval("("+data.result+")");
+	        	//console.info(model);
+	        	if(model.code == 1){
+	        		var alarm_str = "";
+	        		for(var i=0;i<model.data.length;i++){
+	        			var obj = model.data[i];
+	        			alarm_str += obj.note+";";
+	        		}
+	        		voice.play(alarm_str,searchRecentlyAlarm);
+	        	}else{	        	
+		        	setTimeout(searchRecentlyAlarm, 5000);
+	        	}
+        	},
+        	error:function() {
+        		setTimeout(searchRecentlyAlarm, 5000);
+        	}	
+		});
+	}
+	
 	// 鏍稿娴嬭瘯妯″潡
 	$(function() {
 		var arrTh = ['鏈烘埧鍚嶇О', '璁惧ID', '璁惧鍚嶇О','璁惧鐘舵��', '鍦ㄧ嚎鐢靛帇锛圴锛�', '缁勭鐢靛帇锛圴锛�', '缁勭鐢垫祦锛坢A锛�','璁惧娓╁害锛堚剝锛�', '宸叉祴瀹归噺锛圓H锛�', '璁惧鍛婅', '宸叉祴鏃堕棿'];
@@ -689,34 +718,7 @@
 	    
 	    
 	    
-		//鏌ヨ鏈�杩�30鍐呯殑璁惧鍜岀數姹犲憡璀﹀苟鎾姤璇煶
-		function searchRecentlyAlarm(){
-			$.ajax({ 	
-	       		type: "post", 				
-		        url: "Battalarm_dataAction!serchIn30",				
-		        async:true,				
-		        dataType:'json',
-		        data:null,		
-		        success: function(data){ 
-		        	console.info(data);
-		        	var model = eval("("+data.result+")");
-		        	console.info(model);
-		        	if(model.code == 1){
-		        		var alarm_str = "";
-		        		for(var i=0;i<model.data.length;i++){
-		        			var obj = model.data[i];
-		        			alarm_str += obj.note+";";
-		        		}
-		        		voice.play(alarm_str,searchRecentlyAlarm);
-		        	}else{	        	
-			        	setTimeout(searchRecentlyAlarm, 5000);
-		        	}
-	        	},
-	        	error:function() {
-	        		setTimeout(searchRecentlyAlarm, 5000);
-	        	}	
-			});
-		}
+		
 	    
 	    // 鏍规嵁鏁版嵁鐢熸垚琛ㄦ牸
 	    function createTblByModel(model) {

--
Gitblit v1.9.1