python学习

This commit is contained in:
2019-08-06 15:21:15 +08:00
parent 54761c6262
commit 020f56d2d5
37 changed files with 910 additions and 605 deletions

View File

@@ -0,0 +1,28 @@
;
var dashboard_index_ops = {
init:function(){
this.drawChart();
},
drawChart:function(){
charts_ops.setOption();
$.ajax({
url:common_ops.buildUrl("/chart/dashboard"),
dataType:'json',
success:function( res ){
charts_ops.drawLine( $('#member_order'),res.data )
}
});
$.ajax({
url:common_ops.buildUrl("/chart/finance"),
dataType:'json',
success:function( res ){
charts_ops.drawLine( $('#finance'),res.data )
}
});
}
};
$(document).ready( function(){
dashboard_index_ops.init();
});