|
|
|
@ -1,7 +1,7 @@
|
|
|
|
|
<!--
|
|
|
|
|
* @Author: xw
|
|
|
|
|
* @Date: 2021-10-12 09:32:35
|
|
|
|
|
* @LastEditTime: 2021-11-01 16:04:18
|
|
|
|
|
* @LastEditTime: 2021-11-12 17:00:27
|
|
|
|
|
* @LastEditors: Please set LastEditors
|
|
|
|
|
* @Description: 舆情传播趋势
|
|
|
|
|
* @FilePath: /data-show/src/views/BrandInsight/titsopo/index.vue
|
|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
<div class="tit-outter" v-loading="load">
|
|
|
|
|
<div class="tit-header">
|
|
|
|
|
<a-button type="primary" size="small" @click="goIDE">进入数据列表页</a-button>
|
|
|
|
|
<a-button type="primary" style="margin-left: 16px;margin-right: 16px;" size="small">导出报告</a-button>
|
|
|
|
|
<a-button type="primary" style="margin-left: 1rem;margin-right: 1rem;" size="small" :loading="btnLoading" @click="exportData">导出报告</a-button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="tit-inner">
|
|
|
|
|
<vLabel-div title="舆情传播趋势"></vLabel-div>
|
|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { getSourcetypeTime } from "@/api/BrandInsight";
|
|
|
|
|
import { getSourcetypeTime, getToPptTask } from "@/api/BrandInsight";
|
|
|
|
|
import moment from "moment";
|
|
|
|
|
import createOpt from "./opt";
|
|
|
|
|
export default {
|
|
|
|
@ -31,6 +31,7 @@ export default {
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
load: false,
|
|
|
|
|
btnLoading: false,
|
|
|
|
|
form: {
|
|
|
|
|
token: "",
|
|
|
|
|
sBrand: "奥迪",
|
|
|
|
@ -101,6 +102,16 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
// 导出报告
|
|
|
|
|
exportData() {
|
|
|
|
|
let obj = Object.assign({}, this.getCtime2, this.form);
|
|
|
|
|
obj.iContrastType = 1;
|
|
|
|
|
this.btnLoading = true;
|
|
|
|
|
getToPptTask(obj).then(res => {
|
|
|
|
|
console.log(res)
|
|
|
|
|
this.btnLoading = false;
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|