From 522efb8bd3fdd9ddc1fe0fc67ad5ad7c84ec3f44 Mon Sep 17 00:00:00 2001 From: jyt <1592211625@qq.com> Date: Mon, 20 Jun 2022 17:03:44 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=94=B9=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/center/Piabodata/Userinsightinto.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/center/Piabodata/Userinsightinto.vue b/pages/center/Piabodata/Userinsightinto.vue index 5cea6b3..02cb667 100644 --- a/pages/center/Piabodata/Userinsightinto.vue +++ b/pages/center/Piabodata/Userinsightinto.vue @@ -144,7 +144,7 @@ } this.$u.post("/matchKeywords/findmatchdata", parames).then(data => { this.numlist.push({ - name:"客户数量", + name:"有效接待", num:data.total }) data.list.forEach((item,index)=>{ 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 2/2] =?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 @@ };