Просмотр исходного кода

修改 话机和坐席状态 灯的bug;

fanlongfei лет назад: 7
Родитель
Сommit
3af49ba66a

+ 11 - 3
CallCenterWeb.UI/js/main.js

@@ -263,11 +263,14 @@ function LineStateAgentBack(data) {
263 263
 	//0分机不可用,1空闲,2摘机等待拨号,3正在拨号,4呼出振铃,5来电振铃,6通话中,7播放忙音中,8移除IP分机,9通话保持中
264 264
 	if(data.State == '0') {
265 265
 		$(".hwzt").text('分机不可用'); //左下角状态显示
266
-		$(".fwzt").removeClass("br").removeClass("bl");
266
+		//$(".fwzt").removeClass("br").removeClass("bl");
267
+		$(".fwzt").removeClass("bl").addClass("br");//20180509 by fanlongfei 增加话机状态灯
268
+		$(".zxzt").removeClass("bl").addClass("br");//20180509 by fanlongfei 增加坐席状态灯
267 269
 	}
268 270
 	if(data.State == '1') {
269 271
 		$(".hwzt").text('空闲'); //左下角状态显示
270 272
 		$(".fwzt").removeClass("br").addClass("bl");
273
+		$(".zxzt").removeClass("br").addClass("bl");//20180509 by fanlongfei 增加坐席状态灯
271 274
 		clearInterval(timer);
272 275
 	if (obj.attr("data-id") == './callScreen/callScreen.html?tel=' + hidTel + '&CallID=' + hidCallID + '') {
273 276
 	        window.frames[obj.attr("name")].clearInter();
@@ -303,7 +306,9 @@ function LineStateAgentBack(data) {
303 306
 	}
304 307
 	if(data.State == '5') {
305 308
 		$(".hwzt").text('来电振铃'); //左下角状态显示
306
-		$(".fwzt").removeClass("bl").addClass("br");
309
+		//$(".fwzt").removeClass("bl").addClass("br");
310
+		$(".fwzt").removeClass("br").addClass("bl");//20180509 by fanlongfei 增加话机状态灯
311
+		$(".zxzt").removeClass("bl").addClass("br");//20180509 by fanlongfei 增加坐席状态灯
307 312
 		if (hidTel && hidCallID) {
308 313
             $.post(huayi.config.callcenter_url + 'CallInScreen/UpdateZL', {
309 314
                 callid: hidCallID,
@@ -318,6 +323,7 @@ function LineStateAgentBack(data) {
318 323
 		
319 324
 		$(".hwzt").text('通话中'); //左下角状态显示
320 325
 		$(".fwzt").removeClass("bl").addClass("br");
326
+		$(".zxzt").removeClass("bl").addClass("br");//20180509 by fanlongfei 增加坐席状态灯
321 327
 		if(hidTel && hidCallID) {
322 328
 			$.post(huayi.config.callcenter_url + 'CallInScreen/UpdateZJ', {
323 329
 				callid: hidCallID,
@@ -389,10 +395,12 @@ function SayBusyBack() {
389 395
 	$(".SayBusy").removeClass("active");
390 396
 	$(".SayFree").addClass("active");
391 397
 }
392
-//置闲
398
+//坐席班长置闲
393 399
 function SayFreeBack() {
394 400
 	$(".SayBusy").addClass("active");
395 401
 	$(".SayFree").removeClass("active");
402
+	$(".zxzt").removeClass("br").addClass("bl"); // 2018/05/09 by fanlongfei 增加坐席状态指示
403
+	$(".hwzt").text('空闲');// 2018/05/09 by fanlongfei 增加坐席状态指示
396 404
 }
397 405
 //多方通话
398 406
 function MeetingBack() {

+ 242 - 0
CallCenterWeb.UI/复制 ShuJuDuiBi.html

@@ -0,0 +1,242 @@
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
+		<title>呼叫数据对比</title>
10
+		<!--[if lt IE 9]>
11
+	    	<meta http-equiv="refresh" content="0;ie.html" />
12
+	    <![endif]-->
13
+		<link rel="stylesheet" href="./css/init.css" />
14
+		<style type="text/css">
15
+			.shuju-top {
16
+				font-size: 12px;
17
+			}
18
+			
19
+			.shuju-top {
20
+				background: #f3f3f4;
21
+				height: 60px;
22
+				padding: 10px 20px;
23
+			}
24
+			
25
+			.shuju-top .topCon select {
26
+				padding: 2px;
27
+				height: 28px;
28
+				border: 1px solid #ebebeb;
29
+				color: #1ab394;
30
+				outline: none;
31
+				vertical-align: middle;
32
+			}
33
+			
34
+			.topCon {
35
+				float: right;
36
+				margin-right: 20px;
37
+			}
38
+			
39
+			.shuju-con {
40
+				width: 90%;
41
+				height: 600px;
42
+				margin: 20px auto;
43
+			}
44
+		</style>
45
+	</head>
46
+
47
+	<body class="gray-bg" style="background: #fefefe;">
48
+		<div class="daoHang clearfix">
49
+			<div class="dhLeft">
50
+				<sapn><i class="syIcon"></i>位置:
51
+					<a id="ReIndex" href="javaScript:;">首页</a>&gt;
52
+					<a href="javaScript:;">报表分析</a>&gt;
53
+					<a href="javaScript:;">话务运营分析</a>&gt;
54
+					<a href="" class="nowPosition">总呼数据图形分析</a>
55
+				</sapn>
56
+			</div>
57
+
58
+			<div class="dhRight">
59
+				<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
60
+			</div>
61
+		</div>
62
+		<div class="shuju-top">
63
+			<div class="topCon">
64
+				<div class="form-inline th-bar clearfix">
65
+					<div class="time-box form-group">
66
+						<i class="tub fa fa-calendar"></i>
67
+						<input class="form-control" type="text" id="chooseTime" placeholder="选择时间">
68
+					</div>
69
+					<div class="form-group tool_bars pull-right">
70
+						<button class="btns sear">搜索</button>
71
+						<a class="btns export">导出</a>
72
+					</div>
73
+				</div>
74
+			</div>
75
+		</div>
76
+		<div class="shuju-con">
77
+			<h2 style="text-align: center;font-size: 18px;">呼叫数据对比</h2>
78
+			<div id="hjCompaer" style="height: 100%;width: 100%;"></div>
79
+		</div>
80
+		<script src="./js/laydate/laydate.js"></script>
81
+		<script src="./js/echarts.common.min.js"></script>
82
+		<script>
83
+			var token = $.cookie("token");
84
+			var hjCompaer;
85
+			$(document).ready(function() {
86
+
87
+				laydate.render({
88
+					elem: '#chooseTime',
89
+					format: 'yyyy',
90
+					range: "~",
91
+					type: 'year',
92
+					theme: '#00a1cb',
93
+				});
94
+
95
+				hjCompaer = echarts.init(document.getElementById('hjCompaer'));
96
+				hjCompaer.clear();
97
+				hjCompaer.showLoading();
98
+				option = {
99
+					tooltip: {
100
+						trigger: 'axis',
101
+					},
102
+					legend: {
103
+						data: [],
104
+						bottom: 0
105
+					},
106
+					xAxis: [{
107
+						type: 'category',
108
+						data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'],
109
+						axisPointer: {
110
+							type: ''
111
+						}
112
+					}],
113
+					yAxis: [{
114
+						type: 'value',
115
+						name: '电话数量',
116
+						nameLocation: 'end',
117
+						nameGap: 40,
118
+						axisLabel: {
119
+							formatter: '{value} '
120
+						}
121
+					}, {
122
+						type: 'value',
123
+						name: '百分比',
124
+						nameLocation: 'end',
125
+						nameGap: 35,
126
+						interval: 10,
127
+						axisLabel: {
128
+							formatter: '{value} '
129
+						}
130
+					}],
131
+					series: [{
132
+						name: '',
133
+						type: 'bar',
134
+						data: []
135
+					}, {
136
+						name: '',
137
+						type: 'bar',
138
+						data: []
139
+					}, {
140
+						name: '',
141
+						type: 'line',
142
+						data: []
143
+					}, {
144
+						name: '',
145
+						type: 'bar',
146
+						data: []
147
+					}, {
148
+						name: '',
149
+						type: 'bar',
150
+						yAxisIndex: 1,
151
+						data: []
152
+					}, {
153
+						name: '',
154
+						type: 'line',
155
+						yAxisIndex: 1,
156
+						data: []
157
+					}],
158
+					color: ['#1ab394', '#adcbfd', '#fbbe5b', '#f26ea2', '#88ebc4', '#fa957f']
159
+				};
160
+				hjCompaer.setOption(option);
161
+				
162
+				getDataLists();
163
+				
164
+				//搜索事件
165
+				$(".sear").click(function() {
166
+					if($('#chooseTime').val() == '') {
167
+						layer.confirm('请选择时间!', {
168
+							btn: ['确定']
169
+						});
170
+						return;
171
+					}
172
+					getDataLists();
173
+				});
174
+
175
+				//导出功能
176
+				$('.export').click(function() {
177
+					dcexcel(this);
178
+				})
179
+
180
+			});
181
+			//获取数据  
182
+			function getDataLists() {
183
+				$.ajax({
184
+						type: 'get',
185
+						url: huayi.config.callcenter_url + 'YearContrast/GetDataList',
186
+						dataType: 'json',
187
+						data: {
188
+							token: token,
189
+							beginyear: $('#chooseTime').val() && $('#chooseTime').val().split(' ~ ')[0],
190
+							endyear: $('#chooseTime').val() && $('#chooseTime').val().split(' ~ ')[1]
191
+						},
192
+						success: function(data) {
193
+
194
+						}
195
+					})
196
+					.then(function(data) {
197
+						hjCompaer.hideLoading();
198
+						if(data.state.toLowerCase() == "success") {
199
+							var tbodyCon = data.data;
200
+							// 填入数据
201
+							if(tbodyCon) {
202
+								hjCompaer.setOption({
203
+									legend: {
204
+										data: (function() {
205
+											var res = [];
206
+											for(var i = 0; i < tbodyCon.length; i++) {
207
+												res.push(tbodyCon[i].key);
208
+											}
209
+											return res;
210
+										})(),
211
+									},
212
+									series: (function() {
213
+										var arr = [];
214
+										for(var i = 0; i < tbodyCon.length; i++) {
215
+											var nobj = {};
216
+											nobj.name = tbodyCon[i].key;
217
+											nobj.data = tbodyCon[i].value;
218
+											arr.push(nobj);
219
+										}
220
+										return arr;
221
+									})(),
222
+								});
223
+							} else {
224
+								$('#hjCompaer').html('<p class="text-center">暂无数据</p>');
225
+							}
226
+
227
+						} else {
228
+							$('#hjCompaer').html('<p class="text-center">暂无数据</p>');
229
+						}
230
+					});
231
+
232
+			}
233
+			//导出
234
+			function dcexcel(obj) {
235
+				var url = huayi.config.callcenter_url + "YearContrast/ExptList?token=" + $.cookie("token");
236
+				url += "&beginyear=" + $('#chooseTime').val() && $('#chooseTime').val().split('~')[0] + "&endyear=" + $('#chooseTime').val() && $('#chooseTime').val().split('~')[1];
237
+				obj.href = url;
238
+			}
239
+		</script>
240
+	</body>
241
+
242
+</html>

+ 400 - 0
CallCenterWeb.UI/复制 callTime.html

@@ -0,0 +1,400 @@
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
+		<title>通话时长</title>
10
+		<!--[if lt IE 9]>
11
+    		<meta http-equiv="refresh" content="0;ie.html" />
12
+    	<![endif]-->
13
+		<link rel="stylesheet" href="./css/init.css" />
14
+		<link rel="stylesheet" href="css/Table/table1.css" />
15
+		<style>
16
+			.clearfix:after {
17
+				content: "";
18
+				display: block;
19
+				clear: both;
20
+			}
21
+			
22
+			.th-top {
23
+				background: #f3f3f4;
24
+				height: 60px;
25
+				padding: 10px 20px;
26
+			}
27
+			
28
+			.topCon {
29
+				float: right;
30
+				margin-right: 45px;
31
+			}
32
+			
33
+			.th-content h2 {
34
+				font-size: 22px;
35
+				/*margin-bottom: 20px;*/
36
+			}
37
+			
38
+			.th-content {
39
+				width: 90%;
40
+				margin: 0 auto;
41
+			}
42
+			
43
+			.th-table table thead tr td {
44
+				background: #1ab394;
45
+				color: #fff;
46
+			}
47
+			
48
+			.th-table {
49
+				display: none;
50
+			}
51
+		</style>
52
+	</head>
53
+
54
+	<body class="gray-bg" style="background: #fefefe;">
55
+		<div class="thTime">
56
+			<div class="daoHang clearfix">
57
+				<div class="dhLeft">
58
+					<sapn><i class="syIcon"></i>位置:
59
+						<a id="ReIndex" href="javaScript:;">首页</a>&gt;
60
+						<a href="javaScript:;">报表分析</a>&gt;
61
+						<a href="javaScript:;">话务运营分析</a>&gt;
62
+						<a href="" class="nowPosition">通话时长统计</a>
63
+					</sapn>
64
+				</div>
65
+				<div class="dhRight">
66
+					<a href="#" title="刷新"><i class="fa fa-refresh"></i></a>
67
+				</div>
68
+			</div>
69
+			<div class="th-top clearfix">
70
+				<div class="topCon">
71
+					<div class="form-inline th-bar clearfix">
72
+						<div class="time-box form-group">
73
+							<i class="tub fa fa-calendar"></i>
74
+							<input class="form-control" type="text" id="startTime" placeholder="起始时间" style="    width: 228px;">
75
+						</div>
76
+						<div class="form-group tool_bars pull-right">
77
+							<button class="btns sear">搜索</button>
78
+							<a class="btns export">导出</a>
79
+						</div>
80
+
81
+					</div>
82
+
83
+				</div>
84
+			</div>
85
+			<ul class="nav nav-tabs th-tab">
86
+				<li role="presentation" class="active">
87
+					<a href="javascript:;">图形</a>
88
+				</li>
89
+				<li role="presentation">
90
+					<a href="javascript:;">表格</a>
91
+				</li>
92
+			</ul>
93
+			<div class="th-content">
94
+				<div class="th-tu" style="width: 100%;">
95
+					<h2 style="text-align: center;">服务热线坐席通话时长统计</h2>
96
+					<div id="tabtu" style="width: 100%; height: 500px;"></div>
97
+				</div>
98
+				<div class="th-table">
99
+					<h2 style="text-align: center;">热线坐席通话时长统计</h2>
100
+					<table class="table table-bordered text-center table-hover thTable" style="width: 100%;">
101
+						<thead>
102
+							<tr>
103
+							</tr>
104
+						</thead>
105
+						<tbody class="tbody">
106
+
107
+						</tbody>
108
+					</table>
109
+				</div>
110
+
111
+			</div>
112
+		</div>
113
+		<script src="./js/laydate/laydate.js"></script>
114
+		<script src="./js/echarts.common.min.js"></script>
115
+		<script>
116
+			var token = $.cookie("token");
117
+			var myChartp;
118
+			$(document).ready(function() {
119
+				//日期
120
+				laydate.render({
121
+					elem: '#startTime',
122
+					range: '~',
123
+					theme: '#00a1cb',
124
+				});
125
+				//tab切换
126
+				$('.th-tab li').click(function() {
127
+					$(this).addClass('active')
128
+						.siblings().removeClass('active');
129
+
130
+					var index = $(this).index();
131
+					$('.th-content >div').eq(index).show()
132
+						.siblings().hide();
133
+				})
134
+
135
+				//搜索事件
136
+				$(".sear").click(function() {
137
+					getDataLists();
138
+				});
139
+				//导出功能
140
+				$('.export').click(function() {
141
+					dcexcel(this);
142
+				});
143
+
144
+				myChartp = echarts.init(document.getElementById('tabtu'));
145
+				myChartp.clear();
146
+				myChartp.showLoading();
147
+				var option = {
148
+					tooltip: {
149
+						trigger: 'axis',
150
+						//						axisPointer: {
151
+						//							type: 'shadow'
152
+						//						},
153
+						//						position: function(point, params, dom) {
154
+						//							var posDis = window.innerWidth - dom.offsetWidth - 200;
155
+						//							return posDis < point[0] ? [posDis + 10, '10%'] : [point[0] + 10, '10%'];
156
+						//
157
+						//						},
158
+					},
159
+					legend: {
160
+						data: [],
161
+						bottom: 40,
162
+						padding: 5,
163
+					},
164
+					grid: {
165
+						bottom: 180
166
+					},
167
+					dataZoom: [{ // 这个dataZoom组件,默认控制x轴。
168
+							type: 'slider', // 这个 dataZoom 组件是 slider 型 dataZoom 组件
169
+							xAxisIndex: 0,
170
+							start: 0, // 左边在 0% 的位置。
171
+							end: 100, // 右边在 100% 的位置。
172
+							bottom: 100,
173
+						},
174
+
175
+					],
176
+					xAxis: [{
177
+						type: 'category',
178
+						data: [],
179
+						axisPointer: {
180
+							type: ''
181
+						},
182
+						axisLabel: {
183
+							interval: 0,
184
+							rotate: 40
185
+						}
186
+					}],
187
+					yAxis: [{
188
+							type: 'value',
189
+							name: '通话次数(通)',
190
+							nameLocation: 'end',
191
+							axisLabel: {
192
+								formatter: '{value} '
193
+							}
194
+
195
+						},
196
+						{
197
+							type: 'value',
198
+							name: '通话时长(s)',
199
+							nameLocation: 'end',
200
+							axisLabel: {
201
+								formatter: '{value} '
202
+							}
203
+						}
204
+					],
205
+					series: [{
206
+							type: 'bar',
207
+							name: '呼入次数',
208
+							data: []
209
+						}, {
210
+							type: 'line',
211
+							name: '呼入时长',
212
+							yAxisIndex: 1,
213
+							data: []
214
+						},
215
+						{
216
+							type: 'bar',
217
+							name: '呼出次数',
218
+							data: []
219
+						}, {
220
+							type: 'line',
221
+							name: '呼出时长',
222
+							yAxisIndex: 1,
223
+							data: []
224
+						}, {
225
+							type: 'bar',
226
+							name: '呼出未接通次数',
227
+							data: []
228
+						}, {
229
+							type: 'line',
230
+							name: '振铃时长',
231
+							yAxisIndex: 1,
232
+							data: []
233
+						},
234
+						{
235
+							type: 'line',
236
+							name: '通话总时长',
237
+							yAxisIndex: 1,
238
+							data: []
239
+						},
240
+						{
241
+							type: 'line',
242
+							name: '平均通话时长',
243
+							yAxisIndex: 1,
244
+							data: []
245
+						}
246
+					],
247
+					color: ['#1ab394', '#fbbe5b', '#88ebc4', '#fa957f', '#cddc39', '#ff5722', '#e91e63', '#673ab7']
248
+				};
249
+				// 使用刚指定的配置项和数据显示图表。
250
+				myChartp.setOption(option);
251
+				getDataLists(); //加载数据
252
+				getColumnList(); //获取表格
253
+
254
+			});
255
+
256
+			//获取数据  
257
+			function getDataLists() {
258
+				$.ajax({
259
+						type: "get",
260
+						url: huayi.config.callcenter_url + "TalkTime/GetDataList",
261
+						async: true,
262
+						dataType: 'json',
263
+						data: {
264
+							token: token,
265
+							stime: $('#startTime').val() && $('#startTime').val().split(' ~ ')[0],
266
+							endtime: $('#startTime').val() && $('#startTime').val().split(' ~ ')[1]
267
+						},
268
+						success: function(data) {
269
+
270
+						}
271
+					})
272
+					.then(function(data) {
273
+						$('.thTable tbody').html('');
274
+						myChartp.hideLoading();
275
+						if(data.state.toLowerCase() == "success") {
276
+							var tbodyCon = data.data;
277
+							// 填入数据
278
+							if(tbodyCon) {
279
+								myChartp.setOption({
280
+									xAxis: {
281
+										data: (function() {
282
+											var res = [];
283
+											for(var i = 0; i < tbodyCon.length; i++) {
284
+												res.push(tbodyCon[i].坐席名称);
285
+											}
286
+											return res;
287
+										})(),
288
+									},
289
+									series: (function() {
290
+										var sres = [],
291
+											sres1 = [],
292
+											sres2 = [],
293
+											sres3 = [],
294
+											sres4 = [],
295
+											sres5 = [],
296
+											sres6 = [],
297
+											sres7 = [];
298
+										var sobj = [{
299
+												data: sres,
300
+											},
301
+											{
302
+												data: sres1,
303
+											},
304
+											{
305
+												data: sres2,
306
+											},
307
+											{
308
+												data: sres3,
309
+											},
310
+											{
311
+												data: sres4,
312
+											},
313
+											{
314
+												data: sres5,
315
+											},
316
+											{
317
+												data: sres6,
318
+											},
319
+											{
320
+												data: sres7,
321
+											},
322
+										];
323
+										for(var i = 0; i < tbodyCon.length; i++) {
324
+											sres.push(tbodyCon[i].呼入次数);
325
+											sres1.push(tbodyCon[i].呼入时长);
326
+											sres2.push(tbodyCon[i].呼出次数);
327
+											sres3.push(tbodyCon[i].呼出时长);
328
+											sres4.push(tbodyCon[i].呼出未接通次数);
329
+											sres5.push(tbodyCon[i].振铃时长);
330
+											sres6.push(tbodyCon[i].通话总时长);
331
+											sres7.push(tbodyCon[i].平均通话总时长);
332
+										}
333
+										return sobj;
334
+									})(),
335
+								});
336
+								//填充表格数据
337
+								for(var j = 0; j < tbodyCon.length; j++) {
338
+									$('<tr><td>' + tbodyCon[j].坐席名称 + '</td><td>' + tbodyCon[j].呼入次数 + '</td><td>' + tbodyCon[j].呼入时长 + '</td><td>' + tbodyCon[j].呼出次数 + '</td><td>' + tbodyCon[j].呼出时长 + '</td><td>' + tbodyCon[j].呼出未接通次数 + '</td><td>' + tbodyCon[j].振铃时长 + '</td><td style="color:#e73926;font-weight: bold;">' + tbodyCon[j].通话总时长 + '</td><td>' + tbodyCon[j].平均通话总时长 + '</td></tr>').appendTo('.thTable tbody');
339
+								}
340
+							} else {
341
+								$('#tabtu').html('<p class="text-center">暂无数据</p>');
342
+								$('.thTable tbody').html('<td colspan="9">没有找到您想要的记录呢!我会努力的...</td>');
343
+							}
344
+
345
+						} else {
346
+							$('#tabtu').html('<p class="text-center">暂无数据</p>');
347
+							$('.thTable tbody').html('<td colspan="9">没有找到您想要的记录呢!我会努力的...</td>');
348
+						}
349
+					});
350
+
351
+			}
352
+
353
+			//获取表头数据和图形legend
354
+			function getColumnList() {
355
+				$.ajax({
356
+						type: "get",
357
+						url: huayi.config.callcenter_url + "TalkTime/GetColumnList",
358
+						async: false,
359
+						dataType: 'json',
360
+						data: {
361
+							token: token
362
+						},
363
+						success: function(res) {
364
+
365
+						}
366
+
367
+					})
368
+
369
+					.then(function(data) {
370
+						$('.thTable thead tr').html('');
371
+						if(data.state.toLowerCase() == "success") {
372
+							var con = data.data;
373
+							if(con) {
374
+								myChartp.setOption({
375
+									legend: {
376
+										data: con,
377
+									},
378
+								});
379
+
380
+								for(var i = 0; i < con.length; i++) {
381
+									$('<td>' + con[i] + '</td>').appendTo('.thTable thead tr')
382
+								}
383
+							} else {
384
+								$('<td colspan="9">暂无表头数据</td>').appendTo('.thTable thead tr')
385
+							}
386
+						} else {
387
+							$('<td colspan="9">暂无表头数据</td>').appendTo('.thTable thead tr')
388
+						}
389
+					});
390
+			}
391
+			//导出
392
+			function dcexcel(obj) {
393
+				var url = huayi.config.callcenter_url + "TalkTime/ExptList?token=" + $.cookie("token");
394
+				url += "&stime=" + $('#startTime').val() && $('#startTime').val().split('~')[0] + "&endtime=" + $('#startTime').val() && $('#startTime').val().split('~')[1];
395
+				obj.href = url;
396
+			}
397
+		</script>
398
+	</body>
399
+
400
+</html>