feature/GFRS-2401 惠桂保数据导入需求-前端保单详情展示-提交人:白金岩

This commit is contained in:
bai.jinyan
2021-05-08 10:41:06 +08:00
parent 9b237e8ed8
commit 1fc0ac9e96

View File

@@ -15,13 +15,14 @@ export default {
data() {
return {
rowInfos: [
{ rowName: '保单号', key: 'orderNumber' },
{ rowName: '投保人姓名', key: 'applicantName' },
{ rowName: '投保人电话', key: 'applicantPhone' },
{ rowName: '凭证号/保单号', key: 'orderNumber' },
{ rowName: '缴费人姓名', key: 'applicantName' },
{ rowName: '缴费人手机号', key: 'applicantPhone' },
{ rowName: '被保人姓名', key: 'insuredName' },
{ rowName: '被保人电话', key: 'insuredPhone' },
{ rowName: '被保人性别', key: 'insuredGender' },
{ rowName: '被保人出生日期', key: 'insuredBirthday' },
{ rowName: '保费', key: 'prem' },
/*{ rowName: '被保人电话', key: 'insuredPhone' },*/
/*{ rowName: '被保人性别', key: 'insuredGender' },*/
/*{ rowName: '被保人出生日期', key: 'insuredBirthday' },*/
{ rowName: '生效日', key: 'effectiveDate' },
{ rowName: '到期日', key: 'expireDate' }
],
@@ -29,6 +30,7 @@ export default {
applicantName: '',
applicantPhone: '',
insuredName: '',
prem: '',
insuredPhone: '',
insuredGender: '',
insuredBirthday: '',
@@ -55,10 +57,12 @@ export default {
this.insuredPhone = insuredDTO.mobile
this.insuredGender = insuredDTO.sex === '0' ? '男' : insuredDTO.sex === '1' ? '女' : '-'
this.insuredBirthday = insuredDTO.birthday
}
let orderInfoDTO = res.content.data.orderInfoDTO
if (orderInfoDTO) {
this.orderNumber = orderInfoDTO.prtNo
this.prem = orderInfoDTO.orderStandAmount
this.orderNumber = orderInfoDTO.contNo
this.effectiveDate = orderInfoDTO.cvaliDate
this.expireDate = orderInfoDTO.expiryDate
}