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