No Description

seatefficiencyStatistics.html 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>坐席工作效率统计</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <script src="../Script/Common/huayi.load.js"></script>
  8. <script src="../Script/Common/huayi.config.js"></script>
  9. <link href="../css/reportCommon/Search.css" rel="stylesheet">
  10. <link href="../css/reportCommon/common.css" rel="stylesheet">
  11. <link rel="stylesheet" href="../css/bootstrap-select.css" />
  12. <link href="../css/init.css" rel="stylesheet" />
  13. <script src="../js/laydate/laydate.js"></script>
  14. <script src="../js/bootstrap-select.js"></script>
  15. <style>
  16. thead th {
  17. background: #00a0cd;
  18. color: #fff;
  19. }
  20. .th-inner{
  21. white-space: normal !important;
  22. }
  23. </style>
  24. </head>
  25. <body class="gray-bg">
  26. <div class="wrapper wrapper-content animated fadeInRight">
  27. <div class="daoHang clearfix">
  28. <div class="dhLeft">
  29. <sapn>
  30. <i class="syIcon"></i>位置:
  31. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  32. <a href="javaScript:;">报表管理</a>&gt;
  33. <a href="" class="nowPosition">坐席工作效率统计</a>
  34. </sapn>
  35. </div>
  36. <div class="dhRight">
  37. <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
  38. </div>
  39. </div>
  40. <div class="Content_box">
  41. <!--待处理/-->
  42. <div class="complain Shows">
  43. <div class="th-box">
  44. <div class="th-bar">
  45. <div class="seach-box">
  46. <ul>
  47. <li>
  48. 选择时间:
  49. <input class="photo x-color inputs laydate-icon" style="width: 400px;" autocomplete="off" type="text" id="startTimes" />
  50. </li>
  51. <li style="width: 300px;">
  52. <div style="width: 100px">选择坐席:</div>
  53. <select id="ZX" name="select" class="selectpicker show-tick form-control" com style="width: 150px;" data-live-search="true">
  54. <option value="">请选择坐席</option>
  55. </select>
  56. </li>
  57. <li>
  58. <a class="sc_btn btns db">搜索</a>
  59. <a class="sc_btn btns export">导出</a>
  60. </li>
  61. </ul>
  62. </div>
  63. </div>
  64. </div>
  65. <div style="width: 100%;padding: 10px;">
  66. <table id="workorderlist" data-toggle="table"></table>
  67. </div>
  68. </div>
  69. </div>
  70. </div>
  71. <script src="../js/reportCommon/common.js"></script>
  72. <script>
  73. var columnsArray = [];
  74. var columnsWidth = 100
  75. var apiUrl = "TotalTel/SeatsEfficiency"
  76. var zxSelectObj = {
  77. id:'ZX',
  78. apiUrl:'SeatMonitoring/GetList',
  79. params:{
  80. group:$("#userGroup").val()
  81. },
  82. selectValue:'F_UserCode',
  83. selectName:'F_UserName'
  84. }
  85. $(document).ready(function() {
  86. laydate.render({
  87. elem: '#startTimes',
  88. theme: '#00a1cb',
  89. type: 'datetime',
  90. format: 'yyyy-MM-dd HH:mm:ss',
  91. range: '~',
  92. calendar: true,
  93. ready: function (date) {
  94. $(".layui-laydate-footer [lay-type='datetime'].laydate-btns-time").click();
  95. $(".laydate-main-list-1 .layui-laydate-content li ol li:last-child").click();
  96. $(".layui-laydate-footer [lay-type='date'].laydate-btns-time").click();
  97. }
  98. });
  99. initTable()
  100. selectCommon(zxSelectObj)
  101. })
  102. function dataParam() {
  103. var stime,etime
  104. if ($("#startTimes").val()) {
  105. stime = $("#startTimes").val().split('~')[0].trim()
  106. etime = $("#startTimes").val().split('~')[1].trim()
  107. }
  108. var obj = {
  109. stime,
  110. etime,
  111. usercode: $("#ZX").val(),
  112. token: $.cookie("token")
  113. };
  114. return obj
  115. }
  116. </script>
  117. </body>
  118. </html>