feat-调整附加豁免险保险期间和保证责任

This commit is contained in:
zhang.weiwei
2025-03-12 23:33:02 +08:00
parent 7cf378d0a2
commit 8d3f3042a2

View File

@@ -348,7 +348,13 @@
</div> </div>
<div <div
class="flex justify-content-s pv10 border-bottom prem" class="flex justify-content-s pv10 border-bottom prem"
v-if="item.productCode != 'GFRS_M0100' &&item.productCode != 'GFRS_M0080' && item.productCode != 'GFRS_M0083' && item.productCode != 'GFRS_M0098' && item.productCode != 'GFRS_M0085'" v-if="
item.productCode != 'GFRS_M0100' &&
item.productCode != 'GFRS_M0080' &&
item.productCode != 'GFRS_M0083' &&
item.productCode != 'GFRS_M0098' &&
item.productCode != 'GFRS_M0085'
"
> >
<!-- trialType 0-保额算保费1-保费算保额 --> <!-- trialType 0-保额算保费1-保费算保额 -->
<!-- isTrial是否需存在特殊配置(规则) 0-是 1-否--> <!-- isTrial是否需存在特殊配置(规则) 0-是 1-否-->
@@ -392,20 +398,22 @@
<img class="w20 h20 p10 v-middle" :src="require('@/assets/images/sale/approved' + item.status + '.png')" alt="" /> <img class="w20 h20 p10 v-middle" :src="require('@/assets/images/sale/approved' + item.status + '.png')" alt="" />
</div> </div>
</div> </div>
<div class="flex justify-content-s align-items-c fs12" v-for='item in riskAmntList'> <div class="flex justify-content-s align-items-c fs12" v-for="item in riskAmntList">
<div> <div>
<img class="w20 h20 p10 v-middle" :src="require('@/assets/images/sale/coin.png')" alt="" /> <img class="w20 h20 p10 v-middle" :src="require('@/assets/images/sale/coin.png')" alt="" />
<span class="v-middle">{{ item.accuRiskDesc }}</span> <span class="v-middle">{{ item.accuRiskDesc }}</span>
</div> </div>
<div> <div>
<span class="w20 h20 p10 v-middle">{{item.accuRiskAmnt}}</span> <span class="w20 h20 p10 v-middle">{{ item.accuRiskAmnt }}</span>
<!-- <img class="w20 h20 p10 v-middle" :src="require('@/assets/images/sale/approved' + item.status + '.png')" alt="" />--> <!-- <img class="w20 h20 p10 v-middle" :src="require('@/assets/images/sale/approved' + item.status + '.png')" alt="" />-->
</div> </div>
</div> </div>
<div style="padding: 25px 0px 10px 10px; font-size: 10px; color: #999"> <div style="padding: 25px 0px 10px 10px; font-size: 10px; color: #999">
<p style="line-height: 20px"><span style="width: 40px; display: inline-block">说明:</span><br/> <p style="line-height: 20px">
1.绿色✔表示 未触发规则、红色×表示 触发规则;<br/> <span style="width: 40px; display: inline-block">说明:</span><br />
2.已累计本次投保的风险保额;<br/>3.展示的风险保额为常见风险类别。</p> 1.绿色✔表示 未触发规则、红色×表示 触发规则;<br />
2.已累计本次投保的风险保额;<br />3.展示的风险保额为常见风险类别。
</p>
</div> </div>
</div> </div>
</van-dialog> </van-dialog>
@@ -609,7 +617,7 @@ export default {
richChildrenFlag: false, richChildrenFlag: false,
isCrossChannel: '0', //是否交叉渠道 1-是 0-否 isCrossChannel: '0', //是否交叉渠道 1-是 0-否
trialResultsShow: false, //核保试算结果 trialResultsShow: false, //核保试算结果
riskAmntList:[],//累计寿险风险保额(元)、累计重大疾病风险保额(元)、累计意外伤害风险保额(元)、意外住院津贴日额(元)、一般住院津贴日额(元)、特定疾病住院津贴日额(元) riskAmntList: [], //累计寿险风险保额(元)、累计重大疾病风险保额(元)、累计意外伤害风险保额(元)、意外住院津贴日额(元)、一般住院津贴日额(元)、特定疾病住院津贴日额(元)
verifyResultList: [] //核保试算返回数据结构 verifyResultList: [] //核保试算返回数据结构
} }
}, },
@@ -835,7 +843,7 @@ export default {
if (item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0098' || item.mainRiskCode == 'GFRS_M0085') { if (item.mainRiskCode == 'GFRS_M0083' || item.mainRiskCode == 'GFRS_M0098' || item.mainRiskCode == 'GFRS_M0085') {
this.disabledShow = true this.disabledShow = true
} }
if(item.hasPredictTransferPrem == '1') { if (item.hasPredictTransferPrem == '1') {
this.disabledShow = false this.disabledShow = false
} }
@@ -1818,6 +1826,7 @@ export default {
let remitIndex = this.getRemitIndex() let remitIndex = this.getRemitIndex()
//if (!remitIndex) return //if (!remitIndex) return
for (let itemRemitIndex of remitIndex) { for (let itemRemitIndex of remitIndex) {
console.log('mainRiskInfo---->', mainRiskInfo)
this.chooseProducts[itemRemitIndex].calFactorLst.forEach((item) => { this.chooseProducts[itemRemitIndex].calFactorLst.forEach((item) => {
if (item.code == 'payIntv') { if (item.code == 'payIntv') {
for (let key in mainRiskInfo.payIntv) { for (let key in mainRiskInfo.payIntv) {
@@ -1833,7 +1842,7 @@ export default {
if (item.code == 'insuYear') { if (item.code == 'insuYear') {
item.hasFlag = '1' item.hasFlag = '1'
item.insuYearFlag = 'Y' item.insuYearFlag = 'Y'
item.insuYear = Number(mainRiskInfo.payEndYear.payEndYear) - 1 item.insuYear = Number(mainRiskInfo.payEndYear.payEndYear) -1
item.showContent = item.insuYear + '年' item.showContent = item.insuYear + '年'
} }
if (item.code == 'amt') { if (item.code == 'amt') {
@@ -1848,7 +1857,8 @@ export default {
this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0009' || this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0009' ||
this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0010' || this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0010' ||
this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0013' || this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0013' ||
this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0014' this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0014' ||
this.chooseProducts[itemRemitIndex].productCode == 'GFRS_A0015'
) { ) {
//此附加险的缴费期间=主险缴费期间;保险期间=主险保险期间 //此附加险的缴费期间=主险缴费期间;保险期间=主险保险期间
if (item.code == 'insuYear') { if (item.code == 'insuYear') {
@@ -2171,7 +2181,7 @@ export default {
}) })
} }
if (this.isFrom != 'proposal') { if (this.isFrom != 'proposal') {
if (productCode == 'GFRS_M0083' || productCode == 'GFRS_M0098' || productCode == 'GFRS_M0085') { if (productCode == 'GFRS_M0083' || productCode == 'GFRS_M0098' || productCode == 'GFRS_M0085') {
if (!that.policyNo) { if (!that.policyNo) {
this.disabledShow = true this.disabledShow = true
that.chooseProducts.forEach((item) => { that.chooseProducts.forEach((item) => {
@@ -2195,7 +2205,7 @@ export default {
} }
} }
} }
if(hasPredictTransferPrem == '1') { if (hasPredictTransferPrem == '1') {
this.disabledShow = false this.disabledShow = false
} }
this.nextStepFlag = true this.nextStepFlag = true
@@ -2454,7 +2464,6 @@ export default {
dutyCode: dutyItem.duty, dutyCode: dutyItem.duty,
dutyName: dutyItem.dutyName dutyName: dutyItem.dutyName
}) })
} }
}) })
trialInfo.duty = result trialInfo.duty = result
@@ -3133,7 +3142,7 @@ export default {
this.trialList[index].productCode == 'GFRS_M0057' || this.trialList[index].productCode == 'GFRS_M0057' ||
this.trialList[index].productCode == 'GFRS_M0086' || this.trialList[index].productCode == 'GFRS_M0086' ||
this.trialList[index].productCode == 'GFRS_M0092' || this.trialList[index].productCode == 'GFRS_M0092' ||
this.trialList[index].productCode == 'GFRS_M0096' this.trialList[index].productCode == 'GFRS_M0096'
) { ) {
riskItem['dutyLst'] = this.trialInfos[index].duty riskItem['dutyLst'] = this.trialInfos[index].duty
} }