将行业热门话题洞察的需要修改成columns

This commit is contained in:
lq
2025-06-21 16:57:01 +08:00
29 changed files with 1312 additions and 150 deletions

View File

@ -11,7 +11,7 @@
</template>
</a-button>
<template #content>
<p>基于xxx获取数据xxx一段文字描述该数据的获取方式和来源等xxx</p>
<p style="margin: 0">基于行业内内容提取的高频词汇</p>
</template>
</a-popover>
</a-space>
@ -84,12 +84,17 @@ const getIndustryTerms = async () => {
industry_id: selectedIndustry.value,
time_dimension: selectedTimePeriod.value,
};
if (selectedIndustry.value == undefined) {
return;
}
if (selectedSubCategory.value !== 0) {
params['industry_id'] = selectedSubCategory.value;
}
const res = await fetchindustryTerms(params);
// 这里需要根据API返回的数据结构处理成tagRows需要的格式
tagRows.value = processTagData(res.slice(0, 70));
if (res.code === 200) {
// 这里需要根据API返回的数据结构处理成tagRows需要的格式
tagRows.value = processTagData(res.data.slice(0, 70));
}
};
// 标签数据(按行分组)