|
@@ -105,7 +105,6 @@ $(function(){
|
|
|
}
|
|
}
|
|
|
initRqueset(url,param,1);
|
|
initRqueset(url,param,1);
|
|
|
}
|
|
}
|
|
|
- init_company_year_assess("statistics/score/year/info",select_road);
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 初始化图二
|
|
* 初始化图二
|
|
@@ -118,7 +117,6 @@ $(function(){
|
|
|
}
|
|
}
|
|
|
initRqueset(url,param,2);
|
|
initRqueset(url,param,2);
|
|
|
}
|
|
}
|
|
|
- init_company_points_assess("statistics/lost/score/rate",initDate+'',select_road);
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 初始化图三
|
|
* 初始化图三
|
|
@@ -130,7 +128,6 @@ $(function(){
|
|
|
};
|
|
};
|
|
|
initRqueset(url,param,3);
|
|
initRqueset(url,param,3);
|
|
|
}
|
|
}
|
|
|
- init_stationAll_rank("statistics/score/manage/tollgate/info",initDate+"",select_road);
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 初始化图四
|
|
* 初始化图四
|
|
@@ -144,7 +141,6 @@ $(function(){
|
|
|
}
|
|
}
|
|
|
initRqueset(url,param,4);
|
|
initRqueset(url,param,4);
|
|
|
}
|
|
}
|
|
|
- //init_people_rank_pre("statistics/stuff/score/info",initDate+'',select_road);
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 初始化图五
|
|
* 初始化图五
|
|
@@ -158,7 +154,6 @@ $(function(){
|
|
|
}
|
|
}
|
|
|
initRqueset(url,param,5);
|
|
initRqueset(url,param,5);
|
|
|
}
|
|
}
|
|
|
- init_people_rank_suf("statistics/stuff/score/info",initDate+'',select_road);
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 初始化图六
|
|
* 初始化图六
|
|
@@ -171,7 +166,6 @@ $(function(){
|
|
|
};
|
|
};
|
|
|
initRqueset(url,param,6);
|
|
initRqueset(url,param,6);
|
|
|
}
|
|
}
|
|
|
- init_server_check_type("statistics/lost/itemscore/rate",initDate+"",select_road);
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|
|
|
* 初始化图七
|
|
* 初始化图七
|
|
@@ -196,7 +190,6 @@ $(function(){
|
|
|
};
|
|
};
|
|
|
initRqueset(url,param,7);
|
|
initRqueset(url,param,7);
|
|
|
}
|
|
}
|
|
|
- init_each_people_points("statistics/lost/twice/itemscore/rate",initDate+"",select_road);
|
|
|
|
|
/**
|
|
/**
|
|
|
* 请求
|
|
* 请求
|
|
|
* @param {*} url
|
|
* @param {*} url
|
|
@@ -337,11 +330,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 +375,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 +784,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 +843,7 @@ $(function(){
|
|
|
trigger: 'item',
|
|
trigger: 'item',
|
|
|
formatter: '{a} <br/>{b} : {c} ({d}%)'
|
|
formatter: '{a} <br/>{b} : {c} ({d}%)'
|
|
|
},
|
|
},
|
|
|
- center: [910,90],
|
|
|
|
|
|
|
+ center: ['80%','20%'],
|
|
|
radius : [0, 40],
|
|
radius : [0, 40],
|
|
|
itemStyle : {
|
|
itemStyle : {
|
|
|
normal : {
|
|
normal : {
|