goodnesstab.jsp 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477
  1. <%@ page language="java" contentType="text/html;charset=utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp"%>
  3. <html>
  4. <head>
  5. <title>宁夏集控</title>
  6. <style>
  7. body{
  8. font-size: 12px;
  9. margin-left: 0px;
  10. margin-top: 0px;
  11. margin-right: 0px;
  12. margin-bottom: 0px;
  13. }
  14. @font-face {
  15. font-family: 'fontNameRegular';
  16. src: url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.eot');
  17. src: local('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont Regular'),
  18. local('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont'),
  19. url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.woff') format('woff'),
  20. url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.ttf') format('truetype'),
  21. url('<%=request.getContextPath() %>/resource/fonts/DS-DIGIT-webfont.svg#fontName') format('svg');
  22. font-size: 20px;
  23. font-weight: bolder;
  24. }
  25. </style>
  26. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
  27. <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/js/jquery-ui-1.9.2.custom.js" type="text/javascript"></script>
  28. <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/development-bundle/ui/jquery.ui.widget.js"></script>
  29. <script src="<%=request.getContextPath() %>/resource/plugin/jqueryui/development-bundle/ui/jquery.ui.tabs.js"></script>
  30. <script type="text/javascript">
  31. $(function() {
  32. $( "#tabs" ).tabs({
  33. select: function(event, ui) {
  34. // ui.tab锚元素选中的标签页
  35. // ui.panel 锚元素选中的标签页的内容
  36. // ui.index 锚元素选中的标签页的索引(从0开始)
  37. if(ui.index==0)
  38. {
  39. var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
  40. var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
  41. var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
  42. var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
  43. var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
  44. var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
  45. var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
  46. var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
  47. var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
  48. var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
  49. var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
  50. var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
  51. var windfarm;
  52. var recorddate;
  53. var windturbineid;
  54. if(windfarm2!=null && windfarm2!="")
  55. {
  56. windfarm=windfarm2;
  57. }
  58. else if(windfarm3!=null && windfarm3!="")
  59. {
  60. windfarm=windfarm3;
  61. }
  62. else if(windfarm4!=null && windfarm4!="")
  63. {
  64. windfarm=windfarm4;
  65. }
  66. else if(windfarm5!=null && windfarm5!="")
  67. {
  68. windfarm=windfarm5;
  69. }
  70. if(windturbineid2!=null && windturbineid2!="")
  71. {
  72. windturbineid=windturbineid2;
  73. }
  74. else if(windturbineid3!=null && windturbineid3!="")
  75. {
  76. windturbineid=windturbineid3;
  77. }
  78. else if(windturbineid4!=null && windturbineid4!="")
  79. {
  80. windturbineid=windturbineid4;
  81. }else if(windturbineid5!=null && windturbineid5!="")
  82. {
  83. windturbineid=windturbineid5;
  84. }
  85. if(recorddate2!=null && recorddate2!="")
  86. {
  87. recorddate=recorddate2;
  88. }
  89. else if(recorddate3!=null && recorddate3!="")
  90. {
  91. recorddate=recorddate3;
  92. }
  93. else if(recorddate4!=null && recorddate4!="")
  94. {
  95. recorddate=recorddate4;
  96. }else if(recorddate5!=null && recorddate5!="")
  97. {
  98. recorddate=recorddate5;
  99. }
  100. /****************************************************************/
  101. $("#tab1").attr("src","<%=request.getContextPath() %>/wtgoodness/detaillineindex.action?windfarm="+windfarm
  102. +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
  103. $("#tab2").attr("src","about:blank");
  104. $("#tab3").attr("src","about:blank");
  105. $("#tab4").attr("src","about:blank");
  106. $("#tab5").attr("src","about:blank");
  107. }else if(ui.index==1)
  108. {
  109. var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
  110. var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
  111. var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
  112. var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
  113. var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
  114. var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
  115. var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
  116. var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
  117. var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
  118. var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
  119. var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
  120. var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
  121. var windfarm;
  122. var recorddate;
  123. var windturbineid;
  124. if(windfarm1!=null && windfarm1!="")
  125. {
  126. windfarm=windfarm1;
  127. }
  128. else if(windfarm3!=null && windfarm3!="")
  129. {
  130. windfarm=windfarm3;
  131. }
  132. else if(windfarm4!=null && windfarm4!="")
  133. {
  134. windfarm=windfarm4;
  135. }
  136. else if(windfarm5!=null && windfarm5!="")
  137. {
  138. windfarm=windfarm5;
  139. }
  140. if(windturbineid1!=null && windturbineid1!="")
  141. {
  142. windturbineid=windturbineid1;
  143. }
  144. else if(windturbineid3!=null && windturbineid3!="")
  145. {
  146. windturbineid=windturbineid3;
  147. }
  148. else if(windturbineid4!=null && windturbineid4!="")
  149. {
  150. windturbineid=windturbineid4;
  151. }else if(windturbineid5!=null && windturbineid5!="")
  152. {
  153. windturbineid=windturbineid5;
  154. }
  155. if(recorddate1!=null && recorddate1!="")
  156. {
  157. recorddate=recorddate1;
  158. }
  159. else if(recorddate3!=null && recorddate3!="")
  160. {
  161. recorddate=recorddate3;
  162. }
  163. else if(recorddate4!=null && recorddate4!="")
  164. {
  165. recorddate=recorddate4;
  166. }
  167. else if(recorddate5!=null && recorddate5!="")
  168. {
  169. recorddate=recorddate5;
  170. }
  171. /****************************************************************/
  172. $("#tab2").attr("src","<%=request.getContextPath() %>/wtgoodness/detailindex.action?windfarm="+windfarm
  173. +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
  174. $("#tab1").attr("src","about:blank");
  175. $("#tab3").attr("src","about:blank");
  176. $("#tab4").attr("src","about:blank");
  177. $("#tab5").attr("src","about:blank");
  178. }else if(ui.index==2)
  179. {
  180. var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
  181. var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
  182. var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
  183. var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
  184. var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
  185. var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
  186. var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
  187. var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
  188. var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
  189. var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
  190. var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
  191. var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
  192. var windfarm;
  193. var recorddate;
  194. var windturbineid;
  195. if(windfarm2!=null && windfarm2!="")
  196. {
  197. windfarm=windfarm2;
  198. }
  199. else if(windfarm1!=null && windfarm1!="")
  200. {
  201. windfarm=windfarm1;
  202. }
  203. else if(windfarm4!=null && windfarm4!="")
  204. {
  205. windfarm=windfarm4;
  206. }else if(windfarm5!=null && windfarm5!="")
  207. {
  208. windfarm=windfarm5;
  209. }
  210. if(windturbineid2!=null && windturbineid2!="")
  211. {
  212. windturbineid=windturbineid2;
  213. }
  214. else if(windturbineid1!=null && windturbineid1!="")
  215. {
  216. windturbineid=windturbineid1;
  217. }
  218. else if(windturbineid4!=null && windturbineid4!="")
  219. {
  220. windturbineid=windturbineid4;
  221. }else if(windturbineid5!=null && windturbineid5!="")
  222. {
  223. windturbineid=windturbineid5;
  224. }
  225. if(recorddate2!=null && recorddate2!="")
  226. {
  227. recorddate=recorddate2;
  228. }
  229. else if(recorddate1!=null && recorddate1!="")
  230. {
  231. recorddate=recorddate1;
  232. }
  233. else if(recorddate4!=null && recorddate4!="")
  234. {
  235. recorddate=recorddate4;
  236. }else if(recorddate5!=null && recorddate5!="")
  237. {
  238. recorddate=recorddate5;
  239. }
  240. /****************************************************************/
  241. $("#tab3").attr("src","<%=request.getContextPath() %>/wtgoodness/wpdetailindex.action?windfarm="+windfarm
  242. +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
  243. $("#tab1").attr("src","about:blank");
  244. $("#tab2").attr("src","about:blank");
  245. $("#tab4").attr("src","about:blank");
  246. $("#tab5").attr("src","about:blank");
  247. }else if(ui.index==3)
  248. {
  249. var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
  250. var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
  251. var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
  252. var windfarm5 =$(window.frames[4].document).find("#windfarm").val();
  253. var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
  254. var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
  255. var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
  256. var windturbineid5 =$(window.frames[4].document).find("#windturbineid").val();
  257. var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
  258. var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
  259. var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
  260. var recorddate5 =$(window.frames[4].document).find("#recorddate").val();
  261. var windfarm;
  262. var recorddate;
  263. var windturbineid;
  264. if(windfarm2!=null && windfarm2!="")
  265. {
  266. windfarm=windfarm2;
  267. }
  268. else if(windfarm3!=null && windfarm3!="")
  269. {
  270. windfarm=windfarm3;
  271. }
  272. else if(windfarm1!=null && windfarm1!="")
  273. {
  274. windfarm=windfarm1;
  275. }
  276. else if(windfarm5!=null && windfarm5!="")
  277. {
  278. windfarm=windfarm5;
  279. }
  280. if(windturbineid2!=null && windturbineid2!="")
  281. {
  282. windturbineid=windturbineid2;
  283. }
  284. else if(windturbineid3!=null && windturbineid3!="")
  285. {
  286. windturbineid=windturbineid3;
  287. }
  288. else if(windturbineid1!=null && windturbineid1!="")
  289. {
  290. windturbineid=windturbineid1;
  291. }
  292. else if(windturbineid5!=null && windturbineid5!="")
  293. {
  294. windturbineid=windturbineid5;
  295. }
  296. if(recorddate2!=null && recorddate2!="")
  297. {
  298. recorddate=recorddate2;
  299. }
  300. else if(recorddate3!=null && recorddate3!="")
  301. {
  302. recorddate=recorddate3;
  303. }
  304. else if(recorddate1!=null && recorddate1!="")
  305. {
  306. recorddate=recorddate1;
  307. }
  308. else if(recorddate5!=null && recorddate5!="")
  309. {
  310. recorddate=recorddate5;
  311. }
  312. /****************************************************************/
  313. $("#tab4").attr("src","<%=request.getContextPath() %>/wtgoodness/wtdetailindex.action?windfarm="+windfarm
  314. +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
  315. $("#tab1").attr("src","about:blank");
  316. $("#tab2").attr("src","about:blank");
  317. $("#tab3").attr("src","about:blank");
  318. $("#tab5").attr("src","about:blank");
  319. }
  320. else if(ui.index==4)
  321. {
  322. var windfarm2 =$(window.frames[1].document).find("#windfarm").val();
  323. var windfarm3 =$(window.frames[2].document).find("#windfarm").val();
  324. var windfarm1 =$(window.frames[0].document).find("#windfarm").val();
  325. var windfarm4 =$(window.frames[3].document).find("#windfarm").val();
  326. var windturbineid2 =$(window.frames[1].document).find("#windturbineid").val();
  327. var windturbineid3 =$(window.frames[2].document).find("#windturbineid").val();
  328. var windturbineid1 =$(window.frames[0].document).find("#windturbineid").val();
  329. var windturbineid4 =$(window.frames[3].document).find("#windturbineid").val();
  330. var recorddate2 =$(window.frames[1].document).find("#recorddate").val();
  331. var recorddate3 =$(window.frames[2].document).find("#recorddate").val();
  332. var recorddate1 =$(window.frames[0].document).find("#recorddate").val();
  333. var recorddate4 =$(window.frames[3].document).find("#recorddate").val();
  334. var windfarm;
  335. var recorddate;
  336. var windturbineid;
  337. if(windfarm2!=null && windfarm2!="")
  338. {
  339. windfarm=windfarm2;
  340. }
  341. else if(windfarm3!=null && windfarm3!="")
  342. {
  343. windfarm=windfarm3;
  344. }
  345. else if(windfarm1!=null && windfarm1!="")
  346. {
  347. windfarm=windfarm1;
  348. }else if(windfarm4!=null && windfarm4!="")
  349. {
  350. windfarm=windfarm4;
  351. }
  352. if(windturbineid2!=null && windturbineid2!="")
  353. {
  354. windturbineid=windturbineid2;
  355. }
  356. else if(windturbineid3!=null && windturbineid3!="")
  357. {
  358. windturbineid=windturbineid3;
  359. }
  360. else if(windturbineid1!=null && windturbineid1!="")
  361. {
  362. windturbineid=windturbineid1;
  363. }else if(windturbineid4!=null && windturbineid4!="")
  364. {
  365. windturbineid=windturbineid4;
  366. }
  367. if(recorddate2!=null && recorddate2!="")
  368. {
  369. recorddate=recorddate2;
  370. }
  371. else if(recorddate3!=null && recorddate3!="")
  372. {
  373. recorddate=recorddate3;
  374. }
  375. else if(recorddate1!=null && recorddate1!="")
  376. {
  377. recorddate=recorddate1;
  378. }else if(recorddate4!=null && recorddate4!="")
  379. {
  380. recorddate=recorddate4;
  381. }
  382. /****************************************************************/
  383. $("#tab5").attr("src","<%=request.getContextPath() %>/wtgoodness/detailpieindex.action?windfarm="+windfarm
  384. +"&windturbineid="+windturbineid +"&recorddate="+recorddate);
  385. $("#tab1").attr("src","about:blank");
  386. $("#tab2").attr("src","about:blank");
  387. $("#tab3").attr("src","about:blank");
  388. $("#tab4").attr("src","about:blank");
  389. }
  390. }
  391. });
  392. var wp='<s:property value="windfarm"/>';
  393. var wt='<s:property value="windturbineid"/>';
  394. var rd='<s:property value="recorddate"/>';
  395. $("#tab1").attr("src","<%=request.getContextPath() %>/wtgoodness/detaillineindex.action?windfarm="+wp
  396. +"&windturbineid="+wt +"&recorddate="+rd);
  397. });
  398. </script>
  399. </head>
  400. <body>
  401. <div id="tabs" style="width: 1560px;height: 795px;border: 0px;margin: 0px">
  402. <ul >
  403. <li><a href="#tabs-1" >风机运行情况信息</a></li>
  404. <li><a href="#tabs-2" >风机日详细信息</a></li>
  405. <li><a href="#tabs-3">风场玫瑰图</a></li>
  406. <li><a href="#tabs-4" >风机玫瑰图</a></li>
  407. <li><a href="#tabs-5">风机切入切出分析</a></li>
  408. </ul>
  409. <div id="tabs-1" style="border: 0px;margin: 0px">
  410. <iframe id="tab1" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
  411. </div>
  412. <div id="tabs-2" style="border: 0px;margin: 0px">
  413. <iframe id="tab2" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
  414. </div>
  415. <div id="tabs-3" style="border: 0px;margin: 0px">
  416. <iframe id="tab3" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
  417. </div>
  418. <div id="tabs-4" style="border: 0px;margin: 0px">
  419. <iframe id="tab4" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
  420. </div>
  421. <div id="tabs-5" style="border: 0px;margin: 0px">
  422. <iframe id="tab5" src="" style="border: 0px;margin: 0px" marginwidth="0px" marginheight="0px" frameborder="0" width="1568px" height="785px" scrolling="auto"></iframe>
  423. </div>
  424. </div>
  425. </body>
  426. </html>