mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-20 23:36:44 +08:00
验证码弹框--签约确认失败时,添加亲,您当前银行卡账户续期签约失败,原因:提示话术
This commit is contained in:
@@ -85,7 +85,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<!-- 分享到微信的页面loading -->
|
<!-- 分享到微信的页面loading -->
|
||||||
<Loading :isLoading="isLoading"></Loading>
|
<Loading :isLoading="isLoading"></Loading>
|
||||||
<van-dialog v-model="show" title="提示" show-cancel-button @confirm="authConfirm(verfyCode)">
|
<van-dialog v-model="show" title="提示" show-cancel-button @confirm="authConfirm" :before-close="checkModelBeforeClose" @cancel="checkModelCancel">
|
||||||
<p class="p10 fs14">亲,您的银行卡账户未进行续期签约,为确保是您本人操作,短信验证码已发送至您的手机号{{ encyCustomerMobile }},请您输入验证码完成签约流程~</p>
|
<p class="p10 fs14">亲,您的银行卡账户未进行续期签约,为确保是您本人操作,短信验证码已发送至您的手机号{{ encyCustomerMobile }},请您输入验证码完成签约流程~</p>
|
||||||
<van-cell-group class="flex align-items-c pr5 mb15">
|
<van-cell-group class="flex align-items-c pr5 mb15">
|
||||||
<van-field maxlength="6" placeholder="请输入短信验证码" v-model="verfyCode" clearable label-width="0" />
|
<van-field maxlength="6" placeholder="请输入短信验证码" v-model="verfyCode" clearable label-width="0" />
|
||||||
@@ -472,46 +472,56 @@ export default {
|
|||||||
if (checkRes.signConfirmType == '2'){
|
if (checkRes.signConfirmType == '2'){
|
||||||
this.show = true
|
this.show = true
|
||||||
this.rdSeq = checkRes.rdSeq
|
this.rdSeq = checkRes.rdSeq
|
||||||
|
resolve(false);
|
||||||
}else if (checkRes.signConfirmType == '3'){
|
}else if (checkRes.signConfirmType == '3'){
|
||||||
Dialog.alert({
|
Dialog.alert({
|
||||||
message: '亲,银行已发送短信至手机号'+ this.encyCustomerMobile +',按照短信提示完成短信回复签约,再次通过金掌桂完成后续流程。',
|
message: '亲,银行已发送短信至手机号'+ this.encyCustomerMobile +',按照短信提示完成短信回复签约,再次通过金掌桂完成后续流程。',
|
||||||
confirmButtonColor: '#ff5e50',
|
confirmButtonColor: '#ff5e50',
|
||||||
}).then(() => {})
|
}).then(() => {})
|
||||||
|
resolve(false);
|
||||||
}else{
|
}else{
|
||||||
this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!')
|
this.$toast('该微信绑定的银行卡金掌桂暂不支持续期签约!')
|
||||||
|
resolve(false);
|
||||||
}
|
}
|
||||||
// 需要签约
|
// 需要签约
|
||||||
const shortUrl = checkRes.shortUrl;
|
// const shortUrl = checkRes.shortUrl;
|
||||||
if(checkRes.signState == '1'){
|
// if(checkRes.signState == '1'){
|
||||||
// 需签约 且 未签约
|
// // 需签约 且 未签约
|
||||||
this.bankSignJump(shortUrl)
|
// this.bankSignJump(shortUrl)
|
||||||
resolve(false);
|
// resolve(false);
|
||||||
}else if (checkRes.signState == '4' && shortUrl) {
|
// }else
|
||||||
|
// if (checkRes.signState == '4' && shortUrl) {
|
||||||
|
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);
|
||||||
resolve(false);
|
Dialog.alert({
|
||||||
}else {
|
message: '亲,招商银行卡请至官微续期签约~',
|
||||||
// 其他银行
|
|
||||||
const info = '亲,银行卡已在签约中,请确认是否已完成续期银行卡签约,如未完成可以点击继续签约~'
|
|
||||||
Dialog.confirm({
|
|
||||||
message: info,
|
|
||||||
className: 'reConfirm leftConfirm',
|
|
||||||
cancelButtonText: '返回',
|
|
||||||
cancelButtonColor: '#ff5e50',
|
|
||||||
confirmButtonText: '继续签约',
|
|
||||||
confirmButtonColor: '#ff5e50',
|
confirmButtonColor: '#ff5e50',
|
||||||
allowHtml: true
|
}).then(() => {})
|
||||||
}).then(() => {
|
|
||||||
// 继续签约 跳转页面
|
|
||||||
window.location.href = shortUrl
|
|
||||||
resolve(false);
|
resolve(false);
|
||||||
}).catch(() => {
|
|
||||||
// 返回 保留在当前页面
|
|
||||||
resolve(false);
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
// else {
|
||||||
|
// // 其他银行
|
||||||
|
// 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') {
|
} else if (checkRes.signState == '3') {
|
||||||
// 签约失败
|
// 签约失败
|
||||||
const info = '亲,您当前银行卡账户续期签约失败,原因:' + checkRes.resultMessage
|
const info = '亲,您当前银行卡账户续期签约失败,原因:' + checkRes.resultMessage
|
||||||
@@ -552,11 +562,49 @@ export default {
|
|||||||
verfyCode:this.verfyCode,
|
verfyCode:this.verfyCode,
|
||||||
businessNo:this.orderNo
|
businessNo:this.orderNo
|
||||||
}
|
}
|
||||||
|
if (!this.verfyCode || this.verfyCode == '') {
|
||||||
|
this.show = true
|
||||||
|
return this.$toast('请输入短信验证码')
|
||||||
|
}
|
||||||
|
if (this.verfyCode.length !== 6) {
|
||||||
|
this.show = true
|
||||||
|
return this.$toast('验证码格式错误')
|
||||||
|
}
|
||||||
signConfirm(data).then(res => {
|
signConfirm(data).then(res => {
|
||||||
this.verfyCode = ''
|
this.verfyCode = ''
|
||||||
this.$toast(res.resultMessage)
|
if (res.result == '0') {
|
||||||
|
this.getAcceptInsurance()
|
||||||
|
}else{
|
||||||
|
// 签约失败
|
||||||
|
const info = '亲,您当前银行卡账户续期签约失败,原因:' + res.resultMessage
|
||||||
|
Dialog.confirm({
|
||||||
|
message: info,
|
||||||
|
className: 'reConfirm leftConfirm',
|
||||||
|
cancelButtonText: '返回',
|
||||||
|
cancelButtonColor: '#ff5e50',
|
||||||
|
confirmButtonText: '修改银行卡信息',
|
||||||
|
confirmButtonColor: '#ff5e50',
|
||||||
|
allowHtml: true
|
||||||
|
}).then(() => {
|
||||||
|
// 订单状态已同步修改为 签约失败,页面提示去修改银行卡信息
|
||||||
|
localStorage.setItem('changeCard', true)
|
||||||
|
this.$router.push('/sale/AccountInformation')
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
//弹窗关闭提示
|
||||||
|
checkModelBeforeClose(action, done) {
|
||||||
|
if (action === 'confirm' && !this.show) {
|
||||||
|
setTimeout(done, 1000)
|
||||||
|
} else {
|
||||||
|
done(false)
|
||||||
|
}
|
||||||
|
},
|
||||||
|
// 取消按钮
|
||||||
|
checkModelCancel() {
|
||||||
|
this.show = false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
[Cell.name]: Cell,
|
[Cell.name]: Cell,
|
||||||
|
|||||||
Reference in New Issue
Block a user