From e026831ecf48b46bb50756edf6bf43d7524c49af Mon Sep 17 00:00:00 2001 From: dwq <15731277156@163.com> Date: Thu, 29 Jul 2021 22:39:16 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=B8=AD=E4=BB=8B=E6=B8=A0=E9=81=93-?= =?UTF-8?q?=E5=85=AB=E6=A1=82=E6=97=A0=E5=BF=A7D=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E9=97=AE=E9=A2=98=E9=9C=80=E8=A6=81=E4=B8=8E=E6=B5=8B?= =?UTF-8?q?=E8=AF=95=E7=8E=AF=E5=A2=83=E5=90=8C=E6=AD=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/js/utils/data-dictionary.js | 5 +++++ src/views/ebiz/common/CalculatePremium.vue | 9 +++++---- src/views/ebiz/proposal/List.vue | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/assets/js/utils/data-dictionary.js b/src/assets/js/utils/data-dictionary.js index 93dee2f5f..15db2b028 100644 --- a/src/assets/js/utils/data-dictionary.js +++ b/src/assets/js/utils/data-dictionary.js @@ -2120,6 +2120,11 @@ export default { name: '国富人寿八桂无忧重大疾病保险(D款)', code: 'GFRS_M0044' }, + { + shortName: '重疾险', + name: '国富人寿八桂无忧重大疾病保险(D款)', + code: 'GFRS_M0051' + }, { shortName: '医疗险', name: '国富人寿特定疾病药品费用医疗保险', diff --git a/src/views/ebiz/common/CalculatePremium.vue b/src/views/ebiz/common/CalculatePremium.vue index 4e4b9f277..a6fa9f498 100644 --- a/src/views/ebiz/common/CalculatePremium.vue +++ b/src/views/ebiz/common/CalculatePremium.vue @@ -77,13 +77,13 @@
{{ riskFactor.name }}
- {{ dutyItem.dutyName }}({{ dutyItem.suffix }}) {{ dutyItem.dutyName }}
{ if (v.productCode == 'GFRS_M0024' || v.productCode == 'GFRS_M0040' || v.productCode == 'GFRS_M0044' - || v.productCode == 'GFRS_M0046') { + || v.productCode == 'GFRS_M0046'|| v.productCode == 'GFRS_M0051') { delete riskDTOLst[i].duty } }) diff --git a/src/views/ebiz/proposal/List.vue b/src/views/ebiz/proposal/List.vue index 1359e6ae8..df8428b4d 100644 --- a/src/views/ebiz/proposal/List.vue +++ b/src/views/ebiz/proposal/List.vue @@ -297,7 +297,7 @@ export default { let permissionRiskCode let flag = item.insuredDTOs[0].riskDTOLst.some(v => { permissionRiskCode = v.riskCode - return v.riskCode == 'GFRS_M0024' || v.riskCode == 'GFRS_M0040' || v.riskCode == 'GFRS_M0044' + return v.riskCode == 'GFRS_M0024' || v.riskCode == 'GFRS_M0040' || v.riskCode == 'GFRS_M0044'|| v.riskCode == 'GFRS_M0051' }) if (flag && (await riskRules.getProductSellPermissionList(permissionRiskCode, this))) { return this.$toast('抱歉,您没有该产品的销售权限!')