BaoFengSZCG_Web 宝丰县数字城管

MyRuselt.html 8.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307
  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. <link href="./css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  8. <link href="./css/bootstrap.min.css" />
  9. <link rel="stylesheet" href="./css/boot/bootstrap-table.css" />
  10. <link href="./css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  11. <link href="./css/animate.min.css" rel="stylesheet">
  12. <link href="./css/style.min862f.css?v=4.1.0" rel="stylesheet">
  13. <link href="./css/initialize.css" rel="stylesheet" />
  14. <link href="./css/Table/table1.css" rel="stylesheet" />
  15. <style>
  16. .wrapper {
  17. position: relative;
  18. }
  19. .whjh {
  20. position: absolute;
  21. top: 43px;
  22. z-index: 600;
  23. }
  24. #table1 {
  25. background: #F9F9F9;
  26. }
  27. .fixed-table-pagination {
  28. background: #F9F9F9;
  29. }
  30. #table1 thead {
  31. background: #f9f9f9;
  32. }
  33. .hidens {
  34. display: none;
  35. }
  36. .outline {
  37. border: 1px solid #21b9bb !important;
  38. }
  39. .imgs {
  40. color: rgb(0, 128, 0);
  41. cursor: pointer;
  42. }
  43. .imgs img {
  44. vertical-align: baseline;
  45. }
  46. .key{
  47. width: 80px;
  48. }
  49. .xg:hover{
  50. color:#E43926;
  51. }
  52. </style>
  53. </head>
  54. <script src="./js/jquery.min.js?v=2.1.4"></script>
  55. <script src="./js/bootstrap.min.js"></script>
  56. <script src="./js/bootstrap-table.js"></script>
  57. <script src="./js/bootstrap-table-zh-CN.js"></script>
  58. <script src="My97DatePicker/WdatePicker.js"></script>
  59. </head>
  60. <body>
  61. <div class="wrapper wrapper-content animated fadeInRight">
  62. <div class="th-box">
  63. <div class="th-bar">
  64. <div class="seach-box fl">
  65. <ul>
  66. <li>外呼计划:<input class="photo x-color" type="text" id="Call" /></li>
  67. <li>关键字:<input class="photo x-color key" type="text" id="KeyWords" /></li>
  68. <li>开始回放时间:<input class="photo x-color" type="text" id="St" onfocus="WdatePicker({lang:'zh-cn',dateFmt:'HH-mm-ss'})"/></li>
  69. <li>结束时间:<input class="photo x-color" type="text" id="Et" onfocus="WdatePicker({lang:'zh-cn',dateFmt:'HH-mm-ss'})" /></li>
  70. </ul>
  71. </div>
  72. </div>
  73. </div>
  74. <div style="width: 30%;padding: 10px;" class="whjh hidens">
  75. <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  76. <thead>
  77. <tr>
  78. <th data-sortable="true" data-field="Plan" data-align="center">计划名称</th>
  79. <th data-sortable="true" data-field="Number" data-align="center">号码数量</th>
  80. </tr>
  81. </thead>
  82. <tbody id="tbody">
  83. </tbody>
  84. </table>
  85. </div>
  86. <div style="width: 100%;padding: 10px;">
  87. <div class="fl" style="padding: 10px;">
  88. 呼叫状态:
  89. <select name="" id="Select" class="x-color select" >
  90. <option value="">全部</option>
  91. <option value="">未呼叫</option>
  92. <option value="">已呼叫</option>
  93. </select>
  94. 接通状态:
  95. <select name="" id="Select" class="x-color select" >
  96. <option value="">全部</option>
  97. <option value="">未接通</option>
  98. <option value="">已接通</option>
  99. </select>
  100. 呼叫结果:
  101. <select name="" id="Select" class="x-color " >
  102. <option value="">全部</option>
  103. <option value="">正常接通</option>
  104. <option value="">拒访</option>
  105. <option value="">不是本人</option>
  106. <option value="">关机</option>
  107. <option value="">停机</option>
  108. <option value="">无人接听</option>
  109. <option value="">空号</option>
  110. </select>
  111. <div class="fr" style="margin-left: 15px;">
  112. <a class="sc_btn btn-info" id="sc_btn">搜索</a>
  113. </div>
  114. </div>
  115. <table id="goods" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  116. <thead>
  117. <tr>
  118. <th data-field="whjh" data-align="center">外呼计划</th>
  119. <th data-field="Result" data-align="center" data-formatter="Results">结果</th>
  120. <th data-field="Num" data-align="center" data-formatter="setCode">号码</th>
  121. <th data-field="Name" data-align="center">名称</th>
  122. <th data-field="Dtime" data-align="center">导入时间</th>
  123. <th data-field="Zx" data-align="center">坐席分配</th>
  124. <th data-field="Dstates" data-align="center">呼叫状态</th>
  125. <th data-field="Hr" data-align="center">呼叫结果</th>
  126. <th data-field="Zhs" data-align="center">最后接通状态</th>
  127. <th data-field="Zht" data-align="center">最后呼叫时间</th>
  128. <th data-field="Ch" data-align="center">呼叫次数</th>
  129. <th data-field="Jtc" data-align="center">接通次数</th>
  130. <th data-field="Thjs" data-align="center" data-formatter="Thj">通话记录</th>
  131. </tr>
  132. </thead>
  133. <tbody id="tbody">
  134. </tbody>
  135. </table>
  136. </div>
  137. </div>
  138. <script>
  139. var $tableLeft = $('#table1');
  140. var $tableLeft1 = $('#goods');
  141. var arr = [{
  142. "Plan": "张三外呼",
  143. "Number": "0",
  144. },
  145. {
  146. "Plan": "满意度调差",
  147. "Number": "51561",
  148. },
  149. {
  150. "Plan": "张三外呼",
  151. "Number": "0",
  152. }
  153. ];
  154. var arr1 = [{
  155. 'whjh': '201603月产品调查',
  156. 'Num': ' 13800000882',
  157. 'Name': '信息1',
  158. 'Dtime': '2016-06-16 08:53:04',
  159. 'Zx': '系统管理',
  160. 'Dstates': '已呼叫',
  161. 'Hr': '正常接通',
  162. 'Zhs': '未接通',
  163. 'Zht': '2017-06-03 17:39:49',
  164. 'Ch': '3',
  165. 'Jtc': '0',
  166. },
  167. {
  168. 'whjh': '201603月产品调查',
  169. 'Num': ' 13800000882',
  170. 'Name': '信息1',
  171. 'Dtime': '2016-06-16 08:53:04',
  172. 'Zx': '系统管理',
  173. 'Dstates': '已呼叫',
  174. 'Hr': '正常接通',
  175. 'Zhs': '未接通',
  176. 'Zht': '2017-06-03 17:39:49',
  177. 'Ch': '3',
  178. 'Jtc': '0',
  179. },
  180. {
  181. 'whjh': '201603月产品调查',
  182. 'Num': ' 13800000882',
  183. 'Name': '信息1',
  184. 'Dtime': '2016-06-16 08:53:04',
  185. 'Zx': '系统管理',
  186. 'Dstates': '已呼叫',
  187. 'Hr': '正常接通',
  188. 'Zhs': '未接通',
  189. 'Zht': '2017-06-03 17:39:49',
  190. 'Ch': '3',
  191. 'Jtc': '0',
  192. },
  193. {
  194. 'whjh': '201603月产品调查',
  195. 'Num': ' 13800000882',
  196. 'Name': '信息1',
  197. 'Dtime': '2016-06-16 08:53:04',
  198. 'Zx': '系统管理',
  199. 'Dstates': '已呼叫',
  200. 'Hr': '正常接通',
  201. 'Zhs': '未接通',
  202. 'Zht': '2017-06-03 17:39:49',
  203. 'Ch': '3',
  204. 'Jtc': '0',
  205. },
  206. {
  207. 'whjh': '201603月产品调查',
  208. 'Num': ' 13800000882',
  209. 'Name': '信息1',
  210. 'Dtime': '2016-06-16 08:53:04',
  211. 'Zx': '系统管理',
  212. 'Dstates': '已呼叫',
  213. 'Hr': '正常接通',
  214. 'Zhs': '未接通',
  215. 'Zht': '2017-06-03 17:39:49',
  216. 'Ch': '3',
  217. 'Jtc': '0',
  218. },
  219. {
  220. 'whjh': '201603月产品调查',
  221. 'Num': ' 13800000882',
  222. 'Name': '信息1',
  223. 'Dtime': '2016-06-16 08:53:04',
  224. 'Zx': '系统管理',
  225. 'Dstates': '已呼叫',
  226. 'Hr': '正常接通',
  227. 'Zhs': '未接通',
  228. 'Zht': '2017-06-03 17:39:49',
  229. 'Ch': '3',
  230. 'Jtc': '0',
  231. }
  232. ]
  233. $tableLeft.bootstrapTable({
  234. data: arr, //请求后台的URL(*)
  235. method: 'get',
  236. toolbar: '#toolbar',
  237. pagination: true,
  238. pageNumber: 1, //初始化加载第一页,默认第一页
  239. pageSize: 5, //每页的记录行数(*)
  240. pageList: [10, 25, 50, 100], //可供选择的每页的行数(*)
  241. clickToSelect: true,
  242. striped: true
  243. });
  244. $tableLeft1.bootstrapTable({
  245. data: arr1, //请求后台的URL(*)
  246. method: 'get',
  247. toolbar: '#toolbar',
  248. pagination: true,
  249. pageNumber: 1, //初始化加载第一页,默认第一页
  250. pageSize: 5, //每页的记录行数(*)
  251. pageList: [5, 25, 50, 100], //可供选择的每页的行数(*)
  252. clickToSelect: true,
  253. striped: true
  254. });
  255. function setCode(val) {
  256. return '<div class="imgs">' +
  257. '<img src="./img/user.png" alt="" />' + val + '' +
  258. '</div>';
  259. }
  260. function Results(val) {
  261. return '<div class="imgs">' +
  262. '<a class="xg">查看'+
  263. '</a>'+
  264. '</div>';
  265. }
  266. function Thj(val) {
  267. return '<div class="imgs">' +
  268. '<a class="xg">查看'+
  269. '</a>'+
  270. '</div>';
  271. }
  272. /*获取焦点*/
  273. $("#Call").focus(function() {
  274. $(this).addClass("outline");
  275. $(".whjh").removeClass("hidens");
  276. })
  277. $("#Call").blur(function() {
  278. $(this).removeClass("outline");
  279. $(".whjh").addClass("hidens");
  280. })
  281. $("input").focus(function() {
  282. $(this).addClass("outline");
  283. });
  284. $("input").blur(function() {
  285. $(this).removeClass("outline");
  286. })
  287. </script>
  288. </body>
  289. </html>