【招商银行不走官微签约,同其他银行签约流程】提示语修改 '亲,银行卡已在签约中,请稍后'

This commit is contained in:
li.yuetong
2022-04-28 14:56:53 +08:00
parent e198b49bf3
commit a52cd0990f

View File

@@ -460,8 +460,9 @@ export default {
return true; return true;
} }
const bankCode = JSON.parse(window.localStorage.getItem('underWriteData')).bankCode; const bankCode = JSON.parse(window.localStorage.getItem('underWriteData')).bankCode;
// 1.微信支付方式 2.银行卡支付 且 招商银行卡 需要签约 // 1.微信支付方式 2.银行卡支付 且 招商银行卡 需要签约 20220426 招商银行不走官微签约,同其他银行签约流程
if (!((this.radio == '' && ('CMB' == bankCode || '308' == bankCode)) || this.radio == '3')){ // if (!((this.radio == '' && ('CMB' == bankCode || '308' == bankCode)) || this.radio == '3')){
if (!(this.radio == '' || this.radio == '3')){
isNeedSignFlag = false; isNeedSignFlag = false;
return true; return true;
} }
@@ -514,34 +515,35 @@ export default {
// if (checkRes.signState == '4' && shortUrl) { // if (checkRes.signState == '4' && shortUrl) {
if (checkRes.signState == '4') { if (checkRes.signState == '4') {
// 签约中 // 签约中
if (checkRes.signConfirmType == '4' && ('CMB' == bankCode || '308' == bankCode)) { // if (checkRes.signConfirmType == '4' && ('CMB' == bankCode || '308' == bankCode)) {
// signConfirmType = 4 代表 招行需签约 // // signConfirmType = 4 代表 招行需签约
// this.bankSignJump(shortUrl); // // this.bankSignJump(shortUrl);
Dialog.alert({ // Dialog.alert({
message: '亲,招商银行卡请至官微续期签约~', // message: '亲,招商银行卡请至官微续期签约~',
confirmButtonColor: '#ff5e50',
}).then(() => {})
resolve(false);
}
// else {
// // 其他银行
// const info = '亲,银行卡已在签约中,请确认是否已完成续期银行卡签约,如未完成可以点击继续签约~'
// Dialog.confirm({
// message: info,
// className: 'reConfirm leftConfirm',
// cancelButtonText: '返回',
// cancelButtonColor: '#ff5e50',
// confirmButtonText: '继续签约',
// confirmButtonColor: '#ff5e50', // confirmButtonColor: '#ff5e50',
// allowHtml: true // }).then(() => {})
// }).then(() => { // resolve(false);
// // 继续签约 跳转页面 // }
// window.location.href = shortUrl // else {
// resolve(false); // 其他银行
// }).catch(() => { // const info = '亲,银行卡已在签约中,请确认是否已完成续期银行卡签约,如未完成可以点击继续签约~'
// // 返回 保留在当前页面 const info = '亲,银行卡已在签约中,请稍后'
// resolve(false); Dialog.confirm({
// }) message: info,
className: 'reConfirm leftConfirm',
cancelButtonText: '确认',
cancelButtonColor: '#ff5e50',
// confirmButtonText: '继续签约',
// confirmButtonColor: '#ff5e50',
allowHtml: true
}).then(() => {
// 继续签约 跳转页面
// window.location.href = shortUrl
// resolve(false);
}).catch(() => {
// 返回 保留在当前页面
resolve(false);
})
// } // }
} else if (checkRes.signState == '3') { } else if (checkRes.signState == '3') {
// 签约失败 // 签约失败