546613f4b13b5507f4346d8fc2e2007bd0fd4b50.svn-base 3.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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: "TBDW", align: "center", width: "20%",render:function(rowdata, rowindex, value, column){
  39. /* var str=value.replace(/供电局/g,"局");
  40. str=str.replace(/供电所/g,"所");
  41. return str; */
  42. return value;
  43. }},
  44. { display:"变电站电压等级", name: "BDZSY_DYDJ",align: "center", width: "20%"},
  45. { display:"初次失压时间", name: "BDZSY_SYSJ",align: "center", width: "20%"},
  46. { display:"最终恢复时间", name: "BDZSY_HFSJ",align: "center", width: "20%"},
  47. { display:"恢复简况", name: "BDZSY_HFJK",align: "center", width: "20%"}
  48. ];
  49. var options={
  50. columns:columns,
  51. url:"/nwyj/ws/SystemDataSourceChartServiceImpl/SystemDataSourceChartServiceImpl/getSubStationDetailByReportAndVoltageInfo",
  52. params: [
  53. {name:"compId",value:params.compId},
  54. {name:"reportId",value:params.reportId},
  55. {name:"voltage",value:params.voltage}
  56. ] ,
  57. pageSize:10,
  58. usePager:false,
  59. percentWidthMode:true,
  60. height:"100%",
  61. method: "post",
  62. width:"100%",
  63. usePager : false,
  64. isScroll: true,
  65. percentWidthMode : false,
  66. alternatingRow: false,
  67. rowAttrRender: function(rowdata, rowindex, rowid){
  68. return rowdata["__index"] % 2 == 0 ? "style='background-color:rgb(44,51,79);'" : "style='background-color:rgb(34,40,62);'" ;
  69. }
  70. };
  71. $(function(){
  72. grid=$("#i_page_grid").quiGrid(options);
  73. setTitle();
  74. close();
  75. });
  76. function setTitle(){
  77. $("#i_page_hed").text(params.text+"变电站停运详情表");
  78. }
  79. </script>
  80. </body>
  81. </html>