From c501f77d949cf49e86b1bb9eb83733617d910092 Mon Sep 17 00:00:00 2001 From: dalong306 <304592994@qq.com> Date: Mon, 27 Sep 2021 09:55:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=AE=97=E9=AA=8C=E8=AF=81UI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../config/platformrevenue/platformrevenue.js | 32 +++++- .../templates/platform_settle_logs.html | 98 ++++++++++++++++--- 2 files changed, 117 insertions(+), 13 deletions(-) diff --git a/src/main/ui/static/config/platformrevenue/platformrevenue.js b/src/main/ui/static/config/platformrevenue/platformrevenue.js index 505b81d96..0f8ac4ef2 100644 --- a/src/main/ui/static/config/platformrevenue/platformrevenue.js +++ b/src/main/ui/static/config/platformrevenue/platformrevenue.js @@ -65,7 +65,31 @@ define(['angular', 'decimal', 'uiRouter', 'angularEcharts', '../../analysis/repo }) } $scope.loadAliOnlineLogs(1) - $scope.loadBestpayLog = function () { + + $scope.loadAlipayApsInStoreLogs = function (page) { + var params = $scope.queryParams || {} + params.page = page || $scope.apsInStorePagination.page || 1 + params.limit = 20 + params.channel = 'ApsInStore' + $http.get('/platform/analysis/settle/log', { params: params }).then(function (resp) { + $scope.apsInStoreLogs = resp.data.data + $scope.apsInStorePagination = resp.data.pagination + }) + } + $scope.loadAlipayApsInStoreLogs(1) + $scope.loadAlipayApsCashierLogs = function (page) { + var params = $scope.queryParams || {} + params.page = page || $scope.apsCashierPagination.page || 1 + params.limit = 20 + params.channel = 'ApsCashier' + $http.get('/platform/analysis/settle/log', { params: params }).then(function (resp) { + $scope.apsCashierLogs = resp.data.data + $scope.apsCashierPagination = resp.data.pagination + }) + } + $scope.loadAlipayApsCashierLogs(1) + + $scope.loadBestpayLog = function () { $http.get('/platform/analysis/settle/Bestpay').then(function (resp) { $scope.bestpayLogs = resp.data }) @@ -77,6 +101,9 @@ define(['angular', 'decimal', 'uiRouter', 'angularEcharts', '../../analysis/repo $scope.loadAliLogs(1) $scope.loadAliOnlineLogs(1) $scope.loadWechatLogs(1) + $scope.loadAlipayApsInStoreLogs(1) + $scope.loadAlipayApsCashierLogs(1) + commonDialog.alert({ title: 'Success', content: '校验结果已经重新生成,请查看!', @@ -97,6 +124,9 @@ define(['angular', 'decimal', 'uiRouter', 'angularEcharts', '../../analysis/repo $http.get('/platform/analysis/generate/settle/log').then(function () { $scope.loadWechatLogs(1) $scope.loadAliLogs(1) + $scope.loadAlipayApsInStoreLogs(1) + $scope.loadAlipayApsCashierLogs(1) + $state.reload() }) $state.reload() diff --git a/src/main/ui/static/config/platformrevenue/templates/platform_settle_logs.html b/src/main/ui/static/config/platformrevenue/templates/platform_settle_logs.html index 8ce8f87e2..368fb8218 100644 --- a/src/main/ui/static/config/platformrevenue/templates/platform_settle_logs.html +++ b/src/main/ui/static/config/platformrevenue/templates/platform_settle_logs.html @@ -338,14 +338,14 @@ - +
No Data
-