feature/GFRS-2215【待完成】重新投保 --添加数据--提交人庞兴月

This commit is contained in:
pangxingyue
2021-03-29 10:51:35 +08:00
parent 2f1c32b242
commit d44cea7ad7
2 changed files with 8 additions and 4 deletions

View File

@@ -221,7 +221,7 @@ export default {
getReAppntPolicy({ policyNo: CacheUtils.getLocItem('policyNo') }).then(res => { getReAppntPolicy({ policyNo: CacheUtils.getLocItem('policyNo') }).then(res => {
if (res.result == 0) { if (res.result == 0) {
//投保人信息返显 //投保人信息返显
CacheUtils.setLocItem('orderDetailData', res) CacheUtils.setLocItem('orderDetailData', JSON.stringify(res))
this.userInfo = res.orderDTO.appntDTO this.userInfo = res.orderDTO.appntDTO
this.setCustomerMarriage(res.orderDTO.appntDTO.marriage) this.setCustomerMarriage(res.orderDTO.appntDTO.marriage)
//是否长期 //是否长期

View File

@@ -13,7 +13,7 @@
<DropdownBox :gutter="false"> <DropdownBox :gutter="false">
<template #boxTitle> <template #boxTitle>
<span style="font-weight: bold;">主险</span> <span style="font-weight: bold;">主险</span>
<span class="ml30">国富人寿附加住院医疗保险B款</span> <span class="ml30">{{item.payEndYear}}</span>
</template> </template>
<div v-for="(item2,index2) in item.dutyLst" :key="index2"> <div v-for="(item2,index2) in item.dutyLst" :key="index2">
<InfoCell v-if="index2===0" label="保险责任">{{item2.dutyName}}</InfoCell> <InfoCell v-if="index2===0" label="保险责任">{{item2.dutyName}}</InfoCell>
@@ -142,7 +142,9 @@ export default {
}, },
created() { created() {
// this.getReAppntPolicy() // this.getReAppntPolicy()
let res = CacheUtils.getLocItem('orderDetailData') let res = JSON.parse(CacheUtils.getLocItem('orderDetailData'))
console.log(CacheUtils.getLocItem('orderDetailData'));
return false;
this.insuredDTOs = res.orderDTO.insuredDTOs[0] this.insuredDTOs = res.orderDTO.insuredDTOs[0]
this.orderInfoDTO = res.orderDTO.orderInfoDTO this.orderInfoDTO = res.orderDTO.orderInfoDTO
this.riskDTOLst = this.insuredDTOs.riskDTOLst this.riskDTOLst = this.insuredDTOs.riskDTOLst
@@ -173,6 +175,8 @@ export default {
this.additionalList.push(element) this.additionalList.push(element)
} }
}) })
console.log(this.mainList, '===============this.mainList')
}, },
methods: { methods: {
// getReAppntPolicy() { // getReAppntPolicy() {