5a8a60084c026438da13b9c301740eb9455431f5.svn-base 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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: "DEPT_NAME", align: "center", width: "50%"},
  39. { display:"受损数量", name:params.type , align: "center", width: "50%"},
  40. ];
  41. var options={
  42. columns:columns,
  43. url:"/nwyj/ws/ChartServiceImpl/ChartServiceImpl/getChildDataOrSelfByWarnningNumber",
  44. params: [
  45. {name:"name",value:"getChildsRecodeSumData"},
  46. {name:"charType",value:"shebeisousuntype"},
  47. {name:"compId",value:params.compId},
  48. {name:"number",value:params.number},
  49. {name:"viewName",value:"REPORT_LINE_DAOGAN_VIEW"}
  50. ],
  51. pageSize:10,
  52. usePager:false,
  53. percentWidthMode:true,
  54. height:"100%",
  55. method: "post",
  56. width:"100%",
  57. usePager : false,
  58. isScroll: true,
  59. percentWidthMode : false,
  60. alternatingRow: false,
  61. rowAttrRender: function(rowdata, rowindex, rowid){
  62. return rowdata["__index"] % 2 == 0 ? "style='background-color:rgb(44,51,79);'" : "style='background-color:rgb(34,40,62);'" ;
  63. }
  64. };
  65. $(function(){
  66. grid=$("#i_page_grid").quiGrid(options);
  67. setTitle();
  68. close();
  69. });
  70. function setTitle(){
  71. $("#i_page_hed").text(params.textType+"设备");
  72. }
  73. </script>
  74. </body>
  75. </html>