Merge branch 'feature/GFRS-729【0326】国富人寿国富民安重大疾病保险(2020版)_1' into dev

This commit is contained in:
阳华祥
2020-03-13 15:56:07 +08:00

View File

@@ -1075,15 +1075,27 @@ export default {
// trialInfo.duty = [{ dutyCode: trialInfo.duty }] // trialInfo.duty = [{ dutyCode: trialInfo.duty }]
// } // }
//获取投被保生日、性别 //获取投被保生日、性别
let birthday, sex let birthday, sex, occupationCode, occupationName
if (item.isRemit == '0' && item.remitType == '0') { if (item.isRemit == '0' && item.remitType == '0') {
;[birthday, sex] = [this.saleInsuredInfo.birthday, this.saleInsuredInfo.sex] ;[birthday, sex, occupationCode, occupationName] = [
this.saleInsuredInfo.birthday,
this.saleInsuredInfo.sex,
this.saleInsuredInfo.occupationCode,
this.saleInsuredInfo.occupationName
]
} else { } else {
;[birthday, sex] = [this.saleInsuredPersonInfo.birthday, this.saleInsuredPersonInfo.sex] ;[birthday, sex, occupationCode, occupationName] = [
this.saleInsuredPersonInfo.birthday,
this.saleInsuredPersonInfo.sex,
this.saleInsuredPersonInfo.occupationCode,
this.saleInsuredPersonInfo.occupationName
]
} }
trialInfo = Object.assign(trialInfo, { trialInfo = Object.assign(trialInfo, {
birthday, birthday,
sex, sex,
occupationCode,
occupationName,
platformType: 'app', platformType: 'app',
productCode: item.productCode, productCode: item.productCode,
medical: JSON.parse(localStorage.getItem('saleInsuredPersonInfo')).medical medical: JSON.parse(localStorage.getItem('saleInsuredPersonInfo')).medical