mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 19:16:43 +08:00
调整卡单点击支付增加银行卡支付的逻辑
This commit is contained in:
@@ -742,31 +742,25 @@ export default {
|
|||||||
支付之前要先保存银行账户信息
|
支付之前要先保存银行账户信息
|
||||||
*/
|
*/
|
||||||
let res = await saveOrUpdateAccount(data)
|
let res = await saveOrUpdateAccount(data)
|
||||||
// .then(res => {
|
|
||||||
console.log('res', res)
|
|
||||||
this.$toast.clear()
|
this.$toast.clear()
|
||||||
if (res.result == '0') {
|
if (res.result == '0') {
|
||||||
this.$toast.loading({
|
Dialog.alert({
|
||||||
duration: 0, // 持续展示 toast
|
title: '特别提醒',
|
||||||
forbidClick: true, // 禁用背景点击
|
messageAlign: 'left',
|
||||||
loadingType: 'spinner',
|
confirmButtonText: '确认',
|
||||||
message: '加载中……'
|
message: `2023年9月1日起生效的惠桂保保单,不能参保的5类既往症中增加了“神经性耳聋”,敬请注意!`,
|
||||||
|
})
|
||||||
|
.then(() => {
|
||||||
|
this.$toast.loading({
|
||||||
|
duration: 0, // 持续展示 toast
|
||||||
|
forbidClick: true, // 禁用背景点击
|
||||||
|
loadingType: 'spinner',
|
||||||
|
message: '加载中……'
|
||||||
|
})
|
||||||
|
this.acceptInsurance()
|
||||||
|
})
|
||||||
|
.catch(() => {
|
||||||
})
|
})
|
||||||
|
|
||||||
// if (!flag) {
|
|
||||||
// let rs = await this.underWrite()
|
|
||||||
|
|
||||||
// if (rs.result != '0') {
|
|
||||||
// this.$toast.clear()
|
|
||||||
// return this.$toast(rs.resultMessage)
|
|
||||||
// }
|
|
||||||
|
|
||||||
// if (rs.uwResult != '02') {
|
|
||||||
// return this.$toast(rs.message)
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
this.acceptInsurance()
|
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
this.isLoading = false
|
this.isLoading = false
|
||||||
|
|||||||
Reference in New Issue
Block a user