zhangshuangnan 8 gadi atpakaļ
vecāks
revīzija
13d40e04e1

BIN
WebUI/CallCenterWeb.UI/img/files.png


+ 27 - 4
WebUI/CallCenterWeb.UI/index.html

@@ -125,10 +125,14 @@
125 125
 				color: #FFFFFF;
126 126
 				float: right;
127 127
 				margin-right: 5%;
128
+				height: 42px;
129
+				line-height: 42px;
128 130
 			}
129 131
 			
130 132
 			.closed div {
131 133
 				overflow: hidden;
134
+				float: left;
135
+  				height: 100%;
132 136
 			}
133 137
 			
134 138
 			.closed ul {
@@ -313,7 +317,21 @@
313 317
 			}
314 318
 			
315 319
 			.ls span {
316
-				margin-right: 10px;
320
+				margin-right: 18px;
321
+			}
322
+			.ls span.tuBiao{
323
+				display: inline-block;
324
+				/*width: 16px;
325
+				height: 16px;
326
+				background: url(img/files.png) no-repeat;*/
327
+				vertical-align: middle;
328
+				position: relative;
329
+   				 font-size: 15px;
330
+			}
331
+			.ls span.tuBiao span{
332
+				position: absolute;
333
+				padding: 3px;
334
+				top: -13px;
317 335
 			}
318 336
 			
319 337
 			.min-right {
@@ -409,7 +427,7 @@
409 427
 			
410 428
 			.max-box {
411 429
 				height: 42px;
412
-				width: 100%;
430
+				/*width: 100%;*/
413 431
 			}
414 432
 			
415 433
 			.laydate_body .laydate_bottom,
@@ -819,10 +837,15 @@
819 837
 										</li>
820 838
 									</ul>
821 839
 								</div>
840
+								
841
+								
822 842
 								<div class="ls">
823
-									<span class="size-12 min-right" onclick="Jumps()">
843
+									<span class="size-12 tuBiao fa fa-file-text">
844
+										<span class="label label-warning">12</span>
845
+									</span>
846
+									<!--<span class="size-12 min-right" onclick="Jumps()">
824 847
                                     <i class="ga"></i>&nbsp;管理中心
825
-                                </span>
848
+                                </span>-->
826 849
 									<span class="size-12 shezhi">
827 850
                                     <i class="sz"></i>&nbsp;设置
828 851
                                 </span>

+ 42 - 40
WebUI/CallCenterWeb.UI/widgets.html

@@ -721,51 +721,53 @@
721 721
 				})
722 722
 			}
723 723
 			//图一
724
-			var myChart1 = echarts.init(document.getElementById('flot-pie-chart'));
725
-			var option1 = {
726
-
727
-				tooltip: {},
728
-
729
-				xAxis: {
730
-					data: ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", ],
731
-					axisLabel: {
732
-						interval: 0, //横轴信息全部显示
733
-						rotate: -0, //-30度角倾斜显示
734
-					}
735
-				},
736
-				yAxis: {},
737
-				series: [{
738
-					name: '业绩',
739
-					type: 'bar',
740
-					itemStyle: {
741
-						normal: {
742
-							color: '#d5d5d5'
743
-						}
744
-					},
745
-					barGap: '-100%',
746
-					barMaxWidth: '100',
747
-					data: [51, 30, 40, 25, 80, 40, 42, 86, 50, 26, 12, 30, 55, 15, 18, 55, 28, 26, 50, 46, 98, 66, 50, 85]
748
-				}, {
749
-					name: '销量',
750
-					type: 'bar',
751
-					itemStyle: {
752
-						normal: {
753
-							color: '#7abf62'
754
-						}
755
-					},
756
-					barMaxWidth: '100',
757
-					data: [5, 20, 36, 10, 15, 20, 28, 36, 20, 36, 5, 20, 36, 10, 15, 20, 28, 36, 20, 36, 88, 46, 30, 45]
758
-				}]
759
-			};
760
-
724
+//			var myChart1 = $('#flot-pie-chart').highcharts(option1);
725
+//			myChart1.setOptions()
726
+			  $('#flot-pie-chart').highcharts({
727
+			        chart: {
728
+			            type: 'column'
729
+			        },
730
+			        credits:{
731
+						     enabled:false // 禁用版权信息
732
+						},
733
+			        title: {
734
+			            text: ''
735
+			        },
736
+			        xAxis: {
737
+			            categories:["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", ],
738
+			            crosshair: true
739
+			        },
740
+			        yAxis: {
741
+			            min: 0,
742
+			            title: {
743
+			                text: ''
744
+			            }
745
+			        },
746
+			        tooltip: {
747
+			            headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
748
+			            pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
749
+			            '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
750
+			            footerFormat: '</table>',
751
+			            shared: true,
752
+			            useHTML: true
753
+			        },
754
+			        series: [{
755
+			            name: '业绩',
756
+			            data:[51, 30, 40, 25, 80, 40, 42, 86, 50, 26, 12, 30, 55, 15, 18, 55, 28, 26, 50, 46, 98, 66, 50, 85]
757
+			        },{
758
+			            name: '销量',
759
+			            data:[5, 20, 36, 10, 15, 20, 28, 36, 20, 36, 5, 20, 36, 10, 15, 20, 28, 36, 20, 36, 88, 46, 30, 45]
760
+			        }]
761
+			    });
762
+			
761 763
 			function telhour() {
762 764
 				$.getJSON(huayi.config.callcenter_url + 'Index/GetTelRecordsByHour', {
763 765
 					"token": $.cookie("token")
764 766
 				}, function(result) {
765 767
 					if(result.state.toLowerCase() == "success") {
766
-						option1.series[0].data = result.data.total;
767
-						option1.series[1].data = result.data.count;
768
-						myChart1.setOption(option1);
768
+//						option1.series[0].data = result.data.total;
769
+//						option1.series[1].data = result.data.count;
770
+//						myChart1.setOptions(option1);
769 771
 					}
770 772
 				})
771 773
 			}