From cc7d1ae88eb6a025732af26cb50589d00efa2ff9 Mon Sep 17 00:00:00 2001 From: luoyang Date: Thu, 30 Apr 2020 11:48:59 +0800 Subject: [PATCH] fix --- src/main/ui/static/payment/partner/partner-manage.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/main/ui/static/payment/partner/partner-manage.js b/src/main/ui/static/payment/partner/partner-manage.js index 48963b0c5..4b767c770 100644 --- a/src/main/ui/static/payment/partner/partner-manage.js +++ b/src/main/ui/static/payment/partner/partner-manage.js @@ -3849,7 +3849,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.applicationFileProgress; - $scope.file.upay_application_form[0].file_value = resp.data.url; $scope.uploadFile.upay_application_form = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -3873,7 +3872,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.bankFileProgress; - $scope.file.client_bank_file[0].file_value = resp.data.url; $scope.uploadFile.client_bank_file = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -3897,7 +3895,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.ASICProgress; - $scope.file.client_company_file[0].file_value = resp.data.url; $scope.uploadFile.client_company_file = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -3921,7 +3918,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.idProgress; - $scope.file.upay_driver_license[0].file_value = resp.data.url; $scope.uploadFile.upay_driver_license = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -3945,7 +3941,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.residenceFileProgress; - $scope.file.kyc_utility_bill_file[0].file_value = resp.data.url; $scope.uploadFile.kyc_utility_bill_file = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -3969,7 +3964,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.refundPolicyFileProgress; - $scope.file.refund_exchange_policy[0].file_value = resp.data.url; $scope.uploadFile.refund_exchange_policy = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -3993,7 +3987,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.privacyFileProgress; - $scope.file.upay_privacy_policy[0].file_value = resp.data.url; $scope.uploadFile.upay_privacy_policy = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -4017,7 +4010,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.cardFileProgress; - $scope.file.card_security_policy[0].file_value = resp.data.url; $scope.uploadFile.card_security_policy = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -4041,7 +4033,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.letterFileProgress; - $scope.file.upay_offer_letter[0].file_value = resp.data.url; $scope.uploadFile.upay_offer_letter = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -4065,7 +4056,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.promotionalFileProgress; - $scope.file.upay_promotional_offer[0].file_value = resp.data.url; $scope.uploadFile.upay_promotional_offer = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -4089,7 +4079,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.termsFileProgress; - $scope.file.upay_terms_conditions[0].file_value = resp.data.url; $scope.uploadFile.upay_terms_conditions = resp.data.url; $scope.updateFile(); }, function (resp) { @@ -4113,7 +4102,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter }).then(function (resp) { $scope.uploadFile = {}; delete $scope.descFileProgress; - $scope.file.upay_desc_file[0].file_value = resp.data.url; $scope.uploadFile.upay_desc_file = resp.data.url; $scope.updateFile(); }, function (resp) {