mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 10:26:44 +08:00
【国富惠桂保团体医疗保险产品上线金掌桂投保开发需求】国富惠桂保团体医疗保险产品,职业不展示,相关字段默认为高风险工作人员
This commit is contained in:
@@ -7860,7 +7860,14 @@ let occupationList = [
|
||||
lifeGrade: '6',
|
||||
healthGrade: '2'
|
||||
},
|
||||
{ code: '8000102', name: '武术学校学生', lifeGrade: '6', healthGrade: '2' }
|
||||
{ code: '8000102', name: '武术学校学生', lifeGrade: '6', healthGrade: '2' },
|
||||
{ code: '8000201', name: '低风险室内工作人员', lifeGrade: '1', healthGrade: '1' },
|
||||
{ code: '8000202', name: '低风险室外工作人员', lifeGrade: '2', healthGrade: '2' },
|
||||
{ code: '8000203', name: '中低风险工作人员', lifeGrade: '3', healthGrade: '3' },
|
||||
{ code: '8000204', name: '中等风险工作人员', lifeGrade: '4', healthGrade: '4' },
|
||||
{ code: '8000205', name: '中高风险工作人员', lifeGrade: '5', healthGrade: '5' },
|
||||
{ code: '8000206', name: '高风险工作人员', lifeGrade: '6', healthGrade: '6' },
|
||||
{ code: '8000207', name: '特高风险工作人员', lifeGrade: '7', healthGrade: '7' }
|
||||
]
|
||||
}
|
||||
]
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
<van-field required v-model='userInfo.email' label='电子邮箱' name='电子邮箱' placeholder='如需电子保单,请填写' v-validate="'required|email'"
|
||||
clearable />
|
||||
<!-- <van-field v-model="userInfo.workcompany" required label="工作单位" name="工作单位" placeholder="请输入" v-validate="'required'" maxlength="50" clearable /> -->
|
||||
<van-field
|
||||
<!-- <van-field
|
||||
v-validate="'required'"
|
||||
@click="openOccupation('1')"
|
||||
required
|
||||
@@ -97,7 +97,7 @@
|
||||
name='职业类别'
|
||||
:value='userInfo.occupationName'
|
||||
right-icon='arrow'
|
||||
/>
|
||||
/> -->
|
||||
<van-field
|
||||
v-if='averageAnnualIncomeFlag'
|
||||
v-model='userInfo.averageAnnualIncome'
|
||||
@@ -720,6 +720,12 @@ export default {
|
||||
nextStep() {
|
||||
this.$validator.validate().then(valid => {
|
||||
if (true === valid) {
|
||||
// 国富惠桂保团体医疗保险产品,职业不展示,相关字段默认为高风险工作人员
|
||||
this.userInfo.occupationName = '8000206'
|
||||
this.userInfo.occupationCode = '高风险工作人员'
|
||||
this.userInfo.occupationType = '6'
|
||||
this.userInfo.healthGrade = '6'
|
||||
this.userInfo.lifeGrade = '6'
|
||||
let age = utilsAge.getAge(this.userInfo.birthday, new Date())
|
||||
console.log('计算年龄', age)
|
||||
// return
|
||||
|
||||
@@ -90,7 +90,7 @@
|
||||
/>
|
||||
<van-field v-if='isLessEighteen' v-model='insuredInfo.email' :readonly="isAppnt" label='电子邮箱' name='电子邮箱' placeholder='请输入'
|
||||
v-validate="'email'" clearable />
|
||||
<van-field
|
||||
<!-- <van-field
|
||||
readonly
|
||||
required
|
||||
@click="openOccupation('2')"
|
||||
@@ -99,7 +99,7 @@
|
||||
name='职业类别'
|
||||
:value='insuredInfo.occupationName'
|
||||
right-icon='arrow'
|
||||
/>
|
||||
/> -->
|
||||
<van-field
|
||||
v-model='insuredInfo.schoolName'
|
||||
v-show='showField'
|
||||
@@ -887,12 +887,12 @@ export default {
|
||||
// this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
// this.effectiveDateTypeAbleInsured = true
|
||||
// this.isInsuredCertiexpiredate = false
|
||||
this.isInsuredCertiexpiredate = true
|
||||
// this.isInsuredCertiexpiredate = true
|
||||
}else{
|
||||
this.insuredInfo.certiexpiredate = ''
|
||||
this.insuredInfo.effectiveDateType = false
|
||||
this.effectiveDateTypeAbleInsured = false
|
||||
this.isInsuredCertiexpiredate = true
|
||||
// this.isInsuredCertiexpiredate = true
|
||||
}
|
||||
this.insuredInfo.idType = value.id
|
||||
}
|
||||
@@ -1118,9 +1118,9 @@ export default {
|
||||
this.insuredInfo.effectiveDateType = true
|
||||
this.insuredInfo.certiexpiredate = '9999-01-01'
|
||||
this.effectiveDateTypeAbleInsured = true
|
||||
this.isInsuredCertiexpiredate = false
|
||||
// this.isInsuredCertiexpiredate = false
|
||||
}else{
|
||||
this.isInsuredCertiexpiredate = true
|
||||
// this.isInsuredCertiexpiredate = true
|
||||
// 因为学平险产品 和 少儿卡单 被保人证件类型只有身份证和户口本 所以回显被保人信息时 如果不是身份证和户口本 就隐藏被保人证件类型
|
||||
if ((this.itemProductDTOS.productCode == 'GFRS_M0048' || this.itemProductDTOS.productCode == 'GFRS_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050' || this.itemProductDTOS.productCode == 'GFRS_M0052')
|
||||
&& data.customerIdType != 1) {
|
||||
@@ -1196,6 +1196,12 @@ export default {
|
||||
console.log(this.insuredInfo,'this.insuredInfo')
|
||||
this.$validator.validate().then(valid => {
|
||||
if (true === valid) {
|
||||
// 国富惠桂保团体医疗保险产品,职业不展示,相关字段默认为高风险工作人员
|
||||
this.insuredInfo.occupationName = '8000206'
|
||||
this.insuredInfo.occupationCode = '高风险工作人员'
|
||||
this.insuredInfo.occupationType = '6'
|
||||
this.insuredInfo.healthGrade = '6'
|
||||
this.insuredInfo.lifeGrade = '6'
|
||||
// localStorage.chooseProductCodesNew = localStorage.chooseProductCodes
|
||||
//投保人校验
|
||||
// 计算年龄
|
||||
|
||||
Reference in New Issue
Block a user