[FIX]【保全】受益人确认页显示;受益人变更提交接口字段修改;辅助测试—临时关闭人脸识别功能

This commit is contained in:
yuweiqi
2020-06-12 15:27:58 +08:00
parent ae7358293e
commit f1dbe5c709
4 changed files with 21 additions and 23 deletions

View File

@@ -123,26 +123,21 @@ export default {
toFace(config) {
console.log('----------', config)
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('face_auth', config)
// 跳过人脸识别
// new Promise(resolve => {
// console.log('--跳过人脸识别--返回识别成功')
// resolve(JSON.stringify({ state: '1' }))
// })
.then(data => {
if (JSON.parse(data).state == '1') {
this.jumpNextPage(this.path)
} else {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败')
}
})
// EWebBridge.webCallAppInJs('face_auth', config)
// 跳过人脸识别
new Promise(resolve => {
console.log('--跳过人脸识别--返回识别成功')
resolve(JSON.stringify({ state: '1' }))
}).then(data => {
if (JSON.parse(data).state == '1') {
this.jumpNextPage(this.path)
} else {
// eslint-disable-next-line no-undef
EWebBridge.webCallAppInJs('webview_toast', '人脸检测失败')
}
})
}
}
// beforeRouteLeave(to, from, next) {
// // document.body.style.backgroundColor = ''
// next()
// }
}
</script>