mirror of
http://112.124.100.131/GFRS/ebiz-h5.git
synced 2025-12-08 00:06:44 +08:00
[银保app] 保单查询查询按钮逻辑优化
This commit is contained in:
@@ -278,18 +278,28 @@ export default {
|
||||
this.finished = true
|
||||
this.loading= false
|
||||
that.filpolicyListDTOList = []
|
||||
console.log('111111111111111111111');
|
||||
// that.filpolicyListDTOList = res.policyListDTOList.policyListDTOList
|
||||
}else{
|
||||
that.filpolicyListDTOList = that.filpolicyListDTOList.concat(res.policyListDTOList)
|
||||
that.finished = false
|
||||
this.loading= false
|
||||
console.log('22222222222222222222222222222');
|
||||
if(res.policyListDTOList.length == 1 && this.params.riskCode != ''){
|
||||
// that.filpolicyListDTOList = []
|
||||
that.filpolicyListDTOList = res.policyListDTOList
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(that.params.pageNo == 1){
|
||||
that.filpolicyListDTOList = []
|
||||
console.log('33333333333333333333333333');
|
||||
}else{
|
||||
that.$toast(res.resultMessage)
|
||||
this.finished = true
|
||||
this.loading= false
|
||||
// that.filpolicyListDTOList = []
|
||||
console.log('44444444444444444444444444444');
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -309,10 +319,11 @@ export default {
|
||||
},
|
||||
// 上方关键词搜索按钮
|
||||
keywordSearch(value) {
|
||||
console.log('点击搜索了')
|
||||
console.log(value,'点击搜索了')
|
||||
// this.filpolicyListDTOList = this.policyListDTOList.filter((p) => {
|
||||
// return p.policyNo.indexOf(value) !== -1
|
||||
// })
|
||||
this.params.pageNo = 0
|
||||
this.params.riskCode = value
|
||||
this.YBpolicyListAgent()
|
||||
// console.log(value,'我是value');
|
||||
|
||||
Reference in New Issue
Block a user