|
|
|
@ -10,7 +10,7 @@
|
|
|
|
|
{{themeObj.title}}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="s2">
|
|
|
|
|
{{themeObj.content}}
|
|
|
|
|
<span v-html="msg"></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<totalVolume></totalVolume>
|
|
|
|
@ -25,10 +25,6 @@
|
|
|
|
|
<themeSource></themeSource>
|
|
|
|
|
<wordCloud></wordCloud>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="d7">
|
|
|
|
|
<volumeArea></volumeArea>
|
|
|
|
|
<userArea></userArea>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="d8">
|
|
|
|
|
<peopleGender></peopleGender>
|
|
|
|
|
<peopleAuthen></peopleAuthen>
|
|
|
|
@ -50,14 +46,10 @@ import sourceDivide from "./SourceDivide" //渠道分布占比
|
|
|
|
|
import userTopic from "./UserTopic" //用户热议话题
|
|
|
|
|
import themeSource from "./ThemeSource" //主题调性分布
|
|
|
|
|
import wordCloud from "./WordCloud" //词云
|
|
|
|
|
import volumeArea from "./VolumeArea" //声量区域分布
|
|
|
|
|
import userArea from "./UserArea" //用户区域分布
|
|
|
|
|
import peopleGender from "./PeopleGender" //人群画像性别分析
|
|
|
|
|
import peopleAuthen from "./PeopleAuthen" //人群画像认证分析
|
|
|
|
|
import weiboAnalize from "./WeiboAnalize" //微博分析
|
|
|
|
|
import {getVolumeTime,getList,getCoreDiffuse,getCoreWebsite,getSourcetypeTime,getHotWord,
|
|
|
|
|
getHottalk,getPositive,getNegative,getRegion,getSexMerge,getVAnalyze,getDiffuseZhuTi,
|
|
|
|
|
getRegionWeiBo,ToWord} from "@/api/ThemeAnalizeDec"
|
|
|
|
|
import {getToPptTask} from "@/api/ThemeAnalizeDec" //ppt导出
|
|
|
|
|
export default {
|
|
|
|
|
name: "ThemeBoard",
|
|
|
|
|
components: {
|
|
|
|
@ -69,8 +61,6 @@ export default {
|
|
|
|
|
totalSource,
|
|
|
|
|
themeSource,
|
|
|
|
|
wordCloud,
|
|
|
|
|
volumeArea,
|
|
|
|
|
userArea,
|
|
|
|
|
peopleGender,
|
|
|
|
|
peopleAuthen,
|
|
|
|
|
weiboAnalize
|
|
|
|
@ -84,30 +74,13 @@ export default {
|
|
|
|
|
form: {
|
|
|
|
|
token: ''
|
|
|
|
|
},
|
|
|
|
|
msg: '',
|
|
|
|
|
downloadForm: {
|
|
|
|
|
sType: 'ZhuTiFenXiBl',
|
|
|
|
|
sGuid: '',
|
|
|
|
|
sData: {
|
|
|
|
|
getSummarize: '',
|
|
|
|
|
getVolumeTime: {Msg: '',sBase64: ''},
|
|
|
|
|
getList: [],
|
|
|
|
|
getCoreDiffuse: [],
|
|
|
|
|
getCoreWebsite: {Data: {}},
|
|
|
|
|
getSourcetypeTime: {Msg: '',sBase64: ''},
|
|
|
|
|
getHotWord: {Msg: '',sBase64: ''},
|
|
|
|
|
getHottalk: {Msg: '',sBase64: ''},
|
|
|
|
|
getAffections: {Msg: '',sBase64: ''},
|
|
|
|
|
getPositive: {Msg: '',sBase64: ''},
|
|
|
|
|
getNegative: {Msg: '',sBase64: ''},
|
|
|
|
|
getVolume: {Data:{},sBase64: ''},
|
|
|
|
|
getSex: {Msg: '',sBase64: ''}, //getSexMerge
|
|
|
|
|
getAttestation: {Msg: '',sBase64: ''}, //getSexMerge
|
|
|
|
|
getRegion: {Data:{},sBase64: ''},
|
|
|
|
|
getVAnalyze: {Msg: '',Data:{},sBase64: ''},
|
|
|
|
|
getCoreDiffuseWeiBo: [],
|
|
|
|
|
getDiffuse: {Data:{},sBase64: ''},
|
|
|
|
|
getAffectionsWeiBo: {sBase64: ''},
|
|
|
|
|
getRegionWeiBo: {Data:{},sBase64: ''},
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
@ -131,89 +104,21 @@ export default {
|
|
|
|
|
title: data.Summarize,
|
|
|
|
|
content: data.AffectionsMsg
|
|
|
|
|
};
|
|
|
|
|
this.themeObj = o
|
|
|
|
|
this.themeObj = o;
|
|
|
|
|
this.msg = data.AffectionsMsg;
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
goDownload() {
|
|
|
|
|
Promise.all([this.doData()]).then(() => {
|
|
|
|
|
let str = JSON.stringify(this.downloadForm);
|
|
|
|
|
let obj = {
|
|
|
|
|
token: this.getToken,
|
|
|
|
|
sType: 'ZhuTiFenXiBl',
|
|
|
|
|
sJson: str
|
|
|
|
|
}
|
|
|
|
|
ToWord(obj).then(res => {
|
|
|
|
|
let url = res.data;
|
|
|
|
|
let obj = Object.assign({}, this.form);
|
|
|
|
|
obj.sType = 'ToZhuTiPptV6';
|
|
|
|
|
getToPptTask(obj).then(() => {
|
|
|
|
|
this.$notification.open({
|
|
|
|
|
message: `数据生成中`,
|
|
|
|
|
description: '请前往个人中心查看下载进度',
|
|
|
|
|
placement: 'bottomRight',
|
|
|
|
|
});
|
|
|
|
|
window.location.href=url;
|
|
|
|
|
})
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
doData() {
|
|
|
|
|
getVolumeTime(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getVolumeTime.Msg = res.msg;
|
|
|
|
|
});
|
|
|
|
|
let o = {
|
|
|
|
|
iPageIndex: 1,
|
|
|
|
|
iPageSize: 20,
|
|
|
|
|
iTimeType: 0
|
|
|
|
|
};
|
|
|
|
|
let obj = Object.assign({},o,this.form);
|
|
|
|
|
getList(obj).then(res => {
|
|
|
|
|
this.downloadForm.sData.getList = res.data
|
|
|
|
|
});
|
|
|
|
|
getCoreDiffuse(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getCoreDiffuse = res.data;
|
|
|
|
|
});
|
|
|
|
|
getCoreWebsite(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getCoreWebsite.Data = res.data;
|
|
|
|
|
});
|
|
|
|
|
getSourcetypeTime(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getSourcetypeTime.Msg = res.msg;
|
|
|
|
|
});
|
|
|
|
|
getHotWord(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getHotWord.Msg = res.msg;
|
|
|
|
|
});
|
|
|
|
|
getHottalk(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getHottalk.Msg = res.msg;
|
|
|
|
|
});
|
|
|
|
|
getPositive(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getPositive.Msg = res.msg;
|
|
|
|
|
});
|
|
|
|
|
getNegative(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getNegative.Msg = res.msg;
|
|
|
|
|
});
|
|
|
|
|
getRegion(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getVolume.Data = res.data;
|
|
|
|
|
});
|
|
|
|
|
getSexMerge(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getSex.Msg = res.data.sexMsg;
|
|
|
|
|
this.downloadForm.sData.getAttestation.Msg = res.data.attestationMsg;
|
|
|
|
|
});
|
|
|
|
|
getRegion(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getRegion.Data = res.data;
|
|
|
|
|
});
|
|
|
|
|
getVAnalyze(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getVAnalyze.Msg = res.data.getVAnalyzeMsg;
|
|
|
|
|
this.downloadForm.sData.getVAnalyze.Data = res.data.getVAnalyze;
|
|
|
|
|
});
|
|
|
|
|
getDiffuseZhuTi(this.form).then(res => {
|
|
|
|
|
let dt = {
|
|
|
|
|
total: res.data.total,
|
|
|
|
|
sum: res.data.sum,
|
|
|
|
|
volume: res.data.volume,
|
|
|
|
|
};
|
|
|
|
|
this.downloadForm.sData.getCoreDiffuseWeiBo = res.data.getCoreDiffuseWeiBo;
|
|
|
|
|
this.downloadForm.sData.getDiffuse.Data = dt;
|
|
|
|
|
});
|
|
|
|
|
getRegionWeiBo(this.form).then(res => {
|
|
|
|
|
this.downloadForm.sData.getRegionWeiBo.Data = res.data;
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|
|
|
|
|