Browse Source

大屏第六屏手动滚动条添加

liuzhen 6 years ago
parent
commit
ac1b87238b
3 changed files with 12 additions and 3 deletions
  1. 6 0
      WebChart_2.0/css/index.css
  2. 1 1
      WebChart_2.0/index.html
  3. 5 2
      WebChart_2.0/js/index.js

+ 6 - 0
WebChart_2.0/css/index.css

@@ -1604,6 +1604,12 @@ a {
1604 1604
 	margin-left: 130px;
1605 1605
 	margin-top: 50px;
1606 1606
 }
1607
+.scroll_table_right::-webkit-scrollbar {
1608
+	display:none;
1609
+}
1610
+.scroll_table_list::-webkit-scrollbar {
1611
+	display:none;
1612
+}
1607 1613
 .table_date_time,
1608 1614
 .table_box_key{
1609 1615
 	width: 490px;

+ 1 - 1
WebChart_2.0/index.html

@@ -602,7 +602,7 @@
602 602
 									</div>
603 603
 								</div>
604 604
 								<div class="keyBottom_left pull-left" style="margin-left: 0;">
605
-									<div class="table_box table_date_time" style="width: 570px;">
605
+									<div class="table_box table_date_time" style="width: 570px;overflow-y: auto;">
606 606
 										<table class="table">
607 607
 											<colgroup>
608 608
 												<col style="width: 120px;" />

+ 5 - 2
WebChart_2.0/js/index.js

@@ -532,7 +532,8 @@ function keyWord(sd, ed) {
532 532
                         if (n.rate) { rate = n.rate;}
533 533
                         var str = '<tr><td class="list">' + n.deptname + '</td><td>' + n.delaycounts + '</td><td>' + n.overcounts + '</td><td>' + n.nosatisfiedcounts + '</td></tr>'
534 534
 						$('.scroll_table_list tbody').append(str);
535
-						$('.list').css({'white-space':'nowrap','overflow':'hidden','text-overflow':'ellipsis'})
535
+						$('.list').css({'white-space':'nowrap','overflow':'hidden','text-overflow':'ellipsis'});
536
+						$('.scroll_table_list').css({'overflow':'auto'})
536 537
 					})
537 538
 					$(".scroll_table_list").Scroll({
538 539
 						line: 1,
@@ -566,7 +567,8 @@ function keyWord(sd, ed) {
566 567
                         if (n.rate) { rate = n.rate;}
567 568
                         var str = '<tr><td>' + n.F_WorkOrderId + '</td><td>' + n.DeptName + '</td><td>' + n.CSSecond + '</td></tr>'
568 569
 						$('.scroll_table_right tbody').append(str);
569
-					})
570
+						$(".scroll_table_right").css({'overflow-y':'auto','overflow-x':'hidden',});
571
+					});
570 572
 					$(".scroll_table_right").Scroll({
571 573
 						line: 1,
572 574
 						speed: 500,
@@ -575,6 +577,7 @@ function keyWord(sd, ed) {
575 577
 				}
576 578
 			}
577 579
 		});
580
+		
578 581
 	}
579 582
 //	右侧部门
580 583
 function keyWordDetail(sd, ed) {