From ee0f68a18319a8ea0a63d64c84405f147b9460f1 Mon Sep 17 00:00:00 2001 From: xuxingjun Date: Thu, 2 Jan 2025 17:09:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96getRecognitionResult=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=BC=A0=E5=8F=823?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/SignatureConfirmation.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index 837607b71..ef628e08e 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -427,10 +427,6 @@ export default { } }, async created() { - // console.log('保单号',localStorage.getItem('orderNo')); - // localStorage.setItem('faceAuthWeXin-requestId', '25479386765') - // localStorage.setItem('faceAuthWeXin-bizToken', '489753879568456') - // this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), JSON.parse(localStorage['orderNo'])) if(this.$route.query.token){ window.localStorage.setItem('token', this.$route.query.token) } @@ -621,8 +617,6 @@ export default { this.getSignInvalid() this.isShow = true // } - // if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) { - // this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), JSON.parse(localStorage['orderNo'])) // } }, // 获取消息和阅读状态 @@ -779,7 +773,7 @@ export default { } // val 0投保人 1被保险人 2本人 let that = this - if (this.isWeixin) { + // if (this.isWeixin) { window.localStorage.setItem('sign-val', val) window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign)) if (val == '0' || val == '2') { @@ -887,7 +881,7 @@ export default { // } } } - } else { + // } else { if (val == '0' || val == '2') { window.localStorage.setItem('sign-val', val) window.localStorage.setItem('sign-appnt', JSON.stringify(that.appntSign)) @@ -1007,7 +1001,7 @@ export default { } } } - } + // } }, goUrl() { let that = this @@ -1780,7 +1774,13 @@ export default { }, getRecognitionResult(requestId, bizToken , orderNo) { return new Promise(() => { - getRecognitionResult({ requestId, bizToken, orderNo }).then( + let data = { + bizToken: bizToken, + requestId: requestId, + orderNo: orderNo, + + } + getRecognitionResult(data).then( (res) => { if (res.result == '0') { this.recognizeResult = res.result