瀏覽代碼

质检评分

zhaomin 3 年之前
父節點
當前提交
a1336d2ef5
共有 2 個文件被更改,包括 59 次插入106 次删除
  1. 22 104
      CallCenterWeb.UI/Quality/zjpf.html
  2. 37 2
      CallCenterWeb.UI/taskManagement/taskReportForm.html

+ 22 - 104
CallCenterWeb.UI/Quality/zjpf.html

@@ -47,15 +47,23 @@
47 47
 							<li>坐席:
48 48
 								<select name="" id="Select" class="x-color select">
49 49
 									<option value="">全部</option>
50
-
51 50
 								</select>
52 51
 							</li>
53 52
 							<li>电话号码:<input class="photo x-color" type="text" /></li>
54
-							<li>
55
-								<a class="sc_btn  Ss Block">搜索</a>
53
+							
54
+							<li>呼叫方向:
55
+								<select name="" id="calltype" class="x-color select"  style="width:80px; !important">
56
+									<option value="">全部</option>
57
+									<option value="0">呼入</option>
58
+									<option value="1">呼出</option>
59
+								</select>
60
+							</li>
61
+							<li>时间
62
+								<i class="tub fa fa-calendar"></i>
63
+								<input type="text" id="s_time" class="photo laydate-icon" placeholder="请选择调查时间" style="width:212px; !important"/>
56 64
 							</li>
57 65
 							<li>
58
-								<a class="sc_btn  Gj Block">高级搜索</a>
66
+								<a class="sc_btn  Ss Block">搜索</a>
59 67
 							</li>
60 68
 						</ul>
61 69
 					</div>
@@ -85,70 +93,6 @@
85 93
 		</div>
86 94
 		<!--高级搜索/-->
87 95
 		<div class="t-shade">
88
-			<div class=" shade_k gjss">
89
-				<div class="shade_title">
90
-					<span>高级搜索<srong class="cknum"></srong></span>
91
-					<span class="setwin"><a>x</a></span>
92
-				</div>
93
-				<div class="shade_content" style="height: 340px;">
94
-					<div class="dhxx sa_title">
95
-						<span class="size-14">搜索信息</span>
96
-					</div>
97
-					<div class="dgxx_table size-13">
98
-						<table class="_table1 table table-bordered  table-hover " border="0" cellspacing="0" cellpadding="0" style="width: 100%;">
99
-							<tr>
100
-								<th>电话号码:
101
-									<td>
102
-										<div class="inpBox">
103
-											<input type="text" class="inps " id="phone" />
104
-										</div>
105
-									</td>
106
-								</th>
107
-								<th>坐席:
108
-									<td>
109
-										<div class="inpBox">
110
-											<select name="" id="usercode" class="select"></select>
111
-										</div>
112
-									</td>
113
-								</th>
114
-							</tr>
115
-							<tr>
116
-								<th>呼叫方向:
117
-									<td>
118
-										<div class="inpBox">
119
-											<select name="" id="calltype" class="select">
120
-												<option value="">全部</option>
121
-												<option value="0">呼入</option>
122
-												<option value="1">呼出</option>
123
-											</select>
124
-										</div>
125
-									</td>
126
-								</th>
127
-								<th>开始时间:
128
-									<td>
129
-										<div class="inpBox">
130
-											<input type="text" class="inps " onfocus="WdatePicker({lang:'zh-cn'})" id="starttime" />
131
-										</div>
132
-									</td>
133
-								</th>
134
-							</tr>
135
-							<tr>
136
-
137
-								<th>结束时间:
138
-									<td>
139
-										<div class="inpBox">
140
-											<input type="text" class="inps " onfocus="WdatePicker({lang:'zh-cn'})" id="endtime" />
141
-										</div>
142
-									</td>
143
-								</th>
144
-							</tr>
145
-						</table>
146
-					</div>
147
-					<div class="clearfix wh_btn">
148
-						<input type="button" value="搜索" class=" sc_btn  Seach" />
149
-					</div>
150
-				</div>
151
-			</div>
152 96
 			<!--详情列表-->
153 97
 			<div class=" shade_k xqlb">
154 98
 				<div class="shade_title">
@@ -219,6 +163,7 @@
219 163
 				<input type="hidden" class="pdDx" />
220 164
 			</div>
221 165
 		</div>
166
+		<script src="../js/laydate/laydate.js"></script>
222 167
 		<script>
223 168
 			var num;
224 169
 			var Count=0;
@@ -230,7 +175,12 @@
230 175
 			var zjID;
231 176
 			var seatlist = []; //坐席列表
232 177
 			$(function() {
233
-				
178
+				laydate.render({
179
+					elem: '#s_time',
180
+					range: '~',
181
+					theme: '#1ab394',
182
+					calendar: true,
183
+				});
234 184
 				Finishs();
235 185
 				//获取坐席
236 186
 						$.getJSON(huayi.config.callcenter_url + "UserAccount/GetSeatList", { token: $.cookie("token") }, function (result) {
@@ -240,44 +190,12 @@
240 190
 							bindseat($("#usercode"));
241 191
 		              }
242 192
 		          });
243
-//				//获取坐席
244
-//				$.getJSON("//117.158.196.116:8878/UserAccount/GetSeatList", {
245
-//					token: $.cookie("token")
246
-//				}, function(result) {
247
-//					if(result.state.toLowerCase() == "success") {
248
-//						seatlist = result.data;
249
-//						bindseat($("#Select"));
250
-//						bindseat($("#usercode"));
251
-//					}
252
-//				});
253
-				//高级搜索s
254
-				$(".Gj").click(function() {
255
-					$(".t-shade").addClass("cx");
256
-					$(".gjss").addClass("cx");
257
-					$(".xqlb").removeClass("cx");
258
-
259
-				});
260 193
 				//关闭弹框
261 194
 				$(".setwin").click(function() {
262 195
 					$(".t-shade").removeClass("cx");
263 196
 					$("#tfoot").html('');
264 197
 					$("#tbody").html('');
265 198
 				});
266
-				//搜索 验证
267
-				$(".Seach").click(function() {
268
-					Phone = $('#phone').val().trim();
269
-					Usercode = $('#usercode').val();
270
-					Calltype = $('#calltype').val();
271
-					Starttime = $('#starttime').val();
272
-					Endtime = $('#endtime').val();
273
-					Finishs(Phone, Usercode, Calltype, Starttime, Endtime);
274
-					$('#phone').val('');
275
-					$('#usercode').val('');
276
-					$('#calltype').val('');
277
-					$('#starttime').val('');
278
-					$('#endtime').val('');
279
-					$(".t-shade ").removeClass("cx");
280
-				});
281 199
 			});
282 200
 			/*获取选中行对象*/
283 201
 			$('#goods').on("click-row.bs.table", function(e, row, ele) {
@@ -479,9 +397,9 @@
479 397
 							pagesize: params.pageSize,
480 398
 							phone: Phone,
481 399
 							usercode: Usercode,
482
-							calltype: Calltype,
483
-							starttime: Starttime,
484
-							endtime: Endtime,
400
+							calltype: $('#calltype').val(),
401
+							starttime: $('#s_time').val() && $('#s_time').val().split(' ~ ')[0],
402
+							endtime: $('#s_time').val() && $('#s_time').val().split(' ~ ')[1],
485 403
 							token:$.cookie("token")
486 404
 						};
487 405
 						return param;

+ 37 - 2
CallCenterWeb.UI/taskManagement/taskReportForm.html

@@ -1,4 +1,4 @@
1
-<!DOCTYPE html>
1
+<!DOCTYPE html>
2 2
 <html>
3 3
 
4 4
 	<head>
@@ -140,6 +140,7 @@
140 140
 					<thead>
141 141
 						<tr>
142 142
 							<th data-field="" data-formatter="setCode" data-align="center">编号</th>
143
+							<th data-field="FilePath" data-formatter="setVice" data-align="center">录音</th>
143 144
 							<th data-field="salesOffice" data-align="center">营业部</th>
144 145
 							<th data-field="phone" data-align="center">电话</th>
145 146
 							<th data-field="orderNature" data-align="center">用户分类</th>
@@ -151,12 +152,25 @@
151 152
 							<th data-field="result3" data-formatter="setNull" data-align="center">结果3</th>
152 153
 							<th data-field="connect" data-align="center">是否接通</th>
153 154
 							<th data-field="calltime" data-align="center">呼叫时间</th>
154
-                                                        <th data-field="totalTime" data-align="center">通话时长</th>
155
+              <th data-field="totalTime" data-align="center">通话时长</th>
155 156
 						</tr>
156 157
 					</thead>
157 158
 				</table>
158 159
 			</div>
159 160
 		</div>
161
+		<!--下载框-->
162
+		<div class="t-shade">
163
+			<div class="shade_k">
164
+				<div class="shade_title">
165
+					<span>录音播放与下载<srong class="cknum"></srong></span>
166
+					<span class="setwin"><a>x</a></span>
167
+				</div>
168
+				<div class="shade_content">
169
+					<div class="Ly_box audiojs "></div>
170
+					<div class="boxCon LY_box"></div>
171
+				</div>
172
+			</div>
173
+		</div>
160 174
 		<script src="../js/laydate/laydate.js"></script>
161 175
 		<script src="../js/bootstrap-select/js/bootstrap-select.js"></script>
162 176
 		<script src="../js/bootstrap-select/js/i18n/defaults-zh_CN.js"></script>
@@ -249,6 +263,27 @@
249 263
 				var page = table.bootstrapTable("getPageCode");
250 264
 				return index + 1;
251 265
 			}
266
+			//音频
267
+			function setVice(val, row) {
268
+				if(val) {
269
+					return '<div class="imgs">' +
270
+						'<img src="../img/vice.png" alt="" onclick= ck(this,"' + row.CallId + '") item="' + val + '" />' +
271
+						'</div>';
272
+				} else {
273
+					return '-';
274
+				}
275
+			}
276
+			function ck(val, callId) {
277
+				var path = $(val).attr("item");
278
+				$(".t-shade").addClass("cx");
279
+				$(".Ly_box").empty();
280
+				$(".LY_box").empty();
281
+				$('<audio  style="width:100%;"class=" " type="audio/v3" src="' + path + '" loop="loop" controls="controls"></audio>').appendTo(".Ly_box");
282
+			}
283
+			$(".setwin").click(function() {
284
+				$(".t-shade").removeClass("cx");
285
+				$('audio')[0].pause();
286
+			});
252 287
 			function dcexcels(obj) {
253 288
 				console.log(pageSize, pageNumber)
254 289
 //				debugger