mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
[FIX]【微信人脸识别】回滚代码
This commit is contained in:
@@ -140,7 +140,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<p class="start" v-if="airSign != '1'">点击【开始】或【分享】,进行相关操作</p>
|
||||
<div v-if="!isInvalid && weixinFace" class="flex justify-content-a mt20">
|
||||
<div v-if="!isInvalid" class="flex justify-content-a mt20">
|
||||
<van-button
|
||||
type="danger"
|
||||
size="normal"
|
||||
@@ -273,7 +273,6 @@ export default {
|
||||
insured: 0,
|
||||
weixin: 0
|
||||
},
|
||||
weixinFace: false, //微信端人脸识别按钮是否可用
|
||||
customerMobile: '',
|
||||
//保险产品名称
|
||||
riskName: '',
|
||||
@@ -373,12 +372,12 @@ export default {
|
||||
if (this.$route.query.airSign) {
|
||||
sessionStorage.setItem('airSign', this.$route.query.airSign)
|
||||
}
|
||||
if (this.$route.query.faceAuthCountWeixin == undefined) {
|
||||
localStorage['faceAuthWeXin-requestId'] = ''
|
||||
localStorage['faceAuthWeXin-bizToken'] = ''
|
||||
}
|
||||
// window.localStorage.setItem('saleInsuredInfo', this.$route.query.saleInsuredInfo)
|
||||
// window.localStorage.setItem('saleInsuredPersonInfo', this.$route.query.saleInsuredPersonInfo)
|
||||
window.localStorage.setItem('token', this.$route.query.token)
|
||||
window.localStorage.setItem('orderNo', this.$route.query.orderNo)
|
||||
// window.localStorage.setItem('relationToAppnt', this.$route.query.relationToAppnt)
|
||||
// window.localStorage.setItem('productCode', this.$route.query.productCode)
|
||||
if (this.$route.query.changeCard == '0') {
|
||||
localStorage.setItem('changeCard', true)
|
||||
} else {
|
||||
@@ -405,6 +404,7 @@ export default {
|
||||
this.relationToAppnt = this.$route.query.relationToAppnt
|
||||
this.isShow = false
|
||||
await this.getOrderDetail()
|
||||
|
||||
console.log('初始化this.appntSign ==', this.appntSign)
|
||||
if (
|
||||
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') ||
|
||||
@@ -419,7 +419,7 @@ export default {
|
||||
Dialog.alert({ title: '提示', message: '确认完成,请联系业务员完成后续流程!' })
|
||||
}
|
||||
// localStorage['faceAuthWeXin-requestId'] localStorage['faceAuthWeXin-bizToken']--微信端人脸识别获取腾讯认证url接口获得,认证相关参数
|
||||
if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && !this.$route.query.faceAuthCountWeixin) {
|
||||
if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) {
|
||||
this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']))
|
||||
}
|
||||
|
||||
@@ -429,12 +429,18 @@ export default {
|
||||
} else {
|
||||
console.log('进来投保人')
|
||||
this.tipsName = JSON.parse(localStorage.saleInsuredInfo).name
|
||||
// console.log('localStorage.saleInsuredInfo', localStorage.saleInsuredInfo)
|
||||
// console.log('localStorage.saleInsuredInfo.name', localStorage.saleInsuredInfo.name)
|
||||
// console.log('this.tipName', this.tipsName)
|
||||
}
|
||||
weixinShare({
|
||||
title: '国富人寿计划书',
|
||||
imgUrl: 'http://47.96.143.111:8000/app/images/logo.png',
|
||||
desc: '国富为您量身定制的保险产品,请查收'
|
||||
})
|
||||
// let params = {
|
||||
// orderNo: ''
|
||||
// }
|
||||
this.faceAuthCount.appnt = this.$route.query.faceAuthCountAppnt == undefined ? 0 : Number(this.$route.query.faceAuthCountAppnt)
|
||||
this.faceAuthCount.insured = this.$route.query.faceAuthCountInsured == undefined ? 0 : Number(this.$route.query.faceAuthCountInsured)
|
||||
this.faceAuthCount.weixin = this.$route.query.faceAuthCountWeixin == undefined ? 0 : Number(this.$route.query.faceAuthCountWeixin)
|
||||
@@ -448,6 +454,7 @@ export default {
|
||||
},
|
||||
// 获取消息和阅读状态
|
||||
realPeopelCheck() {
|
||||
let that = this
|
||||
this.$toast.loading({
|
||||
// 持续展示 toast
|
||||
duration: 0,
|
||||
@@ -1084,7 +1091,6 @@ export default {
|
||||
}
|
||||
})
|
||||
}
|
||||
that.weixinFace = true
|
||||
resolve('success')
|
||||
}
|
||||
})
|
||||
@@ -1287,8 +1293,8 @@ export default {
|
||||
// UploadImageFile: UploadImageFile,
|
||||
[CollapseItem.name]: CollapseItem,
|
||||
[Dialog.name]: Dialog,
|
||||
[IndexBar.name]: IndexBar,
|
||||
[Field.name]: Field
|
||||
[Field.name]: Field,
|
||||
[IndexBar.name]: IndexBar
|
||||
},
|
||||
beforeRouteLeave(to, from, next) {
|
||||
document.body.style.backgroundColor = ''
|
||||
|
||||
Reference in New Issue
Block a user