From a40c046e41958cbac8b35ca324567ded248042ed Mon Sep 17 00:00:00 2001 From: wangning <164851225@qq.com> Date: Mon, 26 Mar 2018 10:53:01 +0800 Subject: [PATCH] fixbug --- src/main/ui/static/dashboard/partner-dashboard.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/ui/static/dashboard/partner-dashboard.js b/src/main/ui/static/dashboard/partner-dashboard.js index 66a8b7377..37ce4672d 100644 --- a/src/main/ui/static/dashboard/partner-dashboard.js +++ b/src/main/ui/static/dashboard/partner-dashboard.js @@ -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) {