[FIX]确认规则--投保人、被保人、投被同人时,只有不使用身份证才可跳过人脸识别,跟年龄无关

This commit is contained in:
yuweiqi
2020-02-04 16:18:16 +08:00
parent 02d596724d
commit e6335349b6
2 changed files with 5 additions and 10 deletions

View File

@@ -323,13 +323,6 @@ export default {
} }
}) })
//判断this.chooseProducts是否含有productTrialYearDTO
// this.chooseProducts.forEach((item,index) => {
// })
// this.influenceAddRiskCodes
if (this.chooseProducts[0].influences && this.chooseProducts[0].influences.length > 0) { if (this.chooseProducts[0].influences && this.chooseProducts[0].influences.length > 0) {
this.influences = this.chooseProducts[0].influences this.influences = this.chooseProducts[0].influences
this.chooseProducts[0].influences.forEach(item => { this.chooseProducts[0].influences.forEach(item => {

View File

@@ -368,8 +368,9 @@ export default {
window.localStorage.setItem('sign-val', val) window.localStorage.setItem('sign-val', val)
window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign)) window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign))
if (val == '0' || val == '2') { if (val == '0' || val == '2') {
//idtype不为身份证或年纪小于18岁跳过人脸识别 //idtype不为身份证跳过人脸识别
if (JSON.parse(this.$route.query.saleInsuredInfo).idType != '1' || JSON.parse(this.$route.query.saleInsuredInfo).age < '18') { // if (JSON.parse(this.$route.query.saleInsuredInfo).idType != '1' || JSON.parse(this.$route.query.saleInsuredInfo).age < '18') {
if (JSON.parse(this.$route.query.saleInsuredInfo).idType != '1') {
that.goUrl() that.goUrl()
} else { } else {
this.idcardData.typeface = !this.idcardData.typeface this.idcardData.typeface = !this.idcardData.typeface
@@ -379,7 +380,8 @@ export default {
} else { } else {
window.localStorage.setItem('sign-val', val) window.localStorage.setItem('sign-val', val)
window.localStorage.setItem('sign-insured', JSON.stringify(that.insuredSign)) window.localStorage.setItem('sign-insured', JSON.stringify(that.insuredSign))
if (JSON.parse(this.$route.query.saleInsuredPersonInfo).idType != '1' || JSON.parse(this.$route.query.saleInsuredPersonInfo).age < '18') { // if (JSON.parse(this.$route.query.saleInsuredPersonInfo).idType != '1' || JSON.parse(this.$route.query.saleInsuredPersonInfo).age < '18') {
if (JSON.parse(this.$route.query.saleInsuredPersonInfo).idType != '1') {
that.insuredUrl() that.insuredUrl()
} else { } else {
this.idcardData.typeface = !this.idcardData.typeface this.idcardData.typeface = !this.idcardData.typeface