mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 06:26:44 +08:00
电投签名页面被保险人人脸识别通过后页面无反应问题修复 --秦路强
This commit is contained in:
@@ -762,30 +762,6 @@ export default {
|
||||
}
|
||||
}
|
||||
})
|
||||
// const authRes = await this.fakeFaceAuth(true)
|
||||
// if (JSON.parse(authRes).state == '1') {
|
||||
// this.goUrl()
|
||||
// } else {
|
||||
// this.faceAuthCount.appnt++
|
||||
// if (this.faceAuthCount.appnt >= this.smsAuthNum) {
|
||||
// this.operaFlag = 'appnt'
|
||||
// this.realPeopelCheck()
|
||||
// }
|
||||
// }
|
||||
// const authRes = await new Promise(function(resolve) {
|
||||
// resolve(JSON.stringify({ state: '1' }))
|
||||
// })
|
||||
// if (JSON.parse(authRes).state == '1') {
|
||||
// // 保存rid 数据
|
||||
// that.saveCustomerRidInfo('appnt_rid', 'B')
|
||||
// that.goUrl()
|
||||
// } else {
|
||||
// that.faceAuthCount.appnt++
|
||||
// if (this.faceAuthCount.appnt >= this.smsAuthNum) {
|
||||
// this.operaFlag = 'appnt'
|
||||
// this.realPeopelCheck()
|
||||
// }
|
||||
// }
|
||||
} else {
|
||||
this.operaFlag = 'appnt'
|
||||
this.realPeopelCheck()
|
||||
@@ -833,46 +809,16 @@ export default {
|
||||
name: that.saleInsuredPersonInfo.name //姓名
|
||||
}).then(data => {
|
||||
if (JSON.parse(data).state == '1') {
|
||||
// 保存rid 数据
|
||||
that.saveCustomerRidInfo('appnt_rid', 'B')
|
||||
that.goUrl()
|
||||
that.saveCustomerRidInfo('insured_rid', 'B')
|
||||
that.insuredUrl()
|
||||
} else {
|
||||
that.faceAuthCount.appnt++
|
||||
if (this.faceAuthCount.appnt >= this.smsAuthNum) {
|
||||
this.operaFlag = 'appnt'
|
||||
that.faceAuthCount.insured++
|
||||
if (this.faceAuthCount.insured >= this.smsAuthNum) {
|
||||
this.operaFlag = 'insured'
|
||||
this.realPeopelCheck()
|
||||
}
|
||||
}
|
||||
})
|
||||
// const authRes = await this.fakeFaceAuth(true)
|
||||
// if (JSON.parse(authRes).state == '1') {
|
||||
// this.goUrl()
|
||||
// } else {
|
||||
// this.faceAuthCount.appnt++
|
||||
// if (this.faceAuthCount.appnt >= this.smsAuthNum) {
|
||||
// this.operaFlag = 'appnt'
|
||||
// this.realPeopelCheck()
|
||||
// }
|
||||
// }
|
||||
//eslint-disable-next-line no-undef
|
||||
// const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
// businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
// number: that.saleInsuredPersonInfo.idNo, //身份证号码
|
||||
// name: that.saleInsuredPersonInfo.name //姓名
|
||||
// })
|
||||
// const authRes = await new Promise(function(resolve) {
|
||||
// resolve(JSON.stringify({ state: '1' }))
|
||||
// })
|
||||
// if (JSON.parse(authRes).state == '1') {
|
||||
// that.saveCustomerRidInfo('insured_rid', 'B')
|
||||
// that.insuredUrl()
|
||||
// } else {
|
||||
// that.faceAuthCount.insured++
|
||||
// if (this.faceAuthCount.insured >= this.smsAuthNum) {
|
||||
// this.operaFlag = 'insured'
|
||||
// this.realPeopelCheck()
|
||||
// }
|
||||
// }
|
||||
} else {
|
||||
this.operaFlag = 'insured'
|
||||
this.realPeopelCheck()
|
||||
|
||||
Reference in New Issue
Block a user