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

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', // confirmButtonColor: '#ff5e50',
}).then(() => {}) // }).then(() => {})
resolve(false); // resolve(false);
} // }
// else { // else {
// // 其他银行 // 其他银行
// const info = '亲,银行卡已在签约中,请确认是否已完成续期银行卡签约,如未完成可以点击继续签约~' // const info = '亲,银行卡已在签约中,请确认是否已完成续期银行卡签约,如未完成可以点击继续签约~'
// Dialog.confirm({ const info = '亲,银行卡已在签约中,请稍后'
// message: info, Dialog.confirm({
// className: 'reConfirm leftConfirm', message: info,
// cancelButtonText: '返回', className: 'reConfirm leftConfirm',
// cancelButtonColor: '#ff5e50', cancelButtonText: '确认',
cancelButtonColor: '#ff5e50',
// confirmButtonText: '继续签约', // confirmButtonText: '继续签约',
// confirmButtonColor: '#ff5e50', // confirmButtonColor: '#ff5e50',
// allowHtml: true allowHtml: true
// }).then(() => { }).then(() => {
// // 继续签约 跳转页面 // 继续签约 跳转页面
// window.location.href = shortUrl // window.location.href = shortUrl
// resolve(false); // resolve(false);
// }).catch(() => { }).catch(() => {
// // 返回 保留在当前页面 // 返回 保留在当前页面
// resolve(false); resolve(false);
// }) })
// } // }
} else if (checkRes.signState == '3') { } else if (checkRes.signState == '3') {
// 签约失败 // 签约失败