mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-11 02:46:45 +08:00
惠企保产品配置调整: 惠桂保补充处理 --提交人:阳华祥
This commit is contained in:
@@ -1107,6 +1107,21 @@ export default {
|
||||
text: '其他'
|
||||
}
|
||||
],
|
||||
//投保人/被保险人关系 惠企保
|
||||
hqbRelationToAppnt: [
|
||||
{
|
||||
id: 1,
|
||||
text: '本人'
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
text: '配偶'
|
||||
},
|
||||
{
|
||||
id: 4,
|
||||
text: '子女'
|
||||
}
|
||||
],
|
||||
//理赔报案投保人/被保险人关系
|
||||
relationToAppnts: [
|
||||
{
|
||||
|
||||
@@ -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(() => {
|
||||
|
||||
@@ -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') {
|
||||
|
||||
Reference in New Issue
Block a user