From 0057b82b4390e6005b1929fa95967a0a94203900 Mon Sep 17 00:00:00 2001 From: yyyyeeee Date: Thu, 2 Mar 2023 17:26:58 +0800 Subject: [PATCH] zx --- src/lycomponents/iHeader/index.vue | 7 ++++- src/lycomponents/iHeaderBrand/index.vue | 27 +++-------------- src/lycomponents/iHeaderMa/index.vue | 27 +++-------------- src/lycomponents/iHeaderMyself/index.vue | 27 +++-------------- .../EventInsight/industryTOPHE/index.vue | 6 ++-- src/views/Login/loginForm/index.vue | 30 +++++++++---------- 6 files changed, 36 insertions(+), 88 deletions(-) diff --git a/src/lycomponents/iHeader/index.vue b/src/lycomponents/iHeader/index.vue index fe52edf..66b772c 100644 --- a/src/lycomponents/iHeader/index.vue +++ b/src/lycomponents/iHeader/index.vue @@ -5,7 +5,7 @@ - + + + {{item.text}} @@ -87,6 +90,7 @@ export default { intDt: null, selDatas: [], timeShow: true, + menu: [] }; }, watch: { @@ -106,6 +110,7 @@ export default { }, created() { this.getTime(); + this.menu = this.getMenu; this.sTimeType = this.getCommTime.sTimeType || 34; //同步显示 }, mounted() { diff --git a/src/lycomponents/iHeaderBrand/index.vue b/src/lycomponents/iHeaderBrand/index.vue index 78bfead..7613fa3 100644 --- a/src/lycomponents/iHeaderBrand/index.vue +++ b/src/lycomponents/iHeaderBrand/index.vue @@ -5,29 +5,8 @@ - - 行业洞察 - - - 品牌洞察 - - - 车型洞察 - - - 事件洞察 - - - 营销分析 - - - 销量排行 - - - 专项分析 - - - 我的品牌 + + {{item.text}} @@ -96,6 +75,7 @@ export default { timeRange: [], sTimeType: "", selDatas: [], + menu: [], //offsetDays: 86400000 * 30, //最多选择7天 timeShow: true }; @@ -113,6 +93,7 @@ export default { }, }, created() { + this.menu = this.getMenu; this.form = Object.assign(this.form, this.getCtime2); if(this.form.sStartTime && this.form.sEndTime) { this.selTime = [this.form.sStartTime, this.form.sEndTime] diff --git a/src/lycomponents/iHeaderMa/index.vue b/src/lycomponents/iHeaderMa/index.vue index cbff44e..d37940c 100644 --- a/src/lycomponents/iHeaderMa/index.vue +++ b/src/lycomponents/iHeaderMa/index.vue @@ -5,29 +5,8 @@ - - 行业洞察 - - - 品牌洞察 - - - 车型洞察 - - - 事件洞察 - - - 营销分析 - - - 销量排行 - - - 专项分析 - - - 我的品牌 + + {{item.text}} @@ -90,6 +69,7 @@ export default { selDatas: [ ], + menu: [] }; }, // watch: { @@ -105,6 +85,7 @@ export default { // }, // }, created() { + this.menu = this.getMenu; this.getSelect() }, mounted() { diff --git a/src/lycomponents/iHeaderMyself/index.vue b/src/lycomponents/iHeaderMyself/index.vue index c4664bc..0d11536 100644 --- a/src/lycomponents/iHeaderMyself/index.vue +++ b/src/lycomponents/iHeaderMyself/index.vue @@ -5,29 +5,8 @@ - - 行业洞察 - - - 品牌洞察 - - - 车型洞察 - - - 事件洞察 - - - 营销分析 - - - 销量排行 - - - 专项分析 - - - 我的品牌 + + {{item.text}} @@ -82,9 +61,11 @@ export default { sEndTime: "" }, selDatas: [], + menu: [], }; }, created() { + this.menu = this.getMenu; this.getSelect() }, mounted() { diff --git a/src/views/EventInsight/industryTOPHE/index.vue b/src/views/EventInsight/industryTOPHE/index.vue index a1ea0c7..6761505 100644 --- a/src/views/EventInsight/industryTOPHE/index.vue +++ b/src/views/EventInsight/industryTOPHE/index.vue @@ -11,9 +11,9 @@
- - + 事件对比 + +
diff --git a/src/views/Login/loginForm/index.vue b/src/views/Login/loginForm/index.vue index ed5dd46..19a95c2 100644 --- a/src/views/Login/loginForm/index.vue +++ b/src/views/Login/loginForm/index.vue @@ -138,21 +138,21 @@ export default { this.setUser(data); this.setLevelBtn(data.levelBtn); //手动添加 - let obj = { - link: '/saleRank', - text: '销量排行' - }; - let obj2 = { - link: '/specialAnalize', - text: '专项分析' - }; - let obj3 = { - link: '/myBrand', - text: '我的品牌' - } - data.meun.push(obj); - data.meun.push(obj2); - data.meun.push(obj3); + // let obj = { + // link: '/saleRank', + // text: '销量排行' + // }; + // let obj2 = { + // link: '/specialAnalize', + // text: '专项分析' + // }; + // let obj3 = { + // link: '/myBrand', + // text: '我的品牌' + // } + // data.meun.push(obj); + // data.meun.push(obj2); + // data.meun.push(obj3); getSwsQyUserCarMainBrandList({token: data.toKen}).then(res => { let brand = res.data[0] || ''; if(brand) {