From f3da7d14ea088771668858e9fbae78c60f7304e6 Mon Sep 17 00:00:00 2001
From: pangxingyue <120277894@qq.com>
Date: Mon, 29 Mar 2021 21:51:29 +0800
Subject: [PATCH] =?UTF-8?q?feature/GFRS-2215=E3=80=90=E5=BE=85=E5=AE=8C?=
=?UTF-8?q?=E6=88=90=E3=80=91=E9=87=8D=E6=96=B0=E6=8A=95=E4=BF=9D=20--=20?=
=?UTF-8?q?=E6=8A=95=E4=BF=9D=20=E9=99=A9=E7=A7=8D=E4=BF=AE=E6=94=B9=20--?=
=?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BA=BA=E5=BA=9E=E5=85=B4=E6=9C=88?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../ebiz/insureAgain/InsureInformation.vue | 16 +-
src/views/ebiz/insureAgain/Notification.vue | 2 +-
.../ebiz/insureAgain/ProductInformation.vue | 490 +++++++++---------
3 files changed, 257 insertions(+), 251 deletions(-)
diff --git a/src/views/ebiz/insureAgain/InsureInformation.vue b/src/views/ebiz/insureAgain/InsureInformation.vue
index 653f383bd..c5b0eeacf 100644
--- a/src/views/ebiz/insureAgain/InsureInformation.vue
+++ b/src/views/ebiz/insureAgain/InsureInformation.vue
@@ -48,7 +48,7 @@
受益人信息
-
+
法定受益人
@@ -243,16 +243,18 @@ export default {
{ code: this.insuredPersonInfo.homeArea }
])
}
+
//受益人信息
//bnfFlag 1-法定受益人 0-指定受益人
this.bnfPersonInfo = res.orderDTO.insuredDTOs[0]['bnfDTOs']
- if (this.bnfPersonInfo[0]['bnftype'] === '0') {
- this.bnftype = '0'
+ if (this.bnfPersonInfo[0]['bnftype'] === '1') {
+ this.bnftype = '1'
this.bnfPersonInfo.forEach((item, index) => {
this.bnfHomeName[index] = getAreaName([{ code: item.province }, { code: item.city }, { code: item.area }])
})
} else {
- this.bnftype = '1'
+ this.bnftype = '0'
+ this.insuredPersonInfo['bnfDTOs'] = []
}
// 账户信息
this.accountPersonInfo = res.orderDTO.orderAccountDTO
@@ -266,6 +268,9 @@ export default {
// this.userInfo.medical = '1'
// this.insuredPersonInfo.medical = '0'
//todo end
+
+
+ this.insuredPersonInfo.homeAddress = '汉字汉字汉字汉字123123'
}
})
},
@@ -508,7 +513,8 @@ export default {
orderNo: '',
oldPolicyContNo: CacheUtils.getLocItem('policyNo'),
isElecCont: this.isElecCont,
- supportBank: '0'
+ supportBank: '0',
+ bnfFlag: this.bnftype
},
appntDTO: this.userInfo,
insuredDTOs: [this.insuredPersonInfo],
diff --git a/src/views/ebiz/insureAgain/Notification.vue b/src/views/ebiz/insureAgain/Notification.vue
index 9b5a36ec8..b0a827d6d 100644
--- a/src/views/ebiz/insureAgain/Notification.vue
+++ b/src/views/ebiz/insureAgain/Notification.vue
@@ -561,7 +561,7 @@ export default {
orderDTO: {
orderInfoDTO: {
orderNo: window.localStorage.getItem('orderNo'),
- productCode: JSON.parse(localStorage.mainRiskCodes)[0]
+ productCode: ''
},
// 投保人
appntDTO: {
diff --git a/src/views/ebiz/insureAgain/ProductInformation.vue b/src/views/ebiz/insureAgain/ProductInformation.vue
index 27808bd8e..abb15f91b 100644
--- a/src/views/ebiz/insureAgain/ProductInformation.vue
+++ b/src/views/ebiz/insureAgain/ProductInformation.vue
@@ -142,251 +142,251 @@ export default {
},
created() {
// this.getReAppntPolicy()
- let a = ` {
- "orderDTO": {
- "appntDTO": {
- "area": "",
- "averageAnnualIncome": 10,
- "avoirdupois": 60,
- "birthday": "1983-03-12",
- "certiexpiredate": "2035-03-31",
- "effectiveDateType": "false",
- "email": "310598205@qq.com",
- "healthGrade": "1",
- "homeAddress": "百苑小区101号",
- "homeArea": "450103",
- "homeCity": "450100",
- "homeProvince": "450000",
- "idNo": "452624198303120727",
- "idType": "1",
- "liabilitiesMoney": "0",
- "lifeGrade": "1",
- "marriage": "1",
- "medical": "0",
- "mobile": "13707711024",
- "name": "艾琳马上",
- "nativeplace": "1",
- "occupationCode": "4070103",
- "occupationName": "经纪人(内勤)",
- "otherSalarySource": "",
- "salarySource": "1",
- "sex": "1",
- "stature": 167,
- "taxResidentId": "1",
- "workcompany": "国富人寿保险股份有限公司"
- },
- "insuredDTOs": [
- {
- "area": "",
- "averageAnnualIncome": 1000,
- "avoirdupois": 60,
- "birthday": "1983-03-12",
- "certiexpiredate": "2035-03-31",
- "companyArea": "",
- "companyCity": "",
- "effectiveDateType": "false",
- "healthGrade": "1",
- "homeAddress": "百苑小区101号",
- "homeArea": "450103",
- "homeCity": "450100",
- "homeProvince": "450000",
- "idNo": "452624198303120727",
- "idType": "1",
- "liabilitiesMoney": "0",
- "lifeGrade": "1",
- "marriage": "1",
- "medical": "0",
- "mobile": "13707711024",
- "name": "艾琳咳咳",
- "nativeplace": "1",
- "occupationCode": "4070103",
- "occupationName": "经纪人(内勤)",
- "otherSalarySource": "",
- "province": "",
- "relationToMainInsured": "5",
- "salarySource": "1",
- "sex": "1",
- "stature": 167,
- "taxResidentId": "1",
- "workcompany": "国富人寿保险股份有限公司",
- "bnfDTOs": [
- {
- "area": "450103",
- "birthday": "1980-01-02",
- "bnfLot": 50,
- "bnfOrder": 1,
- "bnfType": "0",
- "certiexpiredate": "2035-03-31",
- "city": "450100",
- "effectiveDateType": "false",
- "healthGrade": "1",
- "idNo": "110101198001020219",
- "idType": "1",
- "lifeGrade": "2",
- "marriage": "2",
- "mobile": "13707711024",
- "name": "爱来",
- "nativeplace": "1",
- "occupationCode": "2070202",
- "occupationName": "保险推销员",
- "province": "450000",
- "relationToInsured": "3",
- "sex": "0",
- "village": "百苑小区101号",
- "yearSalary": "23"
- },
- {
- "area": "450103",
- "birthday": "1983-03-12",
- "bnfLot": 50,
- "bnfOrder": 1,
- "bnfType": "0",
- "certiexpiredate": "2035-03-31",
- "city": "450100",
- "effectiveDateType": "false",
- "healthGrade": "1",
- "idNo": "452624198303120727",
- "idType": "1",
- "lifeGrade": "1",
- "marriage": "1",
- "mobile": "13707711024",
- "name": "艾琳马上来",
- "nativeplace": "1",
- "occupationCode": "4070103",
- "occupationName": "经纪人(内勤)",
- "province": "450000",
- "relationToInsured": "4",
- "sex": "1",
- "village": "百苑小区101号",
- "yearSalary": "32"
- }
- ],
- "impartDTO": {
- "impartItemDTOS": [
- {
- "impartAnswer": "1",
- "impartCode": "9",
- "impartContent": "最近六个月内是否有下列身体不适症状?长期咳嗽咳痰、声音嘶哑、痰中带血、咯血;②胸闷、胸痛、心慌、气喘、气短、呼吸困难;③吐血、大便带血、黑便、反复腹痛、恶心、反酸、呕吐、腹泻;④反复尿频、尿痛、血尿、腰痛、外生殖器溃疡;⑤反复皮下出血、鼻腔出血、牙龈出血、发热、持续疲倦;⑥晕倒、意识不清、视力下降、抽搐、反复头痛、头晕;⑦半年内体重增加或减少5公斤以上;⑧关节红肿、疼痛、活动受限。",
- "IntroDuctions": ""
- },
- {
- "impartAnswer": "1",
- "impartCode": "12a",
- "impartContent": "是否曾患有失明、视网膜出血或剥离、视神经炎、青光眼、白内障、眼底病变、视野缺失、屈光度1000度以上、聋哑、中耳炎、梅尼尔氏病或其他眼、耳、鼻、喉或口腔疾病?",
- "IntroDuctions": ""
- }
- ]
- },
- "riskDTOLst": [
- {
- "riskName": "国富人寿国富民惠医疗保险(2020版)",
- "insuYear": 1,
- "insuYearFlag": "Y",
- "payIntv": 12,
- "payEndYear": 1000,
- "payEndYearFlag": "Y",
- "prem": 10000,
- "riskCode": "1113202",
- "isMainRisk": "0",
- "amt": 22640,
- "dutyLst": [
- {
- "dutyName":"国富民惠医疗保险金",
- "dutyCode":"320300",
- "amt":1000000,
- "prem":536,
- "getLimit":"0",
- "getRate":"0"
- },
- {
- "dutyName":"",
- "dutyCode":"",
- "amt":100000,
- "prem":536,
- "getLimit":"",
- "getRate":""
- }
- ]
- },
- {
- "riskName": "国富人寿国富民惠医疗保险(2020版)",
- "insuYear": 1,
- "insuYearFlag": "Y",
- "payIntv": 12,
- "payEndYear": 1000,
- "payEndYearFlag": "Y",
- "prem": 10000,
- "riskCode": "1113201",
- "isMainRisk": "1",
- "amt": 22640,
- "dutyLst": [
- {
- "dutyName":"国富民惠医疗保险金",
- "dutyCode":"320300",
- "amt":1000000,
- "prem":536,
- "getLimit":"0",
- "getRate":"0"
- },
- {
- "dutyName":"",
- "dutyCode":"",
- "amt":100000,
- "prem":536,
- "getLimit":"",
- "getRate":""
- }
- ]
- },
- {
- "riskName": "国富人寿国富民惠医疗保险(B款)",
- "insuYear": 1,
- "insuYearFlag": "Y",
- "payIntv": 12,
- "payEndYear": 1000,
- "payEndYearFlag": "Y",
- "prem": 10000,
- "riskCode": "1113202",
- "isMainRisk": "1",
- "amt": 22640,
- "dutyLst": [
- {
- "dutyName":"国富民惠医疗保险金",
- "dutyCode":"320300",
- "amt":1000000,
- "prem":536,
- "getLimit":"0",
- "getRate":"0"
- },
- {
- "dutyName":"",
- "dutyCode":"",
- "amt":100000,
- "prem":536,
- "getLimit":"",
- "getRate":""
- }
- ]
- }
- ]
- }
- ],
- "orderAccountDTO": {
- "accountName": "艾琳马上",
- "bankName": "BOCOM",
- "cardBookCode": "4354256325325678790"
- },
- "orderInfoDTO": {
- "contNo": "保单号",
- "contState": "4",
- "cValiDate": "生效日期 String",
- "orderStatus": "0"
- }
- }
-}`
- let res = JSON.parse(a);
- // console.log(CacheUtils.getLocItem('orderDetailData'));
- // let res = JSON.parse(CacheUtils.getLocItem('orderDetailData'))
+// let a = ` {
+// "orderDTO": {
+// "appntDTO": {
+// "area": "",
+// "averageAnnualIncome": 10,
+// "avoirdupois": 60,
+// "birthday": "1983-03-12",
+// "certiexpiredate": "2035-03-31",
+// "effectiveDateType": "false",
+// "email": "310598205@qq.com",
+// "healthGrade": "1",
+// "homeAddress": "百苑小区101号",
+// "homeArea": "450103",
+// "homeCity": "450100",
+// "homeProvince": "450000",
+// "idNo": "452624198303120727",
+// "idType": "1",
+// "liabilitiesMoney": "0",
+// "lifeGrade": "1",
+// "marriage": "1",
+// "medical": "0",
+// "mobile": "13707711024",
+// "name": "艾琳马上",
+// "nativeplace": "1",
+// "occupationCode": "4070103",
+// "occupationName": "经纪人(内勤)",
+// "otherSalarySource": "",
+// "salarySource": "1",
+// "sex": "1",
+// "stature": 167,
+// "taxResidentId": "1",
+// "workcompany": "国富人寿保险股份有限公司"
+// },
+// "insuredDTOs": [
+// {
+// "area": "",
+// "averageAnnualIncome": 1000,
+// "avoirdupois": 60,
+// "birthday": "1983-03-12",
+// "certiexpiredate": "2035-03-31",
+// "companyArea": "",
+// "companyCity": "",
+// "effectiveDateType": "false",
+// "healthGrade": "1",
+// "homeAddress": "百苑小区101号",
+// "homeArea": "450103",
+// "homeCity": "450100",
+// "homeProvince": "450000",
+// "idNo": "452624198303120727",
+// "idType": "1",
+// "liabilitiesMoney": "0",
+// "lifeGrade": "1",
+// "marriage": "1",
+// "medical": "0",
+// "mobile": "13707711024",
+// "name": "艾琳咳咳",
+// "nativeplace": "1",
+// "occupationCode": "4070103",
+// "occupationName": "经纪人(内勤)",
+// "otherSalarySource": "",
+// "province": "",
+// "relationToMainInsured": "5",
+// "salarySource": "1",
+// "sex": "1",
+// "stature": 167,
+// "taxResidentId": "1",
+// "workcompany": "国富人寿保险股份有限公司",
+// "bnfDTOs": [
+// {
+// "area": "450103",
+// "birthday": "1980-01-02",
+// "bnfLot": 50,
+// "bnfOrder": 1,
+// "bnfType": "0",
+// "certiexpiredate": "2035-03-31",
+// "city": "450100",
+// "effectiveDateType": "false",
+// "healthGrade": "1",
+// "idNo": "110101198001020219",
+// "idType": "1",
+// "lifeGrade": "2",
+// "marriage": "2",
+// "mobile": "13707711024",
+// "name": "爱来",
+// "nativeplace": "1",
+// "occupationCode": "2070202",
+// "occupationName": "保险推销员",
+// "province": "450000",
+// "relationToInsured": "3",
+// "sex": "0",
+// "village": "百苑小区101号",
+// "yearSalary": "23"
+// },
+// {
+// "area": "450103",
+// "birthday": "1983-03-12",
+// "bnfLot": 50,
+// "bnfOrder": 1,
+// "bnfType": "0",
+// "certiexpiredate": "2035-03-31",
+// "city": "450100",
+// "effectiveDateType": "false",
+// "healthGrade": "1",
+// "idNo": "452624198303120727",
+// "idType": "1",
+// "lifeGrade": "1",
+// "marriage": "1",
+// "mobile": "13707711024",
+// "name": "艾琳马上来",
+// "nativeplace": "1",
+// "occupationCode": "4070103",
+// "occupationName": "经纪人(内勤)",
+// "province": "450000",
+// "relationToInsured": "4",
+// "sex": "1",
+// "village": "百苑小区101号",
+// "yearSalary": "32"
+// }
+// ],
+// "impartDTO": {
+// "impartItemDTOS": [
+// {
+// "impartAnswer": "1",
+// "impartCode": "9",
+// "impartContent": "最近六个月内是否有下列身体不适症状?长期咳嗽咳痰、声音嘶哑、痰中带血、咯血;②胸闷、胸痛、心慌、气喘、气短、呼吸困难;③吐血、大便带血、黑便、反复腹痛、恶心、反酸、呕吐、腹泻;④反复尿频、尿痛、血尿、腰痛、外生殖器溃疡;⑤反复皮下出血、鼻腔出血、牙龈出血、发热、持续疲倦;⑥晕倒、意识不清、视力下降、抽搐、反复头痛、头晕;⑦半年内体重增加或减少5公斤以上;⑧关节红肿、疼痛、活动受限。",
+// "IntroDuctions": ""
+// },
+// {
+// "impartAnswer": "1",
+// "impartCode": "12a",
+// "impartContent": "是否曾患有失明、视网膜出血或剥离、视神经炎、青光眼、白内障、眼底病变、视野缺失、屈光度1000度以上、聋哑、中耳炎、梅尼尔氏病或其他眼、耳、鼻、喉或口腔疾病?",
+// "IntroDuctions": ""
+// }
+// ]
+// },
+// "riskDTOLst": [
+// {
+// "riskName": "国富人寿国富民惠医疗保险(2020版)",
+// "insuYear": 1,
+// "insuYearFlag": "Y",
+// "payIntv": 12,
+// "payEndYear": 1000,
+// "payEndYearFlag": "Y",
+// "prem": 10000,
+// "riskCode": "1113202",
+// "isMainRisk": "0",
+// "amt": 22640,
+// "dutyLst": [
+// {
+// "dutyName":"国富民惠医疗保险金",
+// "dutyCode":"320300",
+// "amt":1000000,
+// "prem":536,
+// "getLimit":"0",
+// "getRate":"0"
+// },
+// {
+// "dutyName":"",
+// "dutyCode":"",
+// "amt":100000,
+// "prem":536,
+// "getLimit":"",
+// "getRate":""
+// }
+// ]
+// },
+// {
+// "riskName": "国富人寿国富民惠医疗保险(2020版)",
+// "insuYear": 1,
+// "insuYearFlag": "Y",
+// "payIntv": 12,
+// "payEndYear": 1000,
+// "payEndYearFlag": "Y",
+// "prem": 10000,
+// "riskCode": "1113201",
+// "isMainRisk": "1",
+// "amt": 22640,
+// "dutyLst": [
+// {
+// "dutyName":"国富民惠医疗保险金",
+// "dutyCode":"320300",
+// "amt":1000000,
+// "prem":536,
+// "getLimit":"0",
+// "getRate":"0"
+// },
+// {
+// "dutyName":"",
+// "dutyCode":"",
+// "amt":100000,
+// "prem":536,
+// "getLimit":"",
+// "getRate":""
+// }
+// ]
+// },
+// {
+// "riskName": "国富人寿国富民惠医疗保险(B款)",
+// "insuYear": 1,
+// "insuYearFlag": "Y",
+// "payIntv": 12,
+// "payEndYear": 1000,
+// "payEndYearFlag": "Y",
+// "prem": 10000,
+// "riskCode": "1113202",
+// "isMainRisk": "1",
+// "amt": 22640,
+// "dutyLst": [
+// {
+// "dutyName":"国富民惠医疗保险金",
+// "dutyCode":"320300",
+// "amt":1000000,
+// "prem":536,
+// "getLimit":"0",
+// "getRate":"0"
+// },
+// {
+// "dutyName":"",
+// "dutyCode":"",
+// "amt":100000,
+// "prem":536,
+// "getLimit":"",
+// "getRate":""
+// }
+// ]
+// }
+// ]
+// }
+// ],
+// "orderAccountDTO": {
+// "accountName": "艾琳马上",
+// "bankName": "BOCOM",
+// "cardBookCode": "4354256325325678790"
+// },
+// "orderInfoDTO": {
+// "contNo": "保单号",
+// "contState": "4",
+// "cValiDate": "生效日期 String",
+// "orderStatus": "0"
+// }
+// }
+// }`
+// let res = JSON.parse(a);
+ console.log(CacheUtils.getLocItem('orderDetailData'));
+ let res = JSON.parse(CacheUtils.getLocItem('orderDetailData'))
this.insuredDTOs = res.orderDTO.insuredDTOs[0]
this.orderInfoDTO = res.orderDTO.orderInfoDTO
this.riskDTOLst = this.insuredDTOs.riskDTOLst