From 60590fe43bede0ded674a4eac8e47e49d53f8e3a Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Tue, 21 Jun 2022 17:39:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E7=94=BB=E5=83=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/Piabodata/Userinsightinto.vue | 63 +++++++++++++++++++++- 1 file changed, 61 insertions(+), 2 deletions(-) diff --git a/pages/center/Piabodata/Userinsightinto.vue b/pages/center/Piabodata/Userinsightinto.vue index 05b6007..bf97876 100644 --- a/pages/center/Piabodata/Userinsightinto.vue +++ b/pages/center/Piabodata/Userinsightinto.vue @@ -14,6 +14,20 @@ 自定义 + + + {{efficient}} + 有效接待 + + + {{markCount}} + 已标顾问 + + + {{noMarkCount}} + 未标顾问 + + 客群特征总览 @@ -96,7 +110,10 @@ activeTab: 0, numlist:[], objlist:[], - Afolding:true + Afolding:true, + efficient:"", + markCount:"", + noMarkCount:"" }; }, onPageScroll(e) { @@ -113,6 +130,21 @@ this.gitinit() }, methods: { + goTo(i){ + if(i==1){ + uni.navigateTo({ + url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal='+'0'+'&validInvalid=0' + }); + }else if(i==2){ + uni.navigateTo({ + url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=1' + }); + }else{ + uni.navigateTo({ + url: '/pages/center/records/index?refresh='+'refresh'+'&activeTotal=0'+'&markAdvisor=0' + }); + } + }, anclick(i){ console.log(i) this.Afolding=!this.Afolding; @@ -144,9 +176,14 @@ } this.$u.post("/matchKeywords/findmatchdata", parames).then(data => { this.numlist.push({ - name:"客户数量", + name:"有效接待", num:data.total }) + + this.efficient = data.total + this.markCount = data.markCount + this.noMarkCount = data.noMarkCount + data.list.forEach((item,index)=>{ this.numlist.push({ name:item.name, @@ -228,6 +265,28 @@ };