Files
lingji-work-fe/src/router/routes/modules/dataEngine.ts

86 lines
2.1 KiB
TypeScript
Raw Normal View History

2025-06-23 23:59:08 -04:00
/*
* @Author: RenXiaoDong
* @Date: 2025-06-23 06:39:28
*/
2025-06-16 14:42:26 +08:00
import { IconBookmark } from '@arco-design/web-vue/es/icon';
import type { AppRouteRecordRaw } from '../types';
2025-06-23 23:59:08 -04:00
import { MENU_GROUP_IDS } from '@/router/constants';
2025-06-16 14:42:26 +08:00
const COMPONENTS: AppRouteRecordRaw = {
path: 'dataEngine',
name: 'dataEngine',
2025-06-23 23:59:08 -04:00
redirect: 'dataEngine/hotTranslation',
2025-06-16 14:42:26 +08:00
meta: {
locale: '全域数据引擎',
icon: IconBookmark,
requiresAuth: true,
roles: ['*'],
2025-06-17 11:18:39 +08:00
requiresSidebar: true,
2025-06-23 23:59:08 -04:00
id: MENU_GROUP_IDS.DATA_ENGINE_ID,
2025-06-16 14:42:26 +08:00
},
children: [
{
path: 'hotTranslation',
name: '行业热门话题洞察',
meta: {
locale: '行业热门话题洞察',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/components/dataEngine/hotTranslation.vue'),
},
{
path: 'hotCloud',
name: '行业词云',
meta: {
locale: '行业词云',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/components/dataEngine/hotCloud.vue'),
},
{
path: 'keyWord',
name: '行业关键词动向',
meta: {
locale: '行业关键词动向',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/components/dataEngine/keyWord.vue'),
},
{
path: 'userPainPoints',
name: '用户痛点观察',
meta: {
locale: '用户痛点观察',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/components/dataEngine/userPainPoints.vue'),
},
{
path: 'keyBrandMovement',
name: '重点品牌动向',
meta: {
locale: '重点品牌动向',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/components/dataEngine/keyBrandMovement.vue'),
},
{
path: 'userPersona',
name: '用户画像',
meta: {
locale: '用户画像',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/components/dataEngine/userPersona.vue'),
},
],
};
export default COMPONENTS;