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 @@ };