diff --git a/src/views/ReceivingRecords/index.vue b/src/views/ReceivingRecords/index.vue index 5ca310b..e422a2b 100644 --- a/src/views/ReceivingRecords/index.vue +++ b/src/views/ReceivingRecords/index.vue @@ -573,12 +573,20 @@ export default { console.log("时间"); } + + this.rec_index_show = this.permissions["rec_index_show"]; this.rec_index_text = this.permissions["rec_index_text"]; this.rec_index_voice = this.permissions["rec_index_voice"]; this.rec_index_downLoad = this.permissions["rec_index_downLoad"]; }, mounted() { + if(this.$route.query.validInvalid){ + this.searchForm.validInvalid = this.$route.query.validInvalid; + } + if(this.$route.query.markAdvisor){ + this.searchForm.markAdvisor = this.$route.query.markAdvisor; + } // 获取项目列表 this.zkhousePage(); }, diff --git a/src/views/Statistics/index.vue b/src/views/Statistics/index.vue index fd44f50..98d005c 100644 --- a/src/views/Statistics/index.vue +++ b/src/views/Statistics/index.vue @@ -49,7 +49,22 @@ -
+
+ +
{{efficient}}
+
有效接待
+
+ +
{{markCount}}
+
已标顾问
+
+ +
{{noMarkCount}}
+
未标顾问
+
+
+ +
客群特征总览
import * as echarts from "echarts"; +import Router from "../../router/router"; import colorTheme from "../../util/theme.color" export default { @@ -183,13 +199,25 @@ export default { starttime: "", endoftime: "", }, + + efficient:"", + markCount:"", + noMarkCount:"" }; }, mounted() { this.zkhousePage(); }, methods: { - + goTo(i){ + if(i==1){ + Router.push("/ReceivingRecords/index?activeTotal=0&validInvalid=0") + }else if(i==2){ + Router.push("/ReceivingRecords/index?activeTotal=0&markAdvisor=1"); + }else{ + Router.push("/ReceivingRecords/index?activeTotal=0&markAdvisor=0"); + } + }, backTop(){ $('#avue-view').scrollTop(0) }, @@ -274,6 +302,11 @@ export default { .then((res) => { this.objlist = res.data.list; this.alllist = [{ name: "有效接待", num: res.data.total }]; + + this.efficient = res.data.total + this.markCount = res.data.markCount + this.noMarkCount = res.data.noMarkCount + res.data.list.forEach((item, index) => { this.alllist.push({ name: item.name,