From eca84799a1e6ef0ae24f84f3556e63e965d96568 Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 12 Dec 2019 14:06:06 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=BC=98=E5=8C=96=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../static/payment/partner/partner_compliance.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/main/ui/static/payment/partner/partner_compliance.js b/src/main/ui/static/payment/partner/partner_compliance.js index b67db4565..f6e77530e 100644 --- a/src/main/ui/static/payment/partner/partner_compliance.js +++ b/src/main/ui/static/payment/partner/partner_compliance.js @@ -24,10 +24,6 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS return $http.get('/compliance/audit/compliance/clientViewFiles/'+ $stateParams.client_moniker); }] } - }).state('compliance_for_audit_detail', { - url: '/partner/complianceForAudit', - templateUrl: '/static/payment/partner/templates/compliance_auth.html', - controller: 'partnerComplianceAuditCtrl' }).state('partner_compliance_auth.partner_kyc_files_auth', { url: '/partners/KycFiles', templateUrl: 'static/payment/kyc/templates/compliance_audit_kyc.html', @@ -132,7 +128,6 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS app.controller('partnerKycFilesDetail', ['$rootScope', '$scope', '$http', '$state', '$uibModal', 'commonDialog', 'file', function ($rootScope, $scope, $http, $state, $uibModal, commonDialog, file) { $scope.file = file.data || {}; - debugger; $scope.partner = $scope.file.client; $scope.passPartnerComplianceFiles = function () { @@ -175,15 +170,5 @@ define(['angular', 'static/commons/commons', 'uiBootstrap', 'uiRouter', 'ngBootS }) } }]); - - - app.controller('partnerComplianceAuditCtrl', ['$rootScope','$state','$stateParams', function ($rootScope,$state,$stateParams) { - if ($state.is('compliance_for_audit_detail')){ - $state.go('partner_detail'); - } - }]); - - - return app; });