From 5ee9c44e5bba196124d385fad42e3b5c4640addc Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Tue, 21 Jun 2022 17:39:20 +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 | 60 +++++++++++++++++++++- utils/domain.js | 3 +- 2 files changed, 61 insertions(+), 2 deletions(-) diff --git a/pages/center/Piabodata/Userinsightinto.vue b/pages/center/Piabodata/Userinsightinto.vue index 02cb667..68a3ef0 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 @@ }, 1000); }, 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; @@ -147,6 +179,10 @@ 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, @@ -235,6 +271,28 @@ };