mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 15:46:43 +08:00
feature: 白名单管理
1. 保全人脸识别白名单
This commit is contained in:
@@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import utilsAge from '@/assets/js/utils/age'
|
import utilsAge from '@/assets/js/utils/age'
|
||||||
|
import { getWhitelist } from '@/api/ebiz/whitelist'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'HandleResult',
|
name: 'HandleResult',
|
||||||
@@ -120,8 +121,21 @@ export default {
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
toFace(config) {
|
async toFace(config) {
|
||||||
console.log('----------', config)
|
const res = await getWhitelist({
|
||||||
|
idNo: this.customerInfo.idNo,
|
||||||
|
name: this.customerInfo.customerName,
|
||||||
|
whiteType: 'edor_face_show'
|
||||||
|
})
|
||||||
|
if (res.result === '0') {
|
||||||
|
// 用户在白名单内
|
||||||
|
if (res.content && res.content.length) {
|
||||||
|
this.jumpNextPage(this.path)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
this.$toast(res.resultMessage)
|
||||||
|
}
|
||||||
// eslint-disable-next-line no-undef
|
// eslint-disable-next-line no-undef
|
||||||
EWebBridge.webCallAppInJs('face_auth', config)
|
EWebBridge.webCallAppInJs('face_auth', config)
|
||||||
// 跳过人脸识别
|
// 跳过人脸识别
|
||||||
|
|||||||
Reference in New Issue
Block a user