mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-07 04:16:44 +08:00
入参赋值
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user