惠企保产品配置调整: 惠桂保补充处理 --提交人:阳华祥

This commit is contained in:
yang.huaxiang
2021-03-16 13:07:12 +08:00
parent 839a88418a
commit dee7d67056
3 changed files with 37 additions and 4 deletions

View File

@@ -1107,6 +1107,21 @@ export default {
text: '其他'
}
],
//投保人/被保险人关系 惠企保
hqbRelationToAppnt: [
{
id: 1,
text: '本人'
},
{
id: 2,
text: '配偶'
},
{
id: 4,
text: '子女'
}
],
//理赔报案投保人/被保险人关系
relationToAppnts: [
{

View File

@@ -120,13 +120,13 @@ export default {
}
}
this.list = resultData.mainRiskDTOS
//------------------------专为企写死--begin---------------//
//------------------------专为企写死--begin---------------//
if (this.list.length > 0 && this.specilFlag == '1' && localStorage.isFrom == 'sale') {
this.result = this.list.find(v => {
return v.riskProductCode == 'GFRS_M0024' || v.riskProductCode == 'GFRS_M0040'
return v.riskProductCode == 'GFRS_M0040'
})
}
// ------------------------专为企写死--end---------------//
// ------------------------专为企写死--end---------------//
if (this.list.length == 0) {
this.$dialog({ message: '暂无可选产品!' }).then(() => {

View File

@@ -683,6 +683,19 @@ export default {
// ]) //联系地址
// }
}
//------------------------专为惠企写死--begin---------------//
if (res.orderDTO.insuredDTOs[0] && res.orderDTO.insuredDTOs[0].riskDTOLst) {
this.specilFlag = res.orderDTO.insuredDTOs[0].riskDTOLst.some(v => {
return v.riskCode == 'GFRS_M0024' || v.riskCode == 'GFRS_M0040'
})
? '1'
: '0'
} else if (res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0024') {
this.specilFlag = '1'
} else if (res.orderDTO.orderInfoDTO.productCode == 'GFRS_M0040') {
this.specilFlag = '1'
}
// ------------------------专为惠企写死--end---------------//
} else {
return this.$toast(res.resultMessage)
}
@@ -792,7 +805,12 @@ export default {
} /* else if (pickerType == '6') {
this.columns = DataDictionary.marriage
}*/ else if (pickerType == '7') {
if(this.specilFlag == '1') {
// 惠企保 投被关系限制
this.columns = DataDictionary.hqbRelationToAppnt
}else {
this.columns = DataDictionary.relationToAppnt
}
} else if (pickerType == '8') {
this.columns = DataDictionary.workCondition
} else if (pickerType == '9') {