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]) {