Upd:信用卡合规流程

master
dulingling 4 years ago
parent 4643a9ffa8
commit c0710d4f38

@ -668,17 +668,17 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
//制作卡支付合同 //制作卡支付合同
$scope.exportCardAgreegatePDF = function(){ $scope.exportCardAgreegatePDF = function(){
$scope.showCardBg = true; $scope.showBg = true;
$http.get('/sys/partners/' + $scope.partner.client_moniker + '/export/aggregate/card_agree_pdf').then(function () { $http.get('/sys/partners/' + $scope.partner.client_moniker + '/export/aggregate/card_agree_pdf').then(function () {
commonDialog.alert({ commonDialog.alert({
title: 'Success', title: 'Success',
content: 'Agreement File Generate Succeed! Please notify BD!', content: 'Agreement File Generate Succeed! Please notify BD!',
type: 'success' type: 'success'
}); });
$scope.showCardBg = false; $scope.showBg = false;
$state.reload(); $state.reload();
}, function (resp) { }, function (resp) {
$scope.showCardBg = false; $scope.showBg = false;
$state.reload(); $state.reload();
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'}); commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
}); });
@ -698,7 +698,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
var choises = [{label: '取消', className: 'btn-danger', key: '2', dismiss: true}, var choises = [{label: '取消', className: 'btn-danger', key: '2', dismiss: true},
{label: '确认生成', className: 'btn-success', key: '1'}]; {label: '确认生成', className: 'btn-success', key: '1'}];
var content = ''; var content = '';
$scope.showCardPromotionaBg = true; $scope.showBg = true;
commonDialog.confirm({ commonDialog.confirm({
title: title, title: title,
content: content, content: content,
@ -716,10 +716,10 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
content: 'Agreement File Generate Succeed! Please notify BD!', content: 'Agreement File Generate Succeed! Please notify BD!',
type: 'success' type: 'success'
}); });
$scope.showCardPromotionaBg = false; $scope.showBg = false;
$state.reload(); $state.reload();
}, function (resp) { }, function (resp) {
$scope.showCardPromotionaBg = false; $scope.showBg = false;
$state.reload(); $state.reload();
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'}); commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'});
}); });

Loading…
Cancel
Save