mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-23 14:22:52 +08:00
'重新投保免赔额取值'
This commit is contained in:
@@ -90,8 +90,9 @@
|
||||
<ReadingAgreement :needTime="false">
|
||||
<h3 class="p10">特别约定提示</h3>
|
||||
<p class="p10">
|
||||
尊敬的{{ appntDTO.name }}先生/女士:
|
||||
投保 <span v-for="item in mainList" :key="item">《{{item.riskName}}》</span> <span v-for="item in additionalList" :key="item">、《{{item.riskName}}》</span> ,以有社保身份投保的保单:理赔时,若通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为80%,免赔额为0元;理赔时,若未通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为60%,免赔额为100元。以无社保身份投保的保单:理赔时,若未通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为70%,免赔额为100元;理赔时,若通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为90%,免赔额为0元。
|
||||
尊敬的{{ appntDTO.name }}先生/女士: 投保 <span v-for="item in mainList" :key="item">《{{ item.riskName }}》</span>
|
||||
<span v-for="item in additionalList" :key="item">、《{{ item.riskName }}》</span>
|
||||
,以有社保身份投保的保单:理赔时,若通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为80%,免赔额为0元;理赔时,若未通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为60%,免赔额为100元。以无社保身份投保的保单:理赔时,若未通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为70%,免赔额为100元;理赔时,若通过社会基本医疗保险或者公费医疗就诊并结算的,意外伤害医疗保险金的赔付比例为90%,免赔额为0元。
|
||||
</p>
|
||||
<template #action>
|
||||
<div class="btns">
|
||||
@@ -150,51 +151,51 @@ export default {
|
||||
async created() {
|
||||
let res = JSON.parse(CacheUtils.getLocItem('orderDetailData'))
|
||||
console.log(res)
|
||||
if (!res) {
|
||||
console.log('==================orderDetailData不存在=========================')
|
||||
res = await getReAppntPolicy({ policyNo: CacheUtils.getLocItem('policyNo') })
|
||||
if (res.result == 0) {
|
||||
CacheUtils.setLocItem('orderDetailData', JSON.stringify(res))
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
return false
|
||||
}
|
||||
if (!res) {
|
||||
console.log('==================orderDetailData不存在=========================')
|
||||
res = await getReAppntPolicy({ policyNo: CacheUtils.getLocItem('policyNo') })
|
||||
if (res.result == 0) {
|
||||
CacheUtils.setLocItem('orderDetailData', JSON.stringify(res))
|
||||
} else {
|
||||
this.$toast(res.resultMessage)
|
||||
return false
|
||||
}
|
||||
}
|
||||
this.appntDTO = res.orderDTO.appntDTO
|
||||
this.insuredDTOs = res.orderDTO.insuredDTOs[0]
|
||||
this.orderInfoDTO = res.orderDTO.orderInfoDTO
|
||||
this.orderAccountDTO = res.orderDTO.orderAccountDTO
|
||||
this.riskDTOLst = this.insuredDTOs.riskDTOLst
|
||||
|
||||
let firstTier = Number(this.insuredDTOs.occupationCode.substr(0, 1)) - 1
|
||||
occupationList[firstTier].subs.forEach((item) => {
|
||||
item.subs.forEach((item) => {
|
||||
if (item.code == this.insuredDTOs.occupationCode) {
|
||||
this.insuredDTOs.occupationName = item.name
|
||||
this.insuredDTOs.lifeGrade = item.lifeGrade
|
||||
this.insuredDTOs.jobLevel = item.lifeGrade
|
||||
return
|
||||
}
|
||||
})
|
||||
|
||||
let firstTier = Number(this.insuredDTOs.occupationCode.substr(0, 1)) - 1
|
||||
occupationList[firstTier].subs.forEach((item) => {
|
||||
item.subs.forEach((item) => {
|
||||
if (item.code == this.insuredDTOs.occupationCode) {
|
||||
this.insuredDTOs.occupationName = item.name
|
||||
this.insuredDTOs.lifeGrade = item.lifeGrade
|
||||
this.insuredDTOs.jobLevel = item.lifeGrade
|
||||
return
|
||||
}
|
||||
})
|
||||
firstTier = Number(this.appntDTO.occupationCode.substr(0, 1)) - 1
|
||||
occupationList[firstTier].subs.forEach((item) => {
|
||||
item.subs.forEach((item) => {
|
||||
if (item.code == this.appntDTO.occupationCode) {
|
||||
this.appntDTO.occupationName = item.name
|
||||
this.appntDTO.lifeGrade = item.lifeGrade
|
||||
return
|
||||
}
|
||||
})
|
||||
})
|
||||
firstTier = Number(this.appntDTO.occupationCode.substr(0, 1)) - 1
|
||||
occupationList[firstTier].subs.forEach((item) => {
|
||||
item.subs.forEach((item) => {
|
||||
if (item.code == this.appntDTO.occupationCode) {
|
||||
this.appntDTO.occupationName = item.name
|
||||
this.appntDTO.lifeGrade = item.lifeGrade
|
||||
return
|
||||
}
|
||||
})
|
||||
})
|
||||
let trialInfos = []
|
||||
this.riskDTOLst.forEach((element, index) => {
|
||||
element.dutyLst.forEach((item,index)=>{
|
||||
if(item.amt) item.amt = Number(item.amt).toFixed(2)
|
||||
element.dutyLst.forEach((item, index) => {
|
||||
if (item.amt) item.amt = Number(item.amt).toFixed(2)
|
||||
})
|
||||
if (element.isMainRisk == '0') {
|
||||
trialInfos.push({
|
||||
planCode:element.planCode,
|
||||
planCode: element.planCode,
|
||||
birthday: this.insuredDTOs.birthday,
|
||||
insuYear: element.insuYear,
|
||||
insuYearFlag: element.insuYearFlag,
|
||||
@@ -209,22 +210,40 @@ export default {
|
||||
productCode: element.riskCode,
|
||||
sex: this.insuredDTOs.sex,
|
||||
amt: Number(element.amt).toFixed(2),
|
||||
reOrderFlag:'1'
|
||||
reOrderFlag: '1'
|
||||
})
|
||||
} else {
|
||||
let getLimit = element.dutyLst[0].getLimit,
|
||||
getRate = element.dutyLst[0].getRate
|
||||
if (element.riskCode == 'GFRS_A0008') {
|
||||
element.dutyLst.forEach((item, index) => {
|
||||
if (item.dutyCode == '320404') {
|
||||
getLimit = item.getLimit
|
||||
getRate = item.getRate
|
||||
}
|
||||
})
|
||||
}
|
||||
if (element.riskCode == 'GFRS_A0005') {
|
||||
element.dutyLst.forEach((item, index) => {
|
||||
if (item.dutyCode == '410106') {
|
||||
getLimit = item.getLimit
|
||||
getRate = item.getRate
|
||||
}
|
||||
})
|
||||
}
|
||||
trialInfos.push({
|
||||
planCode:element.planCode,
|
||||
planCode: element.planCode,
|
||||
birthday: this.insuredDTOs.birthday,
|
||||
duty:element.dutyLst,
|
||||
jobLevel:this.insuredDTOs.jobLevel,
|
||||
getLimit:element.dutyLst[0].getLimit,
|
||||
getRate:element.dutyLst[0].getRate,
|
||||
isMainRisk:element.isMainRisk,
|
||||
isRemit:element.isRemit,
|
||||
remitType:'',
|
||||
showPrem:element.showPrem,
|
||||
standPrem:element.standPrem,
|
||||
trialType:'',
|
||||
duty: element.dutyLst,
|
||||
jobLevel: this.insuredDTOs.jobLevel,
|
||||
getLimit,
|
||||
getRate,
|
||||
isMainRisk: element.isMainRisk,
|
||||
isRemit: element.isRemit,
|
||||
remitType: '',
|
||||
showPrem: element.showPrem,
|
||||
standPrem: element.standPrem,
|
||||
trialType: '',
|
||||
|
||||
insuYear: element.insuYear,
|
||||
insuYearFlag: element.insuYearFlag,
|
||||
@@ -235,7 +254,7 @@ export default {
|
||||
payEndYearFlag: element.payEndYearFlag,
|
||||
payIntv: element.payIntv,
|
||||
platformType: 'app',
|
||||
|
||||
|
||||
// prem: element.prem,
|
||||
productCode: element.riskCode,
|
||||
sex: this.insuredDTOs.sex,
|
||||
|
||||
Reference in New Issue
Block a user