Files
lingji-work-fe/src/views/property-marketing/media-account/common_constants.ts
2025-07-05 16:45:08 +08:00

200 lines
5.3 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* @Author: RenXiaoDong
* @Date: 2025-07-05 10:49:37
*/
export const getPropPrefix = (type: string) => {
return type === 'week' ? 'seven_' : 'thirty_';
};
export const CUSTOM_FIELDS = [
{
dataIndex: 'view_number',
prop: 'view_number',
title: '观看量',
width: 200,
tooltip: '统计所有作品的总浏览量,反映账号近期内容的整体曝光度。',
align: 'right',
},
{
dataIndex: 'view_rate',
prop: 'view_rate',
title: '观看量环比',
width: 200,
tooltip: '与上一个周期相比,观看量的增长或下降百分比,评估流量变化趋势。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
dataIndex: 'home_view_number',
prop: 'home_view_number',
title: '主页访客数',
width: 220,
tooltip: '最近7日内访问账号主页的唯一用户数可反映账号的主动曝光程度。',
align: 'right',
},
{
dataIndex: 'home_view_rate',
prop: 'home_view_rate',
title: '主页访客数环比',
width: 240,
tooltip: '主页访客数相较于前一周期的增长或下降百分比,常用于判断是否有外部流量导入。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
dataIndex: 'like_number',
prop: 'like_number',
title: '点赞量',
width: 200,
tooltip: '账号内容获得的点赞总数,反映内容的受欢迎程度。',
align: 'right',
},
{
dataIndex: 'like_rate',
prop: 'like_rate',
title: '点赞量环比',
width: 200,
tooltip: '点赞数量与上一周期对比后的变化百分比,用于评估内容热度走势。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
dataIndex: 'comment_number',
prop: 'comment_number',
title: '评论数',
width: 200,
tooltip: '用户对账号内容的评论总数,是互动活跃度的重要参考指标。',
align: 'right',
},
{
dataIndex: 'comment_rate',
prop: 'comment_rate',
title: '评论数环比',
width: 200,
tooltip: '评论数相较于上一周期的变化百分比,可评估用户参与度变化。',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
align: 'right',
},
{
dataIndex: 'collect_number',
prop: 'collect_number',
title: '收藏数',
width: 200,
tooltip: '用户对内容的收藏次数,代表内容的实用性或留存价值。',
align: 'right',
},
{
dataIndex: 'collect_rate',
prop: 'collect_rate',
title: '收藏数环比',
width: 200,
tooltip: '收藏量变化的环比百分比,可反映内容吸引力是否持续。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
dataIndex: 'barrage_number',
prop: 'barrage_number',
title: '弹幕数',
width: 200,
tooltip: '统计视频内容中用户发送的弹幕数量,适用于支持弹幕的内容平台。',
align: 'right',
},
{
dataIndex: 'barrage_rate',
prop: 'barrage_rate',
title: '弹幕数环比',
width: 200,
tooltip: '弹幕数量变化百分比,反映内容是否激发实时互动。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
dataIndex: 'rise_fans_number',
prop: 'rise_fans_number',
title: '笔记涨粉数',
width: 200,
tooltip: '通过笔记内容带来的新粉丝数量,是内容转粉效率的重要指标。',
align: 'right',
},
{
dataIndex: 'rise_fans_rate',
prop: 'rise_fans_rate',
title: '笔记涨粉数环比',
width: 240,
tooltip: '笔记带粉效果的环比变化趋势,衡量内容拉新能力是否增强。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
dataIndex: 'share_number',
prop: 'share_number',
title: '笔记分享量',
width: 200,
tooltip: '用户对内容的转发/分享次数,代表内容传播意愿与裂变潜力。',
align: 'right',
},
{
dataIndex: 'share_rate',
prop: 'share_rate',
title: '笔记分享量环比',
width: 240,
tooltip: '内容分享次数的环比变化,用于判断内容是否具有更强外扩传播力。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
{
dataIndex: 'avg_view_time',
prop: 'avg_view_time',
title: '笔记平均浏览数',
width: 200,
tooltip: '用户对笔记内容的平均浏览时长,反映内容吸引力和用户粘性。',
align: 'right',
},
{
dataIndex: 'avg_view_time_rate',
prop: 'avg_view_time_rate',
title: '笔记平均浏览数环比',
width: 240,
tooltip: '平均浏览时长的环比变化,用于评估内容质量是否稳定。',
align: 'right',
suffix: '%',
isRateField: true,
sortable: {
sortDirections: ['ascend', 'descend'],
},
},
];