説明なし

Assessment.html 6.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  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="../js/laydate/laydate.js"></script>
  13. <!--<script src="../My97DatePicker/WdatePicker.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. th {
  41. padding: 5px;
  42. text-align: center;
  43. }
  44. td {
  45. padding: 5px;
  46. }
  47. .Borders {
  48. border: 1px solid #d7d7d7;
  49. }
  50. .cx {
  51. display: block;
  52. }
  53. </style>
  54. </head>
  55. <body class="gray-bg">
  56. <div class="wrapper wrapper-content animated fadeInRight">
  57. <div class="daoHang clearfix">
  58. <div class="dhLeft">
  59. <sapn>
  60. <i class="syIcon"></i>位置:
  61. <a href="javaScript:;" id="ReIndex">首页</a>&gt;
  62. <a href="javaScript:;">绩效质检</a>&gt;
  63. <a href="" class="nowPosition">绩效考核</a>
  64. </sapn>
  65. </div>
  66. <div class="dhRight">
  67. <a href="" title="刷新"><i class="fa fa-refresh"></i></a>
  68. </div>
  69. </div>
  70. <div class="Content_box">
  71. <div class="complain Shows">
  72. <div class="th-box">
  73. <div class="th-bar">
  74. <div class="seach-box">
  75. <ul>
  76. <li>
  77. 月份: <input type="text" id="starttime" class="layui-input" placeholder="请选择时间" style="height: 32px;" />
  78. </li>
  79. <li>
  80. <a class="sc_btn btns db" style="padding: 7px 10px;">搜索</a>
  81. <a class="sc_btn btns export">导出</a>
  82. </li>
  83. <!--<li><span class="text-danger" style="padding-left: 10px;line-height: 30px;">默认显示当前月的信息</span></li>-->
  84. </ul>
  85. </div>
  86. </div>
  87. </div>
  88. <div style="width: 100%;padding: 10px;">
  89. <table id="workorderlist" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  90. <thead>
  91. <tr>
  92. <th data-align="center" data-formatter="setCode">编号</th>
  93. <th data-field="F_DeptName" data-align="center">单位名称</th>
  94. <th data-field="F_DF_BLCore" data-align="center">及时办结情况</th>
  95. <th data-field="F_DF_CSCore" data-align="center">查收要求</th>
  96. <th data-field="F_DF_GFCore" data-align="center">工单办理结果填写规范及要求</th>
  97. <th data-field="F_DF_HFCore" data-align="center">回访情况</th>
  98. <!--<th data-field="F_DF_TBCore" data-align="center">通报情况</th>-->
  99. <th data-field="F_DF_THCore" data-align="center">退回要求</th>
  100. <th data-field="F_DF_ZSKCore" data-align="center">知识库</th>
  101. <th data-field="F_DF_ZJ" data-align="center">合计</th>
  102. <th data-field="F_Id" data-formatter="Dispose" data-align="center">操作</th>
  103. </tr>
  104. </thead>
  105. </table>
  106. </div>
  107. </div>
  108. </div>
  109. </div>
  110. <script>
  111. $(document).ready(function () {
  112. laydate.render({
  113. elem: '#starttime', //指定元素
  114. format: 'yyyyMM',
  115. type: 'month'
  116. });
  117. initTable();
  118. })
  119. function initTable() {
  120. $.ajax({
  121. url: huayi.config.callcenter_url + 'DataAssessment/GetDataList',
  122. type: 'get',
  123. data: {
  124. date:$('#starttime').val(),
  125. token: $.cookie("token")
  126. },
  127. dataType: "json",
  128. async: true,
  129. success: function (returnValue) {
  130. //异步获取数据
  131. var resultData1 = returnValue.rows;
  132. $('#workorderlist').bootstrapTable('load', resultData1);
  133. }
  134. });
  135. $('#workorderlist').bootstrapTable('destroy').bootstrapTable({ striped: true });
  136. }
  137. //操作
  138. function Dispose(val) {
  139. return '<div class="imgs" ><a onclick= see("' + val
  140. + '") >查看</a></div>';
  141. }
  142. //搜索
  143. $(".db").click(function () {
  144. initTable();
  145. })
  146. function setCode(val, row, index) {
  147. return index + 1;
  148. }
  149. //查看详情
  150. function see(str) {
  151. layer.open({
  152. type: 2,
  153. content: "../CommonHtml/checkDetail.html?wid=" + str, //iframe的url,no代表不显示滚动条
  154. title: '考核详情',
  155. area: ['87%', '80%'], //宽高
  156. });
  157. }
  158. //工单详情
  159. function OrderDetail(str){
  160. layer.open({
  161. type: 2,
  162. content: "../CommonHtml/WorkDatil.html?wid=" + str, //iframe的url,no代表不显示滚动条
  163. title: '工单详情',
  164. area: ['87%', '80%'], //宽高
  165. });
  166. }
  167. //导出
  168. $('.export').click(function () {
  169. dcexcel(this);
  170. })
  171. function dcexcel(obj) {
  172. var url = huayi.config.callcenter_url + "DataAssessment/ExptList?token=" + $.cookie("token");
  173. url += "&date=" + $('#starttime').val();
  174. obj.href = url;
  175. }
  176. </script>
  177. </body>
  178. </html>