mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-22 21:06:43 +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['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) {
|
} else if (item.type == 1) {
|
||||||
//按年龄选择
|
//按年龄选择
|
||||||
|
|||||||
@@ -476,29 +476,23 @@ export default {
|
|||||||
item.calFactorLst.map(i => {
|
item.calFactorLst.map(i => {
|
||||||
if (item.mainRiskCode === 'GFRS_M0016') {
|
if (item.mainRiskCode === 'GFRS_M0016') {
|
||||||
if (i.code === 'getLimit') {
|
if (i.code === 'getLimit') {
|
||||||
const text = isMedical ? '0元(意外医疗)' : '100元(意外医疗)'
|
let tempColumns = i.columns.filter(itemC => {
|
||||||
const value = isMedical ? '0' : '100'
|
return itemC.medical == isMedical
|
||||||
|
})
|
||||||
//保存数据
|
if (tempColumns.length !== 0) {
|
||||||
this.medicalInfo = this.medicalInfo || {}
|
i.columns = tempColumns
|
||||||
this.medicalInfo.getLimit = text
|
}
|
||||||
|
// this.trialInfos[0].getLimit = i.columns[0].value
|
||||||
i.showContent = text
|
|
||||||
i.getLimit = value
|
|
||||||
i.columns = [{ text, value }]
|
|
||||||
}
|
}
|
||||||
//赔付比例
|
//赔付比例
|
||||||
if (i.code === 'getRate') {
|
if (i.code === 'getRate') {
|
||||||
const text = isMedical ? '80%(意外医疗)' : '70%(意外医疗)'
|
let tempColumns = i.columns.filter(itemC => {
|
||||||
const value = isMedical ? '0.8' : '0.7'
|
return itemC.medical == isMedical
|
||||||
|
})
|
||||||
//保存数据
|
if (tempColumns.length !== 0) {
|
||||||
this.medicalInfo = this.medicalInfo || {}
|
i.columns = tempColumns
|
||||||
this.medicalInfo.getRate = text
|
}
|
||||||
|
// this.trialInfos[0].getRate = i.columns[0].value
|
||||||
i.showContent = text
|
|
||||||
i.getRate = value
|
|
||||||
i.columns = [{ text, value }]
|
|
||||||
}
|
}
|
||||||
} else if (item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005') {
|
} else if (item.productCode === 'GFRS_A0004' || item.productCode === 'GFRS_A0005') {
|
||||||
// 设置默认值?
|
// 设置默认值?
|
||||||
|
|||||||
@@ -222,7 +222,11 @@ export default {
|
|||||||
item[item.code] = factor[item.code]
|
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) {
|
} else if (item.type == 1) {
|
||||||
//按年龄选择
|
//按年龄选择
|
||||||
|
|||||||
Reference in New Issue
Block a user