【fix】 删除在签收回执时,调用中保信进行手机号 验证

This commit is contained in:
tian.guangyuan
2020-05-13 18:31:29 +08:00
parent a885e94069
commit 6e6b48b160

View File

@@ -314,41 +314,10 @@ export default {
submit4detailJump(){
// 如果是回执签收
// 则短信验证
this.$toast.loading({
// 持续展示 toast
duration: 0,
// 禁用背景点击s
forbidClick: true,
loadingType: 'spinner',
message: '加载中……'
})
let data = {
name: this.saleInsuredInfo.name,
idType: this.saleInsuredInfo.idType,
idNo: this.saleInsuredInfo.idNo,
mobile: this.saleInsuredInfo.mobile
}
this.customerMobile = this.saleInsuredInfo.mobile
this.encyCustomerMobile = this.customerMobile.replace(/^(\d{3})\d{4}(\d{4})$/, '$1****$2')
this.authCode = null
// eslint-disable-next-line no-unused-vars
// return new Promise((resolve, reject) => {
checkPhone(data).then(res => {
console.log(res)
if (res.result == '0') {
console.log(res)
this.show = true
} else {
// this.$toast(res.resultMessage)
Dialog.confirm({
title: '提示',
message: res.resultMessage,
showCancelButton: false
})
}
})
// })
this.show = true
},
// 点击提交
submit4detail() {