e597db7080cbefa2e409f19dea18fd3e2817480e.svn-base 3.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>线路跳闸小于110kV电压明细</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. //alert(JSON.stringify(params));
  39. var columns=[{ display:"客户编号", name: "CLIENT_NUMBER", align: "center", width: "17%"},
  40. { display:"客户名称", name: "CLIENT_NAME", align: "center", width: "17%"},
  41. { display:"供电单位", name: "SUPPORT_STATION",align: "center", width: "17%"},
  42. { display:"电压等级(kV)", name: "ROUTE_LEVEL",align: "center", width: "17%"},
  43. { display:"停电时间", name: "STOP_TIME",align: "center", width: "17%"},
  44. { display:"是否自备电源", name: "IS_HAD", align: "center", width: "15%",
  45. render: function (rowdata, rowindex, value, column){
  46. return rowdata["IS_HAD"]==0?"自备":"未自备";
  47. }
  48. }];
  49. var options={
  50. columns:columns,
  51. url:"/nwyj/ws/ChartServiceImpl/ChartServiceImpl/getDetailInfo",
  52. params: [/* {name:"sqlName",value:"getPersonDetailInfo"},
  53. {name:"recodeId",value:params.recodeId},
  54. {name:"type",value:params.compId},
  55. {name:"tableName",value:"REPORT_LINE_DAOGAN_VIEW"} */
  56. {name:"tableName",value:"TDQK_XQ_DETAIL-REPORT_GDSUNSHI_KEHUTD_VIEW"},
  57. {name:"type",value:params.levelLabel},
  58. {name:"recodeId",value:params.recodeId},
  59. {name:"sqlName",value:"getLineDetailInfo"}
  60. ] ,
  61. pageSize:10,
  62. usePager:false,
  63. percentWidthMode:true,
  64. height:"100%",
  65. method: "post",
  66. width:"100%",
  67. usePager : false,
  68. isScroll: true,
  69. percentWidthMode : false,
  70. alternatingRow: false,
  71. rowAttrRender: function(rowdata, rowindex, rowid){
  72. return rowdata["__index"] % 2 == 0 ? "style='background-color:rgb(44,51,79);'" : "style='background-color:rgb(34,40,62);'" ;
  73. }
  74. };
  75. $(function(){
  76. grid=$("#i_page_grid").quiGrid(options);
  77. setTitle();
  78. close();
  79. });
  80. function setTitle(){
  81. $("#i_page_hed").text(params.text+params.level+"用户停电详情表");
  82. }
  83. </script>
  84. </body>
  85. </html>