|
|
|
@ -455,14 +455,8 @@ define(['angular', 'uiRouter', 'uiBootstrap', 'angularEcharts'], function (angul
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
};
|
|
|
|
|
params.end = new Date();
|
|
|
|
|
var day = new Date();
|
|
|
|
|
day.setDate(day.getDate() - 7);
|
|
|
|
|
params.begin = day;
|
|
|
|
|
params.begin = $filter('date')(params.begin, 'yyyyMMdd');
|
|
|
|
|
params.end = $filter('date')(params.end, 'yyyyMMdd');
|
|
|
|
|
$http.get('/dashboard/system/fee_analysis', {params: params}).then(function (resp) {
|
|
|
|
|
$scope.analysis.trade_line = chartParser.parse(analysisConfig, resp.data);
|
|
|
|
|
$scope.analysis.trade_line = chartParser.parse(analysisConfig, resp.data.reverse());
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|