From e9ade69acde21b2688e9dcf394a211fb8f51119e Mon Sep 17 00:00:00 2001 From: xuxingjun Date: Mon, 6 Jan 2025 16:03:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=8F=82=E8=B5=8B=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/SignatureConfirmation.vue | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/views/ebiz/sale/SignatureConfirmation.vue b/src/views/ebiz/sale/SignatureConfirmation.vue index 491e0f1ca..fbde977f0 100644 --- a/src/views/ebiz/sale/SignatureConfirmation.vue +++ b/src/views/ebiz/sale/SignatureConfirmation.vue @@ -592,8 +592,8 @@ export default { Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' }) } if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) { - if(JSON.parse(localStorage['orderNo'])) { - this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), JSON.parse(localStorage['orderNo'])) + if(this.$route.query.orderNo) { + this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), this.$route.query.orderNo) } else { this.$toast('没有orderNo') } @@ -623,8 +623,8 @@ export default { this.isShow = true } if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) { - if(localStorage['orderNo']) { - this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), JSON.parse(localStorage['orderNo'])) + if(this.$route.query.orderNo) { + this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), this.$route.query.orderNo) } else { this.$toast('没有orderNo') } @@ -819,8 +819,8 @@ export default { } // 人脸识别 if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) { - if(JSON.parse(localStorage['orderNo'])) { - this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), JSON.parse(localStorage['orderNo'])) + if(this.$route.query.orderNo) { + this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), this.$route.query.orderNo) } else { this.$toast('没有orderNo') } @@ -880,8 +880,8 @@ export default { } // 人脸识别 if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) { - if(JSON.parse(localStorage['orderNo'])) { - this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), JSON.parse(localStorage['orderNo'])) + if(this.$route.query.orderNo) { + this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']), this.$route.query.orderNo) } else { this.$toast('没有orderNo') } @@ -1794,7 +1794,7 @@ export default { }, getRecognitionResult(requestId, bizToken , orderNo) { return new Promise(() => { - getRecognitionResult({ requestId, bizToken, orderNo }).then( + getRecognitionResult({ requestId, bizToken, orderNo: orderNo }).then( (res) => { if (res.result == '0') { this.recognizeResult = res.result