chenrj-PC\chenrj 8 年之前
父節點
當前提交
2c556d12d4
共有 2 個文件被更改,包括 1600 次插入443 次删除
  1. 11 78
      VisualInspection/js/statistics/road_manage_statistics.js
  2. 1589 365
      VisualInspection_server/visual/visual.log

+ 11 - 78
VisualInspection/js/statistics/road_manage_statistics.js

@@ -105,7 +105,7 @@ $(function(){
 		}
 		}
 		initRqueset(url,param,1);
 		initRqueset(url,param,1);
 	}
 	}
-	init_company_year_assess("statistics/score/year/info",select_road);
+	// init_company_year_assess("statistics/score/year/info",select_road);
 
 
 	/**
 	/**
 	 * 初始化图二
 	 * 初始化图二
@@ -118,7 +118,7 @@ $(function(){
 		}
 		}
 		initRqueset(url,param,2);
 		initRqueset(url,param,2);
 	}
 	}
-    init_company_points_assess("statistics/lost/score/rate",initDate+'',select_road);
+    // init_company_points_assess("statistics/lost/score/rate",initDate+'',select_road);
     
     
 	/**
 	/**
 	 * 初始化图三
 	 * 初始化图三
@@ -130,7 +130,7 @@ $(function(){
 		};
 		};
 		initRqueset(url,param,3);
 		initRqueset(url,param,3);
 	}
 	}
-	init_stationAll_rank("statistics/score/manage/tollgate/info",initDate+"",select_road);
+	// init_stationAll_rank("statistics/score/manage/tollgate/info",initDate+"",select_road);
 
 
 	/**
 	/**
 	 * 初始化图四
 	 * 初始化图四
@@ -158,7 +158,7 @@ $(function(){
 		}
 		}
 		initRqueset(url,param,5);
 		initRqueset(url,param,5);
 	}
 	}
-    init_people_rank_suf("statistics/stuff/score/info",initDate+'',select_road);
+    // init_people_rank_suf("statistics/stuff/score/info",initDate+'',select_road);
 
 
 	/**
 	/**
 	 * 初始化图六
 	 * 初始化图六
@@ -171,7 +171,7 @@ $(function(){
 		};
 		};
 		initRqueset(url,param,6);
 		initRqueset(url,param,6);
 	}
 	}
-	init_server_check_type("statistics/lost/itemscore/rate",initDate+"",select_road);
+	// init_server_check_type("statistics/lost/itemscore/rate",initDate+"",select_road);
 
 
 	/**
 	/**
 	 * 初始化图七
 	 * 初始化图七
@@ -337,11 +337,12 @@ $(function(){
 							feeStationTemp.push(data[i].user.fee_station_name);
 							feeStationTemp.push(data[i].user.fee_station_name);
 						}
 						}
 				    }
 				    }
+					array_score_pie = [] ;
 					for(var x=0; x<feeStationTemp.length; x++){
 					for(var x=0; x<feeStationTemp.length; x++){
 						array_score_pie.push({'name':feeStationTemp[x] ,'value':feeStationTempObj[feeStationTemp[x]] });
 						array_score_pie.push({'name':feeStationTemp[x] ,'value':feeStationTempObj[feeStationTemp[x]] });
 					}
 					}
-					console.log(feeStationTemp);
-					console.log(feeStationTempObj);
+					// console.log(feeStationTemp);
+					// console.log(feeStationTempObj);
 				 }else{
 				 }else{
 					array_score_last.length=0;
 					array_score_last.length=0;
 			        array_get_score.length=0;	
 			        array_get_score.length=0;	
@@ -381,7 +382,7 @@ $(function(){
 			array_points_name.length=0;
 			array_points_name.length=0;
 			array_points_pre.length=0;
 			array_points_pre.length=0;
 			arrar_points_month.length=0;
 			arrar_points_month.length=0;
-			if(data!=null && data.Pmth.length!=0 || data.Tmth.length!=0){
+			if( (data!=null && data.Pmth.length!=0) || (data!=null &&  data.Tmth.length!=0)){
 			   data_each_people_points(data);
 			   data_each_people_points(data);
 			}else{
 			}else{
 				array_points_name.length=0;
 				array_points_name.length=0;
@@ -790,75 +791,7 @@ $(function(){
 		 * 图五
 		 * 图五
 		 */
 		 */
 		function people_rank_suf(){
 		function people_rank_suf(){
-			// 		option = {
-			// 	color : [ '#00ced1' ],// 条形图颜色
-			// 	tooltip : {
-			// 		trigger: 'axis'
-			// 	},
-			// 	noDataLoadingOption :{
-            //         text: '暂无数据',
-            //         effect:'bubble',
-            //         effectOption : {
-            //             effect: {
-            //                 n: 0 //气泡个数为0 
-            //             }
-            //         },
-            //         textStyle: {
-            //             fontSize: 20,
-			// 			fontFamily:'cursive',
-            //             fontWeight: 'bold'
-            //         }
-            //     },
-			// 	grid:{
-            //         width:"88%",	
-            //     },
-			// 	legend: {
-			// 		data:['人员考核得分']
-			// 	},
-			// 	calculable : true,
-			// 	xAxis : [
-			// 		{
-			// 			type : 'category',
-			// 			axisLabel :{  
-            //                interval:0  // 显示x轴所有信息,不隐藏部分  
-            //             },
-			// 			data : array_score_last
-			// 		}
-			// 	],
-			// 	yAxis : [
-			// 		{
-			// 			type : 'value',
-			// 			min : min_suff ,
-			// 			max : 1000
-			// 		}
-			// 	],
-			// 	series : [
-			// 		{
-			// 			name:'人员考核得分',
-			// 			type:'bar',
-			// 			data: array_get_score,
-			// 		    itemStyle: {
-			// 			normal: {
-			// 				label: {
-			// 					show: true,
-			// 					position: 'insideTop'
-			// 				}
-			// 			}
-			// 		},
-            //             markPoint : {
-            //                     data : [
-            //                     {type : 'max', name: '最大值'},
-            //                     {type : 'min', name: '最小值'}
-            //                     ]
-            //                     },
-			// 			markLine : {
-			// 				data : [
-			// 					{type : 'average', name: '平均值'}
-			// 				]
-			// 			}
-			// 		}   
-			// 	]
-			// };
+			
 			option = {
 			option = {
 				tooltip : {
 				tooltip : {
 					trigger: 'axis'
 					trigger: 'axis'
@@ -917,7 +850,7 @@ $(function(){
 						trigger: 'item',
 						trigger: 'item',
 						formatter: '{a} <br/>{b} : {c} ({d}%)'
 						formatter: '{a} <br/>{b} : {c} ({d}%)'
 					},
 					},
-					center: [910,90],
+					center: [0,0],
 					radius : [0, 40],
 					radius : [0, 40],
 					itemStyle : {
 					itemStyle : {
 						normal : {
 						normal : {

文件差異過大導致無法顯示
+ 1589 - 365
VisualInspection_server/visual/visual.log


部分文件因文件數量過多而無法顯示