4b0c6da9f84de7ce40d8bbd7f05fc580546027b8.svn-base 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/jsc_grid.css">
  24. <style type="text/css">
  25. .l-grid-body {
  26. overflow-x: hidden;
  27. }
  28. </style>
  29. </head>
  30. <body>
  31. <div id="i_page_hed" class="c_page_hed">
  32. </div><div id="i_page_colse" class=" c_page_close index_icon_close_content"></div>
  33. <div id="i_page_grid_content" class="c_page_grid_content">
  34. <div id="i_page_grid" class="c_page_grid"></div>
  35. </div>
  36. <script type="text/javascript">
  37. var utils=new Util();
  38. var grid=null;
  39. var params=utils.resolveUrl();
  40. var columns=[{ display:"单位名称", name: "DEPT_NAME", align: "center", width: "40%"/* ,render:function(rowdata, rowindex, value, column){
  41. var str=value.replace(/供电局/g,"局");
  42. str=str.replace(/供电所/g,"所");
  43. return str;
  44. } */},
  45. { display:"跳闸数量", name: "TRIP_OUT_FIVE",align: "center", width: "30%"},
  46. { display:"未恢复数量", name: "NO_RECOVER_FIVE",align: "center", width: "30%"}
  47. ];
  48. var options={
  49. columns:columns,
  50. url:"/nwyj/ws/ChartServiceImpl/ChartServiceImpl/getChildDataOrSelfByWarnningNumber",
  51. params: [{name:"name",value:"getChildsRecodeSumData"},
  52. {name:"charType",value:"xianlutiaozha"},
  53. {name:"number",value:params.number},
  54. {name:"compId",value:params.compId},
  55. {name:"viewName",value:"ROUTE_OFLINE_RESTORE_VIEW"},
  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+params.level+"线路跳闸详情");
  78. }
  79. </script>
  80. </body>
  81. </html>