af225302dae8ced5818173003c0a40334ff6014a.svn-base 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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={};
  39. columns["diangan"]=[{ display: "单位", name: "DEPT_NAME", minWidth: 60,width:"10%" },
  40. {
  41. display: "110kV",
  42. columns: [{ display: "断杆", name: "DUANGAN_110", width:"4%" },
  43. { display: "倒杆", name: "DAOGAN_110", width:"4%" },
  44. { display: "电杆倾斜", name: "DIANGAN_QIGNXIE_110",width:"5%" },
  45. { display: "未恢复", name: "UNRECOVER_110", width:"5%" }]
  46. },
  47. {
  48. display: "35kV",
  49. columns: [{ display: "断杆", name: "DUANGAN_35", width:"4%" },
  50. { display: "倒杆", name: "DAOGAN_35",width:"4%" },
  51. { display: "电杆倾斜", name: "DIANGAN_QIGNXIE_35", width:"5%" },
  52. { display: "未恢复", name: "UNRECOVER_10", width:"5%" }]
  53. },
  54. {
  55. display: "10kV",
  56. columns: [{ display: "断杆", name: "DUANGAN_10", width:"8%" },
  57. { display: "倒杆", name: "DAOGAN_10", width:"9%" },
  58. { display: "电杆倾斜", name: "DIANGAN_QIGNXIE_10",width:"9%" },
  59. { display: "未恢复", name: "UNRECOVER_10", width:"9%" }]
  60. },
  61. {
  62. display: "低压",
  63. columns: [
  64. { display: "断杆", name: "DAUNGAN_DIYA", width:"8%" },
  65. { display: "倒杆", name: "DAOGAN_DIYA",width:"9%" },
  66. { display: "电杆倾斜", name: "QINGGAN_DIYA", width:"9%" },
  67. { display: "未恢复", name: "UNRECOVER_DIYA", width:"9%" }]
  68. }
  69. ];
  70. columns["tieta"]=[{ display: "单位", name: "DEPT_NAME", minWidth: 60,width:"10%" },
  71. {
  72. display: "500kV",
  73. columns: [{ display: "铁塔倒塌", name: "PLON_DAOTA_500",width:"5%" },
  74. { display: "铁塔变形", name: "PLON_BIANXING_500",width:"5%" },
  75. { display: "未恢复", name: "UNRECOVER_500",width:"5%" }
  76. ]
  77. },
  78. {
  79. display: "220kV",
  80. columns: [{ display: "铁塔倒塌", name: "PLON_DAOTA_220", width:"5%" },
  81. { display: "铁塔变形", name: "PLON_BIANXING_220", width:"5%" },
  82. { display: "未恢复", name: "UNRECOVER_220", width:"5%" }
  83. ]
  84. },
  85. {
  86. display: "110kV",
  87. columns: [{ display: "铁塔倒塌", name: "PLON_DAOTA_110", width:"6%" },
  88. { display: "铁塔变形", name: "PLON_BIANXING_110", width:"5%" },
  89. { display: "未恢复", name: "UNRECOVER_110", width:"5%" }]
  90. },
  91. {
  92. display: "35kV",
  93. columns: [{ display: "铁塔倒塌", name: "PLON_DAOTA_35",width:"6%" },
  94. { display: "铁塔变形", name: "PLON_BIANXING_35", width:"5%" },
  95. { display: "未恢复", name: "UNRECOVER_10", width:"5%" }]
  96. },
  97. {
  98. display: "10kV",
  99. columns: [{ display: "铁塔倒塌", name: "PLON_DAOTA_10", width:"9%" },
  100. { display: "铁塔变形", name: "PLON_BIANXING_10", width:"9%" },
  101. { display: "未恢复", name: "UNRECOVER_10", width:"9%" }]
  102. }
  103. ];
  104. var options={
  105. columns:columns[params.column],
  106. url:"/nwyj/ws/SystemDataSourceChartServiceImpl/SystemDataSourceChartServiceImpl/getDaoGanChildDeptInfo",
  107. params: [
  108. {name:"number",value:params.number},
  109. {name:"compId",value:params.compId}
  110. ] ,
  111. pageSize:10,
  112. usePager:false,
  113. percentWidthMode:true,
  114. height:"100%",
  115. method: "post",
  116. width:"100%",
  117. usePager : false,
  118. isScroll: true,
  119. percentWidthMode : false,
  120. alternatingRow: false,
  121. rowAttrRender: function(rowdata, rowindex, rowid){
  122. return rowdata["__index"] % 2 == 0 ? "style='background-color:rgb(44,51,79);'" : "style='background-color:rgb(34,40,62);'" ;
  123. }
  124. };
  125. $(function(){
  126. grid=$("#i_page_grid").quiGrid(options);
  127. setTitle();
  128. close();
  129. });
  130. function setTitle(){
  131. $("#i_page_hed").text(params.text+params.type+"设备受损详情");
  132. }
  133. </script>
  134. </body>
  135. </html>