mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 23:46:44 +08:00
【续期银行卡签约需求】-签约中逻辑调整,获取短连接地址,前端跳转签约 --提交人:白金岩
This commit is contained in:
@@ -466,15 +466,31 @@ export default {
|
|||||||
// 需签约 且 未签约
|
// 需签约 且 未签约
|
||||||
this.bankSignJump(shortUrl)
|
this.bankSignJump(shortUrl)
|
||||||
resolve(false);
|
resolve(false);
|
||||||
}else if (checkRes.signState == '4') {
|
}else if (checkRes.signState == '4' && shortUrl) {
|
||||||
if (checkRes.signConfirmType == '4' && shortUrl) {
|
// 签约中
|
||||||
|
if (checkRes.signConfirmType == '4' && ('CMB' == bankCode || '308' == bankCode)) {
|
||||||
// signConfirmType = 4 代表 招行需签约
|
// signConfirmType = 4 代表 招行需签约
|
||||||
this.bankSignJump(shortUrl);
|
this.bankSignJump(shortUrl);
|
||||||
resolve(false);
|
resolve(false);
|
||||||
}else {
|
}else {
|
||||||
// 其他银行 签约中
|
// 其他银行
|
||||||
this.$toast('亲,您的银行卡正在签约中,请稍后再试')
|
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') {
|
||||||
// 签约失败
|
// 签约失败
|
||||||
|
|||||||
Reference in New Issue
Block a user