diff --git a/src/api/Forumdetails/index.js b/src/api/Forumdetails/index.js new file mode 100644 index 0000000..71d2238 --- /dev/null +++ b/src/api/Forumdetails/index.js @@ -0,0 +1,38 @@ +import httpService from "@/request" + +// 论坛洞察详情-论坛洞察详情 +export function getBbsInsightAnalysis(params) { + let obj = Object.assign({action: 'getBbsInsightAnalysis', sType: 'BbsBrand'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 传播态势-传播态势 +export function getBbsCountTime(params) { + let obj = Object.assign({action: 'getBbsCountTime', sType: 'BbsBrand'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// TOP10车型传播态势-TOP10车型传播态势 +export function getBbsBrandTime(params) { + let obj = Object.assign({action: 'getBbsBrandTime', sType: 'BbsBrand'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} \ No newline at end of file diff --git a/src/views/EventDetails/distributionOfHotEventChannels/index.vue b/src/views/EventDetails/distributionOfHotEventChannels/index.vue index c102af1..2c58f49 100644 --- a/src/views/EventDetails/distributionOfHotEventChannels/index.vue +++ b/src/views/EventDetails/distributionOfHotEventChannels/index.vue @@ -35,6 +35,7 @@ export default { this.getDdta(); }, methods:{ + // 获取后台数据 getDdta(){ let obj = Object.assign({}, this.getCtime2, this.form); getEventsSourceTypeByEventsType0528(obj).then(res => { diff --git a/src/views/EventDetails/distributionOfTOPModelsOfHotEvents/index.vue b/src/views/EventDetails/distributionOfTOPModelsOfHotEvents/index.vue index 53bb44c..02892d9 100644 --- a/src/views/EventDetails/distributionOfTOPModelsOfHotEvents/index.vue +++ b/src/views/EventDetails/distributionOfTOPModelsOfHotEvents/index.vue @@ -38,13 +38,13 @@ export default { this.getDdta(); }, methods:{ + // 获取后台数据 getDdta() { let obj = Object.assign({}, this.getCtime2, this.form); getHotEventSseries(obj).then(res => { let data = res.data || []; let dx = []; let ds = []; - console.log(data); data.forEach(ele => { let key = ele.key; let value = ele.data; @@ -52,7 +52,6 @@ export default { ds.push(value); }); this.opt = createOpt(dx, ds); - // this.opt = createOpt() }) diff --git a/src/views/EventDetails/eventCorrelation/index.vue b/src/views/EventDetails/eventCorrelation/index.vue index cde73c8..c2e013e 100644 --- a/src/views/EventDetails/eventCorrelation/index.vue +++ b/src/views/EventDetails/eventCorrelation/index.vue @@ -53,6 +53,7 @@ export default { this.getDdta(); }, methods: { + getDdta() { let obj = Object.assign({}, this.getCtime2, this.form); getBrandOverviewCount0528(obj).then((res) => { diff --git a/src/views/EventDetails/hotEventPropagationOriented/index.vue b/src/views/EventDetails/hotEventPropagationOriented/index.vue index d5c7716..ea15c71 100644 --- a/src/views/EventDetails/hotEventPropagationOriented/index.vue +++ b/src/views/EventDetails/hotEventPropagationOriented/index.vue @@ -37,6 +37,7 @@ export default { this.getDdta(); }, methods:{ + // 获取后台数据 getDdta() { let obj = Object.assign({}, this.getCtime2, this.form); getPropagationDirection0528(obj).then(res => { diff --git a/src/views/EventDetails/hotOther/index.vue b/src/views/EventDetails/hotOther/index.vue index 46a826b..3e34085 100644 --- a/src/views/EventDetails/hotOther/index.vue +++ b/src/views/EventDetails/hotOther/index.vue @@ -69,7 +69,6 @@ export default { header: ["事件列表", "影响力", "时间", "关联品牌"], data: arr, }; - console.log(data); }); }, // 分页处理 diff --git a/src/views/ForumDetails/index.vue b/src/views/ForumDetails/index.vue index c1b7758..8aea72b 100644 --- a/src/views/ForumDetails/index.vue +++ b/src/views/ForumDetails/index.vue @@ -7,7 +7,7 @@ * @FilePath: /data-show/src/views/ForumDetails/index.vue -->