From c37e57732efb790fd49e909ad692255315e56bc7 Mon Sep 17 00:00:00 2001 From: "DESKTOP-AFPHKHF\\PC" Date: Sun, 1 Jan 2023 12:05:44 +0800 Subject: [PATCH] =?UTF-8?q?[=E9=93=B6=E4=BF=9Dapp]=20=E4=BF=9D=E5=8D=95?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=9F=A5=E8=AF=A2=E6=8C=89=E9=92=AE=E9=80=BB?= =?UTF-8?q?=E8=BE=91=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/YB_APP/policyList.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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');