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
|
|
|
|
2025-06-24 18:19:34 +08:00
|
|
|
const COMPONENTS: AppRouteRecordRaw[] = [
|
|
|
|
|
{
|
|
|
|
|
path: '/dataEngine',
|
|
|
|
|
name: 'DataEngine',
|
|
|
|
|
redirect: 'dataEngine/hotTranslation',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '全域数据引擎',
|
|
|
|
|
icon: IconBookmark,
|
|
|
|
|
requiresAuth: true,
|
2025-07-08 16:55:04 +08:00
|
|
|
requireLogin: true,
|
2025-06-24 18:19:34 +08:00
|
|
|
roles: ['*'],
|
|
|
|
|
id: MENU_GROUP_IDS.DATA_ENGINE_ID,
|
2025-06-16 14:42:26 +08:00
|
|
|
},
|
2025-06-24 18:19:34 +08:00
|
|
|
children: [
|
|
|
|
|
{
|
|
|
|
|
path: 'hotTranslation',
|
|
|
|
|
name: 'DataEngineHotTranslation',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '行业热门话题洞察',
|
|
|
|
|
requiresAuth: true,
|
2025-07-08 16:55:04 +08:00
|
|
|
requireLogin: true,
|
2025-06-24 18:19:34 +08:00
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/components/dataEngine/hotTranslation.vue'),
|
2025-06-16 14:42:26 +08:00
|
|
|
},
|
2025-06-24 18:19:34 +08:00
|
|
|
{
|
|
|
|
|
path: 'hotCloud',
|
|
|
|
|
name: 'DataEngineHotCloud',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '行业词云',
|
|
|
|
|
requiresAuth: true,
|
2025-07-08 16:55:04 +08:00
|
|
|
requireLogin: true,
|
2025-06-24 18:19:34 +08:00
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/components/dataEngine/hotCloud.vue'),
|
2025-06-16 14:42:26 +08:00
|
|
|
},
|
2025-06-24 18:19:34 +08:00
|
|
|
{
|
|
|
|
|
path: 'keyWord',
|
|
|
|
|
name: 'DataEngineKeyWord',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '行业关键词动向',
|
|
|
|
|
requiresAuth: true,
|
2025-07-08 16:55:04 +08:00
|
|
|
requireLogin: true,
|
2025-06-24 18:19:34 +08:00
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/components/dataEngine/keyWord.vue'),
|
2025-06-16 14:42:26 +08:00
|
|
|
},
|
2025-06-24 18:19:34 +08:00
|
|
|
{
|
|
|
|
|
path: 'userPainPoints',
|
|
|
|
|
name: 'DataEngineUserPainPoints',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '用户痛点观察',
|
|
|
|
|
requiresAuth: true,
|
2025-07-08 16:55:04 +08:00
|
|
|
requireLogin: true,
|
2025-06-24 18:19:34 +08:00
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/components/dataEngine/userPainPoints.vue'),
|
2025-06-16 14:42:26 +08:00
|
|
|
},
|
2025-06-24 18:19:34 +08:00
|
|
|
{
|
|
|
|
|
path: 'keyBrandMovement',
|
|
|
|
|
name: 'DataEngineKeyBrandMovement',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '重点品牌动向',
|
|
|
|
|
requiresAuth: true,
|
2025-07-08 16:55:04 +08:00
|
|
|
requireLogin: true,
|
2025-06-24 18:19:34 +08:00
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/components/dataEngine/keyBrandMovement.vue'),
|
2025-06-16 14:42:26 +08:00
|
|
|
},
|
2025-06-24 18:19:34 +08:00
|
|
|
{
|
|
|
|
|
path: 'userPersona',
|
|
|
|
|
name: 'DataEngineUserPersona',
|
|
|
|
|
meta: {
|
|
|
|
|
locale: '用户画像',
|
|
|
|
|
requiresAuth: true,
|
2025-07-08 16:55:04 +08:00
|
|
|
requireLogin: true,
|
2025-06-24 18:19:34 +08:00
|
|
|
roles: ['*'],
|
|
|
|
|
},
|
|
|
|
|
component: () => import('@/views/components/dataEngine/userPersona.vue'),
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|
];
|
2025-06-16 14:42:26 +08:00
|
|
|
|
|
|
|
|
export default COMPONENTS;
|