Bez popisu

Whfp.html 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <link href="./css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
  7. <link href="./css/bootstrap.min.css" />
  8. <link rel="stylesheet" href="./css/boot/bootstrap-table.css" />
  9. <link href="./css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  10. <link href="./css/animate.min.css" rel="stylesheet">
  11. <link href="./css/style.min862f.css?v=4.1.0" rel="stylesheet">
  12. <link href="./css/initialize.css" rel="stylesheet" />
  13. <link href="./css/Table/table1.css" rel="stylesheet" />
  14. <script src="./js/jquery.min.js"></script>
  15. <script src="./js/bootstrap.min.js"></script>
  16. <script src="./js/bootstrap-table.js"></script>
  17. <script src="./js/bootstrap-table-zh-CN.js"></script>
  18. <title>外呼分配</title>
  19. <style>
  20. body {
  21. font-size: 14px;
  22. }
  23. .tools_box {
  24. padding: 10px;
  25. border: 1px solid #EDECFF;
  26. }
  27. .tools_box div {
  28. padding-left: 1px;
  29. font-weight: bold;
  30. }
  31. .red {
  32. color: #E43926;
  33. }
  34. .tools_box span {
  35. margin-left: 10px;
  36. }
  37. .tools_box li {
  38. margin-right: 10px;
  39. }
  40. #xtable th {
  41. /*width: 100px;
  42. padding: 5px 8px 5px 10px;*/
  43. color: #333;
  44. font-weight: 700;
  45. text-align: right;
  46. background: #f9f9f9;
  47. border-right: 1px dotted #cccccc;
  48. border-top: 1px dotted #cccccc;
  49. border-left: 1px dotted #cccccc;
  50. width: 100px;
  51. }
  52. #xtable td {
  53. padding: 6px 0 5px 10px;
  54. text-align: left;
  55. color: #717171;
  56. line-height: 200%;
  57. border-right: 1px dotted #cccccc;
  58. border-top: 1px dotted #cccccc;
  59. border-left: 1px dotted #cccccc;
  60. }
  61. .Num_input {
  62. width: 50px;
  63. padding: 5px;
  64. border-color: #CCCCCC;
  65. }
  66. .clearfix:after {
  67. content: "";
  68. display: block;
  69. clear: both;
  70. }
  71. #Submit {
  72. padding: 0 10px;
  73. height: 28px;
  74. line-height: 28px;
  75. color: #3D80B3;
  76. font-weight: bold;
  77. border: 1px solid #AED0EA;
  78. }
  79. .outline {
  80. border: 1px solid #21b9bb !important;
  81. }
  82. .whjh {
  83. position: absolute;
  84. top: 43px;
  85. z-index: 600;
  86. }
  87. .fixed-table-pagination {
  88. background: #F9F9F9;
  89. }
  90. #table1 thead {
  91. background: #f9f9f9;
  92. }
  93. #tbodys tr {
  94. background: #f9f9f9;
  95. }
  96. .hidens{
  97. display: none;
  98. }
  99. </style>
  100. </head>
  101. <body>
  102. <div class="wrapper wrapper-content animated fadeInRight">
  103. <!--整体table-->
  104. <div class="row">
  105. <table border="0" cellspacing="3" cellpadding="3" class="clearfix" style="width: 100%;">
  106. <tr>
  107. <!--左边-->
  108. <td class="col-sm-4" style="padding: 0px 2px 5px 2px; float: left; ">
  109. <!--头部-->
  110. <div class="tools_box">
  111. <div>
  112. <span class="color">外呼分配</span>
  113. </div>
  114. </div>
  115. <div>
  116. <!--小table-->
  117. <table id="xtable" border="0" cellspacing="" cellpadding="" style="width: 100%;">
  118. <tr>
  119. <th>当前分配:</th>
  120. <td>
  121. <input type="text" class="Num_input" /> 条
  122. </td>
  123. </tr>
  124. <tr style="height: 200px;">
  125. <th>分配坐席:</th>
  126. <td style="padding: 0;">
  127. <!--table2-->
  128. <div style="width: 100%;">
  129. <table id="good" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  130. <thead>
  131. <tr>
  132. <th data-field="state" data-checkbox="true"></th>
  133. <th data-field="whjh" data-align="center">用户工号</th>
  134. <th data-field="Num" data-align="center">用户名称</th>
  135. <th data-field="Name" data-align="center">未执行任务</th>
  136. </tr>
  137. </thead>
  138. <tbody id="tbody">
  139. </tbody>
  140. </table>
  141. </div>
  142. </td>
  143. </tr>
  144. <tr style="height: 200px;">
  145. <th>分配策略:</th>
  146. <td>
  147. <div>
  148. <input type="radio" />
  149. <label for="">按数量平均分配</label>
  150. <input type="text" class="Num_input" />条
  151. </div>
  152. <div style="padding-left: 20px; color: blue; width: 100%; border-bottom: 1px dotted #cccccc;">
  153. (为选择的坐席分配录入数量的任务)
  154. </div>
  155. <div>
  156. <input type="radio" />
  157. <label for="">按数量平均分配</label>
  158. <input type="text" class="Num_input" />条
  159. </div>
  160. <div style="padding-left: 20px; color: blue; width: 100%; border-bottom: 1px dotted #cccccc;">
  161. (为选择的坐席分配录入数量的任务)
  162. </div>
  163. <div>
  164. <input type="radio" />
  165. <label for="">按数量平均分配</label>
  166. <input type="text" class="Num_input" />条
  167. </div>
  168. <div style="padding-left: 20px; color: blue; width: 100%; border-bottom: 1px dotted #cccccc;">
  169. (为选择的坐席分配录入数量的任务)
  170. </div>
  171. </td>
  172. </tr>
  173. <tr style="border-bottom: 1px dotted #cccccc">
  174. <td>
  175. </td>
  176. <td>
  177. <input type="button" name="" id="Submit" value="执行分配" />
  178. </td>
  179. </tr>
  180. </table>
  181. </div>
  182. </td>
  183. <!--右边-->
  184. <td class="col-sm-8" style="float: left;width=60%;">
  185. <div class="tools_box">
  186. <div>
  187. <span>外呼号码</span>
  188. </div>
  189. </div>
  190. <div class="tools_box" style="position: relative;">
  191. <ul class="clearfix">
  192. <li>外呼计划:<input class="photo x-color" type="text" id="Call" /></li>
  193. <li>条件:<input class="photo x-color key" type="text" id="KeyWords" /></li>
  194. <li>
  195. <a class="sc_btn btn-info" id="sc_btn">搜索</a>
  196. </li>
  197. </ul>
  198. <div style="width: 30%;padding: 10px;left: -12px;" class="whjh hidens">
  199. <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  200. <thead>
  201. <tr>
  202. <th data-field="Plan" data-align="center">计划名称</th>
  203. <th data-field="Number" data-align="center">号码数量</th>
  204. </tr>
  205. </thead>
  206. <tbody id="tbodys">
  207. </tbody>
  208. </table>
  209. </div>
  210. </div>
  211. <div style="width: 100%;overflow:hidden;">
  212. <table id="goods" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
  213. <thead>
  214. <tr>
  215. <th data-field="state" data-checkbox="true"></th>
  216. <th data-sortable="true" data-field="whjh" data-align="center">外呼计划</th>
  217. <th data-sortable="true" data-field="Num" data-align="center">号码</th>
  218. <th data-sortable="true" data-field="Name" data-align="center">名称</th>
  219. <th data-sortable="true" data-field="Dtime" data-align="center">导入时间</th>
  220. <th data-sortable="true" data-field="Zx" data-align="center">坐席分配</th>
  221. <th data-sortable="true" data-field="Dstates" data-align="center">呼叫状态</th>
  222. <th data-sortable="true" data-field="Jstaes" data-align="center">接通状态</th>
  223. </tr>
  224. </thead>
  225. <tbody id="tbody">
  226. </tbody>
  227. </table>
  228. </div>
  229. </td>
  230. </tr>
  231. </table>
  232. </div>
  233. </div>
  234. <script>
  235. var arr2 = [{
  236. "Plan": "张三外呼",
  237. "Number": "0",
  238. },
  239. {
  240. "Plan": "满意度调差",
  241. "Number": "51561",
  242. },
  243. {
  244. "Plan": "张三外呼",
  245. "Number": "0",
  246. }
  247. ];
  248. var arr1 = [{
  249. 'whjh': '201603月产品调查',
  250. 'Num': ' 13800000882',
  251. 'Name': '信息1',
  252. 'Dtime': '2016-06-16 08:53:04',
  253. 'Zx': '系统管理',
  254. 'Dstates': '系统管理',
  255. 'Jstaes': '未呼叫',
  256. 'Jstaes': '未接通',
  257. },
  258. {
  259. 'whjh': '201603月产品调查',
  260. 'Num': ' 13800000882',
  261. 'Name': '信息1',
  262. 'Dtime': '2016-06-16 08:53:04',
  263. 'Zx': '系统管理',
  264. 'Dstates': '系统管理',
  265. 'Jstaes': '未呼叫',
  266. 'Jstaes': '未接通',
  267. },
  268. {
  269. 'whjh': '201603月产品调查',
  270. 'Num': ' 13800000882',
  271. 'Name': '信息1',
  272. 'Dtime': '2016-06-16 08:53:04',
  273. 'Zx': '系统管理',
  274. 'Dstates': '系统管理',
  275. 'Jstaes': '未呼叫',
  276. 'Jstaes': '未接通',
  277. },
  278. {
  279. 'whjh': '201603月产品调查',
  280. 'Num': ' 13800000882',
  281. 'Name': '信息1',
  282. 'Dtime': '2016-06-16 08:53:04',
  283. 'Zx': '系统管理',
  284. 'Dstates': '系统管理',
  285. 'Jstaes': '未呼叫',
  286. 'Jstaes': '未接通',
  287. },
  288. {
  289. 'whjh': '201603月产品调查',
  290. 'Num': ' 13800000882',
  291. 'Name': '信息1',
  292. 'Dtime': '2016-06-16 08:53:04',
  293. 'Zx': '系统管理',
  294. 'Dstates': '系统管理',
  295. 'Jstaes': '未呼叫',
  296. 'Jstaes': '未接通',
  297. },
  298. {
  299. 'whjh': '201603月产品调查',
  300. 'Num': ' 13800000882',
  301. 'Name': '信息1',
  302. 'Dtime': '2016-06-16 08:53:04',
  303. 'Zx': '系统管理',
  304. 'Dstates': '系统管理',
  305. 'Jstaes': '未呼叫',
  306. 'Jstaes': '未接通',
  307. }
  308. ]
  309. var arr = [{
  310. 'whjh': '8000',
  311. 'Num': ' 系统管理',
  312. 'Name': '14',
  313. },
  314. {
  315. 'whjh': '8000',
  316. 'Num': ' 系统管理',
  317. 'Name': '14',
  318. },
  319. {
  320. 'whjh': '8000',
  321. 'Num': ' 系统管理',
  322. 'Name': '14',
  323. }
  324. ]
  325. var $tableLeft1 = $('#goods');
  326. $tableLeft1.bootstrapTable({
  327. data: arr1, //请求后台的URL(*)
  328. method: 'get',
  329. pagination: true,
  330. pageNumber: 1, //初始化加载第一页,默认第一页
  331. pageSize: 5, //每页的记录行数(*)
  332. pageList: [5, 25, 50, 100], //可供选择的每页的行数(*)
  333. clickToSelect: true,
  334. striped: true
  335. });
  336. var $tableLeft = $('#good');
  337. $tableLeft.bootstrapTable({
  338. data: arr, //请求后台的URL(*)
  339. method: 'get',
  340. pagination: true,
  341. pageNumber: 1, //初始化加载第一页,默认第一页
  342. pageSize: 5, //每页的记录行数(*)
  343. pageList: [5, 25, 50, 100], //可供选择的每页的行数(*)
  344. clickToSelect: true,
  345. striped: true
  346. });
  347. var $tableLeft2 = $('#table1');
  348. $tableLeft2.bootstrapTable({
  349. data: arr2, //请求后台的URL(*)
  350. method: 'get',
  351. pagination: true,
  352. pageNumber: 1, //初始化加载第一页,默认第一页
  353. pageSize: 5, //每页的记录行数(*)
  354. pageList: [5, 25, 50, 100], //可供选择的每页的行数(*)
  355. clickToSelect: true,
  356. striped: true
  357. });
  358. $("#Call").focus(function() {
  359. $(this).addClass("outline");
  360. $(".whjh").removeClass("hidens");
  361. })
  362. $("#Call").blur(function() {
  363. $(this).removeClass("outline");
  364. $(".whjh").addClass("hidens");
  365. })
  366. $("input").focus(function() {
  367. $(this).addClass("outline");
  368. });
  369. $("input").blur(function() {
  370. $(this).removeClass("outline");
  371. })
  372. </script>
  373. </body>
  374. </html>