From 1bc7cd3277167f851cb315fa421d9c2bbf0da26d Mon Sep 17 00:00:00 2001 From: lihaoda Date: Wed, 19 Feb 2020 20:32:25 +0800 Subject: [PATCH] fix --- src/assets/js/utils/data-dictionary.js | 436 +++++++++++++++++++-- src/views/ebiz/common/CalculatePremium.vue | 194 ++++++++- src/views/ebiz/proposal/InsuredPerson.vue | 3 + 3 files changed, 588 insertions(+), 45 deletions(-) diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js index 773832d0f..7785a8fce 100644 --- a/src/assets/js/utils/data-dictionary.js +++ b/src/assets/js/utils/data-dictionary.js @@ -165,19 +165,19 @@ export default { id: 6, text: '台湾居民来往大陆通行证' }, - // { - // id: 7, - // text: '其他', - // disabled: true - // } { - id: 8, - text: '外国人永久居留身份证' - }, - { - id: 9, - text: '港澳台居民居住证' + id: 7, + text: '其他', + disabled: true } + // { + // id: 8, + // text: '外国人永久居留身份证' + // }, + // { + // id: 9, + // text: '港澳台居民居住证' + // } ], //投保人证件类型 insuredIdType: [ @@ -187,15 +187,17 @@ export default { }, { id: 2, - text: '户口本' + text: '户口本', + disabled: true }, { id: 3, - text: '出生证' + text: '出生证', + disabled: true }, { id: 4, - text: '外国人护照' + text: '护照' }, { id: 5, @@ -205,21 +207,52 @@ export default { id: 6, text: '台湾居民来往大陆通行证' }, - // { - // id: 7, - // text: '其他', - // disabled: true - // } { - id: 8, - text: '外国人永久居留身份证' + id: 7, + text: '其他', + disabled: true + } + // { + // id: 8, + // text: '外国人永久居留身份证' + // }, + // { + // id: 9, + // text: '港澳台居民居住证' + // } + ], + //出生证明 + birthType: [ + { + id: 1, + text: '身份证' }, { - id: 9, - text: '港澳台居民居住证' + id: 2, + text: '户口本' + }, + { + id: 3, + text: '出生证明', + disabled: true + }, + { + id: 4, + text: '护照' + }, + { + id: 5, + text: '港澳居民通行证' + }, + { + id: 6, + text: '台湾居民通行证' + }, + { + id: 7, + text: '其他' } ], - //投保人/被保人关系 relationToAppnt: [ { @@ -243,6 +276,61 @@ export default { text: '其他' } ], + //理赔报案投保人/被保人关系 + relationToAppnts: [ + { + id: '00', + text: '本人' + }, + { + id: '01', + text: '配偶' + }, + { + id: '02', + text: '父母' + }, + { + id: '03', + text: '子女' + }, + { + id: '04', + text: '其他' + }, + { + id: '05', + text: '祖父母' + }, + { + id: '06', + text: '孙子女' + }, + { + id: '07', + text: '外祖父母' + }, + { + id: '08', + text: '外孙子女' + }, + { + id: '09', + text: '亲戚' + }, + { + id: '10', + text: '发放房地产抵押贷款的金融机构' + }, + { + id: '11', + text: '业务员' + }, + { + id: '12', + text: '监护人' + } + ], //婚姻状况 marriage: [ { @@ -813,6 +901,16 @@ export default { shortName: '万能险', name: '国富人寿富娃娃两全保险(万能型)', code: 'GFRS_M0015' + }, + { + shortName: '意外险', + name: '国富人寿综合意外伤害保险(2020版)', + code: 'GFRS_M0016' + }, + { + shortName: '寿险', + name: '国富人寿鑫管家终身寿险(万能型)', + code: 'GFRS_M0017' } ], // 职级 @@ -1629,5 +1727,295 @@ export default { { id: '06', text: '医护' }, { id: '07', text: '保险外勤' }, { id: '08', text: '其它' } + ], + // 申请人身份 + applicantStatus: [ + { id: '01', text: '本人' }, + { id: '02', text: '监护人' } + ], + // 理赔申请人身份 + lpApplicantStatus: [ + { id: '1', text: '本人' }, + { id: '2', text: '配偶' }, + { id: '3', text: '父母' }, + { id: '4', text: '子女' }, + { id: '5', text: '其他' } + ], + // 出险申请类型 + applyType: [ + { + id: '01', + text: '疾病残疾', + docus: [ + { id: 1, text: '理赔申请书' }, + { id: 2, text: '保险合同' }, + { id: 3, text: '被保险人身份证明' }, + { id: 4, text: '申请人身份证明,银行账户复印件' }, + { id: 5, text: '理赔授权委托书,受托人身份证明 (仅适用于代办)' }, + { id: 6, text: '诊断证明,门急诊病历,住院病历' }, + { id: 8, text: '病理及各项检查检验报告' }, + { id: 9, text: '伤残鉴定书' } + ] + }, + { + id: '02', + text: '意外残疾', + docus: [ + { id: 1, text: '理赔申请书' }, + { id: 2, text: '保险合同' }, + { id: 3, text: '被保险人身份证明' }, + { id: 4, text: '申请人身份证明,银行账户复印件' }, + { id: 5, text: '理赔授权委托书,受托人身份证明 (仅适用于代办)' }, + { id: 6, text: '诊断证明,门急诊病历,住院病历' }, + { id: 8, text: '病理及各项检查检验报告' }, + { id: 9, text: '伤残鉴定书' }, + { id: 10, text: '意外事故证明' } + ] + }, + { + id: '03', + text: '重大疾病', + docus: [ + { id: 1, text: '理赔申请书' }, + { id: 2, text: '保险合同' }, + { id: 3, text: '被保险人身份证明' }, + { id: 4, text: '申请人身份证明,银行账户复印件' }, + { id: 5, text: '理赔授权委托书,受托人身份证明 (仅适用于代办)' }, + { id: 6, text: '诊断证明,门急诊病历,住院病历' }, + { id: 8, text: '病理及各项检查检验报告' }, + { id: 10, text: '意外事故证明' } + ] + }, + { + id: '04', + text: '特定疾病', + docus: [ + { id: 1, text: '理赔申请书' }, + { id: 2, text: '保险合同' }, + { id: 3, text: '被保险人身份证明' }, + { id: 4, text: '申请人身份证明,银行账户复印件' }, + { id: 5, text: '理赔授权委托书,受托人身份证明 (仅适用于代办)' }, + { id: 6, text: '诊断证明,门急诊病历,住院病历' }, + { id: 8, text: '病理及各项检查检验报告' }, + { id: 10, text: '意外事故证明' } + ] + }, + { + id: '05', + text: '疾病医疗', + docus: [ + { id: 1, text: '理赔申请书' }, + { id: 2, text: '保险合同' }, + { id: 3, text: '被保险人身份证明' }, + { id: 4, text: '申请人身份证明,银行账户复印件' }, + { id: 5, text: '理赔授权委托书,受托人身份证明 (仅适用于代办)' }, + { id: 6, text: '诊断证明,门急诊病历,住院病历' }, + { id: 7, text: '门急诊及住院费用原始收据,费用明细清单,第三方报销证明' }, + { id: 8, text: '病理及各项检查检验报告' } + ] + }, + { + id: '06', + text: '意外医疗', + docus: [ + { id: 1, text: '理赔申请书' }, + { id: 2, text: '保险合同' }, + { id: 3, text: '被保险人身份证明' }, + { id: 4, text: '申请人身份证明,银行账户复印件' }, + { id: 5, text: '理赔授权委托书,受托人身份证明 (仅适用于代办)' }, + { id: 6, text: '诊断证明,门急诊病历,住院病历' }, + { id: 7, text: '门急诊及住院费用原始收据,费用明细清单,第三方报销证明' }, + { id: 8, text: '病理及各项检查检验报告' }, + { id: 10, text: '意外事故证明' } + ] + }, + { + id: '07', + text: '保费豁免', + docus: [ + { id: 1, text: '理赔申请书' }, + { id: 2, text: '保险合同' }, + { id: 3, text: '被保险人身份证明' }, + { id: 4, text: '申请人身份证明,银行账户复印件' }, + { id: 5, text: '理赔授权委托书,受托人身份证明 (仅适用于代办)' }, + { id: 6, text: '诊断证明,门急诊病历,住院病历' }, + { id: 8, text: '病理及各项检查检验报告' }, + { id: 9, text: '伤残鉴定书' }, + { id: 10, text: '意外事故证明' }, + { id: 11, text: '死亡证明书,户籍注销证明,遗体处理证明' } + ] + } + ], + // 理赔证件类型 + lpIdType: [ + { + id: '1', + text: '身份证' + }, + { + id: '2', + text: '户口本' + }, + { + id: '3', + text: '出生证' + }, + { + id: '10', + text: '外国人永久居留身份证' + }, + { + id: '4', + text: '外国人护照' + }, + { + id: '5', + text: '港澳居民来往内地通行证' + }, + { + id: '6', + text: '台湾居民来往大陆通行证' + }, + { + id: '9', + text: '港澳台居民居住证' + }, + { + id: '8', + text: '台湾身份证' + }, + { + id: '7', + text: '其他' + } + ], + needTodo: [ + { + id: '01', + text: '办理理赔申请' + } + ], + chargeList: [ + { + id: 0, + text: '西药费' + }, + { + id: 1, + text: '中成药费' + }, + { + id: 2, + text: '中草药费' + }, + { + id: 3, + text: '挂号费' + }, + { + id: 4, + text: '诊查费' + }, + { + id: 5, + text: '检查费' + }, + { + id: 6, + text: '化验费' + }, + { + id: 6, + text: '化验费' + }, + { + id: 7, + text: '放射检查费' + }, + { + id: 8, + text: '治疗费' + }, + { + id: 9, + text: '特检费' + }, + { + id: 10, + text: '麻醉费' + }, + { + id: 11, + text: '手术费' + }, + { + id: 12, + text: '输血费' + }, + { + id: 13, + text: '材料费' + }, + { + id: 14, + text: '护理费' + }, + { + id: 15, + text: '床位费' + }, + { + id: 16, + text: '生育费' + }, + { + id: 17, + text: '诊疗费' + }, + { + id: 18, + text: '其他' + } + ], + //是否购买其他公司保险" + cureList: [ + { + id: 1, + text: '是' + }, + { + id: 0, + text: '否' + } + ], + //对象 + targetDictionary: [ + { value: '本人', code: '00' }, + { value: '配偶', code: '01' } + ], + nbsRelation: [ + { name: '配偶', value: '00' }, + { name: '子女', value: '01' }, + { name: '本人父亲', value: '02' }, + { name: '本人母亲', value: '03' }, + { name: '配偶父亲', value: '04' }, + { name: '配偶母亲', value: '05' } + ], + //顺位需求 + necessaryDictionary: [ + { code: '01', value: '生活费用' }, + { code: '02', value: '父母孝养金' }, + { code: '03', value: '房贷房租费用' }, + { code: '04', value: '最后费用' }, + { code: '05', value: '教育费用' }, + { code: '06', value: '医疗费用' }, + { code: '07', value: '资产传承' }, + { code: '08', value: '其他费用' } + ], + //险种类型字典 + insuranceDictionary: [ + { code: '01', value: '寿险' }, + { code: '02', value: '重疾' } + // { code: '03', value: '年金' } ] } diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 13e722ae6..193caeaab 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -68,7 +68,7 @@
{{ dutyItem.dutyName }}({{ dutyItem.suffix }}) -
+
@@ -154,7 +154,7 @@
{{ dutyItem.dutyName }}({{ dutyItem.suffix }}) -
+
@@ -231,8 +231,44 @@ @@ -1102,5 +1247,12 @@ export default { /deep/.van-action-sheet__name { font-size: 12px; } + .checkbox-click { + position: absolute; + right: 0; + top: 0; + width: 7.46667vw; + height: 7.46667vw; + } } diff --git a/src/views/ebiz/proposal/InsuredPerson.vue b/src/views/ebiz/proposal/InsuredPerson.vue index aa7d8514c..371cdf4f8 100644 --- a/src/views/ebiz/proposal/InsuredPerson.vue +++ b/src/views/ebiz/proposal/InsuredPerson.vue @@ -224,6 +224,9 @@ export default { }, //点击下一步 nextStep() { + //保存有没有社保,在保费计算用到 + localStorage.setItem('proposalMedical', this.insured.medical === '0' ? '1' : '0') + this.insured.age = String(this.insured.age) let cacheSex = JSON.parse(localStorage.proposalAppnt).sex let localSex = this.insured.sex