8267c80c7217ba75059b2b3d07f600e1f19b5f8d.svn-base 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>变电站停运大于电压明细</title>
  5. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <script type="text/javascript" src="/nwyj/scripts/cockpit/cockpitIndex/context.js"></script>
  8. <!--框架必需start-->
  9. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  10. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/language/cn.js"></script>
  11. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/main.js"></script>
  12. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/framework.js"></script>
  13. <link href="/nwyj/scripts/qui/libs/css/import_basic.css" rel="stylesheet" type="text/css"/>
  14. <link rel="stylesheet" type="text/css" id="skin" prePath="/nwyj/scripts/qui/" scrollerY="false"/>
  15. <link rel="stylesheet" type="text/css" id="customSkin"/>
  16. <!--框架必需end-->
  17. <!--grid组件start-->
  18. <script src="/nwyj/scripts/qui/libs/js/table/quiGrid.js" type="text/javascript"></script>
  19. <!--grid组件end-->
  20. <script type="text/javascript" src="/nwyj/scripts/cockpit/cockpitIndex/util.js"></script>
  21. <!-- <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/gisgrid.css"> -->
  22. <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/cockpit_layout/icon.css">
  23. <!-- <style type="text/css">
  24. .c_page_hed{background-color:#08094C }
  25. </style> -->
  26. <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/jsc_grid.css">
  27. </head>
  28. <body>
  29. <div id="i_page_hed" class="c_page_hed">
  30. </div><div id="i_page_colse" class=" c_page_close index_icon_close_content"></div>
  31. <div id="i_page_grid_content" class="c_page_grid_content">
  32. <div id="i_page_grid" class="c_page_grid"></div>
  33. </div>
  34. <script type="text/javascript">
  35. var utils=new Util();
  36. var grid=null;
  37. var params=utils.resolveUrl();
  38. var columns=[{ display:"变电站名称", name: "BDZMC", align: "center", width: "25%"},
  39. { display:"停运时间", name: "TYSJ",align: "center", width: "25%"},
  40. { display:"恢复时间", name: "HFSJ",align: "center", width: "25%"},
  41. { display:"是否已恢复", name: "SFYHF",align: "center", width: "25%",render:function(rowdata, rowindex, value, column){
  42. return value==0?"未恢复":"已恢复";
  43. }}
  44. ];
  45. var options={
  46. columns:columns,
  47. url:"/nwyj/ws/ChartServiceImpl/ChartServiceImpl/getSubstationStoppageDetailInfo",
  48. params: [
  49. {name:"reportId",value:params.reportId},
  50. {name:"compId",value:params.compId}
  51. ] ,
  52. pageSize:10,
  53. usePager:true,
  54. percentWidthMode:true,
  55. height:"100%",
  56. method: "post",
  57. width:"100%",
  58. usePager : false,
  59. isScroll: true,
  60. percentWidthMode : false,
  61. alternatingRow: false,
  62. rowAttrRender: function(rowdata, rowindex, rowid){
  63. return rowdata["__index"] % 2 == 0 ? "style='background-color:rgb(44,51,79);'" : "style='background-color:rgb(34,40,62);'" ;
  64. }
  65. };
  66. $(function(){
  67. grid=$("#i_page_grid").quiGrid(options);
  68. setTitle();
  69. close();
  70. });
  71. function setTitle(){
  72. $("#i_page_hed").text(params.text+"变电站停运详情表");
  73. }
  74. </script>
  75. </body>
  76. </html>
  77. <!-- <!DOCTYPE html>
  78. <html>
  79. <head>
  80. <title>变电站停运统计图--子集饼图</title>
  81. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" />
  82. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  83. <script type="text/javascript" src="/nwyj/scripts/qui/libs/js/jquery.js"></script>
  84. <script type="text/javascript" src="/nwyj/scripts/cockpit/cockpitIndex/context.js"></script>
  85. <script type="text/javascript" src="/nwyj/page/cockpit/echarts-2.2.7/build/source/echarts.js"></script>
  86. <script type="text/javascript" src="/nwyj/page/cockpit/echarts-2.2.7/build/source/echarts-all.js"></script>
  87. <script type="text/javascript" src="/nwyj/page/cockpit/echarts-2.2.7/build/source/chart/pie.js"></script>
  88. <script type="text/javascript" src=" /nwyj/page/cockpit/cockpit_echart.js"></script>
  89. <script type="text/javascript" src=" /nwyj/page/cockpit/webgis/util.js"></script>
  90. <script type="text/javascript" src="/nwyj/scripts/cockpit/cockpitIndex/util.js"></script>
  91. <link rel="stylesheet" type="text/css" href=" /nwyj/css/cockpit/commom/ehcartPage.css" />
  92. <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/cockpit_layout/icon.css">
  93. <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/gisgrid.css">
  94. <style type="text/css">
  95. .c_page_head{background-color:#08094C }
  96. .c_page_chart{background-color: #192735}
  97. body, html {width: 100%;height: 100%;overflow: hidden;background-color: #192735;}
  98. </style>
  99. </head>
  100. <body>
  101. <div id="i_page_main" class="c_page_main">
  102. <div id="i_page_head" class="c_page_head">
  103. <div id="i_page_head_title">
  104. </div>
  105. <div id="i_page_head_subtitle"></div>
  106. </div><div id="i_page_colse" class=" c_page_close index_icon_close_content"></div>
  107. <div id="i_page_chart" class="c_page_chart">
  108. </div>
  109. </div>
  110. <script type="text/javascript">
  111. var pageParam={};
  112. var chart=null;
  113. var utils=new Util();
  114. $(function(){
  115. close();
  116. pageParam=utils.resolveUrl();
  117. init();
  118. });
  119. function init(){
  120. loadChart(pageParam);
  121. }
  122. function loadChart(jsonParam){
  123. var strLabel="PRESSURE_LOSS_";
  124. var levelArr=[{name:"ONE",text:"500kV"},{name:"TWO",text:"220kV"},{name:"THREE",text:"110kV"},{name:"FOUR",text:"35kV"}];
  125. var suml="PRESSURE_LOSS_";
  126. var unl="NO_RECOVER_";
  127. var tempLevel=["ONE","TWO","THREE","FOUR"];
  128. var tempXAxis=["500kV","220kV","110kV","35kV"];
  129. var sArr=[
  130. { type:"pie",
  131. stack:"sum",
  132. name:"变电站"+pageParam.state+"数",data:[],
  133. radius : "55%",
  134. center: ["50%", "60%"],
  135. itemStyle: {
  136. normal: {borderWidth: 1,borderColor:"tomato",
  137. label : { show : true,
  138. position: "insideTop",
  139. textStyle: {fontSize: 14,fontStyle: "normal",fontWeight: "bold"},
  140. formatter: "{b} : {c} ({d}%)"
  141. }
  142. }
  143. }
  144. }
  145. ];
  146. var xAxis=["500kV","220kV","110kV","35kV"];
  147. sArr[0].data.push({value:utils.changeQ(pageParam["five"]),name:"500kV",
  148. itemStyle: { normal: {color: pageStyle[jsonParam.style]["chartColor"][0]}}
  149. })
  150. sArr[0].data.push({value:utils.changeQ(pageParam["two"]),name:"220kV",
  151. itemStyle: { normal: {color: pageStyle[jsonParam.style]["chartColor"][1]}}
  152. });
  153. sArr[0].data.push({value:utils.changeQ(pageParam["one"]),name:"110kV",
  154. itemStyle: { normal: {color: pageStyle[jsonParam.style]["chartColor"][2]}}
  155. });
  156. sArr[0].data.push({value:utils.changeQ(pageParam["three"]),name:"35kV",
  157. itemStyle: { normal: {color: pageStyle[jsonParam.style]["chartColor"][3]}}
  158. });
  159. pageParam.opParams={
  160. title:"",//标题
  161. subtext:"",
  162. unit:"条",//单位
  163. leArr:["500kV","220kV","110kV","35kV"],//图例
  164. xAxis:[],//x轴
  165. sArr:sArr//主数据
  166. };
  167. setTitle();
  168. bindEvent();
  169. chart=getEchart($("#i_page_chart"),getOption11,pageParam.opParams,null);
  170. }
  171. function setTitle(){
  172. $("#i_page_head").html(pageParam["text"]+"变电站"+pageParam["state"]+"统计");
  173. }
  174. /**
  175. * 绑定事件
  176. */
  177. function bindEvent(){
  178. $(window).resize(function(){
  179. chart.resize();
  180. });
  181. }
  182. </script>
  183. </body>
  184. </html>
  185. -->