emp_ranking.html 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <script src="/js/statistics/assess_ranking.js"></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. <label for="exampleInputAccount1" class="col-sm-1">查询范围:</label>
  8. <div class="col-sm-2">
  9. <select class="form-control" id="fsList">
  10. </select>
  11. </div>
  12. <div class="select-date"><label class="select-date1">查询日期</label></div>
  13. <div class="col-sm-3">
  14. <input type="text" id="start-time" class="form-control form-date" placeholder="开始日期">
  15. </div>
  16. <div class="col-sm-4">
  17. <input type="text" id="end-time" class="form-control form-date" placeholder="结束日期">
  18. </div>
  19. <div class="col-sm-5">
  20. <button class="btn btn-primary " type="button" onclick="queryEmpClick()">查询</button>
  21. </div>
  22. <div class="col-sm-6">
  23. <button class="btn btn-primary " type="button" onclick="exportExcel()">导出Excel</button>
  24. </div>
  25. </div>
  26. </form>
  27. </div>
  28. <div class="table-title"><span>温馨服务考核情况反馈表(所有员工排名)</span></div>
  29. <div class="row">
  30. <!-- 使用一个div来显示数据表格 -->
  31. <div class="datatable" data-checkable="false" style="margin-bottom: 0px;margin-right:10px;" data-sortable="false">
  32. <div class="table-head" >
  33. <table border="1" width="100%" align="center">
  34. <thead class="table-thead" align="center">
  35. <tr>
  36. <th rowspan="2" width="67px;">序号</th><th rowspan="2" width="87px">站名</th><th rowspan="2" width="67px">姓名</th>
  37. <th rowspan="2" width="67px">岗位</th><th rowspan="2" width="87px">工号</th><th colspan="7" height="40px">考核扣分</th>
  38. <th rowspan="2" width="67px">受检次数</th><th rowspan="2" width="67px">平均扣分(千分制)</th>
  39. <th rowspan="2" width="75px">服务评价</th><th rowspan="2">备注</th>
  40. </tr>
  41. <tr>
  42. <th width="67px">环境卫生</th><th width="67px">仪容仪表</th><th width="67px">表情</th>
  43. <th width="67px">收费动作</th><th width="67px">文明用语</th><th width="67px">工作纪律</th>
  44. <th width="67px">扣分合计</th>
  45. </tr>
  46. </thead>
  47. </table>
  48. </div>
  49. </div>
  50. <div id="scrollTable" style="height:300px;overflow:scroll;">
  51. <table style="border-top:0;" border="1" width="100%" align="center">
  52. <thead class="table-thead" style="height:0;" align="center">
  53. <tr style="display:none;">
  54. <th rowspan="2" width="67px;"></th><th rowspan="2" width="77px"></th><th rowspan="2" width="67px"></th>
  55. <th rowspan="2" width="67px"></th><th rowspan="2" width="67px"></th><th colspan="7" height="40px"></th>
  56. <th rowspan="2" width="67px"></th><th rowspan="2" width="67px"></th>
  57. <th rowspan="2" width="75px"></th><th rowspan="2" width="75px"></th>
  58. </tr>
  59. <tr style="display:none;">
  60. <th width="67px"></th><th width="67px"></th><th width="67px"></th>
  61. <th width="67px"></th><th width="67px"></th><th width="67px"></th>
  62. <th width="67px"></th>
  63. </tr>
  64. </thead>
  65. <tbody class="table-tbody" style="background:white; " align="center">
  66. </tbody>
  67. </table>
  68. </div>
  69. </div>
  70. </div>
  71. <script>
  72. $(document).ready(function() {
  73. // 设置滚动表格的高度
  74. $("#scrollTable").height( document.body.clientHeight - 360 );
  75. // 仅选择日期
  76. $("#start-time").datetimepicker(
  77. {
  78. language: "zh-CN",
  79. weekStart: 1,
  80. todayBtn: 1,
  81. autoclose: 1,
  82. todayHighlight: 1,
  83. startView: 2,
  84. minView: 2,
  85. forceParse: 0,
  86. format: "yyyy-mm-dd"
  87. });
  88. // 仅选择日期
  89. $("#end-time").datetimepicker(
  90. {
  91. language: "zh-CN",
  92. weekStart: 1,
  93. todayBtn: 1,
  94. autoclose: 1,
  95. todayHighlight: 1,
  96. startView: 2,
  97. minView: 2,
  98. forceParse: 0,
  99. format: "yyyy-mm-dd"
  100. });
  101. setFeSelect("#fsList");
  102. initQueryEmp();
  103. });
  104. </script>