luoyang 5 years ago
parent 1d9f7022c4
commit cc7d1ae88e

@ -3849,7 +3849,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.applicationFileProgress; delete $scope.applicationFileProgress;
$scope.file.upay_application_form[0].file_value = resp.data.url;
$scope.uploadFile.upay_application_form = resp.data.url; $scope.uploadFile.upay_application_form = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -3873,7 +3872,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.bankFileProgress; delete $scope.bankFileProgress;
$scope.file.client_bank_file[0].file_value = resp.data.url;
$scope.uploadFile.client_bank_file = resp.data.url; $scope.uploadFile.client_bank_file = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -3897,7 +3895,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.ASICProgress; delete $scope.ASICProgress;
$scope.file.client_company_file[0].file_value = resp.data.url;
$scope.uploadFile.client_company_file = resp.data.url; $scope.uploadFile.client_company_file = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -3921,7 +3918,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.idProgress; delete $scope.idProgress;
$scope.file.upay_driver_license[0].file_value = resp.data.url;
$scope.uploadFile.upay_driver_license = resp.data.url; $scope.uploadFile.upay_driver_license = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -3945,7 +3941,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.residenceFileProgress; 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.uploadFile.kyc_utility_bill_file = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -3969,7 +3964,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.refundPolicyFileProgress; delete $scope.refundPolicyFileProgress;
$scope.file.refund_exchange_policy[0].file_value = resp.data.url;
$scope.uploadFile.refund_exchange_policy = resp.data.url; $scope.uploadFile.refund_exchange_policy = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -3993,7 +3987,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.privacyFileProgress; delete $scope.privacyFileProgress;
$scope.file.upay_privacy_policy[0].file_value = resp.data.url;
$scope.uploadFile.upay_privacy_policy = resp.data.url; $scope.uploadFile.upay_privacy_policy = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -4017,7 +4010,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.cardFileProgress; delete $scope.cardFileProgress;
$scope.file.card_security_policy[0].file_value = resp.data.url;
$scope.uploadFile.card_security_policy = resp.data.url; $scope.uploadFile.card_security_policy = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -4041,7 +4033,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.letterFileProgress; delete $scope.letterFileProgress;
$scope.file.upay_offer_letter[0].file_value = resp.data.url;
$scope.uploadFile.upay_offer_letter = resp.data.url; $scope.uploadFile.upay_offer_letter = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -4065,7 +4056,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.promotionalFileProgress; delete $scope.promotionalFileProgress;
$scope.file.upay_promotional_offer[0].file_value = resp.data.url;
$scope.uploadFile.upay_promotional_offer = resp.data.url; $scope.uploadFile.upay_promotional_offer = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -4089,7 +4079,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.termsFileProgress; delete $scope.termsFileProgress;
$scope.file.upay_terms_conditions[0].file_value = resp.data.url;
$scope.uploadFile.upay_terms_conditions = resp.data.url; $scope.uploadFile.upay_terms_conditions = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {
@ -4113,7 +4102,6 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
}).then(function (resp) { }).then(function (resp) {
$scope.uploadFile = {}; $scope.uploadFile = {};
delete $scope.descFileProgress; delete $scope.descFileProgress;
$scope.file.upay_desc_file[0].file_value = resp.data.url;
$scope.uploadFile.upay_desc_file = resp.data.url; $scope.uploadFile.upay_desc_file = resp.data.url;
$scope.updateFile(); $scope.updateFile();
}, function (resp) { }, function (resp) {

Loading…
Cancel
Save