mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 11:46:44 +08:00
【国富人寿】试算页面 获取订单详情根据订单详情中被保人职业信息重新设置jobLevel字段信息
This commit is contained in:
@@ -607,6 +607,21 @@ export default {
|
||||
//GFRS-2552【需求】关于金掌桂投保流程增设指定生效日按钮的申请
|
||||
const orderNo = this.$CacheUtils.getLocItem('orderNo')
|
||||
let detailPromise = this.isFrom === 'proposal' ? localStorage.proposalMedical : await getOrderDetail({ orderNo })
|
||||
|
||||
let collect = (data,code) => {
|
||||
data.forEach(item => {
|
||||
if (item.code == code) {
|
||||
this.saleInsuredPersonInfo.healthGrade = item.healthGrade
|
||||
this.saleInsuredPersonInfo.lifeGrade = item.lifeGrade
|
||||
} else {
|
||||
if (item.subs && item.subs.length != 0) {
|
||||
collect(item.subs,code)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
collect(occupationList,detailPromise.orderDTO.insuredDTOs[0].occupationCode)
|
||||
|
||||
if (this.isFrom != 'proposal') {
|
||||
//活动生效日期
|
||||
this.cvalidateStr = detailPromise.orderDTO.orderInfoDTO.cvaliDate
|
||||
|
||||
Reference in New Issue
Block a user