取消保单列表过滤条件

This commit is contained in:
shishengjie
2019-10-16 19:22:16 +08:00
parent f472fc8dd5
commit d99315a668
2 changed files with 5 additions and 5 deletions

View File

@@ -43,8 +43,8 @@
<div v-if="itm.bnfType == '1'"> <div v-if="itm.bnfType == '1'">
<van-cell title="姓名" :value="itm.name" /> <van-cell title="姓名" :value="itm.name" />
<van-cell title="性别" :value="itm.sexText" /> <van-cell title="性别" :value="itm.sexText" />
<van-cell title="是被保人的" :value="itm.relationText" /> <!-- <van-cell title="是被保人的" :value="itm.relationText" /> -->
<van-cell title="受益比例" :value="`${itm.bnfLot}%`" v-if="itm.bnfLot != null" /> <van-cell title="受益比例" :value="`${itm.bnfLot * 100}%`" v-if="itm.bnfLot != null" />
<van-cell title="证件类型" :value="itm.idTypeText" /> <van-cell title="证件类型" :value="itm.idTypeText" />
<van-cell title="证件号码" :value="itm.idNo" /> <van-cell title="证件号码" :value="itm.idNo" />
</div> </div>

View File

@@ -82,9 +82,8 @@ export default {
} }
}, },
created() { created() {
let that = this
// 获取表单列表 // 获取表单列表
that.getpolicyListAgent() this.getpolicyListAgent()
}, },
mounted() { mounted() {
if (this.isShow == true) { if (this.isShow == true) {
@@ -116,7 +115,8 @@ export default {
//orderStatus 1 承保 0 核保 4终止 //orderStatus 1 承保 0 核保 4终止
if (res.result == '0') { if (res.result == '0') {
//过滤掉 核保状态的数据 只展示承保和终止的保单 //过滤掉 核保状态的数据 只展示承保和终止的保单
this.policyListDTOList = res.policyListDTOList.filter(item => item.orderStatus != '0') this.policyListDTOList = res.policyListDTOList
// this.policyListDTOList = res.policyListDTOList.filter(item => item.orderStatus != '0')
console.log(this.policyListDTOList) console.log(this.policyListDTOList)
} else { } else {
this.isShow = true this.isShow = true