zhengbingbing 6 yıl önce
ebeveyn
işleme
5909ce83b4

+ 34 - 61
WebChart/index.html

@@ -573,81 +573,54 @@
573 573
 						<div class="slideCon_bg trafficVolume clearfix">
574 574
 							<p class="slide_title slide_title5"></p>
575 575
 							<div class="orderCon_left slide_left">
576
+								<div class="keyW_t">
577
+									投诉关键字
578
+								</div>
576 579
 								<div class="tagBox">
577 580
 									<div class="tagcloud">
578
-										 <div>
579
-										 	<p class="tag_title">文献综述</p>
580
-										 	<p class="imgs">800</p>
581
-										 	<p class="ts_count">投诉量</p>
582
-										 </div>
583
-										  <div>
584
-										 	<p class="tag_title">对外投资</p>
585
-										 	<p class="imgs">800</p>
586
-										 	<p class="ts_count">投诉量</p>
587
-										 </div>
588
-										  <div>
589
-										 	<p class="tag_title">机器人</p>
590
-										 	<p class="imgs">800</p>
591
-										 	<p class="ts_count">投诉量</p>
592
-										 </div>
593
-									      <div>
594
-									      	<p class="tag_title">区块链</p>
595
-										 	<p class="imgs">800</p>
596
-										 	<p class="ts_count">投诉量</p>
597
-									      </div>
598
-									      <div>
599
-									      	<p class="tag_title">计算机科学</p>
600
-										 	<p class="imgs">800</p>
601
-										 	<p class="ts_count">投诉量</p>
602
-									      </div>
603
-									      <div>
604
-									      	<p class="tag_title">科技创新</p>
605
-										 	<p class="imgs">800</p>
606
-										 	<p class="ts_count">投诉量</p>
607
-									      </div>
608
-									      <div>
609
-									      	<p class="tag_title">自动驾驶</p>
610
-										 	<p class="imgs">800</p>
611
-										 	<p class="ts_count">投诉量</p>
612
-									      </div>
613
-									      <div>
614
-									      	<p class="tag_title">研究价值</p>
615
-										 	<p class="imgs">800</p>
616
-										 	<p class="ts_count">投诉量</p>
617
-									      </div>
618
-									      <div>
619
-									      	<p class="tag_title">自然语言处理</p>
620
-										 	<p class="imgs">800</p>
621
-										 	<p class="ts_count">投诉量</p>
622
-									      </div>
623
-									      <div>
624
-									      	<p class="tag_title">模式识别</p>
625
-										 	<p class="imgs">800</p>
626
-										 	<p class="ts_count">投诉量</p>
627
-									      </div>
628 581
 									</div>
629 582
 								</div>
630 583
 							</div>
631 584
 							<div class="orderCon_right slide_right">
632 585
 								<div class="timeWrap lasttimeWrap timeWrapPosi">
633 586
 									<div class="time_box pull-right form-inline">
634
-										地区选择:
635
-										<select class="areaFive selects" style="height: 30px;"></select>
636
-									</div>
637
-								</div>
638
-								<div class="right_top">
639
-									<div id="huawu_tody" style="height: 300px; width: 100%;margin: 0 auto;">
640
-										
587
+										日期
588
+										<input type="text" id="test6" class="times lasttime" style="margin-right: 50px;"/>
589
+										部门
590
+										<select class="depart selects"></select>
641 591
 									</div>
642 592
 								</div>
643
-								<div class="right_bottom">
644
-									<div id="jtv_num" style="height: 300px; width: 100%;margin: 0 auto;">
645
-										
593
+								
594
+								<div class="keyBottom_left pull-left">
595
+									<div class="table_box table_box_key">
596
+										<table class="table">
597
+											<colgroup>
598
+												<col style="width: 120px;" />
599
+												<col/>
600
+											</colgroup>
601
+											<thead class="thead">
602
+												<tr>
603
+													<td>部门名称</td>
604
+													<td>数量</td>
605
+													<td>占比</td>
606
+												</tr>
607
+											</thead>
608
+										</table>
609
+										<div class="scroll_table" style="width: 100%;height: 460px; overflow: hidden;">
610
+											<table class="table">
611
+												<colgroup>
612
+													<col style="width: 120px;" />
613
+													<col/>
614
+												</colgroup>
615
+												<tbody>
616
+												</tbody>
617
+											</table>
618
+										</div>
646 619
 									</div>
647 620
 								</div>
648 621
 							</div>
649
-
650 622
 						</div>
623
+						
651 624
 					</div>
652 625
 	
653 626
 				</div>

+ 63 - 35
WebChart/js/index.js

@@ -450,14 +450,15 @@ function turn(aa) {
450 450
 			}
451 451
 		});
452 452
 	}
453
-//	$(".depart").change(function() {
454
-//      keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[1]);
455
-//	});
453
+
456 454
 	//	第五屏
457
-	$(".areaFive").change(function() {
458
-      	var areaFiveVal=$(this).val();
459
-    	fiveScreen(areaFiveVal);
460
-	});
455
+	//第五屏js
456
+	function fiveScreen(areaFiveVal,sd,ed) {
457
+        keyWord1(sd, ed,areaFiveVal);
458
+	} 
459
+	$(".depart").change(function() {
460
+        keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[1]);
461
+	})
461 462
 	//	第四屏
462 463
 	// $(".areaFour").change(function() {
463 464
       	// var areaFourVal=$(this).val();
@@ -510,53 +511,80 @@ function turn(aa) {
510 511
 			}
511 512
 		});
512 513
 	}
513
-	
514
-	function keyWord(areaFiveVal) {
514
+	//	左侧关键词
515
+function keyWord1(sd, ed,areaFiveVal) {
515 516
 		$.ajax({
516 517
 			type: "get",
517
-			url: huayi.config.callcenter_url + "info/GetKeyCountByDateNew",
518
+			url: huayi.config.callcenter_url + "info/GetKeyCountRankByDate",
518 519
 			async: true,
519 520
 			dataType: 'json',
520
-			data: {
521
-				// 	   		date:$('#time4').val()
522
-				branchcode:areaFiveVal
521
+            data: {
522
+                start: sd,
523
+                end: ed,
524
+                branchcode:areaFiveVal
523 525
 			},
524 526
 			success: function(data) {
525 527
 				if(data.state.toLowerCase() == 'success') {
526
-					// 	   			layer.close(index);
527 528
 					var con = data.data;
529
+					$(".keyW_t").text(con[0].TypeName)
528 530
 					$('.tagcloud').html('');
529
-					//							var strs='<div class="tagcloud">'
530 531
 					$(con).each(function(k, j) {
531
-						if(k < 10) {
532
-							var strs = '<div>' +
533
-								'<p class="tag_title">' + j.关键字 + '</p>' +
534
-								'<p class="imgs">' + j.投诉 + '</p>' +
535
-								'<p class="ts_count">投诉量</p>' +
532
+						if(k < 12) {
533
+							var strs = '<div index="'+j.Id+'" class="tagcloud_bj">' +
534
+								'<p class="tag_title">' + j.TypeName + '</p>' +
535
+								'<p class="imgs">' + j.Count + '</p>' +
536 536
 								'</div>'
537 537
 							$('.tagcloud').append(strs);
538 538
 						}
539 539
 					})
540
-					
540
+					$(".tagcloud div:first-child").removeClass("tagcloud_bj");
541
+                    $(".tagcloud div:first-child").addClass("tagcloud_bjShine");
542
+                    keyWordDetail(sd, ed);
541 543
 				}
544
+			}
545
+		});
546
+	}
547
+	
548
+//	右侧部门
549
+function keyWordDetail(sd, ed) {
550
+		$.ajax({
551
+			type: "get",
552
+			url: huayi.config.callcenter_url + "info/GetDeptKeyCountByDateNew",
553
+			async: true,
554
+			dataType: 'json',
555
+			data: {
556
+                start: sd,
557
+                end: ed,
558
+                deptid: $('.depart').val(),
559
+                keyid: $(".tagcloud_bjShine").eq(0).attr("index")
542 560
 			},
543
-			complete: function(XMLHttpRequest) {
544
-//						setTimeout(function(){
545
-							tagcloud({
546
-									selector: ".tagcloud", //元素选择器
547
-									fontsize: 16, //基本字体大小, 单位px
548
-									radius: 150, //滚动半径, 单位px
549
-									mspeed: "normal", //滚动最大速度, 取值: slow, normal(默认), fast
550
-									ispeed: "normal", //滚动初速度, 取值: slow, normal(默认), fast
551
-									direction: 135, //初始滚动方向, 取值角度(顺时针360): 0对应top, 90对应left, 135对应right-bottom(默认)...
552
-									keep: false //	鼠标移出组件后是否继续随鼠标滚动, 取值: false, true(默认) 对应 减速至初速度滚动, 随鼠标滚动
553
-
554
-								});
555
-//						},100);
556
-					
561
+			success: function(data) {
562
+				if(data.state.toLowerCase() == 'success') {
563
+					$('.scroll_table tbody').html('');
564
+					var con = data.data;
565
+                    $(con).each(function (j, n) {
566
+                        var rate = '';
567
+                        if (n.rate) { rate = n.rate;}
568
+                        var str = '<tr><td>' + n.deptname + '</td><td>' + n.acceptcount + '</td><td>' + rate + '</td></tr>'
569
+						$('.scroll_table tbody').append(str);
570
+					})
571
+					$(".scroll_table").Scroll({
572
+						line: 1,
573
+						speed: 500,
574
+						timer: 2000
575
+					});
576
+				}
557 577
 			}
558 578
 		});
559 579
 	}
580
+$(".tagcloud").on("click","div",function(){
581
+		$(".tagcloud div").addClass("tagcloud_bj");
582
+		$(".tagcloud div").removeClass("tagcloud_bjShine");
583
+		$(this).removeClass("tagcloud_bj");
584
+		$(this).addClass("tagcloud_bjShine");
585
+
586
+        keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[1]);
587
+});
560 588
 	//第五屏图表js
561 589
 	var huawu = echarts.init(document.getElementById('huawu_tody'));
562 590
 	huawu.setOption({

+ 15 - 0
WebUI/CallCenterWeb.UI/Appeal/Lawsuit.html

@@ -571,6 +571,21 @@
571 571
             } else {
572 572
                 ddusercodeID = ""
573 573
             }
574
+            console.log("starttime:"+$('#starttime').val() && $('#starttime').val().split(' ~ ')[0])
575
+            console.log("endtime:"+$('#starttime').val() && $('#starttime').val().split(' ~ ')[1])
576
+            console.log("workid:"+$("#wids").val())
577
+            console.log("state:"+$("#state").val())
578
+            console.log("type:"+$('#type').val())
579
+            console.log("bigtype:"+$('#bigtype').val())
580
+            console.log("key:"+$('key').val())
581
+            console.log("tel:"+$('#tel').val())
582
+            console.log("name:"+$('#name').val())
583
+            console.log("keyid:"+$('#keyid').val())
584
+            console.log("source:"+$('#source').val())
585
+            console.log("deptid:"+$('#deptid').val())
586
+            console.log("type:"+$('#type').val())
587
+            console.log("dealtype"+$('#dealtype').val())
588
+            console.log("sourcearea:"+$('#sourcearea').val())
574 589
             //var url = huayi.config.callcenter_url + "WorkOrderReport/GetDeptMonthReport?token=" + $.cookie("token");
575 590
             //url += "&date=" + $("#monthDateTimes").val() + "&isExport=true";
576 591
             var url = huayi.config.callcenter_url + "WorkOrder/GetList?token=" + $.cookie("token") + "&isdc=1";

+ 1 - 1
WebUI/CallCenterWeb.UI/Business/LeaderYTH.html

@@ -341,7 +341,7 @@
341 341
 									<th></th>
342 342
 									<td style="text-align: center;">
343 343
 										<botton class="btns Seach">搜索</botton>
344
-										<<botton class="btns ">导出</botton>
344
+										<!--<botton class="btns ">导出</botton>-->
345 345
 									</td>
346 346
 								</tr>
347 347
 							</table>

+ 1 - 1
WebUI/CallCenterWeb.UI/Business/NoSatisfy.html

@@ -261,7 +261,7 @@
261 261
 					<div class="" style="line-height: 50px;">
262 262
 						<botton class="btns GJ">高级搜索</botton>
263 263
 						<botton class="btns Seach">搜索</botton>
264
-						<botton class="btns ">导出</botton>
264
+						<!--<botton class="btns ">导出</botton>-->
265 265
 					</div>
266 266
 				</div>
267 267
 				<div>

+ 1 - 1
WebUI/CallCenterWeb.UI/Business/Overdue.html

@@ -261,7 +261,7 @@
261 261
 					<div class="" style="line-height: 50px;">
262 262
 						<botton class="btns GJ">高级搜索</botton>
263 263
 						<botton class="btns Seach">搜索</botton>
264
-						<botton class="btns ">导出</botton>
264
+						<!--<botton class="btns ">导出</botton>-->
265 265
 					</div>
266 266
 				</div>
267 267
 				<div>