diff --git a/src/views/ebiz/sale/InsuranceTip.vue b/src/views/ebiz/sale/InsuranceTip.vue index e863f79a2..98f7464c5 100644 --- a/src/views/ebiz/sale/InsuranceTip.vue +++ b/src/views/ebiz/sale/InsuranceTip.vue @@ -109,31 +109,31 @@ export default { if (wxSigned) { console.log('第二次进入电子保单') console.log('````````````````````````````````') - let rs = await that.getOrderDetail() + let rs = await this.getOrderDetail() if (rs === 'success') { - that.Time = true - that.isOver = true - that.radio = '1' - that.base64 = imgBase64Data - that.isDisabledComplite = false + this.Time = true + this.isOver = true + this.radio = '1' + this.base64 = imgBase64Data + this.isDisabledComplite = false console.log('signInfo.status:' + signInfo.status) if (signInfo.status == '1') { - that.appntSign.documentStatus = '3' + this.appntSign.documentStatus = '3' console.log('``````````````````') - that.$set(that.appntSign, 'documentStatus', '3') + this.$set(that.appntSign, 'documentStatus', '3') // console.log('appntSign.documentStatus: ' + this.appntSign.documentStatus) that.isSign = false } } } else { console.log('第一次进入电子保单') - that.timeOut() - that.getOrderDetail() + this.timeOut() + this.getOrderDetail() } } else { - that.timeOut() - if (that.detailJump != '1') { - that.getOrderDetail() + this.timeOut() + if (this.detailJump != '1') { + this.getOrderDetail() } } }, @@ -167,7 +167,7 @@ export default { if (res.result == '0') { res.orderDTO.ebizSignDTOS.map(item => { if (item.documentCode == '4') { - if (item.signType == '0') { + if (item.signType == '0' || item.signType == '2') { console.log('000000000', item) that.appntSign = item that.tipsPolicyUrl = item.policyUrl @@ -351,13 +351,7 @@ export default { message: '加载中……' }) let that = this - that.appntSign.map(item => { - if (item.documentCode == '4') { - that.appntSign.signId = item.signId - that.appntSign.documentCode = item.documentCode - that.appntSign.documentType = item.documentType - } - }) + console.log('that.appntSign', that.appntSign) if (that.signVal == '0' || that.signVal == '2') { let data = { orderType: 'SIGN_ORDER', @@ -415,14 +409,15 @@ export default { message: '加载中……' }) - that.appntSign.map(item => { - console.log('appntSignitem',item) - if (item.documentCode == '4') { - that.appntSign.signId = item.signId - that.appntSign.documentCode = item.documentCode - that.appntSign.documentType = item.documentType - } - }) + // that.appntSign.map(item => { + // console.log('appntSignitem',item) + // if (item.documentCode == '4') { + // that.appntSign.signId = item.signId + // that.appntSign.documentCode = item.documentCode + // that.appntSign.documentType = item.documentType + // } + // }) + console.log('that.appntSign', that.appntSign) if (that.signVal == '0' || that.signVal == '2') { let data = { orderType: 'SIGN_ORDER',