mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-10 19:46:43 +08:00
卡单问题关于选择人员后变更了保费问题以及立即投保数据传递关于职业信息
This commit is contained in:
@@ -978,7 +978,9 @@ export default {
|
|||||||
if (res.result == 0) {
|
if (res.result == 0) {
|
||||||
//选择保障方案
|
//选择保障方案
|
||||||
this.trialList = res.trialList
|
this.trialList = res.trialList
|
||||||
|
if (!this.allPrice) {
|
||||||
this.allPrice = res.trialList[0].prem
|
this.allPrice = res.trialList[0].prem
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
this.$toast(res.resultMessage)
|
this.$toast(res.resultMessage)
|
||||||
}
|
}
|
||||||
@@ -1594,10 +1596,32 @@ export default {
|
|||||||
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
|
this.userInfo.homeAddress = data.homeAddress //家庭详细地址
|
||||||
this.userInfo.occupationCode = data.occupationCode
|
this.userInfo.occupationCode = data.occupationCode
|
||||||
this.userInfo.occupationName = data.occupationName
|
this.userInfo.occupationName = data.occupationName
|
||||||
|
let thisoccupationType = ''
|
||||||
|
let thislifeGrade = ''
|
||||||
|
let thishealthGrade = ''
|
||||||
|
let collect = (data,code) => {
|
||||||
|
data.forEach(item => {
|
||||||
|
if (item.code == code) {
|
||||||
|
if (this.trialDTOS.productInsuredDTO.healthGrade && this.trialDTOS.productInsuredDTO.healthGrade != '0') {
|
||||||
|
thisoccupationType = item.healthGrade
|
||||||
|
}
|
||||||
|
if (this.trialDTOS.productInsuredDTO.lifeGrade && this.trialDTOS.productInsuredDTO.lifeGrade != '0') {
|
||||||
|
thisoccupationType = item.lifeGrade
|
||||||
|
}
|
||||||
|
thislifeGrade = item.lifeGrade
|
||||||
|
thishealthGrade = item.healthGrade
|
||||||
|
} else {
|
||||||
|
if (item.subs && item.subs.length != 0) {
|
||||||
|
collect(item.subs,code)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
}
|
||||||
|
collect(occupationList,data.occupationCode)
|
||||||
|
|
||||||
this.userInfo.occupationType = data.lifeGrade
|
this.userInfo.occupationType =thisoccupationType
|
||||||
this.userInfo.lifeGrade = data.lifeGrade
|
this.userInfo.lifeGrade = thislifeGrade
|
||||||
this.userInfo.healthGrade = data.healthGrade
|
this.userInfo.healthGrade = thishealthGrade
|
||||||
this.userInfo.averageAnnualIncome = this.itemProductDTOS.productCode == 'GFRS_M0032' ? data.averageYearlyIncome : '0' //平均年收入
|
this.userInfo.averageAnnualIncome = this.itemProductDTOS.productCode == 'GFRS_M0032' ? data.averageYearlyIncome : '0' //平均年收入
|
||||||
//2516--三个学平险--被保险人国籍默认中国,允许修改
|
//2516--三个学平险--被保险人国籍默认中国,允许修改
|
||||||
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_M0049' || this.itemProductDTOS.productCode == 'GFRS_M0050'
|
||||||
|
|||||||
Reference in New Issue
Block a user