From c2c5e89f93c17a8fda10454a43537e12670d73ec Mon Sep 17 00:00:00 2001 From: nimengmeng_1990 <1175001086@qq.com> Date: Sat, 2 Nov 2019 19:21:38 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=9B=9Ethis,=E5=8E=BB=E6=8E=89map?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/InsuranceTip.vue | 53 +++++++++++++--------------- 1 file changed, 24 insertions(+), 29 deletions(-) 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',