feature/GFRS-2215【待完成】重新投保--再重新投保处添加人脸识别--提交人庞兴月

This commit is contained in:
pangxingyue
2021-03-30 16:02:58 +08:00
parent 911f12643b
commit 055cec48f4
2 changed files with 57 additions and 37 deletions

View File

@@ -748,8 +748,7 @@ export default {
}
if (this.faceAuthCount.appnt < this.smsAuthNum) {
// eslint-disable-next-line no-undef
that.saleInsuredInfo.idNo = '120222199012046418';
that.saleInsuredInfo.name = '庞兴月';
/**
const authRes = await EWebBridge.webCallAppInJs('face_auth', {
businessSource: '1', //业务来源:1-电投2-入司3-理赔4-保全
number: that.saleInsuredInfo.idNo, //身份证号码
@@ -767,6 +766,13 @@ export default {
}
}
})
**/
// todo 测试去掉人脸识别 start=====================
// 保存rid 数据
that.saveCustomerRidInfo('appnt_rid', 'B')
that.goUrl()
// todo 测试去掉人脸识别 end=====================
// const authRes = await this.fakeFaceAuth(true)
if (JSON.parse(authRes).state == '1') {
this.goUrl()

View File

@@ -71,7 +71,7 @@
</template>
<script>
import { Search, Sticky, PullRefresh, list, Tag, Popup, Radio, RadioGroup } from 'vant'
import { Search, Sticky, PullRefresh, list, Tag, Popup, Radio, RadioGroup, Toast } from 'vant'
import { getPolicyListAgent } from '@/api/ebiz/insureAgain/insureAgain'
import { formatRiskList } from '@/assets/js/utils/formatRiskList.js'
import dataDictionary from '@/assets/js/utils/data-dictionary' //根据数据字典找到用户等级
@@ -188,7 +188,21 @@ export default {
intercept: '1' //是否拦截原生返回事件 1是 其他否
})
}, 100)
// 人脸识别
// window.EWebBridge.webCallAppInJs('face_auth', {
// businessSource: '1', //业务来源:1-电投2-入司3-理赔4-保全
// number: that.saleInsuredInfo.idNo, //身份证号码
// name: order.appntName //姓名
// }).then(data => {
// if (JSON.parse(data).state == '1') {
// this.isAgreementShow = true
// } else {
// return this.$toast('人脸识别,验证失败!')
// }
// })
this.isAgreementShow = true
},
uncommitInsureDetail(order) {
CacheUtils.setLocItem('policyNo', order.policyNo)