7f6a730d814941673e7b6e97a6f58a847e10486b.svn-base 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>应急演练统计表</title>
  5. <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" />
  6. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  7. <script type="text/javascript" src="/nwyj/page/cockpit/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/page/cockpit/webgis/util.js"></script>
  21. <link rel="stylesheet" type="text/css" href="/nwyj/page/cockpit/webgis/js/gisgrid.css">
  22. <style type="text/css">
  23. </style>
  24. </head>
  25. <body>
  26. <div id="head" class="_head"><h2 class="_center"></h2></div>
  27. <div id="gridContent"></div>
  28. <script type="text/javascript">
  29. var grid=null;
  30. var params=eval("("+resolveUrl().params+")");
  31. console.log("aaa=="+JSON.stringify(params));
  32. var options={
  33. columns:appendDisplay(emergencyTEAM),
  34. //data:[],
  35. url:path+"ws/ChartDaoServiceImpl/ChartDaoServiceImpl/getEmergencyPersonInfos",
  36. pageSize:10,
  37. params:{"comId":params.comId},
  38. method:"post",
  39. // contentType:"json",
  40. usePager:true,
  41. percentWidthMode:true,
  42. height: 'auto',
  43. width:"100%",
  44. rowAttrRender: function(rowdata, rowindex, rowid){
  45. return rowdata["__index"] % 2 == 0 ? "style='background-color:#212749;'" : "style='background-color:#2C3A54;'" ;
  46. }
  47. };
  48. $(function(){
  49. alert("==="+JSON.stringify(params));
  50. alert(JSON.stringify(params));
  51. $("#head").find("h2").text(params["deptName"]+"汇总明细");
  52. grid=$("#gridContent").quiGrid(options);
  53. //getData(grid);
  54. });
  55. </script>
  56. </body>
  57. </html>