|
|
|
@ -134,7 +134,7 @@ define(['angular','decimal', 'uiRouter', 'uiBootstrap', 'angularEcharts'], funct
|
|
|
|
|
$http.get('/dashboard/partner/common_analysis', {params: $scope.params}).then(function (resp) {
|
|
|
|
|
$scope.analysis.trade_count = resp.data.trade_count;
|
|
|
|
|
$scope.analysis.refund_amount = resp.data.refund_amount;
|
|
|
|
|
// $scope.analysis.not_settled = resp.data.not_settled;
|
|
|
|
|
$scope.analysis.not_settled = resp.data.not_settled;
|
|
|
|
|
$scope.analysis.trade_amount = resp.data.trade_amount;
|
|
|
|
|
$scope.analysis.top_amount_order = resp.data.top_amount_order;
|
|
|
|
|
$scope.analysis.total_customers = resp.data.total_customers;
|
|
|
|
@ -144,12 +144,12 @@ define(['angular','decimal', 'uiRouter', 'uiBootstrap', 'angularEcharts'], funct
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
var getClientUnClearedAmount = function () {
|
|
|
|
|
$http.get('/client/trans_flow/settlement/unclear').then(function (resp) {
|
|
|
|
|
$scope.analysis.not_settled = resp.data;
|
|
|
|
|
});
|
|
|
|
|
};
|
|
|
|
|
getClientUnClearedAmount();
|
|
|
|
|
// var getClientUnClearedAmount = function () {
|
|
|
|
|
// $http.get('/client/trans_flow/settlement/unclear').then(function (resp) {
|
|
|
|
|
// $scope.analysis.not_settled = resp.data;
|
|
|
|
|
// });
|
|
|
|
|
// };
|
|
|
|
|
// getClientUnClearedAmount();
|
|
|
|
|
function getExchangeRate() {
|
|
|
|
|
$http.get('/dashboard/system/exchange_rates', {params: $scope.params}).then(function (resp) {
|
|
|
|
|
if (resp.data && resp.data.length > 0) {
|
|
|
|
|