Selaa lähdekoodia

隐藏录音文字下载按钮

fanlongfei 7 vuotta sitten
vanhempi
commit
3da78d0c80
1 muutettua tiedostoa jossa 64 lisäystä ja 62 poistoa
  1. 64 62
      CallCenterWeb.UI/TelCall/CallRecord.html

+ 64 - 62
CallCenterWeb.UI/TelCall/CallRecord.html

@@ -13,7 +13,7 @@
13 13
 		<script src="../My97DatePicker/WdatePicker.js"></script>
14 14
 		<script src="../js/select2/js/select2.min.js"></script>
15 15
 		<!-- <script src="../css/laydate/laydate.js"></script>-->
16
-		 <script src="../js/laydate/laydate.js"></script>
16
+		<script src="../js/laydate/laydate.js"></script>
17 17
 		<style>
18 18
 			body {
19 19
 				font-family: "微软雅黑";
@@ -61,7 +61,6 @@
61 61
 			
62 62
 			.photo {
63 63
 				background-color: #FFF;
64
-				
65 64
 				border: 1px solid #e5e6e7;
66 65
 				border-radius: 1px;
67 66
 				color: inherit;
@@ -166,6 +165,7 @@
166 165
 			.seach-box ul {
167 166
 				padding-left: 0;
168 167
 			}
168
+			
169 169
 			.seach-box {
170 170
 				width: 100%;
171 171
 				margin-bottom: 10px;
@@ -176,24 +176,26 @@
176 176
 				text-align: right;
177 177
 			}
178 178
 			
179
-.LY:hover{
180
-	color: #fff;
181
-	
182
-}
183
-.LY:active{
184
-	color: #fff!important;
185
-}
186
-.laydate-icon{
187
-	font-size: 14px;
188
-}
189
-#ss_kssj{
190
-	    background-color: #FFF;
191
-    background-image: none;
192
-    border: 1px solid #e5e6e7;
193
-    border-radius: 1px;
194
-    color: inherit;
195
-    padding: 6px 12px;
196
-}
179
+			.LY:hover {
180
+				color: #fff;
181
+			}
182
+			
183
+			.LY:active {
184
+				color: #fff!important;
185
+			}
186
+			
187
+			.laydate-icon {
188
+				font-size: 14px;
189
+			}
190
+			
191
+			#ss_kssj {
192
+				background-color: #FFF;
193
+				background-image: none;
194
+				border: 1px solid #e5e6e7;
195
+				border-radius: 1px;
196
+				color: inherit;
197
+				padding: 6px 12px;
198
+			}
197 199
 		</style>
198 200
 	</head>
199 201
 
@@ -215,8 +217,8 @@
215 217
 						<ul>
216 218
 							<li>
217 219
 								<label for="">开始时间:</label>
218
-								<input type="text" id="ss_kssj" class=" laydate-icon" placeholder="请选择时间"/>
219
-								
220
+								<input type="text" id="ss_kssj" class=" laydate-icon" placeholder="请选择时间" />
221
+
220 222
 							</li>
221 223
 							<li>
222 224
 								<label for="">呼叫状态:</label>
@@ -253,12 +255,12 @@
253 255
 									<option value="">全部</option>
254 256
 								</select>
255 257
 							</li>
256
-							
258
+
257 259
 						</ul>
258
-								<div class="clearfix btn_boxs " style="float: right;">
259
-									<a class="sc_btn Ss Block fl">搜索</a>
260
-									<a class="sc_btn export Block" style="display: inline-box;display: -webkit-inline-box;">导出</a>
261
-								</div>
260
+						<div class="clearfix btn_boxs " style="float: right;">
261
+							<a class="sc_btn Ss Block fl">搜索</a>
262
+							<a class="sc_btn export Block" style="display: inline-box;display: -webkit-inline-box;">导出</a>
263
+						</div>
262 264
 					</div>
263 265
 
264 266
 				</div>
@@ -298,9 +300,9 @@
298 300
 				<div class="shade_content">
299 301
 					<div class="Ly_box audiojs">
300 302
 					</div>
301
-                   <div class="boxCon LY_box">
302
-                  
303
-                   </div>
303
+					<div class="boxCon LY_box">
304
+
305
+					</div>
304 306
 				</div>
305 307
 			</div>
306 308
 		</div>
@@ -309,27 +311,27 @@
309 311
 			var seatlist = [];
310 312
 			var RoleId;
311 313
 			$(document).ready(function() {
312
-//				laydate.skin('molv');
313
-//              //留言时间
314
-//              laydate({
315
-//                  elem: '#ss_kssj',
316
-//                  event: 'focus',
317
-//                  festival: true, //显示节日
318
-//
319
-//              });
320
-//              //处理时间
321
-//              laydate({
322
-//                  elem: '#ss_jssj',
323
-//                  festival: true, //显示节日
324
-//                  event: 'focus'
325
-//              });
326
-                laydate.render({
327
-										elem: '#ss_kssj',
328
-										range: '~',
329
-				//							type: 'datetime',
330
-										//max : 31,
331
-//										min: 0,
332
-										theme: '#00a1cb',
314
+				//				laydate.skin('molv');
315
+				//              //留言时间
316
+				//              laydate({
317
+				//                  elem: '#ss_kssj',
318
+				//                  event: 'focus',
319
+				//                  festival: true, //显示节日
320
+				//
321
+				//              });
322
+				//              //处理时间
323
+				//              laydate({
324
+				//                  elem: '#ss_jssj',
325
+				//                  festival: true, //显示节日
326
+				//                  event: 'focus'
327
+				//              });
328
+				laydate.render({
329
+					elem: '#ss_kssj',
330
+					range: '~',
331
+					//							type: 'datetime',
332
+					//max : 31,
333
+					//										min: 0,
334
+					theme: '#00a1cb',
333 335
 				});
334 336
 				$.getJSON(huayi.config.callcenter_url + 'UserAccount/GetNowUser', {
335 337
 					"token": $.cookie("token")
@@ -500,9 +502,9 @@
500 502
 				var path = $(val).attr("item");
501 503
 				$(".t-shade").addClass("cx");
502 504
 				$(".Ly_box").empty();
503
-								$(".LY_box").empty();
505
+				$(".LY_box").empty();
504 506
 				$('<audio  style="width:100%;"class=" " src="' + path + '" loop="loop" controls="controls"></audio>').appendTo(".Ly_box");
505
-				$('<a href="'+ path +'" class="sc_btn LY "download="'+ path +'">下载录音</a>').appendTo(".LY_box");
507
+				//$('<a href="' + path + '" class="sc_btn LY "download="' + path + '">下载录音</a>').appendTo(".LY_box");//20180511 by fanlongfei 隐藏文字下载按钮
506 508
 			}
507 509
 			//导出
508 510
 			$('.export').click(function() {
@@ -511,14 +513,14 @@
511 513
 
512 514
 			function dcexcel(obj) {
513 515
 				var a = $("#bumen").val();
514
-				var b= $('#ss_kssj').val() && $('#ss_kssj').val().split('~')[1];
516
+				var b = $('#ss_kssj').val() && $('#ss_kssj').val().split('~')[1];
515 517
 				if(a) {
516 518
 
517 519
 				} else if(b) {
518
-					
519
-				}else{
520
+
521
+				} else {
520 522
 					a = '';
521
-					b='';
523
+					b = '';
522 524
 				}
523 525
 				var url = huayi.config.callcenter_url + "Callrecords/GetListExpt?token=" + $.cookie("token");
524 526
 				url += "&usercode=" + $("#seat").val() +
@@ -526,16 +528,16 @@
526 528
 					"&callstate=" + $("#ss_hjzt").val() +
527 529
 					"&calltype=" + $("#ss_hcfx").val() +
528 530
 					"&starttime=" + $("#ss_kssj").val() +
529
-					"&endtime=" + b+
531
+					"&endtime=" + b +
530 532
 					"&dept=" + a;
531 533
 				obj.href = url;
532 534
 				console.log(url);
533 535
 			}
534
-					$('#ReIndex').click(function() {
535
-					top.$("iframe:visible")[0].src = "widgets.html";
536
+			$('#ReIndex').click(function() {
537
+				top.$("iframe:visible")[0].src = "widgets.html";
536 538
 
537
-//					top.home_index();
538
-				})
539
+				//					top.home_index();
540
+			})
539 541
 		</script>
540 542
 
541 543
 	</body>