map.jsp 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <%@ page language="java" contentType="text/html; charset=UTF-8"
  2. pageEncoding="UTF-8"%>
  3. <%@ page session="true" %>
  4. <%
  5. String path = request.getContextPath();
  6. String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
  7. String baseUrl = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+"/";
  8. String t = String.valueOf(System.currentTimeMillis());
  9. String theme = request.getParameter("theme");
  10. String viewAlarmType = request.getParameter("viewAlarmType");
  11. String pieAlarmType = request.getParameter("pieAlarmType");
  12. String statusType = request.getParameter("statusType");
  13. String css_name = "ext-all-access.css";
  14. String company_code = request.getParameter("company_code");
  15. String loginname = request.getParameter("loginname");
  16. String password = request.getParameter("password");
  17. if(viewAlarmType==null)
  18. viewAlarmType="11110010";
  19. if(pieAlarmType==null)
  20. pieAlarmType="11110010";
  21. if(statusType==null)
  22. statusType="11110010";
  23. if((company_code==null)||(company_code=="null"))
  24. company_code = "";
  25. if(theme!=null){
  26. if(theme.equals("gray"))
  27. css_name = "ext-all-gray.css";
  28. else if(theme.equals("access"))
  29. css_name = "ext-all-access.css";
  30. else if(theme.equals("neptune"))
  31. css_name = "ext-neptune.css";
  32. else if(theme.equals("default"))
  33. css_name = "ext-all.css";
  34. else if(theme.equals("scoped"))
  35. css_name = "ext-all-scoped";
  36. else if(theme.equals("ie"))
  37. css_name = "ext-ie.css";
  38. else if(theme.equals("sandbox"))
  39. css_name = "ext-sandbox.css";
  40. else if(theme.equals("standard"))
  41. css_name = "ext-standard.css";
  42. }else
  43. theme = "";
  44. %>
  45. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  46. <html>
  47. <head>
  48. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  49. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  50. <link type="text/css" rel="stylesheet" href="https://a.amap.com/jsapi_demos/static/demo-center/css/demo-center.css" />
  51. <link type="text/css" rel="stylesheet" href="<%=basePath+"res/img/myImages.css" %>"/>
  52. <link type="text/css" rel="stylesheet" href="<%=basePath+"res/extjs/resources/css/"+css_name+"?t="+t %>"/>
  53. <script type="text/javascript" src ="<%=basePath+"res/extjs/ext-all.js" %>"></script>
  54. <script type="text/javascript" src="<%=basePath+"res/jquery/jquery-3.5.1.min.js" %>"></script>
  55. <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.13&key=246349bf278f6225fa80156828d0f061&plugin=AMap.Geocoder,Map3D"></script>
  56. <script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts.js" %>"></script>
  57. <script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts-3d.js" %>"></script>
  58. <script type="text/javascript" src="<%=basePath+"res/highcharts/code/highcharts-more.js" %>"></script>
  59. <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/solid-gauge.js" %>"></script>
  60. <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/sunburst.js" %>"></script>
  61. <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/exporting.js" %>"></script>
  62. <script type="text/javascript" src="<%=basePath+"res/highcharts/code/modules/export-data.js" %>"></script>
  63. <script type="text/javascript" src="<%=basePath+"res/usky/usky.js" %>"></script>
  64. <script type="text/javascript" src ="<%=basePath+"view/frontpage/scripts/map.js" %>"></script>
  65. <title>Insert title here</title>
  66. <style>
  67. html, body,
  68. #container {
  69. width: 100%;
  70. height: 100%;
  71. }
  72. </style>
  73. </head>
  74. <body style="padding:0;margin:0;border:0px;overflow:hidden;">
  75. <div id="container" style="background-image:radial-gradient(circle, rgba(23,21,57,0.2), rgba(9,9,27,1.0));">
  76. <!--
  77. <div id="mask_t" class="mask_top"></div>
  78. <div id="mask_b" class="mask_bottom"></div>
  79. <div id="mask_l" class="mask_left"></div>
  80. <div id="mask_r" class="mask_right"></div>
  81. -->
  82. <div id="map_header" class="map_header"></div>
  83. <div id="bar5" class="search bar5">
  84. <!-- <form > -->
  85. <table style="border:none;" border="0" cellpadding="0" cellspacing="0"><tr style="border:none;border-collapse: collapse;">
  86. <td style="border:none;border-collapse: collapse; padding:0px; margin:0px;">
  87. <input id="search_company" name="search_company" type="text" placeholder="请输入单位名称..." autocomplete="off" onkeydown="key_fun(event);" ><div class="bar5_clear" onclick="clear_search();" style="cursor:pointer;"></div></td>
  88. </tr></table>
  89. <!-- </form> -->
  90. </div>
  91. <div id="saerch_company_list" class= "search_company_list" style="position:absolute;top:80px;right:200px;z-index:1001;font-size:14px;"></div>
  92. <!--
  93. <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>
  94. <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>
  95. <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>
  96. <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>
  97. -->
  98. <!-- <div id="data_bar_area" class="data_bar_area">
  99. <div id="data_bar" style="background:url(../../res/img/icons/data_bar.png) no-repeat;width:371px;height:891px;">
  100. <table id="data_bar_table" style="border:0px solid #000;position:absolute;top:55px;left:41px;width:300px;">
  101. <tr>
  102. <td id="data_title_1" colspan=2 class="data_bar_title" onclick="show_all_fireAlarm()">火灾监控</td>
  103. <td id="data_pie_1" rowspan=3 style="width:100px" onclick="show_all_fireAlarm()"></td>
  104. </tr>
  105. <tr>
  106. <td id="data_label_11" class="data_bar_total_label" onclick="show_all_fireAlarm()">报告总数</td>
  107. <td id="data_number_11" class="data_bar_total_number" onclick="show_all_fireAlarm()"></td>
  108. </tr>
  109. <tr>
  110. <td id="data_label_12" class="data_bar_alarm_label" onclick="show_all_fireAlarm()">待处理</td>
  111. <td id="data_number_12" class="data_bar_alarm_number" onclick="show_all_fireAlarm()"></td>
  112. </tr>
  113. <tr>
  114. <td id="data_title_2" colspan=2 class="data_bar_title" onclick="show_all_efireAlarm()">电气火灾监控</td>
  115. <td id="data_pie_2" rowspan=3 style="width:100px" onclick="show_all_efireAlarm()"></td>
  116. </tr>
  117. <tr>
  118. <td id="data_label_21" class="data_bar_total_label" onclick="show_all_efireAlarm()">报告总数</td>
  119. <td id="data_number_21" class="data_bar_total_number" onclick="show_all_efireAlarm()"></td>
  120. </tr>
  121. <tr>
  122. <td id="data_label_22" class="data_bar_alarm_label" onclick="show_all_efireAlarm()">待处理</td>
  123. <td id="data_number_22" class="data_bar_alarm_number" onclick="show_all_efireAlarm()"></td>
  124. </tr>
  125. <tr>
  126. <td id="data_title_3" colspan=2 class="data_bar_title" onclick="show_all_waterAlarm()">水系统监控</td>
  127. <td id="data_pie_3" rowspan=3 style="width:100px" onclick="show_all_waterAlarm()"></td>
  128. </tr>
  129. <tr>
  130. <td id="data_label_31" class="data_bar_total_label" onclick="show_all_waterAlarm()">报告总数</td>
  131. <td id="data_number_31" class="data_bar_total_number" onclick="show_all_waterAlarm()"></td>
  132. </tr>
  133. <tr>
  134. <td id="data_label_32" class="data_bar_alarm_label" onclick="show_all_waterAlarm()">待处理</td>
  135. <td id="data_number_32" class="data_bar_alarm_number" onclick="show_all_waterAlarm()"></td>
  136. </tr>
  137. <tr>
  138. <td id="data_title_4" colspan=2 class="data_bar_title" onclick="show_all_rtuAlarm()">RTU监控</td>
  139. <td id="data_pie_4" rowspan=3 style="width:100px" onclick="show_all_rtuAlarm()"></td>
  140. </tr>
  141. <tr>
  142. <td id="data_label_41" class="data_bar_total_label" onclick="show_all_rtuAlarm()">报告总数</td>
  143. <td id="data_number_41" class="data_bar_total_number" onclick="show_all_rtuAlarm()"></td>
  144. </tr>
  145. <tr>
  146. <td id="data_label_42" class="data_bar_alarm_label" onclick="show_all_rtuAlarm()">待处理</td>
  147. <td id="data_number_42" class="data_bar_alarm_number" onclick="show_all_rtuAlarm()"></td>
  148. </tr>
  149. </table>
  150. <table id="device_bar_table" style="position:absolute;top:561px;left:41px;width:280px;">
  151. <tr>
  152. <td id="device_title_1" colspan=2 class="device_info_title" onclick="show_all_fireDevice()">火灾监控设备</td>
  153. <td id="device_count_1" class="align_right device_info" onclick="show_all_fireDevice()">总数:<span id="device_count_num_11" class="device_confirm_num0">0</span></td>
  154. </tr>
  155. <tr>
  156. <td id="device_confirm_11" class="device_info" onclick="show_all_fireDevice()">已处理:<span id="device_count_num_12" class="device_confirm_num1">0</span></td>
  157. <td id="device_confirm_12" class="device_info" onclick="show_all_fireDevice()">待处理:<span id="device_count_num_13" class="device_confirm_num2">0</span></td>
  158. <td id="device_confirm_13" class="align_right device_info" onclick="show_all_fireDevice()">处置率:<span id="device_count_num_14" class="device_confirm_num3">0%</span></td>
  159. </tr>
  160. <tr>
  161. <td colspan=3 style="height:28px;" onclick="show_all_fireDevice()">
  162. <div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
  163. <div id="device_confirm_14" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
  164. </div>
  165. </td>
  166. </tr>
  167. <tr>
  168. <td id="device_title_2" colspan=2 class="device_info_title" onclick="show_all_efireDevice()">电气火灾监控设备</td>
  169. <td id="device_count_2" class="align_right device_info" onclick="show_all_efireDevice()">总数:<span id="device_count_num_21" class="device_confirm_num0">0</span></td>
  170. </tr>
  171. <tr>
  172. <td id="device_confirm_21" class="device_info" onclick="show_all_efireDevice()">已处理:<span id="device_count_num_22" class="device_confirm_num1">0</span></td>
  173. <td id="device_confirm_22" class="device_info" onclick="show_all_efireDevice()">待处理:<span id="device_count_num_23" class="device_confirm_num2">0</span></td>
  174. <td id="device_confirm_23" class="align_right device_info" onclick="show_all_efireDevice()">处置率:<span id="device_count_num_24" class="device_confirm_num3">0%</span></td>
  175. </tr>
  176. <tr>
  177. <td colspan=3 style="height:28px;" onclick="show_all_efireDevice()">
  178. <div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
  179. <div id="device_confirm_24" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
  180. </div>
  181. </td>
  182. </tr>
  183. <tr>
  184. <td id="device_title_3" colspan=2 class="device_info_title" onclick="show_all_waterDevice()">水系统监控设备</td>
  185. <td id="device_count_3" class="align_right device_info" onclick="show_all_waterDevice()">总数:<span id="device_count_num_31" class="device_confirm_num0">0</span></td>
  186. </tr>
  187. <tr>
  188. <td id="device_confirm_31" class="device_info" onclick="show_all_waterDevice()">已处理:<span id="device_count_num_32" class="device_confirm_num1">0</span></td>
  189. <td id="device_confirm_32" class="device_info" onclick="show_all_waterDevice()">待处理:<span id="device_count_num_33" class="device_confirm_num2">0</span></td>
  190. <td id="device_confirm_33" class="align_right device_info" onclick="show_all_waterDevice()">处置率:<span id="device_count_num_34" class="device_confirm_num3">0%</span></td>
  191. </tr>
  192. <tr>
  193. <td colspan=3 style="height:28px;" onclick="show_all_waterDevice()">
  194. <div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
  195. <div id="device_confirm_34" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
  196. </div>
  197. </td>
  198. </tr>
  199. <tr>
  200. <td id="device_title_4" colspan=2 class="device_info_title" onclick="show_all_rtuDevice()">RTU监控设备</td>
  201. <td id="device_count_4" class="align_right device_info" onclick="show_all_rtuDevice()">总数:<span id="device_count_num_41" class="device_confirm_num0">0</span></td>
  202. </tr>
  203. <tr>
  204. <td id="device_confirm_41" class="device_info" onclick="show_all_rtuDevice()">已处理:<span id="device_count_num_42" class="device_confirm_num1">0</span></td>
  205. <td id="device_confirm_42" class="device_info" onclick="show_all_rtuDevice()">待处理:<span id="device_count_num_43" class="device_confirm_num2">0</span></td>
  206. <td id="device_confirm_43" class="align_right device_info" onclick="show_all_rtuDevice()">处置率:<span id="device_count_num_44" class="device_confirm_num3">0%</span></td>
  207. </tr>
  208. <tr>
  209. <td colspan=3 style="height:28px;" onclick="show_all_rtuDevice()">
  210. <div style="border:0px solid #000;border-radius:3px;width:280px;height:6px;background-color:rgba(255,255,255,0.1);">
  211. <div id="device_confirm_44" style="border:0px solid #00a7d1;margin:0px;padding:0px;border-radius:3px;height:6px;width:280px;background-color:#00a7d1"></div>
  212. </div>
  213. </td>
  214. </tr>
  215. </table>
  216. </div>
  217. </div> -->
  218. <div id="map_btn_bigger" class="map_btn map_btn_bigger_off" onmouseover="bigger_mouseover();" onmouseout="bigger_mouseout();" onclick="bigger_click();"></div>
  219. <div id="map_btn_smaller" class="map_btn map_btn_smaller_off" onmouseover="smaller_mouseover();" onmouseout="smaller_mouseout();" onclick="smaller_click();"></div>
  220. <div id="map_btn_showlaebl" class="map_btn map_btn_showlaebl_off" onmouseover="shower_mouseover();" onmouseout="shower_mouseout();" onclick="shower_click();"></div>
  221. <div id="map_btn_left" class="map_btn map_btn_left_off" onmouseover="left_mouseover();" onmouseout="left_mouseout();" onclick="left_click();"></div>
  222. <div id="map_btn_right" class="map_btn map_btn_right_off" onmouseover="right_mouseover();" onmouseout="right_mouseout();" onclick="right_click();"></div>
  223. <div id="map_btn_high" class="map_btn map_btn_high_off" onmouseover="higher_mouseover();" onmouseout="higher_mouseout();" onclick="higher_click();"></div>
  224. <div id="map_btn_low" class="map_btn map_btn_low_off" onmouseover="lower_mouseover();" onmouseout="lower_mouseout();" onclick="lower_click();"></div>
  225. </div>
  226. <input type="hidden" id="theme" name="theme" value="<%=theme %>"/>
  227. <input type="hidden" id="basePath" name="basePath" value="<%=basePath %>"/>
  228. <input type="hidden" id="viewAlarmType" name="viewAlarmType" value="<%=viewAlarmType %>"/>
  229. <input type="hidden" id="pieAlarmType" name="pieAlarmType" value="<%=pieAlarmType %>"/>
  230. <input type="hidden" id="statusType" name="statusType" value="<%=statusType %>"/>
  231. <input type="hidden" id="V_LOGINNAME" name="V_LOGINNAME" value="<%=loginname %>"/>
  232. <input type="hidden" id="V_PASSWORD" name="V_PASSWORD" value="<%=password %>"/>
  233. <input type="hidden" id="company_code" name="company_code" value="<%=company_code %>"/>
  234. </body>
  235. </html>