未提交保单详情

This commit is contained in:
pangxingyue
2021-03-24 09:04:39 +08:00
parent 7c02d7928e
commit c00494d450
2 changed files with 42 additions and 12 deletions

View File

@@ -1662,6 +1662,20 @@ export default {
text: '待客户付款'
}
],
contState: [
{
val: '0',
text: '投保中',
},
{
val: '1',
text: '承包',
},
{
val: '4',
text: '终止',
},
],
// 产品编码
riskType: [
{

View File

@@ -4,10 +4,10 @@
<template #boxTitle>
<span>保单信息</span>
</template>
<InfoCell label="保单号">{{OrderInfoDTO.orderNo}}</InfoCell>
<InfoCell label="生效日期">{{OrderInfoDTO.appntDateLabel}}</InfoCell>
<InfoCell label="保单状态">{{OrderInfoDTO.orderStatus | orderStatusFilter}}</InfoCell>
<InfoCell label="签收状态">{{OrderInfoDTO.orderNo}}</InfoCell>
<InfoCell label="保单号">{{OrderInfoDTO.contNo}}</InfoCell>
<InfoCell label="生效日期">{{OrderInfoDTO.cValiDate}}</InfoCell>
<InfoCell label="保单状态">{{OrderInfoDTO.contState | contStateFilter}}</InfoCell>
<InfoCell label="签收状态">{{OrderInfoDTO.orderStatus | orderStatusFilter}}</InfoCell>
</DropdownBox>
<DropdownBox>
<template #boxTitle>
@@ -34,13 +34,14 @@
<DropdownBox>
<template #boxTitle>
<span>受益人信息</span>
</template>
<div v-if="OrderInfoDTO.bnfFlag == '法定受益人'">
<InfoCell label="受益人">法定受益人</InfoCell>
</div>
<div v-else>
</template>
<div v-for="(item, index) in insuredDTOs" :key="index" class="pb10">
<div v-for="itm in item.bnfDTOs" :key="itm.name" class="pb10">
<div v-if="item.bnfDTOs === '[]'">
<InfoCell label="受益人">法定受益人</InfoCell>
</div>
<div v-else>
<div v-for="itm in item.bnfDTOs" :key="itm.name" class="pb10">
<InfoCell label="受益人">{{OrderInfoDTO.bnfFlag}}</InfoCell>
<div v-if="OrderInfoDTO.bnfFlag == '指定受益人'">
<InfoCell label="姓名">{{itm.name}}</InfoCell>
@@ -50,8 +51,9 @@
<InfoCell label="证件号码">{{itm.idNo}}</InfoCell>
</div>
</div>
</div>
</div>
</div>
</DropdownBox>
<DropdownBox>
@@ -101,13 +103,21 @@ export default {
},
filters: {
orderStatusFilter(val) {
for (let status of dataDictionary.policyState) {
for (let status of dataDictionary.orderStatus) {
if (status.id === val) {
return status.text
}
}
return ''
},
contStateFilter(val) {
for (let status of dataDictionary.contState) {
if (status.val === val) {
return status.text
}
}
return ''
},
reasonFilter(val) {
let reg = /'|;/g
return val.replace(reg, '')
@@ -298,6 +308,12 @@ export default {
"accountName": "艾琳马上",
"bankName": "BOCOM",
"cardBookCode": "4354256325325678790"
},
"orderInfoDTO": {
"contNo": "保单号",
"contState": "保单状态 1-承保;4-终止;0-投保中",
"cValiDate": "生效日期 String",
"orderStatus": "签收状态 0-未签收 1-已签收"
}
},
"result": "0"