Explorar el Código

增加话务量分析 通话记录 增加呼叫状态选择项

zhangshuangnan %!s(int64=7) %!d(string=hace) años
padre
commit
d412aa6ef3

+ 4 - 1
CallCenterWeb.UI/TelCall/CallRecord.html

@@ -271,7 +271,10 @@
271 271
 								<select id="ss_hjzt" class="selects callstate">
272 272
 									<option value="">全部</option>
273 273
 									<option value="0">未接通</option>
274
-									<option value="1">已接通</option>
274
+									<option value="1">骚扰挂断</option>
275
+									<option value="2">黑名单</option>
276
+									<option value="3">自助服务</option>
277
+									<option value="4">已接通</option>
275 278
 								</select>
276 279
 							</li>
277 280
 							<li>

+ 139 - 0
CallCenterWeb.UI/TelCall/TrafficCase.html

@@ -0,0 +1,139 @@
1
+<!DOCTYPE html>
2
+<html>
3
+
4
+	<head>
5
+		<meta charset="utf-8">
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/layui/css/layui.css" />
10
+		<link rel="stylesheet" href="./../css/init.css" />
11
+		<title>话务数据分析</title>
12
+	</head>
13
+	<style>
14
+		.hut-top {
15
+			background: #f3f3f4;
16
+			/*height: 60px;*/
17
+			padding: 10px 20px;
18
+		}
19
+		
20
+		.hut-tcon {
21
+			float: right;
22
+		}
23
+		
24
+		.dhLeft a {
25
+			color: #999;
26
+		}
27
+		.layui-table td, .layui-table th{
28
+			text-align: center!important;
29
+		}
30
+		 .layui-table th{
31
+		 	background: #1ab494;
32
+		 	color: #fff;
33
+		 }
34
+		 .charts,#callIn_count{
35
+		 	width: 100%;
36
+		 }
37
+		 .time_title{
38
+		 	    text-align: right;
39
+			    font-size: 15px;
40
+			    line-height: 24px;
41
+			    font-family: "Helvetica Neue", Helvetica, "PingFang SC", 微软雅黑, Tahoma, Arial, sans-serif;
42
+			    color: #333;
43
+			    margin-top: 15px;
44
+			    padding-right: 25px;
45
+		 }
46
+	</style>
47
+
48
+	<body class="gray-bg" style="background: #fefefe;">
49
+		<div class="wrapper wrapper-content animated fadeInRight">
50
+			<div class="hu-total">
51
+			<div class="daoHang clearfix">
52
+				<div class="dhLeft">
53
+					<sapn><i class="syIcon"></i>位置:
54
+						<a id="ReIndex" href="javaScript:;">首页</a>&gt;
55
+						<a href="javaScript:;">话务管理</a>&gt;
56
+						<a href="" class="nowPosition">话务数据分析</a>
57
+					</sapn>
58
+				</div>
59
+				<div class="dhRight">
60
+					<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
61
+				</div>
62
+
63
+			</div>
64
+			<div class="hut-top clearfix">
65
+				<div class="topCon">
66
+					<div class="form-inline th-bar clearfix">
67
+						<div class="time-box form-group">
68
+							<i class="tub fa fa-calendar"></i>
69
+							<input class="form-control" type="text" id="chooseTime" placeholder="请选择日期">
70
+						</div>
71
+						<div class="form-group tool_bars pull-right">
72
+							<button class="btns sear">搜索</button>
73
+						</div>
74
+					</div>
75
+				</div>
76
+			</div>
77
+			<div style="width: 100%;padding: 10px;">
78
+					<table id="table1" data-row-style="rowStyle" data-query-params="queryParams" data-pagination="true">
79
+						<thead>
80
+							<tr>
81
+								<!--<th data-field="state" data-checkbox="true" data-align="center"></th>-->
82
+								<th data-field="日期" data-align="center">日期</th>
83
+								<th data-field="呼入接听次数" data-align="center" >呼入接听次数</th>
84
+								<th data-field="坐席未接听次数" data-align="center">坐席未接听次数</th>
85
+								<th data-field="骚扰挂断次数" data-align="center">骚扰挂断次数</th>
86
+								<th data-field="黑名单挂断次数" data-align="center">黑名单挂断次数</th>
87
+								<th data-field="自助服务次数" data-align="center" >自助服务次数</th>
88
+								<th data-field="呼出次数" data-align="center">呼出次数</th>
89
+								<th data-field="呼出接通次数" data-align="center" >呼出接通次数</th>
90
+								<!--<th data-align="center" data-formatter="del">操作</th>-->
91
+							</tr>
92
+						</thead>
93
+					</table>
94
+					<!--<p style="margin-top: 20px;"><button class="btns allDel">批量删除</button></p>-->
95
+					</div>
96
+		</div>
97
+		</div>
98
+		<script src="./../js/layui/layui.js"></script>
99
+		<script>
100
+			$(function(){
101
+				/*日期选择*/
102
+				layui.use('laydate', function() {
103
+					var laydate = layui.laydate;
104
+					//日期
105
+					laydate.render({
106
+						elem: '#chooseTime',
107
+						range: '~',
108
+						theme: '#1ab394',
109
+					});
110
+				});
111
+				initTable();
112
+				//搜索事件
113
+				$('.sear').click(function(){
114
+					initTable();
115
+				});
116
+				function initTable() {
117
+				   $.ajax({
118
+		         	type:"get",
119
+		         	url:huayi.config.callcenter_url+"DeptAssessment/GetDeptAssessment",
120
+		         	async:true,
121
+		         	dataType:'json',
122
+		         	data:{
123
+		         		stime:$('#chooseTime').val() && $('#chooseTime').val().split(' ~ ')[0],
124
+						endtime:$('#chooseTime').val() && $('#chooseTime').val().split(' ~ ')[1],
125
+						token: $.cookie("token")
126
+		         	},
127
+		         	success:function(data){
128
+		         		$('#table1').bootstrapTable('load',data.data); 
129
+		         	}
130
+		         });
131
+					$('#table1').bootstrapTable('destroy').bootstrapTable({striped: true});
132
+			}
133
+				
134
+				
135
+		})
136
+		</script>
137
+	</body>
138
+
139
+</html>