From 23b8ba82884d0de298da3c178dbfdc4aed4a468d Mon Sep 17 00:00:00 2001 From: yyyyeeee Date: Thu, 23 Feb 2023 17:16:56 +0800 Subject: [PATCH] zx --- src/api/BrandComparison/BbsBrand.js | 4 +- src/api/BrandComparison/BrandWeiyi.js | 6 +- src/lycomponents/iHeaderBrand/index.vue | 4 +- src/views/MyBrand/index.vue | 25 ++----- src/views/Myself/index.vue | 91 ++++++++++++------------- 5 files changed, 60 insertions(+), 70 deletions(-) diff --git a/src/api/BrandComparison/BbsBrand.js b/src/api/BrandComparison/BbsBrand.js index d8d9d12..548d537 100644 --- a/src/api/BrandComparison/BbsBrand.js +++ b/src/api/BrandComparison/BbsBrand.js @@ -2,7 +2,7 @@ import httpService from "@/request" // 品牌对比-论坛信息概括对比 export function getCount0528C(params) { - let obj = Object.assign({action: 'getCount0528C', sType: 'BbsBrand', iContrastType: 1}, params) + let obj = Object.assign({action: 'getCount0528C', sType: 'BbsBrand', iContrastType: 1, iBBsType: 1}, params) return httpService({ url: `/api/v6.ashx`, method: 'post', @@ -15,7 +15,7 @@ export function getCount0528C(params) { // 品牌对比-论坛发帖趋势对比 export function getCountTime0528C(params) { - let obj = Object.assign({action: 'getCountTime0528C', sType: 'BbsBrand', iContrastType: 1}, params) + let obj = Object.assign({action: 'getCountTime0528C', sType: 'BbsBrand', iContrastType: 1, iBBsType: 1}, params) return httpService({ url: `/api/v6.ashx`, method: 'post', diff --git a/src/api/BrandComparison/BrandWeiyi.js b/src/api/BrandComparison/BrandWeiyi.js index 383f377..2ce59dc 100644 --- a/src/api/BrandComparison/BrandWeiyi.js +++ b/src/api/BrandComparison/BrandWeiyi.js @@ -2,7 +2,7 @@ import httpService from "@/request" // 品牌对比-尾翼信息趋势 export function getCountTime0528C(params) { - let obj = Object.assign({action: 'getCountTime0528C', sType: 'BrandWeiyi', iContrastType: 1}, params) + let obj = Object.assign({action: 'getCountTime0528C', sType: 'BrandWeiYi', iContrastType: 1}, params) return httpService({ url: `/api/v6.ashx`, method: 'post', @@ -15,7 +15,7 @@ export function getCountTime0528C(params) { // 品牌对比-分渠道信息量 export function getSourcetypeC(params) { - let obj = Object.assign({action: 'getSourcetypeC', sType: 'BrandWeiyi', iContrastType: 1}, params) + let obj = Object.assign({action: 'getSourcetypeC', sType: 'BrandWeiYi', iContrastType: 1}, params) return httpService({ url: `/api/v6.ashx`, method: 'post', @@ -28,7 +28,7 @@ export function getSourcetypeC(params) { // 品牌对比-尾翼top媒体 export function getSourceTopCount0528C(params) { - let obj = Object.assign({action: 'getSourceTopCount0528C', sType: 'BrandWeiyi', iContrastType: 1}, params) + let obj = Object.assign({action: 'getSourceTopCount0528C', sType: 'BrandWeiYi', iContrastType: 1}, params) return httpService({ url: `/api/v6.ashx`, method: 'post', diff --git a/src/lycomponents/iHeaderBrand/index.vue b/src/lycomponents/iHeaderBrand/index.vue index dca8706..78bfead 100644 --- a/src/lycomponents/iHeaderBrand/index.vue +++ b/src/lycomponents/iHeaderBrand/index.vue @@ -162,7 +162,9 @@ export default { this.selTime = null; this.reload(); } else { - this.reload() + if(this.getCtime2.sStartTime && this.getCtime2.sEndTime) { + this.reload(); + } } this.setCtime2(this.form); }, diff --git a/src/views/MyBrand/index.vue b/src/views/MyBrand/index.vue index fd4b516..cf20f1e 100644 --- a/src/views/MyBrand/index.vue +++ b/src/views/MyBrand/index.vue @@ -22,14 +22,14 @@ - +