将行业热门话题洞察的需要修改成columns
This commit is contained in:
@ -12,7 +12,7 @@
|
||||
</template>
|
||||
</a-button>
|
||||
<template #content>
|
||||
<p>基于xxx获取数据xxx,一段文字描述该数据的获取方式和来源等xxx</p>
|
||||
<p style="margin: 0">基于该行业用户内容中提及频率较高的关键词,按热度进行排序,反映近期关注焦点。</p>
|
||||
</template>
|
||||
</a-popover>
|
||||
</a-space>
|
||||
@ -92,7 +92,9 @@
|
||||
</template>
|
||||
</a-button>
|
||||
<template #content>
|
||||
<p>基于xxx获取数据xxx,一段文字描述该数据的获取方式和来源等xxx</p>
|
||||
<p style="margin: 0">
|
||||
对该行业下用户内容进行情绪分析,按情绪类别统计占比,提取占比最高者作为行业情绪代表。
|
||||
</p>
|
||||
</template>
|
||||
</a-popover>
|
||||
</a-space>
|
||||
@ -153,7 +155,7 @@
|
||||
</template>
|
||||
</a-button>
|
||||
<template #content>
|
||||
<p>基于xxx获取数据xxx,一段文字描述该数据的获取方式和来源等xxx</p>
|
||||
<p style="margin: 0">指当前周期中首次出现,或相较上一周期词频显著增长的关键词,反映近期出现的新关注点。</p>
|
||||
</template>
|
||||
</a-popover>
|
||||
</a-space>
|
||||
@ -306,6 +308,12 @@ const getIndustryEmotions = async () => {
|
||||
industry_id: selectedIndustry.value,
|
||||
time_dimension: selectedTimePeriod.value,
|
||||
};
|
||||
if (selectedIndustry.value == undefined) {
|
||||
return;
|
||||
}
|
||||
if (selectedSubCategory.value == undefined) {
|
||||
return;
|
||||
}
|
||||
if (selectedSubCategory.value != 0) {
|
||||
params['industry_id'] = selectedSubCategory.value;
|
||||
}
|
||||
@ -356,6 +364,12 @@ const getKeywordTrendsList = async () => {
|
||||
industry_id: selectedIndustry.value,
|
||||
time_dimension: selectedTimePeriod.value,
|
||||
};
|
||||
if (selectedIndustry.value == undefined) {
|
||||
return;
|
||||
}
|
||||
if (selectedSubCategory.value == undefined) {
|
||||
return;
|
||||
}
|
||||
if (selectedSubCategory.value != 0) {
|
||||
params['industry_id'] = selectedSubCategory.value;
|
||||
}
|
||||
@ -380,12 +394,20 @@ const getNewKeywordList = async () => {
|
||||
industry_id: selectedIndustry.value,
|
||||
time_dimension: selectedTimePeriod.value,
|
||||
};
|
||||
if (selectedSubCategory.value != 0) {
|
||||
if (selectedIndustry.value == undefined) {
|
||||
return;
|
||||
}
|
||||
if (selectedSubCategory.value == undefined) {
|
||||
return;
|
||||
}
|
||||
if (selectedSubCategory.value != 0 && selectedSubCategory.value != undefined) {
|
||||
params['industry_id'] = selectedSubCategory.value;
|
||||
}
|
||||
const res = await fetchNewKeywordList(params);
|
||||
// 这里需要根据API返回的数据结构处理成tagRows需要的格式
|
||||
keywordList.value = res;
|
||||
if (res.code == 200) {
|
||||
// 这里需要根据API返回的数据结构处理成tagRows需要的格式
|
||||
keywordList.value = res.data;
|
||||
}
|
||||
};
|
||||
|
||||
const drawChart = () => {
|
||||
|
||||
Reference in New Issue
Block a user