2f4f69c286c5256705ce037b5490b9148d2ce04f.svn-base 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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. var columns=[{ display:"单位名称", name: "DEPT_NAME", 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. }},
  43. { display:"本地投入", name: "",align: "center",
  44. columns:[{ display:"发电车", name:"FADIAN_CAR_BD",align: "center", width: "20%"},
  45. { display:"发电机", name: "FADIAN_JI_BD",align: "center", width: "20%"}]},
  46. { display:"跨区域投入", name: "",align: "center",
  47. columns:[{ display:"发电车", name:"FADIAN_CAR_KQ",align: "center", width: "20%"},
  48. { display:"发电机", name: "FADIAN_JI_KQ",align: "center", width: "20%"}]},
  49. ];
  50. /**
  51. * PERSON_BD,PERSON_KQ, ------已经人员
  52. * CAR_BD,CAR_KQ, ------应急车辆
  53. * FADIAN_CAR_BD,FADIAN_CAR_KQ, ------应急发电车
  54. * FADIAN_JI_BD,FADIAN_JI_KQ ------应急发电机
  55. */
  56. var options={
  57. columns:columns,
  58. url:"/nwyj/ws/ChartServiceImpl/ChartServiceImpl/getEmergencySourceChartInfo",
  59. params: [{name:"name",value:"getEmergencySourceChild"},
  60. {name:"number",value:params.number},
  61. {name:"viewName",value:"REPORT_YINGJI_ZIYUAN_VIEW"},
  62. ] ,
  63. pageSize:10,
  64. usePager:false,
  65. percentWidthMode:true,
  66. height:"100%",
  67. method: "post",
  68. width:"100%",
  69. usePager : false,
  70. isScroll: true,
  71. percentWidthMode : false,
  72. alternatingRow: false,
  73. rowAttrRender: function(rowdata, rowindex, rowid){
  74. return rowdata["__index"] % 2 == 0 ? "style='background-color:rgb(44,51,79);'" : "style='background-color:rgb(34,40,62);'" ;
  75. }
  76. };
  77. $(function(){
  78. grid=$("#i_page_grid").quiGrid(options);
  79. setTitle();
  80. close();
  81. });
  82. function setTitle(){
  83. $("#i_page_hed").text(params.text+"应急装备投入详情");
  84. }
  85. </script>
  86. </body>
  87. </html>