From d2815b8293ab9018f20090253e82a74590f711cf Mon Sep 17 00:00:00 2001 From: liuyongli <1598631486@qq.com> Date: Wed, 17 Nov 2021 10:15:48 +0800 Subject: [PATCH] lyl --- src/api/EventdEC/index.js | 44 +++++++++---------- src/views/EventDEC/esprocess/index.vue | 6 +-- .../incidentSpreadSituation/index.vue | 2 +- src/views/EventDEC/index.vue | 1 - src/views/EventDEC/kmdED/index.vue | 7 ++- .../EventDEC/mediaInterpretationED/index.vue | 7 ++- .../EventDEC/mediaInterpretationEc/index.vue | 15 +++---- src/views/EventDEC/pnwcWord/index.vue | 13 +++--- src/views/EventDEC/tailAnalysisED/index.vue | 8 ++-- .../tonalCommunicationPosture/index.vue | 2 +- src/views/EventDEC/wbUserEDE/index.vue | 7 ++- 11 files changed, 51 insertions(+), 61 deletions(-) diff --git a/src/api/EventdEC/index.js b/src/api/EventdEC/index.js index 75116f8..4a3577c 100644 --- a/src/api/EventdEC/index.js +++ b/src/api/EventdEC/index.js @@ -181,27 +181,27 @@ export function getWebsite(params) { }) } // 尾翼分析-正面词云 -// 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 getPositive1(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' -// } -// }) -// } +export function getNegative1(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 f5e80eb..1a8d345 100644 --- a/src/views/EventDEC/esprocess/index.vue +++ b/src/views/EventDEC/esprocess/index.vue @@ -105,8 +105,9 @@ export default { data() { return { form: { - sBrand: "", token: "", + sRele: "", + sTimeType: "", }, props: { id: { @@ -120,8 +121,7 @@ export default { }, created() { this.form.token = this.getToken; - this.form.sBrand = this.getBrand.brandname || "奥迪"; - this.events_id = this.$route.query.events_id || ""; + this.form.sRele = this.id; this.getDdta(); }, methods: { diff --git a/src/views/EventDEC/incidentSpreadSituation/index.vue b/src/views/EventDEC/incidentSpreadSituation/index.vue index 1ef071a..18c92ef 100644 --- a/src/views/EventDEC/incidentSpreadSituation/index.vue +++ b/src/views/EventDEC/incidentSpreadSituation/index.vue @@ -66,7 +66,7 @@ export default { }); }, getDdta() { - let obj = Object.assign({}, this.getCtime2, this.form); + let obj = Object.assign({}, this.form); this.load = true; getSourcetypeTime(obj).then((res) => { let data = res.data || []; diff --git a/src/views/EventDEC/index.vue b/src/views/EventDEC/index.vue index 4d9c32f..d9a842e 100644 --- a/src/views/EventDEC/index.vue +++ b/src/views/EventDEC/index.vue @@ -112,7 +112,6 @@ export default { getEventData(obj).then(res => { let data = res.data || []; this.eventObj = {...data[0]._source}; - console.log(this.eventObj) this.load = false; }) }, diff --git a/src/views/EventDEC/kmdED/index.vue b/src/views/EventDEC/kmdED/index.vue index 1e16fd2..c667572 100644 --- a/src/views/EventDEC/kmdED/index.vue +++ b/src/views/EventDEC/kmdED/index.vue @@ -35,9 +35,9 @@ export default { }, }, form: { - sBrand: "", token: "", - sSeriesName: "", + sRele: "", + }, d1: [], d2: [], @@ -45,8 +45,7 @@ export default { }, created() { this.form.token = this.getToken; - this.form.sBrand = this.getBrand.brandname || this.brand; - this.form.sSeriesName = this.getModel.name; + this.form.sRele = this.id; this.getData(); }, methods: { diff --git a/src/views/EventDEC/mediaInterpretationED/index.vue b/src/views/EventDEC/mediaInterpretationED/index.vue index d731029..4e7f639 100644 --- a/src/views/EventDEC/mediaInterpretationED/index.vue +++ b/src/views/EventDEC/mediaInterpretationED/index.vue @@ -72,8 +72,8 @@ export default { sum: "", form: { token: "", - sBrand: "", - sSeriesName: "" + sRele: "", + }, countObj: { carseriesCount: 0, @@ -140,8 +140,7 @@ export default { }, created() { this.form.token = this.getToken; - this.form.sBrand = this.getBrand.brandname || "奥迪"; - this.form.sSeriesName = this.getModel.name; + this.form.sRele = this.id; this.getData(); }, methods: { diff --git a/src/views/EventDEC/mediaInterpretationEc/index.vue b/src/views/EventDEC/mediaInterpretationEc/index.vue index c264c54..5e96a98 100644 --- a/src/views/EventDEC/mediaInterpretationEc/index.vue +++ b/src/views/EventDEC/mediaInterpretationEc/index.vue @@ -29,7 +29,7 @@