benchmarkzjwt.jsp 77 KB

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