|
|
|
@ -124,11 +124,23 @@ define(['angular', 'uiRouter', 'uiBootstrap', 'angularEcharts'], function (angul
|
|
|
|
|
|
|
|
|
|
function loadAnalysis() {
|
|
|
|
|
$http.get('/dashboard/system/common_analysis_1', {params: $scope.currentScale.params()}).then(function (resp) {
|
|
|
|
|
// $scope.analysis.new_partners = resp.data.new_partners;
|
|
|
|
|
// $scope.analysis.total_partners = resp.data.total_partners;
|
|
|
|
|
// $scope.analysis.traded_partners = resp.data.traded_partners;
|
|
|
|
|
$scope.analysis.trade_amount = resp.data.trade_amount;
|
|
|
|
|
$scope.analysis.trade_count = resp.data.trade_count;
|
|
|
|
|
|
|
|
|
|
// $scope.analysis.top_amount_order = resp.data.top_amount_order;
|
|
|
|
|
// $scope.analysis.trade_count = resp.data.trade_count;
|
|
|
|
|
// $scope.analysis.total_customers = resp.data.total_customers;
|
|
|
|
|
// $scope.analysis.new_customers = resp.data.total_customers-resp.data.old_customers;
|
|
|
|
|
// $scope.analysis.old_customers = resp.data.old_customers;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$http.get('/dashboard/system/common_analysis_3', {params: $scope.currentScale.params()}).then(function (resp) {
|
|
|
|
|
$scope.analysis.new_partners = resp.data.new_partners;
|
|
|
|
|
$scope.analysis.total_partners = resp.data.total_partners;
|
|
|
|
|
$scope.analysis.traded_partners = resp.data.traded_partners;
|
|
|
|
|
$scope.analysis.trade_amount = resp.data.trade_amount;
|
|
|
|
|
$scope.analysis.trade_count = resp.data.trade_count;
|
|
|
|
|
|
|
|
|
|
// $scope.analysis.top_amount_order = resp.data.top_amount_order;
|
|
|
|
|
// $scope.analysis.trade_count = resp.data.trade_count;
|
|
|
|
@ -136,6 +148,7 @@ define(['angular', 'uiRouter', 'uiBootstrap', 'angularEcharts'], function (angul
|
|
|
|
|
// $scope.analysis.new_customers = resp.data.total_customers-resp.data.old_customers;
|
|
|
|
|
// $scope.analysis.old_customers = resp.data.old_customers;
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$http.get('/dashboard/system/common_analysis_2', {params: $scope.currentScale.params()}).then(function (resp) {
|
|
|
|
|
// $scope.analysis.new_partners = resp.data.new_partners;
|
|
|
|
|
// $scope.analysis.total_partners = resp.data.total_partners;
|
|
|
|
|