未提交保单详情

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: '待客户付款' text: '待客户付款'
} }
], ],
contState: [
{
val: '0',
text: '投保中',
},
{
val: '1',
text: '承包',
},
{
val: '4',
text: '终止',
},
],
// 产品编码 // 产品编码
riskType: [ riskType: [
{ {

View File

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