[fix]【更换人脸识别厂商】模拟签名文档时出现参数缺失问题bug

This commit is contained in:
yuweiqi
2020-05-28 10:26:25 +08:00
parent 6097a4958f
commit 120c44d80d

View File

@@ -403,8 +403,8 @@ export default {
this.changeCard = localStorage.getItem('changeCard') this.changeCard = localStorage.getItem('changeCard')
this.relationToAppnt = this.$route.query.relationToAppnt this.relationToAppnt = this.$route.query.relationToAppnt
this.isShow = false this.isShow = false
await this.getOrderDetail() this.getOrderDetail().then(() => {
setTimeout(() => {
console.log('初始化this.appntSign ==', this.appntSign) console.log('初始化this.appntSign ==', this.appntSign)
if ( if (
(this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') || (this.appntSignStatus == '3' && sessionStorage.getItem('shareCode') == '0') ||
@@ -422,7 +422,8 @@ export default {
if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) { if (localStorage['faceAuthWeXin-requestId'] && localStorage['faceAuthWeXin-bizToken'] && this.$route.query.faceAuthCountWeixin != undefined) {
this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken'])) this.getRecognitionResult(JSON.parse(localStorage['faceAuthWeXin-requestId']), JSON.parse(localStorage['faceAuthWeXin-bizToken']))
} }
}, 5000)
})
if (sessionStorage.shareCode == '1') { if (sessionStorage.shareCode == '1') {
console.log('进来被保险人') console.log('进来被保险人')
this.tipsName = JSON.parse(localStorage.saleInsuredPersonInfo).name this.tipsName = JSON.parse(localStorage.saleInsuredPersonInfo).name
@@ -956,6 +957,7 @@ export default {
} }
localStorage.setItem('riskName', '') localStorage.setItem('riskName', '')
return new Promise(resolve => { return new Promise(resolve => {
setTimeout(() => {
getOrderDetail(data).then(res => { getOrderDetail(data).then(res => {
if (res.result == '0') { if (res.result == '0') {
//弹框展示是否有社保、赔付比例和免赔额信息 //弹框展示是否有社保、赔付比例和免赔额信息
@@ -1094,6 +1096,7 @@ export default {
resolve('success') resolve('success')
} }
}) })
}, 5000)
}) })
}, },
//自定义key值排序用 //自定义key值排序用