emp_ranking.html 5.9 KB

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