diff --git a/src/views/YB_APP/policyList.vue b/src/views/YB_APP/policyList.vue index c949fa322..8a97d4dc0 100644 --- a/src/views/YB_APP/policyList.vue +++ b/src/views/YB_APP/policyList.vue @@ -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');