prod
lily.zhang 3 years ago
parent 0559bf18c0
commit 4aa10c56ae

@ -1,13 +1,13 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-10-20 11:39:20 * @Date: 2021-10-20 11:39:20
* @LastEditTime: 2021-10-20 11:50:26 * @LastEditTime: 2021-11-17 13:45:50
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventDEC/kmdED/index.vue * @FilePath: /data-show/src/views/EventDEC/kmdED/index.vue
--> -->
<template> <template>
<div class="kmd-outter"> <div class="kmd-outter" v-loading="load">
<v-label-div title="重点媒体分布" :showLine="false" :eStyle="{'border-style': 'none'}"> <v-label-div title="重点媒体分布" :showLine="false" :eStyle="{'border-style': 'none'}">
</v-label-div> </v-label-div>
<div class="kmd-inner"> <div class="kmd-inner">
@ -25,19 +25,18 @@
import { getWebsite } from "@/api/BrandInsight"; import { getWebsite } from "@/api/BrandInsight";
export default { export default {
name: "kmdED", name: "kmdED",
props: {
id: {
type: String,
default: "",
},
},
data() { data() {
return { return {
load: false, load: false,
props: {
id: {
type: String,
default: "",
},
},
form: { form: {
token: "", token: "",
sRele: "", sRele: "",
}, },
d1: [], d1: [],
d2: [], d2: [],

@ -1,13 +1,13 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-10-20 11:56:12 * @Date: 2021-10-20 11:56:12
* @LastEditTime: 2021-11-17 10:18:38 * @LastEditTime: 2021-11-17 13:49:45
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: In User Settings Edit
* @FilePath: /data-show/src/views/EventDEC/pnwcWord/index.vue * @FilePath: /data-show/src/views/EventDEC/pnwcWord/index.vue
--> -->
<template> <template>
<div class="pw-outter"> <div class="pw-outter" v-loading="load">
<v-label-div title="正负词云" :showLine="false" :eStyle="{'border-style': 'none'}"> <v-label-div title="正负词云" :showLine="false" :eStyle="{'border-style': 'none'}">
<v-tab-group :btns="['热门词云', '负面词云']" @change="handlerChange"></v-tab-group> <v-tab-group :btns="['热门词云', '负面词云']" @change="handlerChange"></v-tab-group>
</v-label-div> </v-label-div>
@ -18,7 +18,8 @@
</template> </template>
<script> <script>
// import createWordCloud from "@/utils/gol/bubbleWord"; import createWordCloud from "@/utils/gol/bubbleWord";
import {getNegative1, getPositive1} from "@/api/EventdEC"
export default { export default {
name: "pnwcWord", name: "pnwcWord",
props: ["brand", "model"], props: ["brand", "model"],
@ -54,24 +55,24 @@ export default {
this.getData2(); this.getData2();
} }
}, },
// getData1() { getData1() {
// this.load = true; this.load = true;
// let obj = Object.assign({}, this.form); let obj = Object.assign({}, this.form);
// getPositive1(obj).then((res) => { getPositive1(obj).then((res) => {
// let data = res.data; let data = res.data;
// this.opt = createWordCloud(data); this.opt = createWordCloud(data);
// this.load = false; this.load = false;
// }); });
// }, },
// getData2() { getData2() {
// this.load = true; this.load = true;
// let obj = Object.assign({}, this.form); let obj = Object.assign({}, this.form);
// getNegative1(obj).then((res) => { getNegative1(obj).then((res) => {
// let data = res.data; let data = res.data;
// this.opt = createWordCloud(data); this.opt = createWordCloud(data);
// this.load = false; this.load = false;
// }); });
// }, },
}, },
}; };
</script> </script>

Loading…
Cancel
Save