| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <link href="./css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
- <link href="./css/bootstrap.min.css" />
- <link rel="stylesheet" href="./css/boot/bootstrap-table.css" />
- <link href="./css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
- <link href="./css/animate.min.css" rel="stylesheet">
- <link href="./css/style.min862f.css?v=4.1.0" rel="stylesheet">
- <link href="./css/initialize.css" rel="stylesheet" />
- <link href="./css/Table/table1.css" rel="stylesheet" />
- <script src="./js/jquery.min.js"></script>
- <script src="./js/bootstrap.min.js"></script>
- <script src="./js/bootstrap-table.js"></script>
- <script src="./js/bootstrap-table-zh-CN.js"></script>
- <title>外呼分配</title>
- <style>
- body {
- font-size: 14px;
- }
-
- .tools_box {
- padding: 10px;
- border: 1px solid #EDECFF;
- }
-
- .tools_box div {
- padding-left: 1px;
- font-weight: bold;
- }
-
- .red {
- color: #E43926;
- }
-
- .tools_box span {
- margin-left: 10px;
- }
-
- .tools_box li {
- margin-right: 10px;
- }
-
- #xtable th {
- /*width: 100px;
- padding: 5px 8px 5px 10px;*/
- color: #333;
- font-weight: 700;
- text-align: right;
- background: #f9f9f9;
- border-right: 1px dotted #cccccc;
- border-top: 1px dotted #cccccc;
- border-left: 1px dotted #cccccc;
- width: 100px;
- }
- #xtable td {
- padding: 6px 0 5px 10px;
- text-align: left;
- color: #717171;
- line-height: 200%;
- border-right: 1px dotted #cccccc;
- border-top: 1px dotted #cccccc;
- border-left: 1px dotted #cccccc;
- }
- .Num_input {
- width: 50px;
- padding: 5px;
- border-color: #CCCCCC;
- }
- .clearfix:after {
- content: "";
- display: block;
- clear: both;
- }
- #Submit {
- padding: 0 10px;
- height: 28px;
- line-height: 28px;
- color: #3D80B3;
- font-weight: bold;
- border: 1px solid #AED0EA;
- }
-
- .outline {
- border: 1px solid #21b9bb !important;
- }
-
- .whjh {
- position: absolute;
- top: 43px;
- z-index: 600;
- }
- .fixed-table-pagination {
- background: #F9F9F9;
- }
- #table1 thead {
- background: #f9f9f9;
- }
- #tbodys tr {
- background: #f9f9f9;
- }
- .hidens{
- display: none;
- }
- </style>
- </head>
- <body>
- <div class="wrapper wrapper-content animated fadeInRight">
- <!--整体table-->
- <div class="row">
- <table border="0" cellspacing="3" cellpadding="3" class="clearfix" style="width: 100%;">
- <tr>
- <!--左边-->
- <td class="col-sm-4" style="padding: 0px 2px 5px 2px; float: left; ">
- <!--头部-->
- <div class="tools_box">
- <div>
- <span class="color">外呼分配</span>
- </div>
- </div>
- <div>
- <!--小table-->
- <table id="xtable" border="0" cellspacing="" cellpadding="" style="width: 100%;">
- <tr>
- <th>当前分配:</th>
- <td>
- <input type="text" class="Num_input" /> 条
- </td>
- </tr>
- <tr style="height: 200px;">
- <th>分配坐席:</th>
- <td style="padding: 0;">
- <!--table2-->
- <div style="width: 100%;">
- <table id="good" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="state" data-checkbox="true"></th>
- <th data-field="whjh" data-align="center">用户工号</th>
- <th data-field="Num" data-align="center">用户名称</th>
- <th data-field="Name" data-align="center">未执行任务</th>
- </tr>
- </thead>
- <tbody id="tbody">
- </tbody>
- </table>
- </div>
- </td>
- </tr>
- <tr style="height: 200px;">
- <th>分配策略:</th>
- <td>
- <div>
- <input type="radio" />
- <label for="">按数量平均分配</label>
- <input type="text" class="Num_input" />条
- </div>
- <div style="padding-left: 20px; color: blue; width: 100%; border-bottom: 1px dotted #cccccc;">
- (为选择的坐席分配录入数量的任务)
- </div>
- <div>
- <input type="radio" />
- <label for="">按数量平均分配</label>
- <input type="text" class="Num_input" />条
- </div>
- <div style="padding-left: 20px; color: blue; width: 100%; border-bottom: 1px dotted #cccccc;">
- (为选择的坐席分配录入数量的任务)
- </div>
- <div>
- <input type="radio" />
- <label for="">按数量平均分配</label>
- <input type="text" class="Num_input" />条
- </div>
- <div style="padding-left: 20px; color: blue; width: 100%; border-bottom: 1px dotted #cccccc;">
- (为选择的坐席分配录入数量的任务)
- </div>
- </td>
- </tr>
- <tr style="border-bottom: 1px dotted #cccccc">
- <td>
- </td>
- <td>
- <input type="button" name="" id="Submit" value="执行分配" />
- </td>
- </tr>
- </table>
- </div>
- </td>
- <!--右边-->
- <td class="col-sm-8" style="float: left;width=60%;">
- <div class="tools_box">
- <div>
- <span>外呼号码</span>
- </div>
- </div>
- <div class="tools_box" style="position: relative;">
- <ul class="clearfix">
- <li>外呼计划:<input class="photo x-color" type="text" id="Call" /></li>
- <li>条件:<input class="photo x-color key" type="text" id="KeyWords" /></li>
- <li>
- <a class="sc_btn btn-info" id="sc_btn">搜索</a>
- </li>
- </ul>
- <div style="width: 30%;padding: 10px;left: -12px;" class="whjh hidens">
- <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="Plan" data-align="center">计划名称</th>
- <th data-field="Number" data-align="center">号码数量</th>
- </tr>
- </thead>
- <tbody id="tbodys">
- </tbody>
- </table>
- </div>
- </div>
- <div style="width: 100%;overflow:hidden;">
- <table id="goods" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <th data-field="state" data-checkbox="true"></th>
- <th data-sortable="true" data-field="whjh" data-align="center">外呼计划</th>
- <th data-sortable="true" data-field="Num" data-align="center">号码</th>
- <th data-sortable="true" data-field="Name" data-align="center">名称</th>
- <th data-sortable="true" data-field="Dtime" data-align="center">导入时间</th>
- <th data-sortable="true" data-field="Zx" data-align="center">坐席分配</th>
- <th data-sortable="true" data-field="Dstates" data-align="center">呼叫状态</th>
- <th data-sortable="true" data-field="Jstaes" data-align="center">接通状态</th>
- </tr>
- </thead>
- <tbody id="tbody">
- </tbody>
- </table>
- </div>
- </td>
- </tr>
- </table>
- </div>
- </div>
- <script>
- var arr2 = [{
- "Plan": "张三外呼",
- "Number": "0",
- },
- {
- "Plan": "满意度调差",
- "Number": "51561",
- },
- {
- "Plan": "张三外呼",
- "Number": "0",
- }
- ];
- var arr1 = [{
- 'whjh': '201603月产品调查',
- 'Num': ' 13800000882',
- 'Name': '信息1',
- 'Dtime': '2016-06-16 08:53:04',
- 'Zx': '系统管理',
- 'Dstates': '系统管理',
- 'Jstaes': '未呼叫',
- 'Jstaes': '未接通',
- },
- {
- 'whjh': '201603月产品调查',
- 'Num': ' 13800000882',
- 'Name': '信息1',
- 'Dtime': '2016-06-16 08:53:04',
- 'Zx': '系统管理',
- 'Dstates': '系统管理',
- 'Jstaes': '未呼叫',
- 'Jstaes': '未接通',
- },
- {
- 'whjh': '201603月产品调查',
- 'Num': ' 13800000882',
- 'Name': '信息1',
- 'Dtime': '2016-06-16 08:53:04',
- 'Zx': '系统管理',
- 'Dstates': '系统管理',
- 'Jstaes': '未呼叫',
- 'Jstaes': '未接通',
- },
- {
- 'whjh': '201603月产品调查',
- 'Num': ' 13800000882',
- 'Name': '信息1',
- 'Dtime': '2016-06-16 08:53:04',
- 'Zx': '系统管理',
- 'Dstates': '系统管理',
- 'Jstaes': '未呼叫',
- 'Jstaes': '未接通',
- },
- {
- 'whjh': '201603月产品调查',
- 'Num': ' 13800000882',
- 'Name': '信息1',
- 'Dtime': '2016-06-16 08:53:04',
- 'Zx': '系统管理',
- 'Dstates': '系统管理',
- 'Jstaes': '未呼叫',
- 'Jstaes': '未接通',
- },
- {
- 'whjh': '201603月产品调查',
- 'Num': ' 13800000882',
- 'Name': '信息1',
- 'Dtime': '2016-06-16 08:53:04',
- 'Zx': '系统管理',
- 'Dstates': '系统管理',
- 'Jstaes': '未呼叫',
- 'Jstaes': '未接通',
- }
- ]
- var arr = [{
- 'whjh': '8000',
- 'Num': ' 系统管理',
- 'Name': '14',
- },
- {
- 'whjh': '8000',
- 'Num': ' 系统管理',
- 'Name': '14',
- },
- {
- 'whjh': '8000',
- 'Num': ' 系统管理',
- 'Name': '14',
- }
- ]
- var $tableLeft1 = $('#goods');
- $tableLeft1.bootstrapTable({
- data: arr1, //请求后台的URL(*)
- method: 'get',
- pagination: true,
- pageNumber: 1, //初始化加载第一页,默认第一页
- pageSize: 5, //每页的记录行数(*)
- pageList: [5, 25, 50, 100], //可供选择的每页的行数(*)
- clickToSelect: true,
- striped: true
- });
- var $tableLeft = $('#good');
- $tableLeft.bootstrapTable({
- data: arr, //请求后台的URL(*)
- method: 'get',
- pagination: true,
- pageNumber: 1, //初始化加载第一页,默认第一页
- pageSize: 5, //每页的记录行数(*)
- pageList: [5, 25, 50, 100], //可供选择的每页的行数(*)
- clickToSelect: true,
- striped: true
- });
- var $tableLeft2 = $('#table1');
- $tableLeft2.bootstrapTable({
- data: arr2, //请求后台的URL(*)
- method: 'get',
- pagination: true,
- pageNumber: 1, //初始化加载第一页,默认第一页
- pageSize: 5, //每页的记录行数(*)
- pageList: [5, 25, 50, 100], //可供选择的每页的行数(*)
- clickToSelect: true,
- striped: true
- });
- $("#Call").focus(function() {
- $(this).addClass("outline");
- $(".whjh").removeClass("hidens");
- })
- $("#Call").blur(function() {
- $(this).removeClass("outline");
- $(".whjh").addClass("hidens");
- })
- $("input").focus(function() {
- $(this).addClass("outline");
- });
- $("input").blur(function() {
- $(this).removeClass("outline");
- })
-
- </script>
- </body>
- </html>
|