[NEW]【福享年年】获取主险接口,增加type参数;前端产品字典扩充

This commit is contained in:
yuweiqi
2020-06-29 16:02:05 +08:00
parent 207100e27e
commit e38b06be14
2 changed files with 6 additions and 1 deletions

View File

@@ -954,6 +954,11 @@ export default {
shortName: '重疾险',
name: '国富人寿桂企保重大疾病保险',
code: 'GFRS_M0024'
},
{
shortName: '年金险',
name: '国富人寿福享年年长期年金保险',
code: 'GFRS_M0026'
}
],
// 职级

View File

@@ -76,7 +76,7 @@ export default {
//获取主险列表
async getMainRiskList() {
let mainRiskCodes = localStorage.mainRiskCodes && JSON.parse(localStorage.mainRiskCodes)
let resultData = await mainRiskList({ platform: 'app' })
let resultData = await mainRiskList({ platform: 'app', type: localStorage.isFrom == 'proposal' ? 'proposal' : null })
if (resultData.result == 0) {
resultData.mainRiskDTOS.forEach(item => {
//已选主险不能再选、险种互斥