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

173 lines
4.6 KiB
TypeScript
Raw Normal View History

/**
*
*/
import { IconBookmark } from '@arco-design/web-vue/es/icon';
import type { AppRouteRecordRaw } from '../types';
import { MENU_GROUP_IDS } from '@/router/constants';
const COMPONENTS: AppRouteRecordRaw[] = [
{
path: '/repository',
name: 'Repository',
redirect: 'repository/brandMaterials',
meta: {
locale: '企业知识库',
icon: IconBookmark,
requiresAuth: true,
roles: ['*'],
requiresSidebar: true,
id: MENU_GROUP_IDS.PROPERTY_ID,
},
children: [
{
path: 'brandMaterials',
name: 'RepositoryBrandMaterials',
meta: {
locale: '品牌物料',
requiresAuth: true,
roles: ['*'],
},
2025-06-26 11:35:23 +08:00
component: () => import('@/views/property-marketing/enterpriseKnowledge/brandMaterials.vue'),
},
],
},
{
path: '/media-account',
name: 'MediaAccount',
redirect: 'media-account/accountManagement',
meta: {
locale: '新媒体账号管理',
icon: IconBookmark,
requiresAuth: true,
roles: ['*'],
requiresSidebar: true,
id: MENU_GROUP_IDS.PROPERTY_ID,
},
children: [
{
path: 'accountManagement',
name: 'MediaAccountAccountManagement',
meta: {
locale: '账号管理',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/property-marketing/repository/test'),
},
{
path: 'accountDashboard',
name: 'MediaAccountAccountDashboard',
meta: {
locale: '账号看板',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/property-marketing/repository/test'),
},
{
path: 'accountDetails',
name: 'MediaAccountAccountDetails',
meta: {
locale: '账号详情',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/property-marketing/repository/test'),
},
],
},
{
path: '/put-account',
name: 'PutAccount',
redirect: 'put-account/accountManagement',
meta: {
locale: '投放账户管理',
icon: IconBookmark,
requiresAuth: true,
roles: ['*'],
requiresSidebar: true,
id: MENU_GROUP_IDS.PROPERTY_ID,
},
children: [
{
path: 'accountManagement',
name: 'PutAccountAccountManagement',
meta: {
locale: '账号管理',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/property-marketing/repository/test'),
},
{
path: 'accountData',
name: 'PutAccountAccountData',
meta: {
locale: '账号数据',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/property-marketing/repository/test'),
},
{
path: 'accountDashboard',
name: 'PutAccountAccountDashboard',
meta: {
locale: '账号看板',
requiresAuth: true,
roles: ['*'],
},
component: () => import('@/views/property-marketing/repository/test'),
},
{
path: 'investmentGuidelines',
name: 'PutAccountInvestmentGuidelines',
meta: {
locale: '投放指南',
requiresAuth: true,
roles: ['*'],
},
2025-06-25 19:33:02 +08:00
component: () => import('@/views/property-marketing/account-placement/placementGuide'),
},
],
},
{
path: '/intelligent-solution',
name: 'IntelligentSolution',
redirect: 'intelligent-solution/businessAnalysisReport',
meta: {
locale: '智能方案管理',
icon: IconBookmark,
requiresAuth: true,
roles: ['*'],
requiresSidebar: true,
id: MENU_GROUP_IDS.PROPERTY_ID,
},
children: [
{
path: 'businessAnalysisReport',
name: 'IntelligentSolutionBusinessAnalysisReport',
meta: {
locale: '业务分析报告',
requiresAuth: true,
roles: ['*'],
},
2025-06-26 11:35:23 +08:00
component: () => import('@/views/property-marketing/intelligent-solution/businessAnalysisReport'),
},
{
path: 'competitiveProductAnalysisReport',
name: 'IntelligentSolutionCompetitiveProductAnalysisReport',
meta: {
locale: '竟品分析报告',
requiresAuth: true,
roles: ['*'],
},
2025-06-26 11:35:23 +08:00
component: () => import('@/views/property-marketing/intelligent-solution/competitiveProductAnalysisReport'),
},
],
},
];
export default COMPONENTS;