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