From d44cea7ad70e19ff33de508d61907c5d74fe698f Mon Sep 17 00:00:00 2001 From: pangxingyue <120277894@qq.com> Date: Mon, 29 Mar 2021 10:51:35 +0800 Subject: [PATCH] =?UTF-8?q?feature/GFRS-2215=E3=80=90=E5=BE=85=E5=AE=8C?= =?UTF-8?q?=E6=88=90=E3=80=91=E9=87=8D=E6=96=B0=E6=8A=95=E4=BF=9D=20--?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=95=B0=E6=8D=AE--=E6=8F=90=E4=BA=A4?= =?UTF-8?q?=E4=BA=BA=E5=BA=9E=E5=85=B4=E6=9C=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/insureAgain/InsureInformation.vue | 2 +- src/views/ebiz/insureAgain/ProductInformation.vue | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/src/views/ebiz/insureAgain/InsureInformation.vue b/src/views/ebiz/insureAgain/InsureInformation.vue index f3d56ac46..e9adbfb6c 100644 --- a/src/views/ebiz/insureAgain/InsureInformation.vue +++ b/src/views/ebiz/insureAgain/InsureInformation.vue @@ -221,7 +221,7 @@ export default { getReAppntPolicy({ policyNo: CacheUtils.getLocItem('policyNo') }).then(res => { if (res.result == 0) { //投保人信息返显 - CacheUtils.setLocItem('orderDetailData', res) + CacheUtils.setLocItem('orderDetailData', JSON.stringify(res)) this.userInfo = res.orderDTO.appntDTO this.setCustomerMarriage(res.orderDTO.appntDTO.marriage) //是否长期 diff --git a/src/views/ebiz/insureAgain/ProductInformation.vue b/src/views/ebiz/insureAgain/ProductInformation.vue index 4ddb72e8d..3c5a744fb 100644 --- a/src/views/ebiz/insureAgain/ProductInformation.vue +++ b/src/views/ebiz/insureAgain/ProductInformation.vue @@ -13,7 +13,7 @@
{{item2.dutyName}} @@ -141,8 +141,10 @@ export default { } }, created() { - // this.getReAppntPolicy() - let res = CacheUtils.getLocItem('orderDetailData') + // this.getReAppntPolicy() + let res = JSON.parse(CacheUtils.getLocItem('orderDetailData')) + console.log(CacheUtils.getLocItem('orderDetailData')); + return false; this.insuredDTOs = res.orderDTO.insuredDTOs[0] this.orderInfoDTO = res.orderDTO.orderInfoDTO this.riskDTOLst = this.insuredDTOs.riskDTOLst @@ -173,6 +175,8 @@ export default { this.additionalList.push(element) } }) + + console.log(this.mainList, '===============this.mainList') }, methods: { // getReAppntPolicy() {