|  | @ -36,11 +36,13 @@
 | 
	
		
			
				|  |  |         getServerInfo(host,type,beginTime,endTime);
 | 
	
		
			
				|  |  |         getInfo(host,type,endTime);
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  | 
 | 
	
		
			
				|  |  |         //左侧栏目点击事件
 | 
	
		
			
				|  |  |         $('#div_wrapper_left_ul_resourcetree').on("click","li",function(){
 | 
	
		
			
				|  |  |            $(this).addClass("active");
 | 
	
		
			
				|  |  |             $(this).siblings("li").removeClass("active");
 | 
	
		
			
				|  |  |             var host = $(this).find("span").text();
 | 
	
		
			
				|  |  |             $(this).find("div").addClass("f-bold");
 | 
	
		
			
				|  |  |             $(this).siblings("li").find("div").removeClass("f-bold");
 | 
	
		
			
				|  |  |             var host = $(this).find("div").text();
 | 
	
		
			
				|  |  |             var beginTime = $("#repeatStartTime").ligerDateEditor("getValue");
 | 
	
		
			
				|  |  |             var endTime = $("#repeatEndTime").ligerDateEditor("getValue");
 | 
	
		
			
				|  |  |             if(beginTime=="" && $endTime=="")
 | 
	
	
		
			
				|  | @ -112,15 +114,16 @@
 | 
	
		
			
				|  |  |         $.ajax({
 | 
	
		
			
				|  |  |             type: "GET",
 | 
	
		
			
				|  |  |             url: "${contextRoot}/monitor/server/hosts",
 | 
	
		
			
				|  |  |             async: false,
 | 
	
		
			
				|  |  |             success: function (msg) {
 | 
	
		
			
				|  |  |                 // 初始化树形菜单
 | 
	
		
			
				|  |  |                 var data = msg.data;
 | 
	
		
			
				|  |  |                 if(data!=null && data.length>0){
 | 
	
		
			
				|  |  |                     for(var i=0;i<data.length;i++){
 | 
	
		
			
				|  |  |                         if(i==0){
 | 
	
		
			
				|  |  |                             $resourceTree.append( "<li class='active'><div style='font-weight:900;cursor:pointer;'>"+data[i].host+"</div></li>");
 | 
	
		
			
				|  |  |                             $resourceTree.append( "<li class='active'><div class='f-bold' style='margin-top:10px;cursor:pointer;'>"+data[i].host+"</div></li>");
 | 
	
		
			
				|  |  |                         }else{
 | 
	
		
			
				|  |  |                             $resourceTree.append( "<li><div style='font-weight:900;cursor:pointer;'>"+data[i].host+"</div></li>");
 | 
	
		
			
				|  |  |                             $resourceTree.append( "<li><div style='margin-top:10px;cursor:pointer;'>"+data[i].host+"</div></li>");
 | 
	
		
			
				|  |  |                         }
 | 
	
		
			
				|  |  |                     }
 | 
	
		
			
				|  |  |                     host = data[0].host;
 |