| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <script src="../Script/Common/huayi.load.js"></script>
- <script src="../Script/Common/huayi.config.js"></script>
- <link rel="stylesheet" href="./../js/layui/css/layui.css" />
- <link rel="stylesheet" href="./../css/init.css" />
- <title>话务数据分析</title>
- </head>
- <style>
- .hut-top {
- background: #f3f3f4;
- /*height: 60px;*/
- padding: 10px 20px;
- }
-
- .hut-tcon {
- float: right;
- }
-
- .dhLeft a {
- color: #999;
- }
- .layui-table td, .layui-table th{
- text-align: center!important;
- }
- .layui-table th{
- background: #1ab494;
- color: #fff;
- }
- .charts,#callIn_count{
- width: 100%;
- }
- .time_title{
- text-align: right;
- font-size: 15px;
- line-height: 24px;
- font-family: "Helvetica Neue", Helvetica, "PingFang SC", 微软雅黑, Tahoma, Arial, sans-serif;
- color: #333;
- margin-top: 15px;
- padding-right: 25px;
- }
- </style>
- <body class="gray-bg" style="background: #fefefe;">
- <div class="wrapper wrapper-content animated fadeInRight">
- <div class="hu-total">
- <div class="daoHang clearfix">
- <div class="dhLeft">
- <sapn><i class="syIcon"></i>位置:
- <a id="ReIndex" href="javaScript:;">首页</a>>
- <a href="javaScript:;">话务管理</a>>
- <a href="" class="nowPosition">话务数据分析</a>
- </sapn>
- </div>
- <div class="dhRight">
- <a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
- </div>
- </div>
- <div class="hut-top clearfix">
- <div class="topCon">
- <div class="form-inline th-bar clearfix">
- <div class="time-box form-group">
- <i class="tub fa fa-calendar"></i>
- <input class="form-control" type="text" id="chooseTime" placeholder="请选择日期">
- </div>
- <div class="form-group tool_bars pull-right">
- <button class="btns sear">搜索</button>
- </div>
- </div>
- </div>
- </div>
- <div style="width: 100%;padding: 10px;">
- <table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
- <thead>
- <tr>
- <!--<th data-field="state" data-checkbox="true" data-align="center"></th>-->
- <th data-field="日期" data-align="center">日期</th>
- <th data-field="呼入接听次数" data-align="center" >呼入接听次数</th>
- <th data-field="坐席未接听次数" data-align="center">坐席未接听次数</th>
- <th data-field="骚扰挂断次数" data-align="center">骚扰挂断次数</th>
- <th data-field="黑名单挂断次数" data-align="center">黑名单挂断次数</th>
- <th data-field="自助服务次数" data-align="center" >自助服务次数</th>
- <th data-field="呼出次数" data-align="center">呼出次数</th>
- <th data-field="呼出接通次数" data-align="center" >呼出接通次数</th>
- <!--<th data-align="center" data-formatter="del">操作</th>-->
- </tr>
- </thead>
- </table>
- <!--<p style="margin-top: 20px;"><button class="btns allDel">批量删除</button></p>-->
- </div>
- </div>
- </div>
- <script src="./../js/layui/layui.js"></script>
- <script>
- $(function(){
- /*日期选择*/
- layui.use('laydate', function() {
- var laydate = layui.laydate;
- //日期
- laydate.render({
- elem: '#chooseTime',
- range: '~',
- theme: '#1ab394',
- });
- });
- initTable();
- //搜索事件
- $('.sear').click(function(){
- initTable();
- });
- function initTable() {
- $.ajax({
- type:"get",
- url:huayi.config.callcenter_url+"DeptAssessment/GetDeptAssessment",
- async:true,
- dataType:'json',
- data:{
- stime:$('#chooseTime').val() && $('#chooseTime').val().split(' ~ ')[0],
- endtime:$('#chooseTime').val() && $('#chooseTime').val().split(' ~ ')[1],
- token: $.cookie("token")
- },
- success:function(data){
- $('#table1').bootstrapTable('load',data.data);
- }
- });
- $('#table1').bootstrapTable('destroy').bootstrapTable({striped: true});
- }
-
-
- })
- </script>
- </body>
- </html>
|