| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 | 
							- <%@ page import="java.util.regex.Pattern" %>
 
- <%@ page import="java.util.regex.Matcher" %>
 
- <%@ page language="java" contentType="text/html; charset=UTF-8"
 
- 		 pageEncoding="UTF-8"%>
 
- <%@ page session="true" %>
 
- <%
 
-     String path = request.getContextPath();
 
-     String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
 
-     String baseUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
 
-     String t = String.valueOf(System.currentTimeMillis());
 
-     String theme = request.getParameter("theme");
 
-     String viewAlarmType = request.getParameter("viewAlarmType");
 
-     String pieAlarmType = request.getParameter("pieAlarmType");
 
-     String statusType = request.getParameter("statusType");
 
-     String css_name = "ext-all-access.css";
 
-     String company_code = request.getParameter("company_code");
 
-     if(viewAlarmType==null)
 
-     	viewAlarmType="11110010";
 
- 	if (!myRegex(viewAlarmType)){
 
- 		viewAlarmType = null;
 
- 	}
 
-     if(pieAlarmType==null)
 
-     	pieAlarmType="11110010";
 
- 	if (!myRegex(pieAlarmType)){
 
- 		pieAlarmType = null;
 
- 	}
 
-     if(statusType==null)
 
-     	statusType="11110010";
 
- 	if (!myRegex(statusType)){
 
- 		statusType = "";
 
- 	}
 
-     if((company_code==null)||(company_code=="null"))
 
-     	company_code = "";
 
- 	if (!myRegex(company_code)){
 
- 		company_code = null;
 
- 	}
 
-     if(theme!=null){
 
-     	if(theme.equals("gray"))
 
-     		css_name = "ext-all-gray.css";
 
-     	else if(theme.equals("access"))
 
-     		css_name = "ext-all-access.css";
 
-     	else if(theme.equals("neptune"))
 
-     		css_name = "ext-neptune.css";
 
-     	else if(theme.equals("default"))
 
-     		css_name = "ext-all.css";
 
-     	else if(theme.equals("scoped"))
 
-     		css_name = "ext-all-scoped";
 
-     	else if(theme.equals("ie"))
 
-     		css_name = "ext-ie.css";
 
-     	else if(theme.equals("sandbox"))
 
-     		css_name = "ext-sandbox.css";
 
-     	else if(theme.equals("standard"))
 
-     		css_name = "ext-standard.css";
 
- 		else {
 
- 			theme = "";
 
- 		}
 
-     }else
 
-     	theme = "";
 
- %>
 
- <%!
 
- 	public boolean myRegex (String str){
 
- 		Pattern pattern = Pattern.compile("^[0-9]*$");
 
- 		Matcher matcher = pattern.matcher(str);
 
- 		return matcher.matches();
 
- 	}
 
- %>
 
- <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
 
- <html>
 
- <head>
 
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 
- <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
 
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
 
- <meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width">
 
- <link type="text/css" rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />
 
- <link type="text/css" rel="stylesheet" href="<%=basePath+"res/img/myImages.css" %>"/>
 
- <link type="text/css" rel="stylesheet" href="<%=basePath+"res/extjs/resources/css/"+css_name+"?t="+t %>"/>
 
- <script type="text/javascript" src ="<%=basePath+"res/extjs/ext-all.js" %>"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/jquery/jquery-3.3.1.min.js" %>"></script>
 
- <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.13&key=246349bf278f6225fa80156828d0f061&plugin=AMap.Geocoder,Map3D"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts.js" %>"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts-3d.js" %>"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts-more.js" %>"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/solid-gauge.js" %>"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/sunburst.js" %>"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/exporting.js" %>"></script>
 
- <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/export-data.js" %>"></script>
 
- <script type="text/javascript" src ="<%=basePath+"view/scripts/map.js" %>"></script>
 
- <title>Insert title here</title>
 
-  <style>
 
- 	html, body,
 
- 		#container {
 
- 		  width: 100%;
 
- 		  height: 100%;
 
- 		}
 
- </style>
 
- </head>
 
- <body>
 
- <div id="container">
 
- 	<div id="mask_l" class="mask_left"></div>
 
- 	<div id="mask_r" class="mask_right"></div>
 
- 	<div id="fp_backbtn" class="fp_backbtn" onmouseover="btn_over();" onmouseout="btn_out();" onclick="back_all();"></div>
 
- 	<table id="alarm_wrapper_table" class="alarm_warpper_table" border="0" cellpadding="0" cellspacing="0">
 
- 		<tr style="border:none;border-collapse: collapse;">
 
- 			<td style="border:none;border-collapse: collapse; width:35px; height:58px; background:url(../res/img/warpper-l1.png) no-repeat; overflow:hidden;">
 
- 			</td>
 
- 			<td style="border:none;border-collapse: collapse; width:730px; height:58px; overflow:hidden; padding:0px; margin:0px;">
 
- 				<table id="sub_warpper_table" class="sub_wrapper_table" border="0" cellpadding="0" cellspacing="0">
 
- 					<tr style="border:none;border-collapse: collapse;">
 
- 						<td style="border:none;border-collapse: collapse; width:256px; height:58px; background:url(../res/img/warpper-l2.png) no-repeat; overflow:hidden; padding:0px; margin:0px;"></td>
 
- 						<td style="border:none;border-collapse: collapse; width:228px; height:58px; background:url(../res/img/warpper-mid.png) repeat-x; overflow:hidden; padding:0px; margin:0px;"></td>
 
- 						<td style="border:none;border-collapse: collapse; width:256px; height:58px; background:url(../res/img/warpper-r2.png) no-repeat; overflow:hidden; padding:0px; margin:0px;"></td>
 
- 					</tr>
 
- 				</table>
 
- 				<marquee id="alarm_wrapper" class="alarm_wrapper" behavior="scroll" scrollamount=“1” scrolldelay=“10” onmouseover="this.stop()" onmouseout="this.start()" onclick="show_alarm_list()">Loading...</marquee>			
 
- 			</td>
 
- 			<td style="border:none;border-collapse: collapse; width:35px; height:58px; background:url(../res/img/warpper-r1.png) no-repeat; overflow:hidden; padding:0px; margin:0px;">
 
- 			</td>
 
- 		</tr>
 
- 	</table>
 
- 	 <div id="bar5" class="search bar5">
 
-         <form>
 
-         <table style="border:none;"  border="0" cellpadding="0" cellspacing="0"><tr style="border:none;border-collapse: collapse;">
 
-         <td style="border:none;border-collapse: collapse; padding:0px; margin:0px;">
 
-             <input id="search_company" name="search_company" type="text" placeholder="请输入单位名称..." autocomplete="off"><div class="bar5_clear" onclick="clear_search();" style="cursor:pointer;"></div></td>
 
-          </tr></table>
 
-         </form>
 
-     </div>
 
-     <div id="saerch_company_list" class= "search_company_list" style="position:absolute;top:80px;right:200px;z-index:1001;font-size:14px;"></div>
 
- 	<div id="alarm_pie_bar" class="alarm_pie_bar" style="margin: 0px; overflow: hidden; z-index: 500; position: absolute; top: 141px; left:100px; border: 0px solid #000;"></div>
 
- 	<div id="device_pie_bar" class="device_pie_bar" style="margin: 0px; overflow: hidden; z-index: 500; position: absolute; top: 141px; right:100px; border: 0px solid #000;"></div>
 
- 	<div id="border_top_left" style="background:url(../res/img/border-tl.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; top:20px; left:20px;"></div>
 
- 	<div id="border_top_right" style="background:url(../res/img/border-tr.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; top:20px; right:20px;"></div>
 
- 	<div id="border_bottom_left" style="background:url(../res/img/border-bl.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; bottom:20px; left:20px;"></div>
 
- 	<div id="border_bottom_right" style="background:url(../res/img/border-br.png) no-repeat; width:117px; height:117px; z-index:500; position:absolute; bottom:20px; right:20px;"></div>
 
- </div>
 
- <input type="hidden" id="theme" name="theme" value="<%=theme %>"/>
 
- <input type="hidden" id="basePath" name="basePath" value="<%=basePath %>"/>
 
- <input type="hidden" id="viewAlarmType" name="viewAlarmType" value="<%=viewAlarmType %>"/>
 
- <input type="hidden" id="pieAlarmType" name="pieAlarmType" value="<%=pieAlarmType %>"/>
 
- <input type="hidden" id="statusType" name="statusType" value="<%=statusType %>"/>
 
- <input type="hidden" id="V_LOGINNAME" name="V_LOGINNAME" value=""/>
 
- <input type="hidden" id="V_PASSWORD" name="V_PASSWORD" value=""/>
 
- <input type="hidden" id="company_code" name="company_code" value="<%=company_code %>"/>
 
- </body>
 
- </html>
 
 
  |