mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-16 02:56:45 +08:00
【养老年金】-- 建议书利益演示修改 --李婕煜
This commit is contained in:
committed by
liyuetong
parent
47ecf7e285
commit
81fb294916
@@ -66,26 +66,26 @@
|
||||
</div>
|
||||
|
||||
<!--养老计划-->
|
||||
<div v-if="isPension" class="fs15 line_title">养老计划</div>
|
||||
<div v-if="isPension" class="fs12 div_4">
|
||||
<div v-if="isPension" class="risk_head flex text-center line-height table fs12 bg_DBEFFE">
|
||||
<div v-if="pageShowInfo.showInsuredDTO.riskDTOLstNew.length" class="fs15 line_title">养老计划</div>
|
||||
<div class="fs12 div_4" v-if="pageShowInfo.showInsuredDTO.riskDTOLstNew.length">
|
||||
<div class="risk_head flex text-center line-height table fs12 bg_DBEFFE">
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7">投保险种</div>
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">养老保险金开始领取年龄</div>
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">养老保险金领取方式</div>
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">保证给付期</div>
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">每次养老保险金(元)</div>
|
||||
</div>
|
||||
<div v-for="(riskItem, index) in pageShowInfo.showInsuredDTO.riskDTOLst" :key="index">
|
||||
<div class="risk_body flex text-center table bg_f7fbff" v-if="isPension && riskItem.riskCode=='GFRS_M0053'">
|
||||
<div v-for="(riskItem, index) in pageShowInfo.showInsuredDTO.riskDTOLstNew" :key="index">
|
||||
<div class="risk_body flex text-center table bg_f7fbff">
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7">{{ riskItem.riskName }}</div>
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.pensionAge}} 周岁</div>
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.receivePensionWay == '0' ? '年领':'月领'}}</div>
|
||||
<div class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">{{ riskItem.guaranteedYear}} 年</div>
|
||||
<div v-if="riskItem.receivePensionWay == '0'" class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">
|
||||
{{ yearPension }}
|
||||
{{ riskItem.amt}}
|
||||
</div>
|
||||
<div v-if="riskItem.receivePensionWay == '1'" class="flex justify-content-c align-items-c pl7 pr7 pt7 pb7 table_border">
|
||||
{{ monthPension }}
|
||||
{{ riskItem.amt | fillNumber }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -381,9 +381,6 @@ export default {
|
||||
mainRiskCodes: [],
|
||||
time: 5,
|
||||
proposalNo:'',
|
||||
isPension: false, //是否是养老年金
|
||||
monthPension: 0, //月领养老金额
|
||||
yearPension: 0,//年领养老金额
|
||||
}
|
||||
},
|
||||
filters: {
|
||||
@@ -403,7 +400,11 @@ export default {
|
||||
} else {
|
||||
return '-'
|
||||
}
|
||||
}
|
||||
},
|
||||
fillNumber(val) {
|
||||
// 小于10,在前面补0
|
||||
return Number(val*0.085).toFixed(2)
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
setTimeout(() => {
|
||||
@@ -653,6 +654,7 @@ export default {
|
||||
orderDTO.insuredDTOs.forEach(v => {
|
||||
//根据数据字典 获取当前值
|
||||
v.age = getAge.getAge(v.birthdayLabel, new Date())
|
||||
v.riskDTOLstNew = []
|
||||
v.riskDTOLst.forEach(risk => {
|
||||
if (risk.isMainRisk == '0') {
|
||||
that.mainRiskCodes.push(risk.riskCode)
|
||||
@@ -677,11 +679,7 @@ export default {
|
||||
}
|
||||
// todo责任显示处理
|
||||
if(risk.riskCode == 'GFRS_M0053'){
|
||||
this.isPension = true;
|
||||
//计算养老金领取金额
|
||||
this.monthPension = Number(risk.amt*0.085).toFixed(2); //月领养老金额
|
||||
|
||||
this.yearPension = risk.amt;//年领养老金额
|
||||
v.riskDTOLstNew.push(risk)
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user