83 lines
2.3 KiB
TypeScript
83 lines
2.3 KiB
TypeScript
import { MENU_GROUP_IDS } from '@/router/constants';
|
||
export const MENU_LIST = [
|
||
{
|
||
id: MENU_GROUP_IDS.WORK_BENCH_ID,
|
||
name: '工作台',
|
||
pathName: 'Home',
|
||
pathNames: ['Home'],
|
||
requiresAuth: false,
|
||
permissionKey: '', // 权限key,如果为空,则表示该菜单不需要权限,与后端约定
|
||
},
|
||
{
|
||
id: MENU_GROUP_IDS.DATA_ENGINE_ID,
|
||
name: '全域数据分析',
|
||
permissionKey: 'data_analysis',
|
||
requiresAuth: true,
|
||
children: [
|
||
{
|
||
name: '行业热门话题洞察',
|
||
pathName: 'DataEngineHotTranslation',
|
||
pathNames: ['DataEngineHotTranslation'],
|
||
},
|
||
{
|
||
name: '行业词云',
|
||
pathName: 'DataEngineHotCloud',
|
||
pathNames: ['DataEngineHotCloud'],
|
||
},
|
||
{
|
||
name: '行业关键词动向',
|
||
pathName: 'DataEngineKeyWord',
|
||
pathNames: ['DataEngineKeyWord'],
|
||
},
|
||
{
|
||
name: '用户痛点观察',
|
||
pathName: 'DataEngineUserPainPoints',
|
||
pathNames: ['DataEngineUserPainPoints'],
|
||
},
|
||
{
|
||
name: '重点品牌动向',
|
||
pathName: 'DataEngineKeyBrandMovement',
|
||
pathNames: ['DataEngineKeyBrandMovement'],
|
||
},
|
||
{
|
||
name: '用户画像',
|
||
pathName: 'DataEngineUserPersona',
|
||
pathNames: ['DataEngineUserPersona'],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
id: MENU_GROUP_IDS.PROPERTY_ID,
|
||
name: '营销资产中台',
|
||
permissionKey: 'marketing_asset',
|
||
requiresAuth: true,
|
||
children: [
|
||
{
|
||
name: '品牌资产管理',
|
||
pathName: 'RepositoryBrandMaterials',
|
||
pathNames: ['RepositoryBrandMaterials'],
|
||
},
|
||
{
|
||
name: '账号资源中心',
|
||
pathName: 'MediaAccountAccountManagement',
|
||
pathNames: ['MediaAccountAccountManagement', 'MediaAccountAccountDashboard', 'MediaAccountAccountDetails'],
|
||
},
|
||
{
|
||
name: '投放资源中心',
|
||
pathName: 'PutAccountAccountManagement',
|
||
pathNames: [
|
||
'PutAccountAccountData',
|
||
'PutAccountAccountDashboard',
|
||
'PutAccountInvestmentGuidelines',
|
||
'guideDetail',
|
||
],
|
||
},
|
||
{
|
||
name: '智能方案管理',
|
||
pathName: 'IntelligentSolutionBusinessAnalysisReport',
|
||
pathNames: ['IntelligentSolutionBusinessAnalysisReport', 'IntelligentSolutionCompetitiveProductAnalysisReport'],
|
||
},
|
||
],
|
||
},
|
||
];
|