mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 14:22:52 +08:00
【fix】 完成 GFRS-1019【待确定】签收回执人脸识别修改为短信验证码
待发布到测试环境测试
This commit is contained in:
@@ -363,36 +363,37 @@ export default {
|
||||
},
|
||||
// 回执签收
|
||||
next() {
|
||||
let that = this
|
||||
if (this.faceAuthCount.appnt < this.smsAuthNum) {
|
||||
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()
|
||||
}
|
||||
this.toNextPage()
|
||||
// let that = this
|
||||
// if (this.faceAuthCount.appnt < this.smsAuthNum) {
|
||||
// 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()
|
||||
// }
|
||||
},
|
||||
toNextPage() {
|
||||
let params = {
|
||||
|
||||
Reference in New Issue
Block a user