From 28ceafd3aa7f113e8991a1ef5f44cde8d6122544 Mon Sep 17 00:00:00 2001 From: liuyongli <1598631486@qq.com> Date: Mon, 15 Nov 2021 13:28:39 +0800 Subject: [PATCH] =?UTF-8?q?lyl=E4=BA=8B=E4=BB=B6=E6=B4=9E=E5=AF=9F?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E4=BA=8B=E4=BB=B6=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/EventdEC/index.js | 207 ++++++++++++ src/views/EventDEC/esprocess/index.vue | 41 ++- .../incidentSpreadSituation/index.vue | 64 +++- .../EventDEC/incidentSpreadSituation/opt.js | 138 ++++---- src/views/EventDEC/index.vue | 88 ++++- src/views/EventDEC/kmdED/index.vue | 80 +++-- .../EventDEC/mediaInterpretationED/index.vue | 105 ++++-- .../EventDEC/mediaInterpretationED/opt.js | 39 ++- .../EventDEC/mediaInterpretationEc/index.vue | 116 +++++-- .../EventDEC/mediaInterpretationEc/opt.js | 304 +++++++----------- src/views/EventDEC/pnwcWord/index.vue | 61 +++- src/views/EventDEC/pnwcWord/opt.js | 304 +++++++----------- src/views/EventDEC/tailAnalysisED/index.vue | 51 ++- src/views/EventDEC/tailAnalysisED/opt.js | 138 ++++---- .../tonalCommunicationPosture/index.vue | 58 +++- .../EventDEC/tonalCommunicationPosture/opt.js | 133 +++++--- src/views/EventDEC/wbUserEDE/index.vue | 55 +++- src/views/EventDEC/wbUserEDE/opt.js | 178 +++++----- 18 files changed, 1333 insertions(+), 827 deletions(-) create mode 100644 src/api/EventdEC/index.js diff --git a/src/api/EventdEC/index.js b/src/api/EventdEC/index.js new file mode 100644 index 0000000..75116f8 --- /dev/null +++ b/src/api/EventdEC/index.js @@ -0,0 +1,207 @@ +import httpService from "@/request" +// 事件详情-信息 +export function getEventData(params) { + let obj = Object.assign({action: 'getEventData'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 单个事件数据-进入数据列表页 +export function getList(params) { + let obj = Object.assign({action: 'getList', sType: 'BrandDataHot'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 单个事件数据列表导出 +export function toExcel(params) { + let obj = Object.assign({action: 'toExcel', sType: 'BrandData'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 事件影响力-事件影响力 +export function getCountOrEffectOrHot(params) { + let obj = Object.assign({action: 'getCountOrEffectOrHot', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 传播态势-传播态势 +export function getSourcetypeTime(params) { + let obj = Object.assign({action: 'getSourcetypeTime', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 调性分布趋势-调性分布趋势 +export function getAffectionsTime(params) { + let obj = Object.assign({action: 'getAffectionsTime', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 事件传播历程-事件传播历程 +export function getEventSpreadProcess0528(params) { + let obj = Object.assign({action: 'getEventSpreadProcess0528', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 媒体解读-列表 +export function getSource(params) { + let obj = Object.assign({action: 'getSource', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} + +// 媒体解读-热门词云 +export function getHotWord(params) { + let obj = Object.assign({action: 'getHotWord', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +//媒体解读-正面词云 +export function getPositive(params) { + let obj = Object.assign({action: 'getPositive', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 媒体解读-负面词云 +export function getNegative(params) { + let obj = Object.assign({action: 'getNegative', sType: 'HotEvent'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 传播途径-传播途径 +export function getDiffuseZhuTi(params) { + let obj = Object.assign({action: 'getDiffuseZhuTi', sType: 'BrandWeiBo'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 微博调性分布-微博调性分布 +export function getAffections(params) { + let obj = Object.assign({action: 'getAffections', sType: 'BrandWeiBo'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 尾翼分析-传播态势 +export function getSourcetypeTime1(params) { + let obj = Object.assign({action: 'getSourcetypeTime', sType: 'BrandWeiYi'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 尾翼分析-重点媒体分布 +export function getWebsite(params) { + let obj = Object.assign({action: 'getWebsite', sType: 'BrandWeiYi'}, params) + return httpService({ + url: `/api/v6.ashx`, + method: 'post', + data: obj, + headers: { + 'content-type': 'application/x-www-form-urlencoded' + } + }) +} +// 尾翼分析-正面词云 +// export function getPositive(params) { +// let obj = Object.assign({action: 'getPositive', sType: 'BrandWeiYi'}, params) +// return httpService({ +// url: `/api/v6.ashx`, +// method: 'post', +// data: obj, +// headers: { +// 'content-type': 'application/x-www-form-urlencoded' +// } +// }) +// } +// 尾翼分析-负面词云 +// export function getNegative(params) { +// let obj = Object.assign({action: 'getNegative', sType: 'BrandWeiYi'}, params) +// return httpService({ +// url: `/api/v6.ashx`, +// method: 'post', +// data: obj, +// headers: { +// 'content-type': 'application/x-www-form-urlencoded' +// } +// }) +// } + diff --git a/src/views/EventDEC/esprocess/index.vue b/src/views/EventDEC/esprocess/index.vue index fd0ae03..f5e80eb 100644 --- a/src/views/EventDEC/esprocess/index.vue +++ b/src/views/EventDEC/esprocess/index.vue @@ -10,7 +10,7 @@