benchmarkloss.jsp 79 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715
  1. <%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
  2. <%@include file="/pages/includes/taglibs.jsp" %>
  3. <head>
  4. <script type="text/javascript" src="<%=request.getContextPath() %>/resource/js/jquery-1.8.3.js"></script>
  5. <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/jquery.jqGrid.min.js"></script>
  6. <script type="text/ecmascript" src="<%=request.getContextPath() %>/resource/plugin/jqgrid/js/i18n/grid.locale-cn.js"></script>
  7. <script type="text/ecmascript" src="<%=request.getContextPath()%>/resource/js/system/jqdatagrid.js"></script>
  8. <script src="<%=request.getContextPath()%>/resource/js/datePicker/WdatePicker.js" type="text/javascript"></script>
  9. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/resource/plugin/jqueryui/css/custom-theme/jquery-ui-1.9.2.custom.css" />
  10. <link rel="stylesheet" type="text/css" media="screen" href="<%=request.getContextPath() %>/resource/plugin/jqgrid/css/ui.jqgrid.css" />
  11. <link rel="stylesheet" href="<%=request.getContextPath() %>/resource/css/ztree/zTreeStyle.css" type="text/css">
  12. <script src="<%=request.getContextPath() %>/resource/js/ztree/jquery.ztree.all.min.js" type="text/javascript"></script>
  13. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts.src.js" type="text/javascript"></script>
  14. <script src="<%=request.getContextPath()%>/resource/js/highcharts/highcharts-more.js"></script>
  15. <script src="<%=request.getContextPath()%>/resource/js/highcharts/modules/solid-gauge.src.js"></script>
  16. <script type="text/javascript" src="<%=request.getContextPath()%>/resource/plugin/highslide/highslide-with-html.js"></script>
  17. <link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/resource/plugin/highslide/highslide.css" />
  18. <style type="text/css">
  19. fieldset legend {
  20. color:#302A2A;
  21. font: bold 16px/2 Verdana, Geneva, sans-serif;
  22. font-weight: bold;
  23. text-align: left;
  24. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  25. }
  26. </style>
  27. <script type="text/javascript">
  28. hs.graphicsDir = '<%=request.getContextPath()%>/resource/plugin/highslide/graphics/';
  29. hs.outlineType = 'rounded-white';
  30. hs.wrapperClassName = 'draggable-header';
  31. var chart1;
  32. var chart2;
  33. var chart3;
  34. var chart4;
  35. var chart5;
  36. var options1;
  37. var options2;
  38. var options3;
  39. var options4;
  40. var options5;
  41. function showDiv() {
  42. var hc = $("#container1");
  43. return hs.htmlExpand(hc[0], {
  44. contentId : "showDiv",
  45. width : 1100,
  46. height : 1050,
  47. align : 'center',
  48. headingText : '对标信息分析'
  49. });
  50. }
  51. function showDiv2() {
  52. var hc = $("#container5");
  53. return hs.htmlExpand(hc[0], {
  54. contentId : "showDiv2",
  55. width : 800,
  56. height : 800,
  57. align : 'center',
  58. headingText : '损失应对措施'
  59. });
  60. }
  61. function displayInfo(str)
  62. {
  63. switch (str)
  64. {
  65. case 1:
  66. $("#xdsscs").css("display","");
  67. $("#gzsscs").css("display","none");
  68. $("#jxsscs").css("display","none");
  69. $("#xnsscs").css("display","none");
  70. $("#slsscs").css("display","none");
  71. break;
  72. case 2:
  73. $("#gzsscs").css("display","");
  74. $("#jxsscs").css("display","none");
  75. $("#xnsscs").css("display","none");
  76. $("#slsscs").css("display","none");
  77. $("#xdsscs").css("display","none");
  78. break;
  79. case 3:
  80. $("#gzsscs").css("display","none");
  81. $("#jxsscs").css("display","");
  82. $("#xnsscs").css("display","none");
  83. $("#slsscs").css("display","none");
  84. $("#xdsscs").css("display","none");
  85. break;
  86. case 4:
  87. $("#gzsscs").css("display","none");
  88. $("#jxsscs").css("display","none");
  89. $("#xnsscs").css("display","");
  90. $("#slsscs").css("display","none");
  91. $("#xdsscs").css("display","none");
  92. break;
  93. case 5:
  94. $("#gzsscs").css("display","none");
  95. $("#jxsscs").css("display","none");
  96. $("#xnsscs").css("display","none");
  97. $("#slsscs").css("display","");
  98. $("#xdsscs").css("display","none");
  99. break;
  100. }
  101. showDiv2();
  102. }
  103. function contrast()
  104. {
  105. var wp1=" ";
  106. var wp2=" ";
  107. var arr=$("#gridTable").jqGrid('getGridParam', 'selarrrow');
  108. var i=0;
  109. var data1 = [];
  110. var data2 = [];
  111. var xddl = [];
  112. var gzdl = [];
  113. var whdl = [];
  114. var qfdl = [];
  115. var sldl = [];
  116. var names = [];
  117. $.each(arr,function(n,value) {
  118. var wpName= $("#gridTable").jqGrid('getCell',value,'wpName');
  119. var fnlylfraction= $("#gridTable").jqGrid('getCell',value,'fnlylfraction');
  120. var gzsslfraction= $("#gridTable").jqGrid('getCell',value,'gzsslfraction');
  121. var jxsslfraction= $("#gridTable").jqGrid('getCell',value,'jxsslfraction');
  122. var qflfraction= $("#gridTable").jqGrid('getCell',value,'qflfraction');
  123. var xnsslfraction= $("#gridTable").jqGrid('getCell',value,'xnsslfraction');
  124. var slsslfraction= $("#gridTable").jqGrid('getCell',value,'slsslfraction');
  125. var fwjslfraction= $("#gridTable").jqGrid('getCell',value,'fwjslfraction');
  126. var ztzhjslfraction= $("#gridTable").jqGrid('getCell',value,'ztzhjslfraction');
  127. var xqjslfraction= $("#gridTable").jqGrid('getCell',value,'xqjslfraction');
  128. var fnlyl= $("#gridTable").jqGrid('getCell',value,'fnlyl');
  129. var gzssl= $("#gridTable").jqGrid('getCell',value,'gzssl');
  130. var jxssl= $("#gridTable").jqGrid('getCell',value,'jxssl');
  131. var qfl= $("#gridTable").jqGrid('getCell',value,'qfl');
  132. var slssl= $("#gridTable").jqGrid('getCell',value,'slssl');
  133. var fwjsl= $("#gridTable").jqGrid('getCell',value,'fwjsl');
  134. var ztzhjsl= $("#gridTable").jqGrid('getCell',value,'ztzhjsl');
  135. var xqjsl= $("#gridTable").jqGrid('getCell',value,'xqjsl');
  136. var xnssl= $("#gridTable").jqGrid('getCell',value,'xnssl');
  137. var scadafdl= $("#gridTable").jqGrid('getCell',value,'scadafdl');
  138. var qfss= $("#gridTable").jqGrid('getCell',value,'qfss');
  139. var gzss= $("#gridTable").jqGrid('getCell',value,'gzss');
  140. var whss= $("#gridTable").jqGrid('getCell',value,'whss');
  141. var xdss= $("#gridTable").jqGrid('getCell',value,'xdss');
  142. var slss= $("#gridTable").jqGrid('getCell',value,'slss');
  143. if(i==0)
  144. {
  145. wp1=wpName;
  146. data1.push(parseInt(fnlylfraction));
  147. data1.push(parseInt(gzsslfraction));
  148. data1.push(parseInt(jxsslfraction));
  149. data1.push(parseInt(qflfraction));
  150. data1.push(parseInt(xnsslfraction));
  151. data1.push(parseInt(slsslfraction));
  152. data1.push(parseInt(fwjslfraction));
  153. data1.push(parseInt(ztzhjslfraction));
  154. data1.push(parseInt(xqjslfraction));
  155. $("#wpid1").html(wpName + "&nbsp;");
  156. $("#fnlyl1").html(fnlyl + "&nbsp;");
  157. if(gzssl>=5)
  158. {
  159. $("#gzssl1").css("background-color","red");
  160. $("#gzssl1").html("<a href='#' onclick='displayInfo(2)'>"+gzssl + "</a>");
  161. }else
  162. {
  163. $("#gzssl1").html(gzssl+ "&nbsp;");
  164. }
  165. if(jxssl>=5)
  166. {
  167. $("#jxssl1").css("background-color","red");
  168. $("#jxssl1").html("<a href='#' onclick='displayInfo(3)'>"+jxssl + "</a>");
  169. }else
  170. {
  171. $("#jxssl1").html(jxssl + "&nbsp;");
  172. }
  173. if(qfl>=5)
  174. {
  175. $("#qfl1").html("<a href='#' onclick='displayInfo(1)'>"+qfl + "</a>");
  176. $("#qfl1").css("background-color","red");
  177. }else
  178. {
  179. $("#qfl1").html(qfl + "&nbsp;");
  180. }
  181. if(slssl>=5)
  182. {
  183. $("#slssl1").html("<a href='#' onclick='displayInfo(5)'>"+slssl + "</a>");
  184. $("#slssl1").css("background-color","red");
  185. }else
  186. {
  187. $("#slssl1").html(slssl + "&nbsp;");
  188. }
  189. if(xnssl>=5)
  190. {
  191. $("#xnssl1").html("<a href='#' onclick='displayInfo(4)'>"+xnssl + "</a>");
  192. $("#xnssl1").css("background-color","red");
  193. }else
  194. {
  195. $("#xnssl1").html(slssl + "&nbsp;");
  196. }
  197. $("#fwjsl1").html(fwjsl + "&nbsp;");
  198. $("#ztzhjsl1").html(ztzhjsl + "&nbsp;");
  199. $("#xqjsl1").html(xqjsl + "&nbsp;");
  200. $("#scadafdl1").html(scadafdl + "&nbsp;");
  201. $("#gzss1").html(gzss + "&nbsp;");
  202. $("#qfss1").html(qfss + "&nbsp;");
  203. $("#whss1").html(whss + "&nbsp;");
  204. $("#xdss1").html(xdss + "&nbsp;");
  205. $("#slss1").html(slss + "&nbsp;");
  206. names.push(wp1);
  207. if (xdss != null) {
  208. xddl.push( parseFloat(xdss) );
  209. }
  210. if (gzss != null) {
  211. gzdl.push( parseFloat(gzss) );
  212. }
  213. if (whss != null) {
  214. whdl.push( parseFloat(whss) );
  215. }
  216. if (qfss != null) {
  217. qfdl.push( parseFloat(qfss) );
  218. }
  219. sldl.push(parseFloat('0'));
  220. }else if(i==1)
  221. {
  222. wp2=wpName;
  223. data2.push(parseInt(fnlylfraction));
  224. data2.push(parseInt(gzsslfraction));
  225. data2.push(parseInt(jxsslfraction));
  226. data2.push(parseInt(qflfraction));
  227. data2.push(parseInt(xnsslfraction));
  228. data2.push(parseInt(slsslfraction));
  229. data2.push(parseInt(fwjslfraction));
  230. data2.push(parseInt(ztzhjslfraction));
  231. data2.push(parseInt(xqjslfraction));
  232. $("#wpid2").html(wpName + "&nbsp;");
  233. $("#fnlyl2").html(fnlyl + "&nbsp;");
  234. if(gzssl>=5)
  235. {
  236. $("#gzssl2").css("background-color","red");
  237. $("#gzssl2").html("<a href='#' onclick='displayInfo(2)'>"+gzssl + "</a>");
  238. }else
  239. {
  240. $("#gzssl2").html(gzssl+ "&nbsp;");
  241. }
  242. if(jxssl>=5)
  243. {
  244. $("#jxssl2").css("background-color","red");
  245. $("#jxssl2").html("<a href='#' onclick='displayInfo(3)'>"+jxssl + "</a>");
  246. }else
  247. {
  248. $("#jxssl2").html(jxssl + "&nbsp;");
  249. }
  250. if(qfl>=5)
  251. {
  252. $("#qfl2").html("<a href='#' onclick='displayInfo(1)'>"+qfl + "</a>");
  253. $("#qfl2").css("background-color","red");
  254. }else
  255. {
  256. $("#qfl2").html(qfl + "&nbsp;");
  257. }
  258. if(slssl>=5)
  259. {
  260. $("#slssl2").html("<a href='#' onclick='displayInfo(5)'>"+slssl + "</a>");
  261. $("#slssl2").css("background-color","red");
  262. }else
  263. {
  264. $("#slssl2").html(slssl + "&nbsp;");
  265. }
  266. if(xnssl>=5)
  267. {
  268. $("#xnssl2").html("<a href='#' onclick='displayInfo(4)'>"+xnssl + "</a>");
  269. $("#xnssl2").css("background-color","red");
  270. }else
  271. {
  272. $("#xnssl2").html(xnssl + "&nbsp;");
  273. }
  274. $("#fwjsl2").html(fwjsl + "&nbsp;");
  275. $("#ztzhjsl2").html(ztzhjsl + "&nbsp;");
  276. $("#xqjsl2").html(xqjsl + "&nbsp;");
  277. $("#scadafdl2").html(scadafdl + "&nbsp;");
  278. $("#gzss2").html(gzss + "&nbsp;");
  279. $("#qfss2").html(qfss + "&nbsp;");
  280. $("#whss2").html(whss + "&nbsp;");
  281. $("#xdss2").html(xdss + "&nbsp;");
  282. $("#slss2").html(slss + "&nbsp;");
  283. names.push(wp2);
  284. if (xdss != null) {
  285. xddl.push( parseFloat(xdss) );
  286. }
  287. if (gzss != null) {
  288. gzdl.push( parseFloat(gzss) );
  289. }
  290. if (whss != null) {
  291. whdl.push( parseFloat(whss) );
  292. }
  293. if (qfss != null) {
  294. qfdl.push( parseFloat(qfss) );
  295. }
  296. sldl.push(parseFloat('0'));
  297. }
  298. i++;
  299. })
  300. options2.series[0].data = data1;
  301. options2.series[0].name = wp1;
  302. options2.series[1].data = data2;
  303. options2.series[1].name = wp2;
  304. chart2 = new Highcharts.Chart(options2);
  305. options5.series[0].data = xddl;
  306. options5.series[1].data = gzdl;
  307. options5.series[2].data = whdl;
  308. options5.series[3].data = qfdl;
  309. options5.series[4].data = sldl;
  310. options5.xAxis.categories = names;
  311. chart5 = new Highcharts.Chart(options5);
  312. if(i>2)
  313. {
  314. alert("一次最多能选择两个场站!");
  315. return false;
  316. }else if(i<2)
  317. {
  318. alert("请选择两个场站!");
  319. return false;
  320. }
  321. showDiv();
  322. }
  323. function findWpPowerChat(wpId,beginDate,endDate) {
  324. var typeid =$("#typeid").val();
  325. var url = "/benchmark/findWpPowerOutChat.action?wpId="+wpId
  326. +"&beginDate="+beginDate +"&endDate="+endDate;
  327. $.ajax({
  328. url : url,
  329. type : "post",
  330. cache : false,
  331. dataType : "json",
  332. async : false,
  333. data : {},
  334. ifModified : false,
  335. success : function(result) {
  336. var xddl = [];
  337. var gzdl = [];
  338. var whdl = [];
  339. var qfdl = [];
  340. var sldl = [];
  341. var xaixs1 = [];
  342. var xaixs2 = [];
  343. var name = [];
  344. if(result!=null)
  345. {
  346. $.each(result, function(m, obj) {
  347. //if(m == result.length -1){
  348. var total=0;
  349. if (obj.value1 != null) {
  350. total=total+parseFloat(obj.value1);
  351. xddl.push( parseFloat(obj.value1) );
  352. }
  353. if (obj.value2 != null) {
  354. total=total+parseFloat(obj.value2);
  355. gzdl.push( parseFloat(obj.value2) );
  356. }
  357. if (obj.value3 != null) {
  358. total=total+parseFloat(obj.value3);
  359. whdl.push( parseFloat(obj.value3) );
  360. }
  361. if (obj.value4 != null) {
  362. total=total+parseFloat(obj.value4);
  363. qfdl.push( parseFloat(obj.value4) );
  364. }
  365. if (obj.value5 != null) {
  366. total=total+parseFloat(obj.value5);
  367. sldl.push( parseFloat(obj.value5) );
  368. }
  369. var jsonObj1 = [obj.name, obj.value6 ];
  370. var jsonObj2 ;
  371. switch (typeid)
  372. {
  373. case "1":
  374. if (obj.value1 != null) {
  375. jsonObj2 =[obj.name, parseFloat(obj.value1) ];
  376. }
  377. options4.title.text='限电损失占比';
  378. break;
  379. case "2":
  380. if (obj.value2 != null) {
  381. jsonObj2 =[obj.name, parseFloat(obj.value2) ];
  382. }
  383. options4.title.text='故障损失占比';
  384. break;
  385. case "3":
  386. if (obj.value3 != null) {
  387. jsonObj2 =[obj.name, parseFloat(obj.value3) ];
  388. }
  389. options4.title.text='检修损失占比';
  390. break;
  391. case "4":
  392. if (obj.value4 != null) {
  393. jsonObj2 =[obj.name, parseFloat(obj.value4) ];
  394. }
  395. options4.title.text='性能损失占比';
  396. break;
  397. case "5":
  398. if (obj.value5 != null) {
  399. jsonObj2 =[obj.name, parseFloat(obj.value5) ];
  400. }
  401. options4.title.text='受累损失占比';
  402. break;
  403. }
  404. xaixs1.push(jsonObj1);
  405. xaixs2.push(jsonObj2);
  406. if(obj.name!= null )
  407. {
  408. name.push(obj.name);
  409. }
  410. });
  411. //alert(xtime.length);
  412. options1.series[0].data = xddl;
  413. options1.series[1].data = gzdl;
  414. options1.series[2].data = whdl;
  415. options1.series[3].data = qfdl;
  416. options1.series[4].data = sldl;
  417. options1.xAxis.categories = name;
  418. options3.series[0].data = xaixs1;
  419. options4.series[0].data = xaixs2;
  420. chart1 = new Highcharts.Chart(options1);
  421. chart3 = new Highcharts.Chart(options3);
  422. chart4 = new Highcharts.Chart(options4);
  423. }
  424. }
  425. });
  426. }
  427. var setting = {
  428. check : {
  429. enable : true,
  430. chkboxType : {
  431. "Y" : "",
  432. "N" : ""
  433. }
  434. },
  435. view: {
  436. dblClickExpand: false
  437. },
  438. data: {
  439. simpleData: {
  440. enable: true
  441. }
  442. },
  443. callback: {
  444. beforeClick: beforeClickWindfarm,
  445. onCheck: selectWindfarm
  446. },
  447. async: {
  448. enable: true,
  449. url:"../power/windfarmAjax.action",
  450. dataType:"json"
  451. }
  452. };
  453. function beforeClickWindfarm(treeId, treeNode) {
  454. var zTree = $.fn.zTree.getZTreeObj(treeId);
  455. zTree.checkNode(treeNode, !treeNode.checked, null, true);
  456. return false;
  457. }
  458. function showWindfarm() {
  459. var cityObj = $("#wpId");
  460. var cityOffset = $("#wpId").offset();
  461. $("#menuWindfarm").css({left:cityOffset.left + "px", top:cityOffset.top + cityObj.outerHeight() + "px"}).slideDown("fast");
  462. $("body").bind("mousedown", onBodyDown);
  463. }
  464. function hideMenuWindfarm() {
  465. $("#menuWindfarm").fadeOut("fast");
  466. }
  467. var wpids="";
  468. function selectWindfarm(e, treeId, treeNode) {
  469. var zTree = $.fn.zTree.getZTreeObj("treeWindfarm"),
  470. nodes = zTree.getCheckedNodes(true);
  471. v = "";
  472. d="";
  473. for (var i=0, l=nodes.length; i<l; i++) {
  474. v += nodes[i].name + ",";
  475. d+=nodes[i].id+",";
  476. }
  477. if (v.length > 0 ) v = v.substring(0, v.length-1);
  478. if (d.length > 0 ) d = d.substring(0, d.length-1);
  479. wpids=d;
  480. var cityObj = $("#wpId");
  481. cityObj.attr("value", v);
  482. //$("#menuWindfarm").fadeOut("fast");
  483. }
  484. function onBodyDown(event) {
  485. if (( event.target.id != "wpId" && event.target.id != "menuWindfarm" && $(event.target).parents("#menuWindfarm").length<=0)) {
  486. hideMenuWindfarm();
  487. }
  488. }
  489. function queryData(){
  490. if("" == $("#beginDate").val()){
  491. alert("请选择查询开始日期!");
  492. }else if("" == $("#endDate").val()){
  493. alert("请选择查询结束日期!");
  494. }
  495. else{
  496. //var type=$("#type").val();
  497. //var wpId=$("#wpId").find("option:selected").val();
  498. //var beginDate=$("#beginDate").val();
  499. //var endDate=$("#endDate").val();
  500. //var url = '<%=request.getContextPath() %>/charts/lossList.action?wpId='+wpId
  501. // +"&beginDate="+beginDate +"&endDate="+endDate+"&type="+type;
  502. //$("#gridTable").setGridParam({url:url}).trigger("reloadGrid");
  503. $("#gridTable").jqGrid('GridUnload');
  504. showJqGrid();
  505. }
  506. }
  507. $(document).ready(function () {
  508. initial();
  509. options1 = {
  510. colors: [
  511. '#D201D8', //限电
  512. '#FD0100',//故障
  513. '#FF7B16', //维护
  514. '#8085E9',//性能
  515. '#A6A6A6' //受累
  516. ],
  517. chart: {
  518. renderTo: 'container',
  519. type: 'column',
  520. width:1568,
  521. height:308,
  522. //backgroundColor:'#BFDFFF',
  523. //plotBackgroundColor:'#BFDFFF',
  524. zoomType: 'x'
  525. },
  526. title : {
  527. text : '损失电量分析123'
  528. },
  529. xAxis: {
  530. type: 'category'
  531. },
  532. yAxis: [{ // Primary yAxis
  533. labels: {
  534. format: '{value}万kw',
  535. style: {
  536. color: '#89A54E'
  537. }
  538. },
  539. title: {
  540. text: '电量',
  541. style: {
  542. color: '#89A54E'
  543. }
  544. }
  545. }],
  546. legend: {
  547. layout: 'vertical',
  548. // backgroundColor: '#FFFFFF',
  549. align: 'right',
  550. verticalAlign: 'top',
  551. x:-80,
  552. floating: true
  553. // shadow: true
  554. // layout: 'vertical',
  555. // align: 'right',
  556. // verticalAlign: 'middle',
  557. // borderWidth: 0
  558. },
  559. tooltip: {
  560. shared:true,
  561. xDateFormat:'%Y-%m-%d %H:%M'
  562. /*formatter: function() {
  563. return '<b>'+ this.series.name +'</b>:'+
  564. Highcharts.numberFormat(this.y, 2) +' 万kW<br/>时间:'+
  565. Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x);
  566. }*/
  567. },
  568. series: [{
  569. name: '限电损失电量(单位:万KWh)',
  570. yAxis:0
  571. },
  572. {name: '故障损失电量(单位:万KWh)',
  573. yAxis:0
  574. },{
  575. name: '检修损失电量(单位:万KWh)',
  576. yAxis:0
  577. },{
  578. name: '性能损失电量(单位:万KWh)',
  579. yAxis:0
  580. }
  581. ,{
  582. name: '受累损失电量(单位:万KWh)',
  583. yAxis:0
  584. }]
  585. };
  586. /******************************************玫瑰图1***********************************************/
  587. options2 = {
  588. colors: [
  589. '#7CB5EC',
  590. '#ACF19D'
  591. ],
  592. chart: {
  593. renderTo : 'fzy',
  594. polar: true,
  595. width:450,
  596. height:450,
  597. type: 'area'
  598. },
  599. title: {
  600. text: '对标排名分析',
  601. x: 0
  602. },
  603. pane: {
  604. size: '80%'
  605. },
  606. xAxis: {
  607. categories: ['风能利用率','故障损失率','检修损失率','弃风率','性能损失率','受累损失率','复位及时率','状态转换率','消缺及时率'
  608. ],
  609. tickmarkPlacement: 'on',
  610. lineWidth: 0
  611. },
  612. yAxis: {
  613. gridLineInterpolation: 'polygon',
  614. lineWidth: 0,
  615. min: 0
  616. },
  617. tooltip: {
  618. shared: true,
  619. pointFormat: '<span style="color:{series.color}"> <b>{point.y:,.0f}</b><br/>'
  620. },
  621. series: [{
  622. name: " ",
  623. data: [],
  624. pointPlacement: 'on'
  625. },{
  626. name: " ",
  627. data: [],
  628. pointPlacement: 'on'
  629. }]
  630. }
  631. /***************************************************************************************************/
  632. options3 = {
  633. colors: [
  634. '#00B259', //绿
  635. '#B20000', //红
  636. '#006DD9', //蓝
  637. '#000000', //黑
  638. '#FFBFFF',//藕荷色
  639. '#CC9900',//黄褐色
  640. '#FF8000',//橘黄
  641. '#DDDDDD',
  642. '#FF7744',
  643. '#33FFFF',
  644. '#FF44AA',
  645. '#FF00FF',
  646. '#FF0000',
  647. '#007799'
  648. ],
  649. chart : {
  650. renderTo : 'container3',
  651. height:313,width:785,
  652. plotBackgroundColor : null,
  653. plotBorderWidth : null,
  654. plotShadow : false
  655. },
  656. title : {
  657. text : '发电量占比'
  658. },
  659. tooltip : {
  660. pointFormat : '{series.name}: <b>{point.percentage:.1f}%</b>'
  661. },
  662. plotOptions : {
  663. pie : {
  664. allowPointSelect : true,
  665. cursor : 'pointer',
  666. dataLabels : {
  667. enabled : false,
  668. color : '#000000',
  669. connectorColor : '#000000',
  670. format : '<b>{point.name}</b>: {point.percentage:.1f} %'
  671. },
  672. showInLegend : true
  673. }
  674. },
  675. legend : {
  676. layout : 'vertical',
  677. align : 'left',
  678. verticalAlign : 'left',
  679. borderWidth : 0
  680. },
  681. series : [ {
  682. type : 'pie',
  683. name : '占比',
  684. data : []
  685. } ]
  686. }
  687. /***************************************************************************************************/
  688. options4 = {
  689. colors: [
  690. '#00B259', //绿
  691. '#B20000', //红
  692. '#006DD9', //蓝
  693. '#000000', //黑
  694. '#FFBFFF',//藕荷色
  695. '#CC9900',//黄褐色
  696. '#FF8000',//橘黄
  697. '#DDDDDD',
  698. '#FF7744',
  699. '#33FFFF',
  700. '#FF44AA',
  701. '#FF00FF',
  702. '#FF0000',
  703. '#007799'
  704. ],
  705. chart : {
  706. renderTo : 'container4',
  707. height:313,width:785,
  708. plotBackgroundColor : null,
  709. plotBorderWidth : null,
  710. plotShadow : false
  711. },
  712. title : {
  713. text : '损失电量占比'
  714. },
  715. tooltip : {
  716. pointFormat : '{series.name}: <b>{point.percentage:.1f}%</b>'
  717. },
  718. plotOptions : {
  719. pie : {
  720. allowPointSelect : true,
  721. cursor : 'pointer',
  722. dataLabels : {
  723. enabled : false,
  724. color : '#000000',
  725. connectorColor : '#000000',
  726. format : '<b>{point.name}</b>: {point.percentage:.1f} %'
  727. },
  728. showInLegend : true
  729. }
  730. },
  731. legend : {
  732. layout : 'vertical',
  733. align : 'left',
  734. verticalAlign : 'left',
  735. borderWidth : 0
  736. },
  737. series : [ {
  738. type : 'pie',
  739. name : '占比',
  740. data : []
  741. } ]
  742. }
  743. /***************************************************************************************************/
  744. options5 = {
  745. colors: [
  746. '#D201D8', //限电
  747. '#FD0100',//故障
  748. '#FF7B16', //维护
  749. '#8085E9',//性能
  750. '#A6A6A6' //受累
  751. ],
  752. chart: {
  753. renderTo: 'containers',
  754. type: 'column',
  755. width:450,
  756. height:300,
  757. //backgroundColor:'#BFDFFF',
  758. //plotBackgroundColor:'#BFDFFF',
  759. zoomType: 'x'
  760. },
  761. title : {
  762. text : '损失电量分析'
  763. },
  764. xAxis: {
  765. type: 'category'
  766. },
  767. yAxis: [{ // Primary yAxis
  768. labels: {
  769. format: '{value}万kw',
  770. style: {
  771. color: '#89A54E'
  772. }
  773. },
  774. title: {
  775. text: '电量',
  776. style: {
  777. color: '#89A54E'
  778. }
  779. }
  780. }],
  781. legend: {
  782. layout: 'vertical',
  783. // backgroundColor: '#FFFFFF',
  784. align: 'right', //水平方向位置
  785. verticalAlign: 'top', //垂直方向位置
  786. x:30,
  787. y:15,
  788. /* floating: true */
  789. // shadow: true
  790. // layout: 'vertical',
  791. // align: 'right',
  792. // verticalAlign: 'middle',
  793. // borderWidth: 0
  794. },
  795. tooltip: {
  796. shared:true,
  797. xDateFormat:'%Y-%m-%d %H:%M'
  798. /*formatter: function() {
  799. return '<b>'+ this.series.name +'</b>:'+
  800. Highcharts.numberFormat(this.y, 2) +' 万kW<br/>时间:'+
  801. Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x);
  802. }*/
  803. },
  804. series: [{
  805. name: '限电损失电量(单位:万KWh)',
  806. yAxis:0
  807. },
  808. {name: '故障损失电量(单位:万KWh)',
  809. yAxis:0
  810. },{
  811. name: '检修损失电量(单位:万KWh)',
  812. yAxis:0
  813. },{
  814. name: '性能损失电量(单位:万KWh)',
  815. yAxis:0
  816. }
  817. ,{
  818. name: '受累损失电量(单位:万KWh)',
  819. yAxis:0
  820. }]
  821. };
  822. /***************************************************************************************************/
  823. showJqGrid();
  824. });
  825. function displaybuttons(cellvalue, options, rawObject) {
  826. var detail = "<input type='button' value='详情' onclick=detail('"
  827. + rawObject.wpId + "')>";
  828. return "&nbsp;&nbsp;&nbsp;\t" + detail + "&nbsp;&nbsp;&nbsp;\t";
  829. };
  830. function detail(wpId) {
  831. $("#f1").attr("action", "../benchmark/benchmarkLossWtindex.action?wpId="+wpId).submit();
  832. }
  833. function showJqGrid() {
  834. var wpId=wpids;
  835. var beginDate=$("#beginDate").val();
  836. var endDate=$("#endDate").val();
  837. var typeid=$("#typeid").val();
  838. findWpPowerChat(wpId,beginDate,endDate);
  839. var id = 'gridTable';
  840. var url = '<%=request.getContextPath() %>/benchmark/benchmarkLossList.action?wpId='+wpId
  841. +"&beginDate="+beginDate +"&endDate="+endDate;
  842. var datatype = 'json';
  843. var colNames = ['复位及时率分数','状态转换分数','状态转换分数','风能利用率分数','故障损失率分数','检修损失率分数'
  844. ,'弃风率分数','受累损失率分数','性能损失分数','风电场编号','风电场名称','综合排名', '发电量排名', '发电量', '故障损失电量排名', '故障损失电量', '检修损失电量排名', '检修损失电量', '性能损失电量排名', '性能损失电量',
  845. '限电损失电量排名', '限电损失电量', '受累损失电量排名', '受累损失电量',
  846. '风能利用率排名', '风能利用率(%)', '故障损失率排名', '故障损失率(%)','检修损失率排名',
  847. '检修损失率(%)','弃风率排名','弃风率(%)','性能损失率排名','性能损失率(%)','受累损失率排名','受累损失率(%)', '复位及时率排名', '复位及时率(%)', '状态转换率排名', '状态转换率(%)',
  848. '消缺及时率排名', '消缺及时率(%)', "操作"];
  849. var colModel =null;
  850. switch (typeid)
  851. {
  852. case "1":
  853. colModel = [
  854. { name: 'fwjslfraction', index: 'fwjslfraction', width: 240, align: 'center',hidden:true},
  855. { name: 'ztzhjslfraction', index: 'ztzhjslfraction', width: 240, align: 'center',hidden:true},
  856. { name: 'xqjslfraction', index: 'xqjslfraction', width: 240, align: 'center',hidden:true},
  857. { name: 'fnlylfraction', index: 'fnlylfraction', width: 240, align: 'center',hidden:true},
  858. { name: 'gzsslfraction', index: 'gzsslfraction', width: 240, align: 'center',hidden:true},
  859. { name: 'jxsslfraction', index: 'jxsslfraction', width: 240, align: 'center',hidden:true},
  860. { name: 'qflfraction', index: 'qflfraction', width: 240, align: 'center',hidden:true},
  861. { name: 'slsslfraction', index: 'slsslfraction', width: 240, align: 'center',hidden:true},
  862. { name: 'xnsslfraction', index: 'xnsslfraction', width: 240, align: 'center',hidden:true},
  863. { name: 'wpId', index: 'wpId', width: 240, align: 'center',hidden:true },
  864. { name: 'wpName', index: 'wpName', width: 240, align: 'center'},
  865. { name: 'ordernum', index: 'ordernum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  866. { name: 'scadafdlnum', index: 'scadafdlnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  867. { name: 'scadafdl', index: 'scadafdl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  868. { name: 'gzssnum', index: 'gzssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  869. { name: 'gzss', index: 'gzss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  870. { name: 'whssnum', index: 'whssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  871. { name: 'whss', index: 'whss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  872. { name: 'qfssnum', index: 'qfssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  873. { name: 'qfss', index: 'qfss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  874. { name: 'xdssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  875. { name: 'xdss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  876. { name: 'slssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  877. { name: 'slss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  878. { name: 'fnlylnum', index: 'fnlylnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  879. { name: 'fnlyl', index: 'fnlyl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  880. { name: 'gzsslnum', index: 'gzsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  881. { name: 'gzssl', index: 'gzssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  882. { name: 'jxsslnum', index: 'jxsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  883. { name: 'jxssl', index: 'jxssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  884. { name: 'qflnum', index: 'qflnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  885. { name: 'qfl', index: 'qfl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  886. { name: 'xnsslnum', index: 'xnsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  887. { name: 'xnssl', index: 'xnssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  888. { name: 'slsslnum', index: 'slsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  889. { name: 'slssl', index: 'slssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  890. { name: 'fwjslnum', index: 'fwjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  891. { name: 'fwjsl', index: 'fwjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  892. { name: 'ztzhjslnum', index: 'ztzhjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  893. { name: 'ztzhjsl', index: 'ztzhjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  894. { name: 'xqjslnum', index: 'xqjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  895. { name: 'xqjsl', index: 'xqjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  896. { name: 'wpId', index: 'wpId', width: 240, align: 'center',formatter:displaybuttons}
  897. ];
  898. break;
  899. case "2":
  900. colModel = [
  901. { name: 'fwjslfraction', index: 'fwjslfraction', width: 240, align: 'center',hidden:true},
  902. { name: 'ztzhjslfraction', index: 'ztzhjslfraction', width: 240, align: 'center',hidden:true},
  903. { name: 'xqjslfraction', index: 'xqjslfraction', width: 240, align: 'center',hidden:true},
  904. { name: 'fnlylfraction', index: 'fnlylfraction', width: 240, align: 'center',hidden:true},
  905. { name: 'gzsslfraction', index: 'gzsslfraction', width: 240, align: 'center',hidden:true},
  906. { name: 'jxsslfraction', index: 'jxsslfraction', width: 240, align: 'center',hidden:true},
  907. { name: 'qflfraction', index: 'qflfraction', width: 240, align: 'center',hidden:true},
  908. { name: 'slsslfraction', index: 'slsslfraction', width: 240, align: 'center',hidden:true},
  909. { name: 'xnsslfraction', index: 'xnsslfraction', width: 240, align: 'center',hidden:true},
  910. { name: 'wpId', index: 'wpId', width: 240, align: 'center',hidden:true },
  911. { name: 'wpName', index: 'wpName', width: 240, align: 'center'},
  912. { name: 'ordernum', index: 'ordernum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  913. { name: 'scadafdlnum', index: 'scadafdlnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  914. { name: 'scadafdl', index: 'scadafdl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  915. { name: 'gzssnum', index: 'gzssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  916. { name: 'gzss', index: 'gzss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  917. { name: 'whssnum', index: 'whssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  918. { name: 'whss', index: 'whss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  919. { name: 'qfssnum', index: 'qfssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  920. { name: 'qfss', index: 'qfss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  921. { name: 'xdssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  922. { name: 'xdss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  923. { name: 'slssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  924. { name: 'slss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  925. { name: 'fnlylnum', index: 'fnlylnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  926. { name: 'fnlyl', index: 'fnlyl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  927. { name: 'gzsslnum', index: 'gzsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  928. { name: 'gzssl', index: 'gzssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  929. { name: 'jxsslnum', index: 'jxsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  930. { name: 'jxssl', index: 'jxssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  931. { name: 'qflnum', index: 'qflnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  932. { name: 'qfl', index: 'qfl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  933. { name: 'xnsslnum', index: 'xnsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  934. { name: 'xnssl', index: 'xnssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  935. { name: 'slsslnum', index: 'slsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  936. { name: 'slssl', index: 'slssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  937. { name: 'fwjslnum', index: 'fwjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  938. { name: 'fwjsl', index: 'fwjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  939. { name: 'ztzhjslnum', index: 'ztzhjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  940. { name: 'ztzhjsl', index: 'ztzhjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  941. { name: 'xqjslnum', index: 'xqjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  942. { name: 'xqjsl', index: 'xqjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  943. { name: 'wpId', index: 'wpId', width: 240, align: 'center',formatter:displaybuttons}
  944. ];
  945. break;
  946. case "3":
  947. colModel = [
  948. { name: 'fwjslfraction', index: 'fwjslfraction', width: 240, align: 'center',hidden:true},
  949. { name: 'ztzhjslfraction', index: 'ztzhjslfraction', width: 240, align: 'center',hidden:true},
  950. { name: 'xqjslfraction', index: 'xqjslfraction', width: 240, align: 'center',hidden:true},
  951. { name: 'fnlylfraction', index: 'fnlylfraction', width: 240, align: 'center',hidden:true},
  952. { name: 'gzsslfraction', index: 'gzsslfraction', width: 240, align: 'center',hidden:true},
  953. { name: 'jxsslfraction', index: 'jxsslfraction', width: 240, align: 'center',hidden:true},
  954. { name: 'qflfraction', index: 'qflfraction', width: 240, align: 'center',hidden:true},
  955. { name: 'slsslfraction', index: 'slsslfraction', width: 240, align: 'center',hidden:true},
  956. { name: 'xnsslfraction', index: 'xnsslfraction', width: 240, align: 'center',hidden:true},
  957. { name: 'wpId', index: 'wpId', width: 240, align: 'center',hidden:true },
  958. { name: 'wpName', index: 'wpName', width: 240, align: 'center'},
  959. { name: 'ordernum', index: 'ordernum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  960. { name: 'scadafdlnum', index: 'scadafdlnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  961. { name: 'scadafdl', index: 'scadafdl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  962. { name: 'gzssnum', index: 'gzssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  963. { name: 'gzss', index: 'gzss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  964. { name: 'whssnum', index: 'whssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  965. { name: 'whss', index: 'whss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  966. { name: 'qfssnum', index: 'qfssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  967. { name: 'qfss', index: 'qfss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  968. { name: 'xdssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  969. { name: 'xdss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  970. { name: 'slssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  971. { name: 'slss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  972. { name: 'fnlylnum', index: 'fnlylnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  973. { name: 'fnlyl', index: 'fnlyl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  974. { name: 'gzsslnum', index: 'gzsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  975. { name: 'gzssl', index: 'gzssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  976. { name: 'jxsslnum', index: 'jxsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  977. { name: 'jxssl', index: 'jxssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  978. { name: 'qflnum', index: 'qflnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  979. { name: 'qfl', index: 'qfl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  980. { name: 'xnsslnum', index: 'xnsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  981. { name: 'xnssl', index: 'xnssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  982. { name: 'slsslnum', index: 'slsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  983. { name: 'slssl', index: 'slssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  984. { name: 'fwjslnum', index: 'fwjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  985. { name: 'fwjsl', index: 'fwjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  986. { name: 'ztzhjslnum', index: 'ztzhjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  987. { name: 'ztzhjsl', index: 'ztzhjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  988. { name: 'xqjslnum', index: 'xqjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  989. { name: 'xqjsl', index: 'xqjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  990. { name: 'wpId', index: 'wpId', width: 240, align: 'center',formatter:displaybuttons}
  991. ];
  992. break;
  993. case "4":
  994. colModel = [
  995. { name: 'fwjslfraction', index: 'fwjslfraction', width: 240, align: 'center',hidden:true},
  996. { name: 'ztzhjslfraction', index: 'ztzhjslfraction', width: 240, align: 'center',hidden:true},
  997. { name: 'xqjslfraction', index: 'xqjslfraction', width: 240, align: 'center',hidden:true},
  998. { name: 'fnlylfraction', index: 'fnlylfraction', width: 240, align: 'center',hidden:true},
  999. { name: 'gzsslfraction', index: 'gzsslfraction', width: 240, align: 'center',hidden:true},
  1000. { name: 'jxsslfraction', index: 'jxsslfraction', width: 240, align: 'center',hidden:true},
  1001. { name: 'qflfraction', index: 'qflfraction', width: 240, align: 'center',hidden:true},
  1002. { name: 'slsslfraction', index: 'slsslfraction', width: 240, align: 'center',hidden:true},
  1003. { name: 'xnsslfraction', index: 'xnsslfraction', width: 240, align: 'center',hidden:true},
  1004. { name: 'wpId', index: 'wpId', width: 240, align: 'center',hidden:true },
  1005. { name: 'wpName', index: 'wpName', width: 240, align: 'center'},
  1006. { name: 'ordernum', index: 'ordernum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1007. { name: 'scadafdlnum', index: 'scadafdlnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1008. { name: 'scadafdl', index: 'scadafdl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1009. { name: 'gzssnum', index: 'gzssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1010. { name: 'gzss', index: 'gzss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1011. { name: 'whssnum', index: 'whssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1012. { name: 'whss', index: 'whss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1013. { name: 'qfssnum', index: 'qfssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  1014. { name: 'qfss', index: 'qfss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  1015. { name: 'xdssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1016. { name: 'xdss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1017. { name: 'slssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1018. { name: 'slss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1019. { name: 'fnlylnum', index: 'fnlylnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1020. { name: 'fnlyl', index: 'fnlyl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1021. { name: 'gzsslnum', index: 'gzsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1022. { name: 'gzssl', index: 'gzssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1023. { name: 'jxsslnum', index: 'jxsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1024. { name: 'jxssl', index: 'jxssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1025. { name: 'qflnum', index: 'qflnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1026. { name: 'qfl', index: 'qfl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1027. { name: 'xnsslnum', index: 'xnsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  1028. { name: 'xnssl', index: 'xnssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  1029. { name: 'slsslnum', index: 'slsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1030. { name: 'slssl', index: 'slssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1031. { name: 'fwjslnum', index: 'fwjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1032. { name: 'fwjsl', index: 'fwjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1033. { name: 'ztzhjslnum', index: 'ztzhjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1034. { name: 'ztzhjsl', index: 'ztzhjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1035. { name: 'xqjslnum', index: 'xqjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1036. { name: 'xqjsl', index: 'xqjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1037. { name: 'wpId', index: 'wpId', width: 240, align: 'center',formatter:displaybuttons}
  1038. ];
  1039. break;
  1040. case "5":
  1041. colModel = [
  1042. { name: 'fwjslfraction', index: 'fwjslfraction', width: 240, align: 'center',hidden:true},
  1043. { name: 'ztzhjslfraction', index: 'ztzhjslfraction', width: 240, align: 'center',hidden:true},
  1044. { name: 'xqjslfraction', index: 'xqjslfraction', width: 240, align: 'center',hidden:true},
  1045. { name: 'fnlylfraction', index: 'fnlylfraction', width: 240, align: 'center',hidden:true},
  1046. { name: 'gzsslfraction', index: 'gzsslfraction', width: 240, align: 'center',hidden:true},
  1047. { name: 'jxsslfraction', index: 'jxsslfraction', width: 240, align: 'center',hidden:true},
  1048. { name: 'qflfraction', index: 'qflfraction', width: 240, align: 'center',hidden:true},
  1049. { name: 'slsslfraction', index: 'slsslfraction', width: 240, align: 'center',hidden:true},
  1050. { name: 'xnsslfraction', index: 'xnsslfraction', width: 240, align: 'center',hidden:true},
  1051. { name: 'wpId', index: 'wpId', width: 240, align: 'center',hidden:true },
  1052. { name: 'wpName', index: 'wpName', width: 240, align: 'center'},
  1053. { name: 'ordernum', index: 'ordernum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1054. { name: 'scadafdlnum', index: 'scadafdlnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1055. { name: 'scadafdl', index: 'scadafdl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1056. { name: 'gzssnum', index: 'gzssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1057. { name: 'gzss', index: 'gzss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1058. { name: 'whssnum', index: 'whssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1059. { name: 'whss', index: 'whss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1060. { name: 'qfssnum', index: 'qfssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1061. { name: 'qfss', index: 'qfss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1062. { name: 'xdssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1063. { name: 'xdss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float',hidden:true},
  1064. { name: 'slssnum', index: 'slssnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  1065. { name: 'slss', index: 'slss', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  1066. { name: 'fnlylnum', index: 'fnlylnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1067. { name: 'fnlyl', index: 'fnlyl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1068. { name: 'gzsslnum', index: 'gzsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1069. { name: 'gzssl', index: 'gzssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1070. { name: 'jxsslnum', index: 'jxsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1071. { name: 'jxssl', index: 'jxssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1072. { name: 'qflnum', index: 'qflnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1073. { name: 'qfl', index: 'qfl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1074. { name: 'xnsslnum', index: 'xnsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1075. { name: 'xnssl', index: 'xnssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1076. { name: 'slsslnum', index: 'slsslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  1077. { name: 'slssl', index: 'slssl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  1078. { name: 'fwjslnum', index: 'fwjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1079. { name: 'fwjsl', index: 'fwjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1080. { name: 'ztzhjslnum', index: 'ztzhjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1081. { name: 'ztzhjsl', index: 'ztzhjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1082. { name: 'xqjslnum', index: 'xqjslnum', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int',hidden:true},
  1083. { name: 'xqjsl', index: 'xqjsl', width: 240, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float',hidden:true},
  1084. { name: 'wpId', index: 'wpId', width: 240, align: 'center',formatter:displaybuttons}
  1085. ];
  1086. break;
  1087. }
  1088. var caption = '损失率对标列表';
  1089. var sortname = 'total';
  1090. var gridPagerID ='gridPager';
  1091. var sortorder='desc';
  1092. var height='auto';
  1093. var width='auto';
  1094. var rownumbers=true;
  1095. var multiselect=true;
  1096. myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
  1097. multiselect,rownumbers);
  1098. }
  1099. function initial()
  1100. {
  1101. $.fn.zTree.init($("#treeWindfarm"), setting);
  1102. wpids='<s:property value="wpId"/>';
  1103. $("#beginDate").val('<s:property value="beginDate"/>');
  1104. $("#endDate").val('<s:property value="endDate"/>');
  1105. $("#wpId").val('${wpName}');
  1106. }
  1107. </script>
  1108. <style type="text/css">
  1109. fieldset legend {
  1110. color:#302A2A;
  1111. font: bold 16px/2 Verdana, Geneva, sans-serif;
  1112. font-weight: bold;
  1113. text-align: left;
  1114. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  1115. }
  1116. .ui-jqgrid tr.jqgrow td {
  1117. white-space: normal !important;
  1118. height:auto;
  1119. vertical-align:text-top;
  1120. padding-top:2px;
  1121. }
  1122. th.ui-th-column div{
  1123. white-space:normal !important;
  1124. height:auto !important;
  1125. padding:0px;
  1126. }
  1127. .text_title {
  1128. font-family: "宋体";
  1129. font-size: 12px;
  1130. color: #000;
  1131. text-decoration: none;
  1132. }
  1133. .text_unit {
  1134. font-family: "宋体";
  1135. font-size: 12px;
  1136. color: #333;
  1137. text-decoration: none;
  1138. }
  1139. .text_main{
  1140. font-family: Arial, Helvetica, sans-serif;
  1141. font-size: 12px;
  1142. color: #000;
  1143. text-decoration: none;
  1144. font-weight: bold;
  1145. }
  1146. fieldset legend {
  1147. color:#302A2A;
  1148. font: bold 16px/2 Verdana, Geneva, sans-serif;
  1149. font-weight: bold;
  1150. text-align: left;
  1151. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  1152. }
  1153. .panelcontainer {
  1154. width: 100%;
  1155. height: 70px;
  1156. border-style: solid;
  1157. border-color: #f1f1f1;
  1158. border-width:1px;
  1159. }
  1160. .panelquery {
  1161. width:100%;
  1162. height:25px;
  1163. background-color:#f1f1f1;
  1164. line-height:25px;
  1165. }
  1166. .panelquerytext {
  1167. margin-left:3px;
  1168. font-weight:bold;
  1169. font-size: 12px;
  1170. font-family: tahoma,arial,verdana,sans-serif;
  1171. }
  1172. .querycondcontainer {
  1173. line-height:39px;
  1174. padding:3px;
  1175. float:left;
  1176. font-size: 12px;
  1177. }
  1178. </style>
  1179. </head>
  1180. <body>
  1181. <form action="lossIndex.action" method="post" id="f1">
  1182. <div class="panelcontainer" style="width:1620px;" >
  1183. <div class="querycondcontainer">
  1184. 场站:<input id="wpId" type="text" readonly value="" style="width:400px;" onclick="showWindfarm();" />
  1185. </div>
  1186. <div class="querycondcontainer">
  1187. 分类:<select name="typeid" id="typeid" >
  1188. <option value="1">弃风率</option>
  1189. <option value="2" selected="selected">故障损失率</option>
  1190. <option value="3">检修损失率</option>
  1191. <option value="4">性能损失率</option>
  1192. <option value="5">受累损失率</option>
  1193. </select>
  1194. </div>
  1195. <div class="querycondcontainer">
  1196. 开始日期:<input type="text" style="width:150px;" class="Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowWeek:true,readOnly:true})"
  1197. id="beginDate" name="beginDate"/>
  1198. </div>
  1199. <div class="querycondcontainer">
  1200. 结束日期:<input type="text" style="width:150px;" class="Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowWeek:true,readOnly:true})"
  1201. id="endDate" name="endDate"/>
  1202. </div>
  1203. <div style="float:left;line-height:39px;margin-left:20px;width:80px;">
  1204. <input id="backbuttona" type="button" value="查询" onClick="queryData()" />
  1205. </div>
  1206. <div style="float:left;line-height:39px;margin-left:20px;width:80px;">
  1207. <input id="backbuttona" type="button" value="对标分析" onClick="contrast()" />
  1208. </div>
  1209. </div>
  1210. <div id="menuWindfarm" class="menuContent" style="overflow-y:scroll;overflow-x:auto;z-index:9999; border: 1px solid #617775;background: #f0f6e4;display:none;position: absolute;">
  1211. <ul id="treeWindfarm" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
  1212. </div>
  1213. <table id='gridTable' >
  1214. </table>
  1215. <div id='gridPager'></div>
  1216. <br/>
  1217. <div id="container2" style="width:1570px;height:310px;float:left">
  1218. <div id="container3" style=" width:785px; float:left"></div>
  1219. <div id="container4" style=" width:785px; float:left"></div>
  1220. </div>
  1221. <br/>
  1222. <div id="container" style="width:1570px;height:310px"></div>
  1223. </form>
  1224. <div class="highslide-html-content" id="showDiv" style="width: 1000">
  1225. <div class="highslide-header">
  1226. <ul>
  1227. <li class="highslide-move">
  1228. <a href="#" onclick="return false">Move</a>
  1229. </li>
  1230. <li class="highslide-close" style="width: 18px;height: 10px">
  1231. <a href="#" onclick="return hs.close(this)" ></a>
  1232. </li>
  1233. </ul>
  1234. </div>
  1235. <div class="highslide-body" id="container1" style="width: 1100;height : 1050;">
  1236. <table width="1000" border="0" cellspacing="0" cellpadding="0" bgcolor="#efefef">
  1237. <tr>
  1238. <td width="560" rowspan="15" align="center" bgcolor="#FFFFFF"><div id="fzy"></div><div id="containers"></div></td>
  1239. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span class='text_main' >指标</span></td>
  1240. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span class='text_main' id="wpid1" >指标</span></td>
  1241. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span class='text_main' id="wpid2">指标</span></td>
  1242. </tr>
  1243. <tr>
  1244. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>发电量</span></td>
  1245. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="scadafdl1" class='text_title'></span></td>
  1246. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="scadafdl2" class='text_title'></span></td>
  1247. </tr>
  1248. <tr>
  1249. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>故障损失电量</span></td>
  1250. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzss1" class='text_title'></span></td>
  1251. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzss2" class='text_title'></span></td>
  1252. </tr>
  1253. <tr>
  1254. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>检修损失电量</span></td>
  1255. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="whss1" class='text_title'></span></td>
  1256. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="whss2" class='text_title'></span></td>
  1257. </tr>
  1258. <tr>
  1259. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>性能损失电量</span></td>
  1260. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfss1" class='text_title'></span></td>
  1261. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfss2" class='text_title'></span></td>
  1262. </tr>
  1263. <tr>
  1264. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>受累损失电量</span></td>
  1265. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slss1" class='text_title'></span></td>
  1266. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slss2" class='text_title'></span></td>
  1267. </tr>
  1268. <tr>
  1269. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>风能利用率</span></td>
  1270. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fnlyl1" class='text_title'></span></td>
  1271. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fnlyl2" class='text_title'></span></td>
  1272. </tr>
  1273. <tr>
  1274. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>故障损失率</span></td>
  1275. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzssl1" class='text_title'></span></td>
  1276. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzssl2" class='text_title'></span></td>
  1277. </tr>
  1278. <tr>
  1279. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>检修损失率</span></td>
  1280. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="jxssl1" class='text_title'></span></td>
  1281. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="jxssl2" class='text_title'></span></td>
  1282. </tr>
  1283. <tr>
  1284. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>弃风率</span></td>
  1285. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfl1" class='text_title'></span></td>
  1286. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfl2" class='text_title'></span></td>
  1287. </tr>
  1288. <tr>
  1289. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>性能损失率</span></td>
  1290. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xnssl1" class='text_title'></span></td>
  1291. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xnssl2" class='text_title'></span></td>
  1292. </tr>
  1293. <tr>
  1294. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>受累损失率</span></td>
  1295. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slssl1" class='text_title'></span></td>
  1296. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slssl2" class='text_title'></span></td>
  1297. </tr>
  1298. <tr>
  1299. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>复位及时率</span></td>
  1300. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fwjsl1" class='text_title'></span></td>
  1301. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fwjsl2" class='text_title'></span></td>
  1302. </tr>
  1303. <tr>
  1304. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>消缺及时率</span></td>
  1305. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xqjsl1" class='text_title'></span></td>
  1306. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xqjsl2" class='text_title'></span></td>
  1307. </tr>
  1308. <tr>
  1309. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>状态转换率</span></td>
  1310. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="ztzhjsl1" class='text_title'></span></td>
  1311. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="ztzhjsl2" class='text_title'></span></td>
  1312. </tr>
  1313. </table>
  1314. </div>
  1315. </div>
  1316. <!--***************************************************************************************************************************-->
  1317. <div class="highslide-html-content" id="showDiv2" style="width: 1000">
  1318. <div class="highslide-header">
  1319. <ul>
  1320. <li class="highslide-move">
  1321. <a href="#" onclick="return false">Move</a>
  1322. </li>
  1323. <li class="highslide-close" style="width: 18px;height: 10px">
  1324. <a href="#" onclick="return hs.close(this)" ></a>
  1325. </li>
  1326. </ul>
  1327. </div>
  1328. <div class="highslide-body" id="container5" style="width: 1000">
  1329. <!--***************************************************************************************************************************-->
  1330. <div id="gzsscs" style="display:none">
  1331. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1332. <tr>
  1333. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >故障损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1334. </tr>
  1335. <tr>
  1336. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、加强风机大部件的维护、消缺工作,确保能够长周期运行。</span><span id="wtid" class='text_title'></span></td>
  1337. </tr>
  1338. <tr>
  1339. <td width="579" height="26" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>2、定期针对风机易损件的更换、检查、维护,减少风机易损件故障的影响。</span><span id="level" class='text_title'></span></td>
  1340. </tr>
  1341. <tr>
  1342. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、加强备品备件的管理;提前采购,并采购优质的备品备件;定期对备品备件进行维护。</span>
  1343. </td>
  1344. </tr>
  1345. <tr>
  1346. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、按期、保证质量的完成定检项目。</span>
  1347. </td>
  1348. </tr>
  1349. <tr>
  1350. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>5、加强技术力量的储备、培训,培养优秀的风机检修维护人员。</span>
  1351. </td>
  1352. </tr>
  1353. <tr>
  1354. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>6、采购适用各类型风机检修、检测的工器具、仪表。</span>
  1355. </td>
  1356. </tr>
  1357. <tr>
  1358. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>7、建立检修、维护时间定额、工艺确认、验收等管理机制。</span>
  1359. </td>
  1360. </tr>
  1361. </table>
  1362. </div>
  1363. <!--***************************************************************************************************************************-->
  1364. <div id="xnsscs" style="display:none">
  1365. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1366. <tr>
  1367. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >性能损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1368. </tr>
  1369. <tr>
  1370. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、积极协调风机厂家技术人员,进行风机控制策略升级,提高切入风速、额定风速合格率,使风机进入最佳状态。</span><span id="wtid" class='text_title'></span></td>
  1371. </tr>
  1372. <tr>
  1373. <td width="579" height="26" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>2、加强风机大部件的维护、消缺工作,确保能够长周期运行。</span><span id="level" class='text_title'></span></td>
  1374. </tr>
  1375. <tr>
  1376. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、定期针对风机易损件的更换、检查、维护,减少风机易损件故障的影响。</span>
  1377. </td>
  1378. </tr>
  1379. <tr>
  1380. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、加强备品备件的管理;提前采购,并采购优质的备品备件;定期对备品备件进行维护。</span>
  1381. </td>
  1382. </tr>
  1383. <tr>
  1384. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>5、制定年度技改项目计划,及时进行风机性能优化,风能利用率。</span>
  1385. </td>
  1386. </tr>
  1387. <tr>
  1388. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>6、申请技改费用,更换风速仪、风向标为声波或激光测风,提升风机控制。</span>
  1389. </td>
  1390. </tr>
  1391. <tr>
  1392. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>7、按期、保证质量的完成定检项目。</span>
  1393. </td>
  1394. </tr>
  1395. <tr>
  1396. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>8、加强技术力量的储备、培训,培养优秀的风机检修维护人员。</span>
  1397. </td>
  1398. </tr>
  1399. <tr>
  1400. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>9、采购适用各类型风机检修、检测的工器具、仪表。</span>
  1401. </td>
  1402. </tr>
  1403. <tr>
  1404. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>10、建立风机性能优化、提效的技术团队;建立检修维护工艺确认、验收管理等机制。</span>
  1405. </td>
  1406. </tr>
  1407. </table>
  1408. </div>
  1409. <!--***************************************************************************************************************************-->
  1410. <div id="jxsscs" style="display:none">
  1411. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1412. <tr>
  1413. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >检修损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1414. </tr>
  1415. <tr>
  1416. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、进行检修时间优化(年度计划时间的确定,检修工期的优化)。</span><span id="wtid" class='text_title'></span></td>
  1417. </tr>
  1418. <tr>
  1419. <td width="579" height="26" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>2、季节检修向状态检修转变。</span><span id="level" class='text_title'></span></td>
  1420. </tr>
  1421. <tr>
  1422. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、通过制定详细、周密的检修计划,确定检修项目,定额情况,确保按计划或提前完成检修工作。</span>
  1423. </td>
  1424. </tr>
  1425. <tr>
  1426. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、提前安排备品备件的采购工作,确保检修工作前,备品备件到场。</span>
  1427. </td>
  1428. </tr>
  1429. <tr>
  1430. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>5、定期检查检修工具、仪器仪表等的配置、完好。提前联系大型车辆、机械等设备到场。做好其他车辆的检查、维护工作,保证车辆不出现异常情况。</span>
  1431. </td>
  1432. </tr>
  1433. <tr>
  1434. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>6、提前做好检修队伍的落实,人员资质、技术能力的审查。</span>
  1435. </td>
  1436. </tr>
  1437. <tr>
  1438. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>7、做好检修的设备性能、状态、可靠性、缺陷(故障)情况的详查,落实检修项目。</span>
  1439. </td>
  1440. </tr>
  1441. <tr>
  1442. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>8、检修工作中严格执行检修作业指导书,标准化检修。</span>
  1443. </td>
  1444. </tr>
  1445. <tr>
  1446. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>9、合理安排检修、运行人员,缩短工期。</span>
  1447. </td>
  1448. </tr>
  1449. <tr>
  1450. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>10、加强后勤保障能力,保证人员吃住行的安全。</span>
  1451. </td>
  1452. </tr>
  1453. <tr>
  1454. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>11、进行班前思想教育、统一思想,认真完成工作交底,确保人员、设备安全。</span>
  1455. </td>
  1456. </tr>
  1457. </table>
  1458. </div>
  1459. <!--***************************************************************************************************************************-->
  1460. <div id="slsscs" style="display:none">
  1461. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1462. <tr>
  1463. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >受累损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1464. </tr>
  1465. <tr>
  1466. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、关注电网计划检修时间,合理优化、适当建议电网检修避开大风天气、恶略天气。</span><span id="wtid" class='text_title'></span></td>
  1467. </tr>
  1468. <tr>
  1469. <td width="579" height="26" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>2、恶略天气关注电网的变化,根据实际情况适当变换运行方式,做好事故预想。</span><span id="level" class='text_title'></span></td>
  1470. </tr>
  1471. <tr>
  1472. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、电网出现故障后,积极联络、及时沟通、主动采取措施,尽快消除故障,恢复运行。</span>
  1473. </td>
  1474. </tr>
  1475. <tr>
  1476. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、电网检修时,安排专人负责联系检修人员、大客户经理、调度员等,确认检修进度,及时反馈。工作完成后,及时联系相关人员,争取提前恢复运行。安排风场做好恢复运行的准备工作。</span>
  1477. </td>
  1478. </tr>
  1479. </table>
  1480. </div>
  1481. <!--***************************************************************************************************************************-->
  1482. <div id="xdsscs" style="display:none">
  1483. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1484. <tr>
  1485. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >限电损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1486. </tr>
  1487. <tr>
  1488. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、关注国家、自治区、电网各级关于弃风限电的政策。按相关政策要求,及时应对和采取措施。</span><span id="wtid" class='text_title'></span></td>
  1489. </tr>
  1490. <tr>
  1491. <td width="579" height="26" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>2、在新能源电量与小火电置换、大用户直供、外送等方面增加营销力度。</span><span id="level" class='text_title'></span></td>
  1492. </tr>
  1493. <tr>
  1494. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、积极与宁夏电网调度机构进行沟通,在负荷有空间时,有较高风速时,及时申请提高负荷。</span>
  1495. </td>
  1496. </tr>
  1497. </table>
  1498. </div>
  1499. <!--***************************************************************************************************************************-->
  1500. </div>
  1501. </div>
  1502. <!--***************************************************************************************************************************-->
  1503. </body>