benchmarkpj.jsp 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559
  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 pj1=" ";
  106. var pj2=" ";
  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 pjName= $("#gridTable").jqGrid('getCell',value,'pjName');
  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. pj1=pjName;
  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. $("#pjid1").html(pjName + "&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(pj1);
  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. pj2=pjName;
  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. $("#pjid2").html(pjName + "&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(pj2);
  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 = pj1;
  302. options2.series[1].data = data2;
  303. options2.series[1].name = pj2;
  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,project) {
  324. var url = "/benchmark/findWpPowerPjChat.action?wpId="+wpId
  325. +"&beginDate="+beginDate +"&endDate="+endDate+"&project="+project;
  326. $.ajax({
  327. url : url,
  328. type : "post",
  329. cache : false,
  330. dataType : "json",
  331. async : false,
  332. data : {},
  333. ifModified : false,
  334. success : function(result) {
  335. var xddl = [];
  336. var gzdl = [];
  337. var whdl = [];
  338. var qfdl = [];
  339. var sldl = [];
  340. var xaixs1 = [];
  341. var xaixs2 = [];
  342. var name = [];
  343. if(result!=null)
  344. {
  345. $.each(result, function(m, obj) {
  346. //if(m == result.length -1){
  347. var total=0;
  348. if (obj.value1 != null) {
  349. total=total+parseFloat(obj.value1);
  350. xddl.push( parseFloat(obj.value1) );
  351. }
  352. if (obj.value2 != null) {
  353. total=total+parseFloat(obj.value2);
  354. gzdl.push( parseFloat(obj.value2) );
  355. }
  356. if (obj.value3 != null) {
  357. total=total+parseFloat(obj.value3);
  358. whdl.push( parseFloat(obj.value3) );
  359. }
  360. if (obj.value4 != null) {
  361. total=total+parseFloat(obj.value4);
  362. qfdl.push( parseFloat(obj.value4) );
  363. }
  364. if (obj.value5 != null) {
  365. total=total+parseFloat(obj.value5);
  366. sldl.push( parseFloat(obj.value5) );
  367. }
  368. var jsonObj1 = [obj.name, obj.value6 ];
  369. var jsonObj2 = [obj.name, total ];
  370. xaixs1.push(jsonObj1);
  371. xaixs2.push(jsonObj1);
  372. if(obj.name!= null )
  373. {
  374. name.push(obj.name);
  375. }
  376. });
  377. //alert(xtime.length);
  378. options1.series[0].data = xddl;
  379. options1.series[1].data = gzdl;
  380. options1.series[2].data = whdl;
  381. options1.series[3].data = qfdl;
  382. options1.series[4].data = sldl;
  383. options1.xAxis.categories = name;
  384. options3.series[0].data = xaixs1;
  385. options4.series[0].data = xaixs2;
  386. chart1 = new Highcharts.Chart(options1);
  387. chart3 = new Highcharts.Chart(options3);
  388. chart4 = new Highcharts.Chart(options4);
  389. }
  390. }
  391. });
  392. }
  393. var setting = {
  394. check : {
  395. enable : true,
  396. chkboxType : {
  397. "Y" : "",
  398. "N" : ""
  399. }
  400. },
  401. view: {
  402. dblClickExpand: false
  403. },
  404. data: {
  405. simpleData: {
  406. enable: true
  407. }
  408. },
  409. callback: {
  410. beforeClick: beforeClickWindfarm,
  411. onCheck: selectWindfarm
  412. },
  413. async: {
  414. enable: true,
  415. url:"../power/windfarmAjax.action",
  416. dataType:"json"
  417. }
  418. };
  419. function beforeClickWindfarm(treeId, treeNode) {
  420. var zTree = $.fn.zTree.getZTreeObj(treeId);
  421. zTree.checkNode(treeNode, !treeNode.checked, null, true);
  422. return false;
  423. }
  424. function showWindfarm() {
  425. var cityObj = $("#wpId");
  426. var cityOffset = $("#wpId").offset();
  427. $("#menuWindfarm").css({left:cityOffset.left + "px", top:cityOffset.top + cityObj.outerHeight() + "px"}).slideDown("fast");
  428. $("body").bind("mousedown", onBodyDown);
  429. }
  430. function hideMenuWindfarm() {
  431. $("#menuWindfarm").fadeOut("fast");
  432. }
  433. var wpids="";
  434. function selectWindfarm(e, treeId, treeNode) {
  435. var zTree = $.fn.zTree.getZTreeObj("treeWindfarm"),
  436. nodes = zTree.getCheckedNodes(true);
  437. v = "";
  438. d="";
  439. for (var i=0, l=nodes.length; i<l; i++) {
  440. v += nodes[i].name + ",";
  441. d+=nodes[i].id+",";
  442. }
  443. if (v.length > 0 ) v = v.substring(0, v.length-1);
  444. if (d.length > 0 ) d = d.substring(0, d.length-1);
  445. wpids=d;
  446. var cityObj = $("#wpId");
  447. cityObj.attr("value", v);
  448. //$("#menuWindfarm").fadeOut("fast");
  449. }
  450. /***********************************************************************************************/
  451. function showProject(){
  452. if(wpids==""){
  453. alert("请选择风场!");
  454. return;
  455. }
  456. var setting3 = {
  457. check : {
  458. enable : true,
  459. chkboxType : {
  460. "Y" : "",
  461. "N" : ""
  462. }
  463. },
  464. view: {
  465. dblClickExpand: false
  466. },
  467. data: {
  468. simpleData: {
  469. enable: true
  470. }
  471. },
  472. callback: {
  473. beforeClick: beforeClickWindfarm,
  474. onCheck: selectPj
  475. },
  476. async: {
  477. enable: true,
  478. url:"../power/projectAjax.action?wpIds="+wpids,
  479. dataType:"json"
  480. }
  481. };
  482. $.fn.zTree.init($("#treePj"), setting3);
  483. var cityObj = $("#project");
  484. var cityOffset = $("#project").offset();
  485. $("#menuPj").css({left:cityOffset.left + "px", top:cityOffset.top + cityObj.outerHeight() + "px"}).slideDown("fast");
  486. $("body").bind("mousedown", onBodyDown);
  487. pjIds='';
  488. $("#project").val("");
  489. }
  490. var pjIds;
  491. function selectPj(e, treeId, treeNode){
  492. var zTree = $.fn.zTree.getZTreeObj("treePj"),
  493. nodes = zTree.getCheckedNodes(true);
  494. v = "";
  495. d="";
  496. for (var i=0, l=nodes.length; i<l; i++) {
  497. v += nodes[i].name + ",";
  498. d+=nodes[i].id+",";
  499. }
  500. if (v.length > 0 ) v = v.substring(0, v.length-1);
  501. if (d.length > 0 ) d = d.substring(0, d.length-1);
  502. pjIds=d;
  503. var cityObj = $("#project");
  504. cityObj.attr("value", v);
  505. //$("#menuXl").fadeOut("fast");
  506. }
  507. function hideMenuPj() {
  508. $("#menuPj").fadeOut("fast");
  509. }
  510. /***********************************************************************************************/
  511. function onBodyDown(event) {
  512. if (( event.target.id != "wpId" && event.target.id != "menuWindfarm" && $(event.target).parents("#menuWindfarm").length<=0)) {
  513. hideMenuWindfarm();
  514. }
  515. if (!( event.target.id == "project" || event.target.id == "menuPj" || $(event.target).parents("#menuPj").length>0)) {
  516. hideMenuPj();
  517. }
  518. }
  519. /***********************************************************************************************/
  520. function queryData(){
  521. if("" == $("#beginDate").val()){
  522. alert("请选择查询开始日期!");
  523. }else if("" == $("#endDate").val()){
  524. alert("请选择查询结束日期!");
  525. }
  526. else{
  527. //var type=$("#type").val();
  528. //var wpId=$("#wpId").find("option:selected").val();
  529. //var beginDate=$("#beginDate").val();
  530. //var endDate=$("#endDate").val();
  531. //var url = '<%=request.getContextPath() %>/charts/lossList.action?wpId='+wpId
  532. // +"&beginDate="+beginDate +"&endDate="+endDate+"&type="+type;
  533. //$("#gridTable").setGridParam({url:url}).trigger("reloadGrid");
  534. $("#gridTable").jqGrid('GridUnload');
  535. showJqGrid();
  536. }
  537. }
  538. $(document).ready(function () {
  539. initial();
  540. options1 = {
  541. colors: [
  542. '#D201D8', //限电
  543. '#FD0100',//故障
  544. '#FF7B16', //维护
  545. '#8085E9',//性能
  546. '#A6A6A6' //受累
  547. ],
  548. chart: {
  549. renderTo: 'container',
  550. type: 'column',
  551. width:1568,
  552. height:308,
  553. //backgroundColor:'#BFDFFF',
  554. //plotBackgroundColor:'#BFDFFF',
  555. zoomType: 'x'
  556. },
  557. title : {
  558. text : '损失电量分析'
  559. },
  560. xAxis: {
  561. type: 'category'
  562. },
  563. yAxis: [{ // Primary yAxis
  564. labels: {
  565. format: '{value}万kw',
  566. style: {
  567. color: '#89A54E'
  568. }
  569. },
  570. title: {
  571. text: '电量',
  572. style: {
  573. color: '#89A54E'
  574. }
  575. }
  576. }],
  577. legend: {
  578. layout: 'vertical',
  579. // backgroundColor: '#FFFFFF',
  580. align: 'right',
  581. verticalAlign: 'top',
  582. x:-80,
  583. floating: true
  584. // shadow: true
  585. // layout: 'vertical',
  586. // align: 'right',
  587. // verticalAlign: 'middle',
  588. // borderWidth: 0
  589. },
  590. tooltip: {
  591. shared:true,
  592. xDateFormat:'%Y-%m-%d %H:%M'
  593. /*formatter: function() {
  594. return '<b>'+ this.series.name +'</b>:'+
  595. Highcharts.numberFormat(this.y, 2) +' 万kW<br/>时间:'+
  596. Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x);
  597. }*/
  598. },
  599. series: [{
  600. name: '限电损失电量(单位:万KWh)',
  601. yAxis:0
  602. },
  603. {name: '故障损失电量(单位:万KWh)',
  604. yAxis:0
  605. },{
  606. name: '检修损失电量(单位:万KWh)',
  607. yAxis:0
  608. },{
  609. name: '性能损失电量(单位:万KWh)',
  610. yAxis:0
  611. }
  612. ,{
  613. name: '受累损失电量(单位:万KWh)',
  614. yAxis:0
  615. }]
  616. };
  617. /******************************************玫瑰图1***********************************************/
  618. options2 = {
  619. colors: [
  620. '#7CB5EC',
  621. '#ACF19D'
  622. ],
  623. chart: {
  624. renderTo : 'fzy',
  625. polar: true,
  626. width:450,
  627. height:450,
  628. type: 'area'
  629. },
  630. title: {
  631. text: '对标排名分析',
  632. x: 0
  633. },
  634. pane: {
  635. size: '80%'
  636. },
  637. xAxis: {
  638. categories: ['风能利用率','故障损失率','检修损失率','弃风率','性能损失率','受累损失率','复位及时率','状态转换率','消缺及时率'
  639. ],
  640. tickmarkPlacement: 'on',
  641. lineWidth: 0
  642. },
  643. yAxis: {
  644. gridLineInterpolation: 'polygon',
  645. lineWidth: 0,
  646. min: 0
  647. },
  648. tooltip: {
  649. shared: true,
  650. pointFormat: '<span style="color:{series.color}"> <b>{point.y:,.0f}</b><br/>'
  651. },
  652. series: [{
  653. name: " ",
  654. data: [],
  655. pointPlacement: 'on'
  656. },{
  657. name: " ",
  658. data: [],
  659. pointPlacement: 'on'
  660. }]
  661. }
  662. /***************************************************************************************************/
  663. options3 = {
  664. colors: [
  665. '#00B259', //绿
  666. '#B20000', //红
  667. '#006DD9', //蓝
  668. '#000000', //黑
  669. '#FFBFFF',//藕荷色
  670. '#CC9900',//黄褐色
  671. '#FF8000',//橘黄
  672. '#DDDDDD',
  673. '#FF7744',
  674. '#33FFFF',
  675. '#FF44AA',
  676. '#FF00FF',
  677. '#FF0000',
  678. '#007799'
  679. ],
  680. chart : {
  681. renderTo : 'container3',
  682. height:313,width:785,
  683. plotBackgroundColor : null,
  684. plotBorderWidth : null,
  685. plotShadow : false
  686. },
  687. title : {
  688. text : '发电量占比'
  689. },
  690. tooltip : {
  691. pointFormat : '{series.name}: <b>{point.percentage:.1f}%</b>'
  692. },
  693. plotOptions : {
  694. pie : {
  695. allowPointSelect : true,
  696. cursor : 'pointer',
  697. dataLabels : {
  698. enabled : false,
  699. color : '#000000',
  700. connectorColor : '#000000',
  701. format : '<b>{point.name}</b>: {point.percentage:.1f} %'
  702. },
  703. showInLegend : true
  704. }
  705. },
  706. legend : {
  707. layout : 'vertical',
  708. align : 'left',
  709. verticalAlign : 'left',
  710. borderWidth : 0
  711. },
  712. series : [ {
  713. type : 'pie',
  714. name : '占比',
  715. data : []
  716. } ]
  717. }
  718. /***************************************************************************************************/
  719. options4 = {
  720. colors: [
  721. '#00B259', //绿
  722. '#B20000', //红
  723. '#006DD9', //蓝
  724. '#000000', //黑
  725. '#FFBFFF',//藕荷色
  726. '#CC9900',//黄褐色
  727. '#FF8000',//橘黄
  728. '#DDDDDD',
  729. '#FF7744',
  730. '#33FFFF',
  731. '#FF44AA',
  732. '#FF00FF',
  733. '#FF0000',
  734. '#007799'
  735. ],
  736. chart : {
  737. renderTo : 'container4',
  738. height:313,width:785,
  739. plotBackgroundColor : null,
  740. plotBorderWidth : null,
  741. plotShadow : false
  742. },
  743. title : {
  744. text : '损失电量占比'
  745. },
  746. tooltip : {
  747. pointFormat : '{series.name}: <b>{point.percentage:.1f}%</b>'
  748. },
  749. plotOptions : {
  750. pie : {
  751. allowPointSelect : true,
  752. cursor : 'pointer',
  753. dataLabels : {
  754. enabled : false,
  755. color : '#000000',
  756. connectorColor : '#000000',
  757. format : '<b>{point.name}</b>: {point.percentage:.1f} %'
  758. },
  759. showInLegend : true
  760. }
  761. },
  762. legend : {
  763. layout : 'vertical',
  764. align : 'left',
  765. verticalAlign : 'left',
  766. borderWidth : 0
  767. },
  768. series : [ {
  769. type : 'pie',
  770. name : '占比',
  771. data : []
  772. } ]
  773. }
  774. /***************************************************************************************************/
  775. options5 = {
  776. colors: [
  777. '#D201D8', //限电
  778. '#FD0100',//故障
  779. '#FF7B16', //维护
  780. '#8085E9',//性能
  781. '#A6A6A6' //受累
  782. ],
  783. chart: {
  784. renderTo: 'containers',
  785. type: 'column',
  786. width:450,
  787. height:300,
  788. //backgroundColor:'#BFDFFF',
  789. //plotBackgroundColor:'#BFDFFF',
  790. zoomType: 'x'
  791. },
  792. title : {
  793. text : '损失电量分析'
  794. },
  795. xAxis: {
  796. type: 'category'
  797. },
  798. yAxis: [{ // Primary yAxis
  799. labels: {
  800. format: '{value}万kw',
  801. style: {
  802. color: '#89A54E'
  803. }
  804. },
  805. title: {
  806. text: '电量',
  807. style: {
  808. color: '#89A54E'
  809. }
  810. }
  811. }],
  812. legend: {
  813. layout: 'vertical',
  814. // backgroundColor: '#FFFFFF',
  815. verticalAlign: 'top',
  816. x:-80,
  817. floating: true
  818. // shadow: true
  819. // layout: 'vertical',
  820. // align: 'right',
  821. // verticalAlign: 'middle',
  822. // borderWidth: 0
  823. },
  824. tooltip: {
  825. shared:true,
  826. xDateFormat:'%Y-%m-%d %H:%M'
  827. /*formatter: function() {
  828. return '<b>'+ this.series.name +'</b>:'+
  829. Highcharts.numberFormat(this.y, 2) +' 万kW<br/>时间:'+
  830. Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x);
  831. }*/
  832. },
  833. series: [{
  834. name: '限电损失电量(单位:万KWh)',
  835. yAxis:0
  836. },
  837. {name: '故障损失电量(单位:万KWh)',
  838. yAxis:0
  839. },{
  840. name: '检修损失电量(单位:万KWh)',
  841. yAxis:0
  842. },{
  843. name: '性能损失电量(单位:万KWh)',
  844. yAxis:0
  845. }
  846. ,{
  847. name: '受累损失电量(单位:万KWh)',
  848. yAxis:0
  849. }]
  850. };
  851. /***************************************************************************************************/
  852. showJqGrid();
  853. });
  854. function displaybuttons(cellvalue, options, rawObject) {
  855. var detail = "<input type='button' value='详情' onclick=detail('"
  856. + rawObject.wpId + "')>";
  857. return "&nbsp;&nbsp;&nbsp;\t" + detail + "&nbsp;&nbsp;&nbsp;\t";
  858. };
  859. function detail(wpId) {
  860. $("#f1").attr("action", "../benchmark/benchmarkPjWtindex.action?wpId="+wpId).submit();
  861. }
  862. function showJqGrid() {
  863. var project="";
  864. var wpId="";
  865. if(wpids!=undefined)
  866. {
  867. wpId=wpids;
  868. }
  869. if(pjIds!=undefined)
  870. {
  871. project=pjIds;
  872. }
  873. var beginDate=$("#beginDate").val();
  874. var endDate=$("#endDate").val();
  875. findWpPowerChat(wpId,beginDate,endDate,project);
  876. var id = 'gridTable';
  877. var url = '<%=request.getContextPath() %>/benchmark/benchmarkPjList.action?wpId='+wpId
  878. +"&beginDate="+beginDate +"&endDate="+endDate+"&project="+project;
  879. var datatype = 'json';
  880. var colNames = ['复位及时率分数','状态转换分数','状态转换分数','风能利用率分数','故障损失率分数','检修损失率分数'
  881. ,'弃风率分数','受累损失率分数','性能损失分数','风电场编号','风电场名称','项目编号','项目名称','综合排名', '发电量排名', '发电量', '故障损失电量排名', '故障损失电量', '检修损失电量排名', '检修损失电量', '性能损失电量排名', '性能损失电量',
  882. '限电损失电量排名', '限电损失电量', '受累损失电量排名', '受累损失电量',
  883. '风能利用率排名', '风能利用率(%)', '故障损失率排名', '故障损失率(%)','检修损失率排名',
  884. '检修损失率(%)','弃风率排名','弃风率(%)','性能损失率排名','性能损失率(%)','受累损失率排名','受累损失率(%)', '复位及时率排名', '复位及时率(%)', '状态转换率排名', '状态转换率(%)',
  885. '消缺及时率排名', '消缺及时率(%)',"操作"];
  886. var colModel = [
  887. { name: 'fwjslfraction', index: 'fwjslfraction', width: 80, align: 'center',hidden:true},
  888. { name: 'ztzhjslfraction', index: 'ztzhjslfraction', width: 80, align: 'center',hidden:true},
  889. { name: 'xqjslfraction', index: 'xqjslfraction', width: 80, align: 'center',hidden:true},
  890. { name: 'fnlylfraction', index: 'fnlylfraction', width: 80, align: 'center',hidden:true},
  891. { name: 'gzsslfraction', index: 'gzsslfraction', width: 80, align: 'center',hidden:true},
  892. { name: 'jxsslfraction', index: 'jxsslfraction', width: 80, align: 'center',hidden:true},
  893. { name: 'qflfraction', index: 'qflfraction', width: 80, align: 'center',hidden:true},
  894. { name: 'slsslfraction', index: 'slsslfraction', width: 80, align: 'center',hidden:true},
  895. { name: 'xnsslfraction', index: 'xnsslfraction', width: 80, align: 'center',hidden:true},
  896. { name: 'wpId', index: 'wpId', width: 200, align: 'center',hidden:true },
  897. { name: 'wpName', index: 'wpName', width: 80, align: 'center'},
  898. { name: 'pjId', index: 'pjId', width: 200, align: 'center',hidden:true },
  899. { name: 'pjName', index: 'pjName', width: 80, align: 'center'},
  900. { name: 'ordernum', index: 'ordernum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  901. { name: 'scadafdlnum', index: 'scadafdlnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  902. { name: 'scadafdl', index: 'scadafdl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  903. { name: 'gzssnum', index: 'gzssnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  904. { name: 'gzss', index: 'gzss', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  905. { name: 'whssnum', index: 'whssnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  906. { name: 'whss', index: 'whss', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  907. { name: 'qfssnum', index: 'qfssnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  908. { name: 'qfss', index: 'qfss', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  909. { name: 'xdssnum', index: 'slssnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  910. { name: 'xdss', index: 'slss', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  911. { name: 'slssnum', index: 'slssnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  912. { name: 'slss', index: 'slss', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 4},sorttype: 'float'},
  913. { name: 'fnlylnum', index: 'fnlylnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  914. { name: 'fnlyl', index: 'fnlyl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  915. { name: 'gzsslnum', index: 'gzsslnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  916. { name: 'gzssl', index: 'gzssl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  917. { name: 'jxsslnum', index: 'jxsslnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  918. { name: 'jxssl', index: 'jxssl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  919. { name: 'qflnum', index: 'qflnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  920. { name: 'qfl', index: 'qfl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  921. { name: 'xnsslnum', index: 'xnsslnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  922. { name: 'xnssl', index: 'xnssl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  923. { name: 'slsslnum', index: 'slsslnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  924. { name: 'slssl', index: 'slssl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  925. { name: 'fwjslnum', index: 'fwjslnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  926. { name: 'fwjsl', index: 'fwjsl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  927. { name: 'ztzhjslnum', index: 'ztzhjslnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  928. { name: 'ztzhjsl', index: 'ztzhjsl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  929. { name: 'xqjslnum', index: 'xqjslnum', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 0},sorttype: 'int'},
  930. { name: 'xqjsl', index: 'xqjsl', width: 60, align: 'center', formatter:'number', formatoptions:{decimalPlaces: 2},sorttype: 'float'},
  931. { name: 'wpId', index: 'wpId', width: 70, align: 'center',formatter:displaybuttons}
  932. ];
  933. var caption = '项目对标列表';
  934. var sortname = 'total';
  935. var gridPagerID ='gridPager';
  936. var sortorder='desc';
  937. var height='auto';
  938. var width='auto';
  939. var rownumbers=true;
  940. var multiselect=true;
  941. myJqGrid(id, url, datatype, colNames, colModel, caption, sortname, gridPagerID,sortorder,height,width,
  942. multiselect,rownumbers);}
  943. function initial()
  944. {
  945. $.fn.zTree.init($("#treeWindfarm"), setting);
  946. wpids='<s:property value="wpId"/>';
  947. $("#beginDate").val('<s:property value="beginDate"/>');
  948. $("#endDate").val('<s:property value="endDate"/>');
  949. $("#wpId").val('${wpName}');
  950. }
  951. </script>
  952. <style type="text/css">
  953. fieldset legend {
  954. color:#302A2A;
  955. font: bold 16px/2 Verdana, Geneva, sans-serif;
  956. font-weight: bold;
  957. text-align: left;
  958. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  959. }
  960. .ui-jqgrid tr.jqgrow td {
  961. white-space: normal !important;
  962. height:auto;
  963. vertical-align:text-top;
  964. padding-top:2px;
  965. }
  966. th.ui-th-column div{
  967. white-space:normal !important;
  968. height:auto !important;
  969. padding:0px;
  970. }
  971. .text_title {
  972. font-family: "宋体";
  973. font-size: 12px;
  974. color: #000;
  975. text-decoration: none;
  976. }
  977. .text_unit {
  978. font-family: "宋体";
  979. font-size: 12px;
  980. color: #333;
  981. text-decoration: none;
  982. }
  983. .text_main{
  984. font-family: Arial, Helvetica, sans-serif;
  985. font-size: 12px;
  986. color: #000;
  987. text-decoration: none;
  988. font-weight: bold;
  989. }
  990. fieldset legend {
  991. color:#302A2A;
  992. font: bold 16px/2 Verdana, Geneva, sans-serif;
  993. font-weight: bold;
  994. text-align: left;
  995. text-shadow: 2px 2px 2px rgb(88, 126, 156);
  996. }
  997. .panelcontainer {
  998. width: 100%;
  999. height: 70px;
  1000. border-style: solid;
  1001. border-color: #f1f1f1;
  1002. border-width:1px;
  1003. }
  1004. .panelquery {
  1005. width:100%;
  1006. height:25px;
  1007. background-color:#f1f1f1;
  1008. line-height:25px;
  1009. }
  1010. .panelquerytext {
  1011. margin-left:3px;
  1012. font-weight:bold;
  1013. font-size: 12px;
  1014. font-family: tahoma,arial,verdana,sans-serif;
  1015. }
  1016. .querycondcontainer {
  1017. line-height:39px;
  1018. padding:3px;
  1019. float:left;
  1020. font-size: 12px;
  1021. }
  1022. </style>
  1023. </head>
  1024. <body>
  1025. <form action="lossIndex.action" method="post" id="f1">
  1026. <div class="panelcontainer" style="width:1620px;" >
  1027. <div class="querycondcontainer">
  1028. 场站:<input id="wpId" type="text" readonly value="" style="width:200px;" onclick="showWindfarm();" />
  1029. </div>
  1030. <div class="querycondcontainer">
  1031. 项目:<input id="project" type="text" readonly value="" style="width:200px;" onclick="showProject();" />
  1032. </div>
  1033. <div class="querycondcontainer">
  1034. 开始日期:<input type="text" style="width:150px;" class="Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowWeek:true,readOnly:true})"
  1035. id="beginDate" name="beginDate"/>
  1036. </div>
  1037. <div class="querycondcontainer">
  1038. 结束日期:<input type="text" style="width:150px;" class="Wdate" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd',isShowWeek:true,readOnly:true})"
  1039. id="endDate" name="endDate"/>
  1040. </div>
  1041. <div style="float:left;line-height:39px;margin-left:20px;width:80px;">
  1042. <input id="backbuttona" type="button" value="查询" onClick="queryData()" />
  1043. </div>
  1044. <div style="float:left;line-height:39px;margin-left:20px;width:80px;">
  1045. <input id="backbuttona" type="button" value="对标分析" onClick="contrast()" />
  1046. </div>
  1047. </div>
  1048. <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;">
  1049. <ul id="treeWindfarm" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
  1050. </div>
  1051. <div id="menuPj" class="menuContent" style="overflow-y:scroll;overflow-x:auto;z-index:9999; border: 1px solid #617775;background: #f0f6e4;display:none;position: absolute;">
  1052. <ul id="treePj" class="ztree" style="margin-top:0; width:180px; height: 300px;"></ul>
  1053. </div>
  1054. <table id='gridTable' >
  1055. </table>
  1056. <div id='gridPager'></div>
  1057. <br/>
  1058. <div id="container2" style="width:1570px;height:310px;float:left">
  1059. <div id="container3" style=" width:785px; float:left"></div>
  1060. <div id="container4" style=" width:785px; float:left"></div>
  1061. </div>
  1062. <br/>
  1063. <div id="container" style="width:1570px;height:310px"></div>
  1064. </form>
  1065. <div class="highslide-html-content" id="showDiv" style="width: 1000">
  1066. <div class="highslide-header">
  1067. <ul>
  1068. <li class="highslide-move">
  1069. <a href="#" onclick="return false">Move</a>
  1070. </li>
  1071. <li class="highslide-close" >
  1072. <a href="#" onclick="return hs.close(this)" ></a>
  1073. </li>
  1074. </ul>
  1075. </div>
  1076. <div class="highslide-body" id="container1" style="width: 1100;height : 1050;">
  1077. <table width="1000" border="0" cellspacing="0" cellpadding="0" bgcolor="#efefef">
  1078. <tr>
  1079. <td width="560" rowspan="15" align="center" bgcolor="#FFFFFF"><div id="fzy"></div><div id="containers"></div></td>
  1080. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span class='text_main' >指标</span></td>
  1081. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span class='text_main' id="pjid1" >指标</span></td>
  1082. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span class='text_main' id="pjid2">指标</span></td>
  1083. </tr>
  1084. <tr>
  1085. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>发电量</span></td>
  1086. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="scadafdl1" class='text_title'></span></td>
  1087. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="scadafdl2" class='text_title'></span></td>
  1088. </tr>
  1089. <tr>
  1090. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>故障损失电量</span></td>
  1091. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzss1" class='text_title'></span></td>
  1092. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzss2" class='text_title'></span></td>
  1093. </tr>
  1094. <tr>
  1095. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>检修损失电量</span></td>
  1096. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="whss1" class='text_title'></span></td>
  1097. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="whss2" class='text_title'></span></td>
  1098. </tr>
  1099. <tr>
  1100. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>性能损失电量</span></td>
  1101. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfss1" class='text_title'></span></td>
  1102. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfss2" class='text_title'></span></td>
  1103. </tr>
  1104. <tr>
  1105. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>受累损失电量</span></td>
  1106. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slss1" class='text_title'></span></td>
  1107. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slss2" class='text_title'></span></td>
  1108. </tr>
  1109. <tr>
  1110. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>风能利用率</span></td>
  1111. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fnlyl1" class='text_title'></span></td>
  1112. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fnlyl2" class='text_title'></span></td>
  1113. </tr>
  1114. <tr>
  1115. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>故障损失率</span></td>
  1116. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzssl1" class='text_title'></span></td>
  1117. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="gzssl2" class='text_title'></span></td>
  1118. </tr>
  1119. <tr>
  1120. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>检修损失率</span></td>
  1121. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="jxssl1" class='text_title'></span></td>
  1122. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="jxssl2" class='text_title'></span></td>
  1123. </tr>
  1124. <tr>
  1125. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>弃风率</span></td>
  1126. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfl1" class='text_title'></span></td>
  1127. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="qfl2" class='text_title'></span></td>
  1128. </tr>
  1129. <tr>
  1130. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>性能损失率</span></td>
  1131. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xnssl1" class='text_title'></span></td>
  1132. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xnssl2" class='text_title'></span></td>
  1133. </tr>
  1134. <tr>
  1135. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>受累损失率</span></td>
  1136. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slssl1" class='text_title'></span></td>
  1137. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="slssl2" class='text_title'></span></td>
  1138. </tr>
  1139. <tr>
  1140. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>复位及时率</span></td>
  1141. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fwjsl1" class='text_title'></span></td>
  1142. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="fwjsl2" class='text_title'></span></td>
  1143. </tr>
  1144. <tr>
  1145. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>消缺及时率</span></td>
  1146. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xqjsl1" class='text_title'></span></td>
  1147. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="xqjsl2" class='text_title'></span></td>
  1148. </tr>
  1149. <tr>
  1150. <td width="140" height="50" align="center" valign="middle" bgcolor="#FFFFFF"><span id="" class='text_title'>状态转换率</span></td>
  1151. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="ztzhjsl1" class='text_title'></span></td>
  1152. <td width="140" height="50" align="center" bgcolor="#FFFFFF"><span id="ztzhjsl2" class='text_title'></span></td>
  1153. </tr>
  1154. </table>
  1155. </div>
  1156. </div>
  1157. <!--***************************************************************************************************************************-->
  1158. <div class="highslide-html-content" id="showDiv2" style="width: 1000">
  1159. <div class="highslide-header">
  1160. <ul>
  1161. <li class="highslide-move">
  1162. <a href="#" onclick="return false">Move</a>
  1163. </li>
  1164. <li class="highslide-close" style="width: 18px;height: 10px">
  1165. <a href="#" onclick="return hs.close(this)" ></a>
  1166. </li>
  1167. </ul>
  1168. </div>
  1169. <div class="highslide-body" id="container5" style="width: 1000">
  1170. <!--***************************************************************************************************************************-->
  1171. <div id="gzsscs" style="display:none">
  1172. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1173. <tr>
  1174. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >故障损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1175. </tr>
  1176. <tr>
  1177. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、加强风机大部件的维护、消缺工作,确保能够长周期运行。</span><span id="wtid" class='text_title'></span></td>
  1178. </tr>
  1179. <tr>
  1180. <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>
  1181. </tr>
  1182. <tr>
  1183. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、加强备品备件的管理;提前采购,并采购优质的备品备件;定期对备品备件进行维护。</span>
  1184. </td>
  1185. </tr>
  1186. <tr>
  1187. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、按期、保证质量的完成定检项目。</span>
  1188. </td>
  1189. </tr>
  1190. <tr>
  1191. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>5、加强技术力量的储备、培训,培养优秀的风机检修维护人员。</span>
  1192. </td>
  1193. </tr>
  1194. <tr>
  1195. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>6、采购适用各类型风机检修、检测的工器具、仪表。</span>
  1196. </td>
  1197. </tr>
  1198. <tr>
  1199. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>7、建立检修、维护时间定额、工艺确认、验收等管理机制。</span>
  1200. </td>
  1201. </tr>
  1202. </table>
  1203. </div>
  1204. <!--***************************************************************************************************************************-->
  1205. <div id="xnsscs" style="display:none">
  1206. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1207. <tr>
  1208. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >性能损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1209. </tr>
  1210. <tr>
  1211. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、积极协调风机厂家技术人员,进行风机控制策略升级,提高切入风速、额定风速合格率,使风机进入最佳状态。</span><span id="wtid" class='text_title'></span></td>
  1212. </tr>
  1213. <tr>
  1214. <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>
  1215. </tr>
  1216. <tr>
  1217. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、定期针对风机易损件的更换、检查、维护,减少风机易损件故障的影响。</span>
  1218. </td>
  1219. </tr>
  1220. <tr>
  1221. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、加强备品备件的管理;提前采购,并采购优质的备品备件;定期对备品备件进行维护。</span>
  1222. </td>
  1223. </tr>
  1224. <tr>
  1225. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>5、制定年度技改项目计划,及时进行风机性能优化,风能利用率。</span>
  1226. </td>
  1227. </tr>
  1228. <tr>
  1229. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>6、申请技改费用,更换风速仪、风向标为声波或激光测风,提升风机控制。</span>
  1230. </td>
  1231. </tr>
  1232. <tr>
  1233. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>7、按期、保证质量的完成定检项目。</span>
  1234. </td>
  1235. </tr>
  1236. <tr>
  1237. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>8、加强技术力量的储备、培训,培养优秀的风机检修维护人员。</span>
  1238. </td>
  1239. </tr>
  1240. <tr>
  1241. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>9、采购适用各类型风机检修、检测的工器具、仪表。</span>
  1242. </td>
  1243. </tr>
  1244. <tr>
  1245. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>10、建立风机性能优化、提效的技术团队;建立检修维护工艺确认、验收管理等机制。</span>
  1246. </td>
  1247. </tr>
  1248. </table>
  1249. </div>
  1250. <!--***************************************************************************************************************************-->
  1251. <div id="jxsscs" style="display:none">
  1252. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1253. <tr>
  1254. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >检修损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1255. </tr>
  1256. <tr>
  1257. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、进行检修时间优化(年度计划时间的确定,检修工期的优化)。</span><span id="wtid" class='text_title'></span></td>
  1258. </tr>
  1259. <tr>
  1260. <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>
  1261. </tr>
  1262. <tr>
  1263. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、通过制定详细、周密的检修计划,确定检修项目,定额情况,确保按计划或提前完成检修工作。</span>
  1264. </td>
  1265. </tr>
  1266. <tr>
  1267. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、提前安排备品备件的采购工作,确保检修工作前,备品备件到场。</span>
  1268. </td>
  1269. </tr>
  1270. <tr>
  1271. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>5、定期检查检修工具、仪器仪表等的配置、完好。提前联系大型车辆、机械等设备到场。做好其他车辆的检查、维护工作,保证车辆不出现异常情况。</span>
  1272. </td>
  1273. </tr>
  1274. <tr>
  1275. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>6、提前做好检修队伍的落实,人员资质、技术能力的审查。</span>
  1276. </td>
  1277. </tr>
  1278. <tr>
  1279. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>7、做好检修的设备性能、状态、可靠性、缺陷(故障)情况的详查,落实检修项目。</span>
  1280. </td>
  1281. </tr>
  1282. <tr>
  1283. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>8、检修工作中严格执行检修作业指导书,标准化检修。</span>
  1284. </td>
  1285. </tr>
  1286. <tr>
  1287. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>9、合理安排检修、运行人员,缩短工期。</span>
  1288. </td>
  1289. </tr>
  1290. <tr>
  1291. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>10、加强后勤保障能力,保证人员吃住行的安全。</span>
  1292. </td>
  1293. </tr>
  1294. <tr>
  1295. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>11、进行班前思想教育、统一思想,认真完成工作交底,确保人员、设备安全。</span>
  1296. </td>
  1297. </tr>
  1298. </table>
  1299. </div>
  1300. <!--***************************************************************************************************************************-->
  1301. <div id="slsscs" style="display:none">
  1302. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1303. <tr>
  1304. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >受累损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1305. </tr>
  1306. <tr>
  1307. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、关注电网计划检修时间,合理优化、适当建议电网检修避开大风天气、恶略天气。</span><span id="wtid" class='text_title'></span></td>
  1308. </tr>
  1309. <tr>
  1310. <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>
  1311. </tr>
  1312. <tr>
  1313. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、电网出现故障后,积极联络、及时沟通、主动采取措施,尽快消除故障,恢复运行。</span>
  1314. </td>
  1315. </tr>
  1316. <tr>
  1317. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>4、电网检修时,安排专人负责联系检修人员、大客户经理、调度员等,确认检修进度,及时反馈。工作完成后,及时联系相关人员,争取提前恢复运行。安排风场做好恢复运行的准备工作。</span>
  1318. </td>
  1319. </tr>
  1320. </table>
  1321. </div>
  1322. <!--***************************************************************************************************************************-->
  1323. <div id="xdsscs" style="display:none">
  1324. <table width="100%" border="0" cellspacing="1" cellpadding="0" bgcolor="#efefef">
  1325. <tr>
  1326. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >限电损失应对措施</span><span id="wtid" class='text_title'></span></td>
  1327. </tr>
  1328. <tr>
  1329. <td width="579" height="20" align="left" bgcolor="#FFFFFF"><span class='text_main' >1、关注国家、自治区、电网各级关于弃风限电的政策。按相关政策要求,及时应对和采取措施。</span><span id="wtid" class='text_title'></span></td>
  1330. </tr>
  1331. <tr>
  1332. <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>
  1333. </tr>
  1334. <tr>
  1335. <td width="579" height="28" align="left" bgcolor="#FFFFFF"><span id="span" class='text_main'>3、积极与宁夏电网调度机构进行沟通,在负荷有空间时,有较高风速时,及时申请提高负荷。</span>
  1336. </td>
  1337. </tr>
  1338. </table>
  1339. </div>
  1340. <!--***************************************************************************************************************************-->
  1341. </div>
  1342. </div>
  1343. <!--***************************************************************************************************************************-->
  1344. </body>