|
@@ -218,22 +218,32 @@ $(function(){
|
|
|
}else{
|
|
}else{
|
|
|
sec.innerHTML='';
|
|
sec.innerHTML='';
|
|
|
}
|
|
}
|
|
|
- var start_date = $(".div-start input").val()+" 23:00:00";
|
|
|
|
|
- var end_date = $(".div-end input").val()+" 23:00:00";
|
|
|
|
|
- var user_id = $("#select-personal").val();
|
|
|
|
|
- // 页面初始化
|
|
|
|
|
- echart();
|
|
|
|
|
- initAppealPage(start_date,end_date,user_id);
|
|
|
|
|
- init_personal_score_statistics("statistics/one/person/year/info",user_id);
|
|
|
|
|
- init_personal_check_type("statistics/one/person/checkedItem/info",user_id,start_date,end_date);
|
|
|
|
|
|
|
+ // 请求数据
|
|
|
|
|
+ getInit();
|
|
|
},function(error){
|
|
},function(error){
|
|
|
return "" ;
|
|
return "" ;
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ function getInit(){
|
|
|
|
|
+ var start_date = $(".div-start input").val()+" 23:00:00";
|
|
|
|
|
+ var end_date = $(".div-end input").val()+" 23:00:00";
|
|
|
|
|
+ var user_id = $("#select-personal").val();
|
|
|
|
|
+ // 页面初始化
|
|
|
|
|
+ echart();
|
|
|
|
|
+ initAppealPage(start_date,end_date,user_id);
|
|
|
|
|
+ init_personal_score_statistics("statistics/one/person/year/info",user_id);
|
|
|
|
|
+ init_personal_check_type("statistics/one/person/checkedItem/info",user_id,start_date,end_date);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
$("#select-dept").change(function(){
|
|
$("#select-dept").change(function(){
|
|
|
setSecond();
|
|
setSecond();
|
|
|
});
|
|
});
|
|
|
|
|
|
|
|
|
|
+ $("#select-personal").change(function(){
|
|
|
|
|
+ getInit();
|
|
|
|
|
+ })
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
/**
|