将行业热门话题洞察的需要修改成columns
This commit is contained in:
@ -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));
|
||||
}
|
||||
};
|
||||
|
||||
// 标签数据(按行分组)
|
||||
|
||||
Reference in New Issue
Block a user