[FIX]电投优化-页面跳转初始页面查询保单信息

This commit is contained in:
yuweiqi
2020-03-13 14:11:38 +08:00
parent 4c67ae7fa9
commit e16fd9dbe8
10 changed files with 86 additions and 25 deletions

View File

@@ -924,8 +924,12 @@ export default {
trialInfo['payEndYear'] = '1000'
trialInfo['payEndYearFlag'] = 'Y'
// 福宝宝和万能险传A
if (item.mainRiskCode != 'GFRS_M0006' && item.mainRiskCode != 'GFRS_M0017'
&& item.mainRiskCode != 'GFRS_M0003' && item.mainRiskCode != 'GFRS_M0013') {
if (
item.mainRiskCode != 'GFRS_M0006' &&
item.mainRiskCode != 'GFRS_M0017' &&
item.mainRiskCode != 'GFRS_M0003' &&
item.mainRiskCode != 'GFRS_M0013'
) {
trialInfo['insuYearFlag'] = 'Y'
}
}
@@ -1151,9 +1155,11 @@ export default {
//万能型产品保费赋值给保额
//增加判断是否是从建议书跳转过来了的
if (localStorage.isFrom != 'proposal') {
if (this.trialList[index].productCode == 'GFRS_M0003'
|| this.trialList[index].productCode == 'GFRS_M0015'
|| this.trialList[index].productCode == 'GFRS_M0017') {
if (
this.trialList[index].productCode == 'GFRS_M0003' ||
this.trialList[index].productCode == 'GFRS_M0015' ||
this.trialList[index].productCode == 'GFRS_M0017'
) {
riskItem['amt'] = this.trialList[index].prem
}
}
@@ -1195,6 +1201,10 @@ export default {
}
if (resultData.result == 0) {
//电投
if (localStorage.isFrom == 'sale' && resultData.deleteFlag == '0') {
localStorage.salePageFlag = '4'
}
//建议书
if (localStorage.isFrom == 'proposal' && resultData.content.id) {
this.saleInsuredPersonInfo.insuredId = resultData.content.id