wangjianguo 8 سال پیش
والد
کامیت
45273972b7

+ 28 - 0
VisualInspection/js/statistics/personal_data_statistics.js

@@ -280,6 +280,20 @@ $(function(){
 					tooltip : {
 						trigger: 'axis'
 					},
+					noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                    },
 					grid:{
                     width:"80%"
                     },
@@ -340,6 +354,20 @@ $(function(){
 					trigger: 'item',
 					formatter:  "个人服务检查问题占比 <br/>{b} : {c}分 ({d}%)"
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				toolbox: {
 					show : true,
 					feature : {

+ 101 - 3
VisualInspection/js/statistics/road_manage_statistics.js

@@ -48,7 +48,7 @@ $(function(){
 		// 查询图三
 		init_stationAll_rank("statistics/score/manage/tollgate/info",select_month+'',select_road);
 		// 查询图四
-        init_people_rank_pre("statistics/stuff/score/info",select_month+'',select_road);
+        //init_people_rank_pre("statistics/stuff/score/info",select_month+'',select_road);
         // 查询图五
         init_people_rank_suf("statistics/stuff/score/info",select_month+'',select_road);
         // 查询图六
@@ -129,7 +129,7 @@ $(function(){
 		}
 		initRqueset(url,param,4);
 	}
-    init_people_rank_pre("statistics/stuff/score/info",month+'',select_road);
+    //init_people_rank_pre("statistics/stuff/score/info",month+'',select_road);
     
     /**
 	 * 初始化图五
@@ -460,6 +460,20 @@ $(function(){
 					tooltip : {
 						trigger: 'axis'
 					},
+					noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+              	    },
 					legend: {
 						data:['平均分']
 					},
@@ -517,6 +531,20 @@ $(function(){
 					trigger: 'item',
 					formatter:  "道管中心考核扣分占比 <br/>{b} : {c}人 ({d}%)"
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				toolbox: {
 					show : true,
 					feature : {
@@ -568,6 +596,20 @@ $(function(){
 				tooltip : {
 					trigger: 'axis'
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				grid:{
                     width:"80%",	
                 },
@@ -619,6 +661,20 @@ $(function(){
 				tooltip : {
 					trigger: 'axis'
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				grid:{
                     width:"80%",	
                 },
@@ -683,8 +739,22 @@ $(function(){
 				tooltip : {
 					trigger: 'axis'
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				grid:{
-                    width:"80%",	
+                    width:"88%",	
                 },
 				legend: {
 					data:['平均分']
@@ -746,6 +816,20 @@ $(function(){
 					trigger: 'item',
 					formatter:  "温馨服务检查占比 <br/>{b} : {c}分 ({d}%)"
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				toolbox: {
 					show : true,
 					feature : {
@@ -795,6 +879,20 @@ $(function(){
 			tooltip : {
 				trigger: 'axis'
 			},
+			noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 			grid:{
                     width:"80%"
                 },

+ 98 - 0
VisualInspection/js/statistics/toll_station_statistics.js

@@ -595,6 +595,20 @@ $(function(){
 			tooltip : {
 				trigger: 'axis'
 			},
+			noDataLoadingOption :{
+				text: '暂无数据',
+				effect:'bubble',
+				effectOption : {
+					effect: {
+						n: 0 //气泡个数为0 
+					}
+				},
+				textStyle: {
+					fontSize: 20,
+					fontFamily:'cursive',
+					fontWeight: 'bold'
+				}
+			},
 			legend: {
 				data:['平均分']
 			},
@@ -652,6 +666,20 @@ $(function(){
 				trigger: 'item',
 				formatter:  "收费站考核扣分占比 <br/>{b} : {c}人 ({d}%)"
 			},
+			noDataLoadingOption :{
+				text: '暂无数据',
+				effect:'bubble',
+				effectOption : {
+					effect: {
+						n: 0 //气泡个数为0 
+					}
+				},
+				textStyle: {
+					fontSize: 20,
+					fontFamily:'cursive',
+					fontWeight: 'bold'
+				}
+			},
 			toolbox: {
 				show : true,
 				feature : {
@@ -703,6 +731,20 @@ $(function(){
 			tooltip : {
 				trigger: 'axis'
 			},
+			noDataLoadingOption :{
+				text: '暂无数据',
+				effect:'bubble',
+				effectOption : {
+					effect: {
+						n: 0 //气泡个数为0 
+					}
+				},
+				textStyle: {
+					fontSize: 20,
+					fontFamily:'cursive',
+					fontWeight: 'bold'
+				}
+			},
 			grid:{
 				width:"80%"
 			},
@@ -751,6 +793,20 @@ $(function(){
 			tooltip : {
 				trigger: 'axis'
 			},
+			noDataLoadingOption :{
+				text: '暂无数据',
+				effect:'bubble',
+				effectOption : {
+					effect: {
+						n: 0 //气泡个数为0 
+					}
+				},
+				textStyle: {
+					fontSize: 20,
+					fontFamily:'cursive',
+					fontWeight: 'bold'
+				}
+			},
 			grid:{
 				width:"80%"
 			},
@@ -800,6 +856,20 @@ $(function(){
 			tooltip : {
 				trigger: 'axis'
 			},
+			noDataLoadingOption :{
+				text: '暂无数据',
+				effect:'bubble',
+				effectOption : {
+					effect: {
+						n: 0 //气泡个数为0 
+					}
+				},
+				textStyle: {
+					fontSize: 20,
+					fontFamily:'cursive',
+					fontWeight: 'bold'
+				}
+			},
 			grid:{
 				width:"88%"
 			},
@@ -858,6 +928,20 @@ $(function(){
 				trigger: 'item',
 				formatter:  "温馨服务检查占比 <br/>{b} : {c}分 ({d}%)"
 			},
+			noDataLoadingOption :{
+				text: '暂无数据',
+				effect:'bubble',
+				effectOption : {
+					effect: {
+						n: 0 //气泡个数为0 
+					}
+				},
+				textStyle: {
+					fontSize: 20,
+					fontFamily:'cursive',
+					fontWeight: 'bold'
+				}
+			},
 			toolbox: {
 				show : true,
 				feature : {
@@ -907,6 +991,20 @@ $(function(){
 		tooltip : {
 			trigger: 'axis'
 		},
+		noDataLoadingOption :{
+			text: '暂无数据',
+			effect:'bubble',
+			effectOption : {
+				effect: {
+					n: 0 //气泡个数为0 
+				}
+			},
+			textStyle: {
+				fontSize: 20,
+				fontFamily:'cursive',
+				fontWeight: 'bold'
+			}
+		},
 		grid:{
 				width:"80%"
 			},

+ 84 - 0
VisualInspection/js/statistics/total_company_statistics.js

@@ -406,6 +406,20 @@ $(function(){
 					tooltip : {
 						trigger: 'axis'
 					},
+					noDataLoadingOption :{
+						text: '暂无数据',
+						effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                    },
 					legend: {
 						data:['平均分']
 					},
@@ -463,6 +477,20 @@ $(function(){
 					trigger: 'item',
 					formatter:  "公司考核扣分占比 <br/>{b} : {c}人 ({d}%)"
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				toolbox: {
 					show : true,
 					feature : {
@@ -514,6 +542,20 @@ $(function(){
 				tooltip : {
 					trigger: 'axis'
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				grid:{
                     width:"80%",
 					
@@ -569,6 +611,20 @@ $(function(){
 				tooltip : {
 					trigger: 'axis'
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				legend: {
 					data:['平均分']
 				},
@@ -623,6 +679,20 @@ $(function(){
 					trigger: 'item',
 					formatter:  "温馨服务检查占比 <br/>{b} : {c}分 ({d}%)"
 				},
+				noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 				toolbox: {
 					show : true,
 					feature : {
@@ -672,6 +742,20 @@ $(function(){
 			tooltip : {
 				trigger: 'axis'
 			},
+			noDataLoadingOption :{
+                    text: '暂无数据',
+                    effect:'bubble',
+                    effectOption : {
+                        effect: {
+                            n: 0 //气泡个数为0 
+                        }
+                    },
+                    textStyle: {
+                        fontSize: 20,
+						fontFamily:'cursive',
+                        fontWeight: 'bold'
+                    }
+                },
 			grid:{
                     width:"80%",	
                 },

+ 7 - 2
VisualInspection/view/statistics/road_manage_statistics.html

@@ -46,7 +46,7 @@
     </div>
     </div>
 
-  <div class="border-line">
+  <div class="border-line" style="display:none;">
     <div class="row-7">
         <div class="col-1"><span>人员考核得分前十名</span></div><div class="line-2"></div>
         <div class="col-1"><span>人员考核得分后十名</span></div>
@@ -54,11 +54,16 @@
     <div class="row-8">
         <div id="people-rank-pre" style="width:49%;height:400px;float:left;"></div>
         <div class="line-3"></div>
-        <div id="people-rank-suf" style="width:49%;height:400px;float:left;"></div>
+        <!--<div id="people-rank-suf" style="width:49%;height:400px;float:left;"></div>-->
     </div>
   </div>
 
   <div class="border-line">
+    <div class="row-3"><div><span>人员考核得分后20名</span></div></div>
+    <div id="people-rank-suf" style="height: 100%;height:400px;"></div>
+    </div>
+
+  <div class="border-line">
     <div class="row-7">
         <div class="col-1"><span>温馨服务检查问题类别占比</span></div><div class="line-2"></div>
         <div class="col-1"><span>各个问题类别的扣分情况</span></div>