Merge branch 'hotfix/bug_回归测试问题及优化' into dev

# Conflicts:
#	src/views/ebiz/serve/Detail.vue
This commit is contained in:
yuweiqi
2020-03-27 18:26:17 +08:00

View File

@@ -365,26 +365,31 @@ export default {
next() {
let that = this
if (this.faceAuthCount.appnt < this.smsAuthNum) {
EWebBridge.webCallAppInJs('face_auth', {
number: this.appntDTO.idNo, //身份证号码
name: this.appntDTO.name //姓名
}).then(data => {
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
this.$toast.clear()
if (JSON.parse(data).state == '1') {
this.toNextPage()
} else {
that.faceAuthCount.appnt++
if (that.faceAuthCount.appnt >= this.smsAuthNum) {
this.realPeopelCheck()
if (this.appntDTO.idType == '1') {
//证件类型为身份证时,进行人脸识别
EWebBridge.webCallAppInJs('face_auth', {
number: this.appntDTO.idNo, //身份证号码
name: this.appntDTO.name //姓名
}).then(data => {
this.$toast.loading({
duration: 0, // 持续展示 toast
forbidClick: true, // 禁用背景点击
loadingType: 'spinner',
message: '加载中……'
})
this.$toast.clear()
if (JSON.parse(data).state == '1') {
this.toNextPage()
} else {
that.faceAuthCount.appnt++
if (that.faceAuthCount.appnt >= this.smsAuthNum) {
this.realPeopelCheck()
}
}
}
})
})
} else {
this.toNextPage()
}
} else {
this.realPeopelCheck()
}