mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 09:16:43 +08:00
被保险人职业:幼儿园版默认学龄前儿童; 2099908 学龄前儿童
This commit is contained in:
@@ -1866,6 +1866,15 @@ export default {
|
||||
}
|
||||
this.insuredInfo.birthday = idToData(val).birthday
|
||||
this.insuredInfo.sex = idToData(val).sex
|
||||
//被保险人证件类型枚举“身份证、户口本”,默认户口本,且户口本证件截止日期默认长期(如果后期还有被保险人年龄为0-17周岁的,都同该规则)
|
||||
let age = utilsAge.getAge(this.insuredInfo.birthday, new Date())
|
||||
if(age <= 17){
|
||||
|
||||
}
|
||||
//GFRS-2641--被保险人年龄小于20周岁(不含),婚姻状况默认为未婚;
|
||||
if(age < 20){
|
||||
this.insuredInfo.marriage = '2'
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -1905,16 +1914,21 @@ export default {
|
||||
email: '', //电子邮箱
|
||||
effectiveDateType:false //是否长期
|
||||
}
|
||||
// 2516--三款学平险--被保险人职业类别默认学生,允许修改;
|
||||
// 2516--三款学平险-- 0048义务教育 0049 幼儿园 0050 高中
|
||||
// GFRS-2641--被保险人职业:幼儿园版默认学龄前儿童,义务教育、高中/高等教育默认一般学生
|
||||
// 被保险人婚姻默认未婚,允许修改
|
||||
// 被保险人手机及邮箱默认投保人,允许修改
|
||||
if(this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049'|| this.itemProductDTOS.productCode == 'GFRS_M0050'){
|
||||
if(this.itemProductDTOS.productCode == 'GFRS_M0048'|| this.itemProductDTOS.productCode == 'GFRS_M0050'){
|
||||
this.insuredInfo.occupationCode = '2099907'
|
||||
this.insuredInfo.occupationName = '一般学生'
|
||||
this.insuredInfo.marriage = '2'
|
||||
this.insuredInfo.mobile = this.userInfo.mobile
|
||||
this.insuredInfo.email = this.userInfo.email
|
||||
}else if(this.itemProductDTOS.productCode == 'GFRS_M0049'){
|
||||
this.insuredInfo.occupationCode = '2099908'
|
||||
this.insuredInfo.occupationName = '学龄前儿童'
|
||||
}
|
||||
|
||||
// 2516--除万福卡,投保人、被保险人年收入,默认为0,允许修改
|
||||
if(this.itemProductDTOS.productCode !='GFRS_M0032'){
|
||||
this.insuredInfo.averageAnnualIncome = '0'
|
||||
|
||||
Reference in New Issue
Block a user