243 lines
7.1 KiB
TypeScript
243 lines
7.1 KiB
TypeScript
// import { MENU_GROUP_IDS } from '@/router/constants';
|
||
// export const MENU_LIST = [
|
||
// {
|
||
// id: MENU_GROUP_IDS.WORK_BENCH_ID,
|
||
// name: '工作台',
|
||
// routeName: 'Home',
|
||
// includeRouteNames: ['Home'],
|
||
// requiresAuth: false,
|
||
// permissionKey: '', // 权限key,如果为空,则表示该菜单不需要权限,与后端约定
|
||
// },
|
||
// {
|
||
// id: MENU_GROUP_IDS.DATA_ENGINE_ID,
|
||
// name: '全域数据分析',
|
||
// permissionKey: 'data_analysis',
|
||
// requiresAuth: true,
|
||
// children: [
|
||
// {
|
||
// name: '行业热门话题洞察',
|
||
// routeName: 'DataEngineHotTranslation',
|
||
// includeRouteNames: ['DataEngineHotTranslation'],
|
||
// },
|
||
// {
|
||
// name: '行业词云',
|
||
// routeName: 'DataEngineHotCloud',
|
||
// includeRouteNames: ['DataEngineHotCloud'],
|
||
// },
|
||
// {
|
||
// name: '行业关键词动向',
|
||
// routeName: 'DataEngineKeyWord',
|
||
// includeRouteNames: ['DataEngineKeyWord'],
|
||
// },
|
||
// {
|
||
// name: '用户痛点观察',
|
||
// routeName: 'DataEngineUserPainPoints',
|
||
// includeRouteNames: ['DataEngineUserPainPoints'],
|
||
// },
|
||
// {
|
||
// name: '重点品牌动向',
|
||
// routeName: 'DataEngineKeyBrandMovement',
|
||
// includeRouteNames: ['DataEngineKeyBrandMovement'],
|
||
// },
|
||
// {
|
||
// name: '用户画像',
|
||
// routeName: 'DataEngineUserPersona',
|
||
// includeRouteNames: ['DataEngineUserPersona'],
|
||
// },
|
||
// ],
|
||
// },
|
||
// {
|
||
// id: MENU_GROUP_IDS.CREATIVE_GENERATION_WORKSHOP_ID,
|
||
// name: '创意生成工坊',
|
||
// permissionKey: '',
|
||
// requiresAuth: true,
|
||
// children: [
|
||
// {
|
||
// name: '内容稿件',
|
||
// routeName: 'ManuscriptList',
|
||
// includeRouteNames: [
|
||
// 'ManuscriptList',
|
||
// 'ManuscriptUpload',
|
||
// 'ManuscriptEdit',
|
||
// 'ManuscriptDetail',
|
||
// 'ManuscriptCheckList',
|
||
// 'ManuscriptCheckListDetail',
|
||
// 'ManuscriptCheck',
|
||
// ],
|
||
// },
|
||
// ],
|
||
// },
|
||
// {
|
||
// id: MENU_GROUP_IDS.PROPERTY_ID,
|
||
// name: '营销资产中台',
|
||
// permissionKey: 'marketing_asset',
|
||
// requiresAuth: true,
|
||
// children: [
|
||
// {
|
||
// name: '品牌资产管理',
|
||
// routeName: 'RepositoryBrandMaterials',
|
||
// includeRouteNames: ['RepositoryBrandMaterials'],
|
||
// },
|
||
// {
|
||
// name: '账号资源中心',
|
||
// routeName: 'MediaAccountAccountManagement',
|
||
// includeRouteNames: [
|
||
// 'MediaAccountAccountManagement',
|
||
// 'MediaAccountAccountDashboard',
|
||
// 'MediaAccountAccountDetails',
|
||
// ],
|
||
// },
|
||
// {
|
||
// name: '投放资源中心',
|
||
// routeName: 'PutAccountAccountManagement',
|
||
// includeRouteNames: [
|
||
// 'PutAccountAccountManagement',
|
||
// 'PutAccountAccountData',
|
||
// 'PutAccountAccountDashboard',
|
||
// 'PutAccountInvestmentGuidelines',
|
||
// 'PutAccountInvestmentGuidelinesDetail',
|
||
// ],
|
||
// },
|
||
// // {
|
||
// // name: '智能方案管理',
|
||
// // routeName: 'IntelligentSolutionBusinessAnalysisReport',
|
||
// // includeRouteNames: [
|
||
// // 'IntelligentSolutionBusinessAnalysisReport',
|
||
// // 'IntelligentSolutionCompetitiveProductAnalysisReport',
|
||
// // ],
|
||
// // },
|
||
// {
|
||
// name: '项目管理',
|
||
// routeName: 'ProjectList',
|
||
// includeRouteNames: ['ProjectList'],
|
||
// },
|
||
// ],
|
||
// },
|
||
// ];
|
||
import { MENU_GROUP_IDS } from '@/router/constants';
|
||
export const MENU_LIST = [
|
||
{
|
||
id: MENU_GROUP_IDS.WORK_BENCH_ID,
|
||
name: '工作台',
|
||
routeName: 'Home',
|
||
includeRouteNames: ['Home'],
|
||
requiresAuth: false,
|
||
permissionKey: '', // 权限key,如果为空,则表示该菜单不需要权限,与后端约定
|
||
},
|
||
{
|
||
id: MENU_GROUP_IDS.MANAGEMENT_ID,
|
||
name: '任务管理',
|
||
routeName: 'assignmentManagement',
|
||
includeRouteNames: ['assignmentManagement'],
|
||
requiresAuth: false,
|
||
permissionKey: '', // 权限key,如果为空,则表示该菜单不需要权限,与后端约定
|
||
},
|
||
{
|
||
id: MENU_GROUP_IDS.DATA_ENGINE_ID,
|
||
name: '全域数据分析',
|
||
permissionKey: 'data_analysis',
|
||
requiresAuth: true,
|
||
children: [
|
||
{
|
||
name: '行业热门话题洞察',
|
||
routeName: 'DataEngineHotTranslation',
|
||
includeRouteNames: ['DataEngineHotTranslation'],
|
||
},
|
||
{
|
||
name: '行业词云',
|
||
routeName: 'DataEngineHotCloud',
|
||
includeRouteNames: ['DataEngineHotCloud'],
|
||
},
|
||
{
|
||
name: '行业关键词动向',
|
||
routeName: 'DataEngineKeyWord',
|
||
includeRouteNames: ['DataEngineKeyWord'],
|
||
},
|
||
{
|
||
name: '用户痛点观察',
|
||
routeName: 'DataEngineUserPainPoints',
|
||
includeRouteNames: ['DataEngineUserPainPoints'],
|
||
},
|
||
{
|
||
name: '重点品牌动向',
|
||
routeName: 'DataEngineKeyBrandMovement',
|
||
includeRouteNames: ['DataEngineKeyBrandMovement'],
|
||
},
|
||
{
|
||
name: '用户画像',
|
||
routeName: 'DataEngineUserPersona',
|
||
includeRouteNames: ['DataEngineUserPersona'],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
id: MENU_GROUP_IDS.CREATIVE_GENERATION_WORKSHOP_ID,
|
||
name: '创意生成工坊',
|
||
permissionKey: '',
|
||
requiresAuth: true,
|
||
children: [
|
||
{
|
||
name: '内容稿件',
|
||
routeName: 'ManuscriptList',
|
||
includeRouteNames: [
|
||
'ManuscriptList',
|
||
'ManuscriptUpload',
|
||
'ManuscriptEdit',
|
||
'ManuscriptDetail',
|
||
'ManuscriptCheckList',
|
||
'ManuscriptCheckListDetail',
|
||
'ManuscriptCheck',
|
||
],
|
||
},
|
||
],
|
||
},
|
||
{
|
||
id: MENU_GROUP_IDS.PROPERTY_ID,
|
||
name: '营销资产中台',
|
||
permissionKey: 'marketing_asset',
|
||
requiresAuth: true,
|
||
children: [
|
||
{
|
||
name: '品牌资产管理',
|
||
routeName: 'RepositoryBrandMaterials',
|
||
includeRouteNames: ['RepositoryBrandMaterials'],
|
||
},
|
||
{
|
||
name: '账号资源中心',
|
||
routeName: 'MediaAccountAccountManagement',
|
||
includeRouteNames: [
|
||
'MediaAccountAccountManagement',
|
||
'MediaAccountAccountDashboard',
|
||
'MediaAccountAccountDetails',
|
||
'assignmentManagement',
|
||
'managementDetail',
|
||
],
|
||
},
|
||
{
|
||
name: '投放资源中心',
|
||
routeName: 'PutAccountAccountManagement',
|
||
includeRouteNames: [
|
||
'PutAccountAccountManagement',
|
||
'PutAccountAccountData',
|
||
'PutAccountAccountDashboard',
|
||
'PutAccountInvestmentGuidelines',
|
||
'guideDetail',
|
||
],
|
||
},
|
||
// {
|
||
// name: '智能方案管理',
|
||
// routeName: 'IntelligentSolutionBusinessAnalysisReport',
|
||
// includeRouteNames: [
|
||
// 'IntelligentSolutionBusinessAnalysisReport',
|
||
// 'IntelligentSolutionCompetitiveProductAnalysisReport',
|
||
// ],
|
||
// },
|
||
{
|
||
name: '项目管理',
|
||
routeName: 'ProjectList',
|
||
includeRouteNames: ['ProjectList'],
|
||
},
|
||
],
|
||
},
|
||
];
|