From 960323f30fee91351b63740a10454adb4d2cce2e Mon Sep 17 00:00:00 2001 From: "liu.xiaofeng@ebiz-digits.com" Date: Thu, 28 Dec 2023 14:40:04 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=88=97=E8=A1=A8=E7=82=B9?= =?UTF-8?q?=E5=87=BB=E7=BC=96=E8=BE=91=E5=8A=9F=E8=83=BD=E5=AD=98=E5=82=A8?= =?UTF-8?q?branchType=E5=AD=97=E6=AE=B5=E7=94=A8=E4=BA=8E=E6=98=BE?= =?UTF-8?q?=E7=A4=BAGBC=E7=9A=84=E9=A1=B9=E7=9B=AE=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ebiz/sale/Detail.vue | 27 ++++++++++++++++++--------- src/views/ebiz/sale/List.vue | 7 +++++++ 2 files changed, 25 insertions(+), 9 deletions(-) diff --git a/src/views/ebiz/sale/Detail.vue b/src/views/ebiz/sale/Detail.vue index 31e840fb2..929328d8c 100644 --- a/src/views/ebiz/sale/Detail.vue +++ b/src/views/ebiz/sale/Detail.vue @@ -2,7 +2,7 @@
- + @@ -15,21 +15,21 @@ - + - - - - - - + + + + + + - + @@ -117,10 +117,13 @@ import { getQuestionList } from '@/api/ebiz/questions' export default { data() { return { + branchType:'', // 折叠面板 activeNames: ['1'], // 保单基本信息 OrderInfoDTO: {}, + // 项目信息 + ebizOrderGbcRelDTO:{}, // 投保人信息 appntDTO: {}, // 被保险人信息 @@ -136,6 +139,11 @@ export default { // 获取保单详情 this.getPolicyDetail() }, + mounted() { + if(window.localStorage.getItem('branchType') == '13') { + this.branchType = '13' + } + }, components: { [Collapse.name]: Collapse, [CollapseItem.name]: CollapseItem, @@ -171,6 +179,7 @@ export default { res.orderDTO.orderInfoDTO.bnfFlag = '法定受益人' } this.OrderInfoDTO = res.orderDTO.orderInfoDTO + this.ebizOrderGbcRelDTO = res.orderDTO.ebizOrderGbcRelDTO this.appntDTO = res.orderDTO.appntDTO this.reason = res.orderDTO.reason diff --git a/src/views/ebiz/sale/List.vue b/src/views/ebiz/sale/List.vue index 60a3e7d8b..ea2677a01 100644 --- a/src/views/ebiz/sale/List.vue +++ b/src/views/ebiz/sale/List.vue @@ -449,8 +449,15 @@ export default { //投保单详情 async goDetail(order) { let thisToken = this.$CacheUtils.getLocItem('token') + let thisbranchType = '' + if(this.$CacheUtils.getLocItem('branchType') == '13') { + thisbranchType = this.$CacheUtils.getLocItem('branchType') + } window.localStorage.clear() this.$CacheUtils.setLocItem('token', thisToken) + if(thisbranchType) { + this.$CacheUtils.setLocItem('branchType', thisbranchType) + } window.localStorage.setItem('detailJump', '') if (order.insuredDTOs[0]) { if (order.insuredDTOs[0].riskDTOLst[0]) {