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

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