mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 18:46:45 +08:00
Merge branch 'feature/GFRS-785【0402】国富人寿综合意外伤害保险(2020版)运营规则调整' into dev
# Conflicts: # src/views/ebiz/common/CalculatePremium.vue
This commit is contained in:
@@ -167,7 +167,11 @@ export default {
|
||||
item['amt'] = factor['amt']
|
||||
}
|
||||
}
|
||||
item.columns.push({ text: factor.showContent, value: factor[item.code], flag: factor[item.code + 'Flag'], amt: factor['amt'] })
|
||||
let itemColumns = { text: factor.showContent, value: factor[item.code], flag: factor[item.code + 'Flag'], amt: factor['amt'] }
|
||||
if (factor.medical !== undefined) {
|
||||
itemColumns.medical = factor.medical
|
||||
}
|
||||
item.columns.push(itemColumns)
|
||||
})
|
||||
} else if (item.type == 1) {
|
||||
//按年龄选择
|
||||
|
||||
@@ -476,29 +476,23 @@ export default {
|
||||
item.calFactorLst.map(i => {
|
||||
if (item.mainRiskCode === 'GFRS_M0016') {
|
||||
if (i.code === 'getLimit') {
|
||||
const text = isMedical ? '0元(意外医疗)' : '100元(意外医疗)'
|
||||
const value = isMedical ? '0' : '100'
|
||||
|
||||
//保存数据
|
||||
this.medicalInfo = this.medicalInfo || {}
|
||||
this.medicalInfo.getLimit = text
|
||||
|
||||
i.showContent = text
|
||||
i.getLimit = value
|
||||
i.columns = [{ text, value }]
|
||||
let tempColumns = i.columns.filter(itemC => {
|
||||
return itemC.medical == isMedical
|
||||
})
|
||||
if (tempColumns.length !== 0) {
|
||||
i.columns = tempColumns
|
||||
}
|
||||
// this.trialInfos[0].getLimit = i.columns[0].value
|
||||
}
|
||||
//赔付比例
|
||||
if (i.code === 'getRate') {
|
||||
const text = isMedical ? '80%(意外医疗)' : '70%(意外医疗)'
|
||||
const value = isMedical ? '0.8' : '0.7'
|
||||
|
||||
//保存数据
|
||||
this.medicalInfo = this.medicalInfo || {}
|
||||
this.medicalInfo.getRate = text
|
||||
|
||||
i.showContent = text
|
||||
i.getRate = value
|
||||
i.columns = [{ text, value }]
|
||||
let tempColumns = i.columns.filter(itemC => {
|
||||
return itemC.medical == isMedical
|
||||
})
|
||||
if (tempColumns.length !== 0) {
|
||||
i.columns = tempColumns
|
||||
}
|
||||
// this.trialInfos[0].getRate = i.columns[0].value
|
||||
}
|
||||
} else if (item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005') {
|
||||
// 设置默认值?
|
||||
|
||||
@@ -222,7 +222,11 @@ export default {
|
||||
item[item.code] = factor[item.code]
|
||||
}
|
||||
}
|
||||
item.columns.push({ text: factor.showContent, value: factor[item.code], flag: factor[item.code + 'Flag'] })
|
||||
let itemColumns = { text: factor.showContent, value: factor[item.code], flag: factor[item.code + 'Flag'] }
|
||||
if (factor.medical !== undefined) {
|
||||
itemColumns.medical = factor.medical
|
||||
}
|
||||
item.columns.push(itemColumns)
|
||||
})
|
||||
} else if (item.type == 1) {
|
||||
//按年龄选择
|
||||
|
||||
Reference in New Issue
Block a user