assess_situation.html 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <script src="/js/statistics/assess_situation.js?__inline"></script>
  2. <link rel="stylesheet" type="text/css" href="/css/statistics/assess_situation.css">
  3. <div class="container-fluid ">
  4. <div class="form-div">
  5. <form class="form-horizontal">
  6. <div class="form-group">
  7. <div class="form-group col-sm-5">
  8. <label class="col-sm-2">查询日期</label>
  9. <div class="col-sm-5">
  10. <input type="text" id="start-time" class="form-control form-date" placeholder="开始日期">
  11. </div>
  12. <div class="col-sm-5">
  13. <input type="text" id="end-time" class="form-control form-date" placeholder="结束日期">
  14. </div>
  15. </div>
  16. <div class="form-group col-sm-3">
  17. <div class="col-sm-6">
  18. <button class="btn btn-primary " type="button" onclick="querySituationClick()">查询</button>
  19. </div>
  20. <div class="col-sm-6">
  21. <button class="btn btn-primary " type="button" onclick="exportExcel()">导出Excel</button>
  22. </div>
  23. </div>
  24. </div>
  25. </form>
  26. </div>
  27. <div class="table-title"><span>温馨服务检查千分考核扣分情况汇总表</span></div>
  28. <div class="row">
  29. <!-- 使用一个div来显示数据表格 -->
  30. <div class="datatable" data-checkable="false" data-sortable="false" style="margin-bottom:0px;">
  31. <div class="table-head">
  32. <table border="1" width="100%" height="90px" align="center" class="a">
  33. <thead>
  34. <tr>
  35. <th rowspan="2" width="10%" id="tb_th_1">道管</th>
  36. <th rowspan="2" width="7%" id="tb_th_2">道管内排名</th>
  37. <th rowspan="2" width="8%" id="tb_th_3">站名</th>
  38. <th rowspan="2" width="8%" id="tb_th_4">收费值机人数</th>
  39. <th rowspan="2" width="6%" id="tb_th_5">受检人数</th>
  40. <th rowspan="2" width="6%" id="tb_th_6">受检次数</th>
  41. <th colspan="6" height="5%" id="tb_th_7">扣分情况</th>
  42. <th rowspan="2" width="7%" id="tb_th_8">平均得分(千分)</th>
  43. </tr>
  44. <tr>
  45. <th width="7%" id="tb_th_7_1">满分(人)</th>
  46. <th width="7%" id="tb_th_7_2">≤15分(人)</th>
  47. <th width="7%" id="tb_th_7_3">≤50分(人)</th>
  48. <th width="7%" id="tb_th_7_4">50分(人)</th>
  49. <th width="7%" id="tb_th_7_5">总扣分(分)</th>
  50. <th width="7%" id="tb_th_7_6">平均每人次扣分(分)</th>
  51. </tr>
  52. </thead>
  53. <!-- <tbody class="table-tbody" style="background:white" align="center" height="500px">
  54. </tbody> -->
  55. </table>
  56. </div>
  57. </div>
  58. <div id="scrollTable" style="height:300px;overflow:scroll;margin-right:-10px;">
  59. <div class="table-head" style="margin:0px;">
  60. <table border="1" width="100%" height="90px" align="center" class="a" style="border-top:0px;">
  61. <tbody class="table-tbody" style="background:white" align="center" height="500px">
  62. </tbody>
  63. </table>
  64. </div>
  65. </div>
  66. </div>
  67. </div>
  68. <script>
  69. $(document).ready(function() {
  70. // 设置滚动表格的高度
  71. $("#scrollTable").height($(window).height() - 360);
  72. // 仅选择日期
  73. $("#start-time").datetimepicker({
  74. language: "zh-CN",
  75. weekStart: 1,
  76. todayBtn: 1,
  77. autoclose: 1,
  78. todayHighlight: 1,
  79. startView: 2,
  80. minView: 2,
  81. forceParse: 0,
  82. format: "yyyy-mm-dd"
  83. });
  84. // 仅选择日期
  85. $("#end-time").datetimepicker({
  86. language: "zh-CN",
  87. weekStart: 1,
  88. todayBtn: 1,
  89. autoclose: 1,
  90. todayHighlight: 1,
  91. startView: 2,
  92. minView: 2,
  93. forceParse: 0,
  94. format: "yyyy-mm-dd"
  95. });
  96. initQuerySituation();
  97. });
  98. </script>