luoyang 5 years ago
parent d49ba1508b
commit 1d9f7022c4

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

Loading…
Cancel
Save