mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-25 04:52:52 +08:00
Merge branch 'hotfix/bug_回归测试问题及优化' into dev
# Conflicts: # src/views/ebiz/serve/Detail.vue
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user