diff --git a/public/img/bidata/heads.png b/public/img/bidata/heads.png new file mode 100644 index 0000000..a7b3040 Binary files /dev/null and b/public/img/bidata/heads.png differ diff --git a/src/page/bi/bi.vue b/src/page/bi/bi.vue index 24b93d5..021a35b 100644 --- a/src/page/bi/bi.vue +++ b/src/page/bi/bi.vue @@ -3,7 +3,12 @@
-
+
+
+
销讲话术:
+ + + + + + + + + +
@@ -536,6 +576,8 @@ export default { sensitiveWords: [], marketingBusiness: [], }, + result1: [], + result2: [], clientStagelist: [], sensitiveList: [], //违禁词 @@ -546,6 +588,8 @@ export default { agentId: "", // 移交员工的id templateList: [], // 销讲业务列表 + trendAnalysisAllLevelList: [], // 销讲话术列表 + trendAnalysisAllLevelListChildren: [], // 二级列表 }; }, computed: { @@ -559,6 +603,15 @@ export default { }; this.$db.upDate(params); }, + + 'result1' () { + this.trendAnalysisAllLevelListChildren = [] + this.trendAnalysisAllLevelList.filter(item => { + if (this.result1.includes(item.name)) { + this.trendAnalysisAllLevelListChildren = [...this.trendAnalysisAllLevelListChildren, ...item.children] + } + }) + } }, created() { @@ -576,7 +629,19 @@ export default { this.zkhousePage(); }, methods: { - + //一二级 + trendAnalysisAllLevel() { + let pamaet = { + showStatus: "", + houseId: this.searchForm.projectId, + }; + this.$api.http.trendAnalysisAllLevel(pamaet).then((res) => { + console.log(res, "level"); + if (res.data) { + this.trendAnalysisAllLevelList = res.data; + } + }); + }, // 添加日志 addOperatingLog() { this.$api.http.addOperatingLog({ logType: 7 }); @@ -696,8 +761,9 @@ export default { current: this.page.currentPage, size: this.page.pageSize, ...this.searchForm, + result: this.result2.join(',') }; - obj.marketingBusiness = obj.marketingBusiness.join(',') + obj.marketingBusiness = obj.marketingBusiness.join(","); obj.keywordIds = obj.keywordsId.join(","); console.log(obj, "入参"); obj.sensitiveWords = JSON.stringify(obj.sensitiveWords); @@ -752,6 +818,7 @@ export default { this.getclientStage(); // 获取违禁词 this.sensitivewordsList(); + this.trendAnalysisAllLevel(); }, // 违禁词 sensitivewordsList() {