mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 23:26:44 +08:00
关闭测试人脸
This commit is contained in:
@@ -714,14 +714,14 @@ export default {
|
||||
if (this.faceAuthCount.appnt < this.smsAuthNum) {
|
||||
// 原人脸识别
|
||||
//eslint-disable-next-line no-undef
|
||||
const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
number: that.saleInsuredInfo.idNo, //身份证号码
|
||||
name: that.saleInsuredInfo.name //姓名
|
||||
})
|
||||
// const authRes = await new Promise(function(resolve) {
|
||||
// resolve(JSON.stringify({ state: '1' }))
|
||||
// const authRes = await EWebBridge.webCallAppInJs('face_auth', {
|
||||
// businessSource: '1', //业务来源:1-电投,2-入司,3-理赔,4-保全
|
||||
// number: that.saleInsuredInfo.idNo, //身份证号码
|
||||
// name: that.saleInsuredInfo.name //姓名
|
||||
// })
|
||||
const authRes = await new Promise(function(resolve) {
|
||||
resolve(JSON.stringify({ state: '1' }))
|
||||
})
|
||||
if (JSON.parse(authRes).state == '1') {
|
||||
// 保存rid 数据
|
||||
that.saveCustomerRidInfo('appnt_rid', 'B')
|
||||
@@ -775,14 +775,14 @@ export default {
|
||||
if (this.faceAuthCount.insured < this.smsAuthNum) {
|
||||
// 调原生人脸识别
|
||||
//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' }))
|
||||
// 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()
|
||||
|
||||
Reference in New Issue
Block a user