From 2458fb9d85c032b187428ebc045792b8c609b988 Mon Sep 17 00:00:00 2001 From: "lily.zhang" Date: Tue, 26 Oct 2021 10:47:28 +0800 Subject: [PATCH] cxw-010203 --- src/api/MarketingAnalysis/index.js | 8 + src/lycomponents/iHeader/index.vue | 5 + src/lycomponents/iHeaderMa/index.vue | 248 ++++++++++++++++++ src/lycomponents/iLayout/index.vue | 8 +- src/lycomponents/index.js | 6 +- src/mixins/index.js | 6 +- src/store/actions.js | 10 +- src/store/getters.js | 8 +- src/store/mutations.js | 12 +- src/store/state.js | 6 +- src/utils/gol/singleColumnar.js | 5 +- .../brandSalesRankingTOP10Ranking/index.vue | 58 ++-- .../brandVolumeTOP10/index.vue | 62 +++-- .../MarketingAnalysis/brandVolumeTOP10/opt.js | 98 +++---- .../keyActiveMediaTOP10Ranking/index.vue | 58 ++-- 15 files changed, 443 insertions(+), 155 deletions(-) create mode 100644 src/lycomponents/iHeaderMa/index.vue diff --git a/src/api/MarketingAnalysis/index.js b/src/api/MarketingAnalysis/index.js index 09351d2..4c65dbf 100644 --- a/src/api/MarketingAnalysis/index.js +++ b/src/api/MarketingAnalysis/index.js @@ -1,3 +1,11 @@ +/* + * @Author: your name + * @Date: 2021-10-26 09:12:35 + * @LastEditTime: 2021-10-26 09:18:40 + * @LastEditors: Please set LastEditors + * @Description: In User Settings Edit + * @FilePath: /data-show/src/api/MarketingAnalysis/index.js + */ import httpService from "@/request" // 品牌声量TOP20排行 export function getBrandSourceType0528(params) { diff --git a/src/lycomponents/iHeader/index.vue b/src/lycomponents/iHeader/index.vue index ce5bac5..5e72891 100644 --- a/src/lycomponents/iHeader/index.vue +++ b/src/lycomponents/iHeader/index.vue @@ -141,6 +141,11 @@ export default { }, // 菜单 handlerType(obj) { + if(obj.key === 'marketingAnalysis') { + this.setHeaderType(2) + } else { + this.setHeaderType(1) + } this.$router.push({path: `/${obj.key}`}) }, // 获取时间的选项 diff --git a/src/lycomponents/iHeaderMa/index.vue b/src/lycomponents/iHeaderMa/index.vue new file mode 100644 index 0000000..7eb4096 --- /dev/null +++ b/src/lycomponents/iHeaderMa/index.vue @@ -0,0 +1,248 @@ + + + + + + diff --git a/src/lycomponents/iLayout/index.vue b/src/lycomponents/iLayout/index.vue index f4a5033..51f6f1e 100644 --- a/src/lycomponents/iLayout/index.vue +++ b/src/lycomponents/iLayout/index.vue @@ -1,14 +1,15 @@