mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-09 15:46:43 +08:00
保单列表过滤核保状态的单子
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
<van-cell title="联系电话" :value="item.mobile" />
|
||||
</van-cell-group>
|
||||
</van-collapse-item>
|
||||
<div v-for="(itm, i) in item.bnfDTOs" :key="itm.name" class="pb10">
|
||||
<div v-for="(itm, i) in item.bnfDTOs" :key="i" class="pb10">
|
||||
<!-- 受益人信息 -->
|
||||
<van-collapse-item title="受益人信息" :name="i + 81">
|
||||
<van-cell-group>
|
||||
|
||||
@@ -109,19 +109,13 @@ export default {
|
||||
methods: {
|
||||
// 获取保单列表
|
||||
getpolicyListAgent() {
|
||||
let that = this
|
||||
let data = {}
|
||||
getpolicyListAgent(data).then(res => {
|
||||
// console.log(res)
|
||||
//orderStatus 1 承保 0 核保 4终止
|
||||
if (res.result == '0') {
|
||||
res.policyListDTOList.map(item => {
|
||||
if (item.orderStatus == '1') {
|
||||
item.orderStatus = '有效'
|
||||
} else {
|
||||
item.orderStatus = '无效'
|
||||
}
|
||||
})
|
||||
that.policyListDTOList = res.policyListDTOList
|
||||
//过滤掉 核保状态的数据 只展示承保和终止的保单
|
||||
this.policyListDTOList = res.policyListDTOList.filter(item => item.orderStatus != '0')
|
||||
console.log(this.policyListDTOList)
|
||||
} else {
|
||||
this.isShow = true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user