提交人脸问题更改

This commit is contained in:
皮伟
2019-11-09 13:58:45 +08:00
parent c9c885d859
commit 28375b337d

View File

@@ -344,8 +344,8 @@ export default {
that.insuredUrl() that.insuredUrl()
} else { } else {
this.idcardData.typeface = !this.idcardData.typeface this.idcardData.typeface = !this.idcardData.typeface
this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredInfo).name this.idcardData.idcardName = JSON.parse(this.$route.query.saleInsuredPersonInfo).name
this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredInfo).idNo this.idcardData.idcardNumber = JSON.parse(this.$route.query.saleInsuredPersonInfo).idNo
} }
} }
} else { } else {
@@ -375,8 +375,8 @@ export default {
} else { } else {
// 调原生人脸识别 // 调原生人脸识别
EWebBridge.webCallAppInJs('face_auth', { EWebBridge.webCallAppInJs('face_auth', {
number: that.saleInsuredInfo.idNo, //身份证号码 number: that.saleInsuredPersonInfo.idNo, //身份证号码
name: that.saleInsuredInfo.name //姓名 name: that.saleInsuredPersonInfo.name //姓名
}).then(data => { }).then(data => {
if (JSON.parse(data).state == '1') { if (JSON.parse(data).state == '1') {
that.insuredUrl() that.insuredUrl()