|
@@ -658,6 +658,10 @@ export default {
|
|
|
// 是否显示弹出层
|
|
|
open: false,
|
|
|
openDetailBill: false,
|
|
|
+ //人脸验证结果
|
|
|
+ faceResult:"",
|
|
|
+ //人脸识别结果传参
|
|
|
+ authForm:{},
|
|
|
// 查询参数
|
|
|
queryParams: {
|
|
|
pageNum: 1,
|
|
@@ -1349,6 +1353,7 @@ export default {
|
|
|
if (this.zfpAuthType == "01") {
|
|
|
//调用人脸识别生成二维码
|
|
|
faceAuth().then((response) => {
|
|
|
+ console.log(response);
|
|
|
if (response.data) {
|
|
|
//获取二维码
|
|
|
this.fileUrl = response.data.fileUrl;
|
|
@@ -1365,6 +1370,7 @@ export default {
|
|
|
checkFaceAuth(this.authForm).then((res) => {
|
|
|
//认证结果
|
|
|
this.faceResult = res.data.Verification;
|
|
|
+ console.log("result:"+res.data.Verification);
|
|
|
//成功
|
|
|
if (this.faceResult == "20") {
|
|
|
this.msgSuccess("验证成功");
|