Brak opisu

performanceAppraisalReport.html 8.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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 rel="stylesheet" href="../js/zTree/zTreeStyle.css" />
  10. <link href="../css/WorkOrder/Search.css" rel="stylesheet">
  11. <link href="../css/init.css" rel="stylesheet" />
  12. <script src="../My97DatePicker/WdatePicker.js"></script>
  13. <script src="../js/laydate/laydate.js"></script>
  14. <style>
  15. table td {
  16. word-break: break-all;
  17. word-wrap: break-word;
  18. }
  19. .ld-service li {
  20. float: left;
  21. font-size: 14px;
  22. color: #000;
  23. padding: 5px 15px;
  24. cursor: pointer;
  25. border-bottom: 1px solid #ccc;
  26. }
  27. .cr-click {
  28. border: 1px solid #ccc;
  29. background-color: #fff;
  30. border-bottom: none !important;
  31. border-bottom-left-radius: 5px;
  32. border-bottom-right-radius: 5px;
  33. }
  34. .Shows {
  35. display: block !important;
  36. }
  37. .complain {
  38. display: none;
  39. }
  40. .toolLeft input {
  41. width: 200px;
  42. }
  43. th {
  44. padding: 5px;
  45. text-align: center;
  46. }
  47. td {
  48. padding: 5px;
  49. }
  50. .Borders {
  51. border: 1px solid #d7d7d7;
  52. }
  53. .cx {
  54. display: block;
  55. }
  56. .daoHang {
  57. margin-bottom: 15px;
  58. }
  59. .keyMargin {
  60. margin-bottom: 0;
  61. }
  62. .W150 .th-inner {
  63. width: 150px;
  64. }
  65. .W100 .th-inner {
  66. width: 100px;
  67. }
  68. </style>
  69. </head>
  70. <body class="gray-bg">
  71. <div class="wrapper wrapper-content animated fadeInRight">
  72. <div class="daoHang clearfix">
  73. <div class="dhLeft">
  74. <sapn>
  75. <i class="syIcon"></i>位置:
  76. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  77. <a href="javaScript:;">业务统计</a>&gt;
  78. <a href="" class="nowPosition">绩效考核报表</a>
  79. </sapn>
  80. </div>
  81. <div class="dhRight">
  82. <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
  83. </div>
  84. </div>
  85. <div class="Content_box">
  86. <div class="complain Shows">
  87. <div class="toolBar clearfix">
  88. <div class="toolLeft">
  89. 开始日期:
  90. <input class="photo x-color inputs" type="text" id="squeryTime" autocomplete="off" />
  91. 结束时间:
  92. <input class="photo x-color inputs" type="text" id="equeryTime" autocomplete="off" />
  93. <!-- 来源:
  94. <select class="select_" id="source"></select> -->
  95. <button class="btns search_1">查询</button>
  96. <!-- <button class="btns exportFile">导出</button> -->
  97. </div>
  98. </div>
  99. <div class="tab-content">
  100. <div class="tab-pane fade active in" id="import_from_file">
  101. <div style="width: 100%;padding: 10px;">
  102. <table id="table1" class="tables" data-row-style="rowStyle" data-query-params="queryParams"
  103. data-pagination="true">
  104. <thead>
  105. <tr>
  106. <th data-formatter="serialNumber" data-align="center">序号</th>
  107. <th data-field="deptname" data-align="center" data-class="W150">单位</th>
  108. <th data-field="workordrcount" data-align="center">工单数量</th>
  109. <th data-field="dissatisfied" data-align="center">不满意数量</th>
  110. <th data-field="overcount" data-align="center">超期数量</th>
  111. <th data-field="back" data-align="center">退回数量</th>
  112. <th data-field="backover" data-align="center">退回超期数量</th>
  113. <th data-field="knowledge" data-align="center">知识库索要数量</th>
  114. <th data-field="knowledgeover" data-align="center">未及时提交量</th>
  115. <th data-field="secrecy" data-align="center">公民信息保密
  116. </th>
  117. <th data-field="divulge" data-align="center">工单处理保密
  118. </th>
  119. <th data-field="cityinformation" data-align="center">市媒体宣传</th>
  120. <th data-field="knowledgerate" data-align="center">省媒体宣传</th>
  121. <th data-field="inspection" data-align="center">市领导视察</th>
  122. <th data-field="extension" data-align="center" data-class="W100" title="全市推广或收入市平台汇报材料">全市推广或收入市平台汇报材料</th>
  123. <th data-field="notice" data-align="center" data-class="W100" title="涉及民生重大事项及时报送">涉及民生重大事项及时报送</th>
  124. <th data-field="total" data-align="center">总分</th>
  125. </tr>
  126. </thead>
  127. </table>
  128. </div>
  129. </div>
  130. </div>
  131. </div>
  132. </div>
  133. </div>
  134. <script>
  135. $(document).ready(function () {
  136. laydate.render({
  137. elem: '#squeryTime',
  138. theme: '#00a1cb',
  139. type: 'date'
  140. });
  141. laydate.render({
  142. elem: '#equeryTime',
  143. theme: '#00a1cb',
  144. type: 'date'
  145. });
  146. //来源
  147. // LY($("#source"));
  148. initTable();
  149. });
  150. //表格
  151. function initTable() {
  152. var resultData = [];
  153. for (let i=0; i<3; i++) {
  154. $.ajax({
  155. url: huayi.config.callcenter_url + 'WorkOrderReport/GetDeptDeptAchievements',
  156. type: 'get',
  157. data: {
  158. starttime: $("#squeryTime").val(),
  159. endtime: $("#equeryTime").val(),
  160. type: i,
  161. token: $.cookie("token")
  162. },
  163. dataType: "json",
  164. async: false,
  165. success: function (returnValue) {
  166. resultData = resultData.concat(returnValue)
  167. }
  168. });
  169. }
  170. $('#table1').bootstrapTable('destroy').bootstrapTable({
  171. striped: true
  172. });
  173. $('#table1').bootstrapTable('load', resultData);
  174. }
  175. //序号
  176. function serialNumber(val, row, index) {
  177. return index + 1;
  178. }
  179. //来源
  180. function LY(obj) {
  181. obj.empty();
  182. obj.append(
  183. '<option selected="selected" value="">请选择</option>'
  184. );
  185. $.getJSON(
  186. huayi.config.callcenter_url +
  187. "Dictionary/GetDicValueListById", {
  188. token: $.cookie("token"),
  189. id: 1,
  190. },
  191. function (data) {
  192. if (data.state.toLowerCase() == "success") {
  193. var content = data.data;
  194. $(content).each(function (i, n) {
  195. $(
  196. "<option value='" +
  197. n.F_ValueId +
  198. "'>" +
  199. n.F_Value +
  200. "</option>"
  201. ).appendTo(obj);
  202. });
  203. }
  204. }
  205. );
  206. }
  207. //代办搜索
  208. $(".search_1").click(function () {
  209. initTable();
  210. });
  211. $(".exportFile").click(function () {
  212. var start = $("#squeryTime").val();
  213. var end = $("#equeryTime").val();
  214. var url = huayi.config.callcenter_url + "WorkOrderReport/GetUserReturn?token=" + $.cookie("token");
  215. url += "&start=" + start + "&end=" + end + "&isExport=true";
  216. window.location.href = url;
  217. })
  218. </script>
  219. </body>
  220. </html>