perf: 注释没用组件
This commit is contained in:
@ -36,38 +36,38 @@ export const MENU_LIST = <Record<string, typeMenuItem[]>>{
|
||||
requireLogin: true,
|
||||
activeMatch: ['MediaAccountAccountDashboard', 'MediaAccountAccountDetails'],
|
||||
},
|
||||
{
|
||||
key: 'ModPutAccountManage',
|
||||
icon: 'svg-putAccountManage',
|
||||
label: '账户管理',
|
||||
routeName: 'PutAccountAccountManagement',
|
||||
requireLogin: true,
|
||||
activeMatch: ['PutAccountAccountManagement'],
|
||||
},
|
||||
{
|
||||
key: 'ModPutAccountData',
|
||||
icon: 'svg-putAccountData',
|
||||
label: '账户数据',
|
||||
routeName: 'PutAccountAccountData',
|
||||
requireLogin: true,
|
||||
activeMatch: ['PutAccountAccountData'],
|
||||
},
|
||||
{
|
||||
key: 'ModPutAccountAccountDashboard',
|
||||
icon: 'svg-putAccountAccountDashboard',
|
||||
label: '投放表现分析',
|
||||
routeName: 'PutAccountAccountDashboard',
|
||||
requireLogin: true,
|
||||
activeMatch: ['PutAccountAccountDashboard'],
|
||||
},
|
||||
{
|
||||
key: 'ModInvestmentGuidelines',
|
||||
icon: 'svg-putAccountInvestmentGuidelines',
|
||||
label: '投放指南',
|
||||
routeName: 'PutAccountInvestmentGuidelines',
|
||||
requireLogin: true,
|
||||
activeMatch: ['PutAccountInvestmentGuidelines', 'PutAccountInvestmentGuidelinesDetail'],
|
||||
},
|
||||
// {
|
||||
// key: 'ModPutAccountManage',
|
||||
// icon: 'svg-putAccountManage',
|
||||
// label: '账户管理',
|
||||
// routeName: 'PutAccountAccountManagement',
|
||||
// requireLogin: true,
|
||||
// activeMatch: ['PutAccountAccountManagement'],
|
||||
// },
|
||||
// {
|
||||
// key: 'ModPutAccountData',
|
||||
// icon: 'svg-putAccountData',
|
||||
// label: '账户数据',
|
||||
// routeName: 'PutAccountAccountData',
|
||||
// requireLogin: true,
|
||||
// activeMatch: ['PutAccountAccountData'],
|
||||
// },
|
||||
// {
|
||||
// key: 'ModPutAccountAccountDashboard',
|
||||
// icon: 'svg-putAccountAccountDashboard',
|
||||
// label: '投放表现分析',
|
||||
// routeName: 'PutAccountAccountDashboard',
|
||||
// requireLogin: true,
|
||||
// activeMatch: ['PutAccountAccountDashboard'],
|
||||
// },
|
||||
// {
|
||||
// key: 'ModInvestmentGuidelines',
|
||||
// icon: 'svg-putAccountInvestmentGuidelines',
|
||||
// label: '投放指南',
|
||||
// routeName: 'PutAccountInvestmentGuidelines',
|
||||
// requireLogin: true,
|
||||
// activeMatch: ['PutAccountInvestmentGuidelines', 'PutAccountInvestmentGuidelinesDetail'],
|
||||
// },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
@ -7,9 +7,9 @@ import { MENU_GROUP_IDS } from '@/router/constants';
|
||||
|
||||
import IconRepository from '@/assets/svg/svg-repository.svg';
|
||||
import IconMediaAccount from '@/assets/svg/svg-mediaAccount.svg';
|
||||
import IconPutAccount from '@/assets/svg/svg-putAccount.svg';
|
||||
import IconIntelligentSolution from '@/assets/svg/svg-intelligentSolution.svg';
|
||||
import IconProjectManagement from '@/assets/svg/svg-projectManagement.svg';
|
||||
// import IconPutAccount from '@/assets/svg/svg-putAccount.svg';
|
||||
// import IconIntelligentSolution from '@/assets/svg/svg-intelligentSolution.svg';
|
||||
// import IconProjectManagement from '@/assets/svg/svg-projectManagement.svg';
|
||||
|
||||
const COMPONENTS: AppRouteRecordRaw[] = [
|
||||
{
|
||||
@ -88,140 +88,140 @@ const COMPONENTS: AppRouteRecordRaw[] = [
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/put-account',
|
||||
name: 'PutAccount',
|
||||
redirect: 'put-account/accountManagement',
|
||||
meta: {
|
||||
locale: '投放资源中心',
|
||||
icon: IconPutAccount,
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
id: MENU_GROUP_IDS.PROPERTY_ID,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'manage',
|
||||
name: 'PutAccountAccountManagement',
|
||||
meta: {
|
||||
locale: '账户管理',
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
component: () => import('@/views/property-marketing/put-account/account-manage/index.vue'),
|
||||
},
|
||||
{
|
||||
path: 'data',
|
||||
name: 'PutAccountAccountData',
|
||||
meta: {
|
||||
locale: '账户数据',
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
component: () => import('@/views/property-marketing/put-account/account-data/index.vue'),
|
||||
},
|
||||
{
|
||||
path: 'account-dashboard',
|
||||
name: 'PutAccountAccountDashboard',
|
||||
meta: {
|
||||
locale: '投放表现分析',
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
component: () => import('@/views/property-marketing/put-account/account-dashboard/index.vue'),
|
||||
},
|
||||
{
|
||||
path: 'investmentGuidelines',
|
||||
name: 'PutAccountInvestmentGuidelines',
|
||||
meta: {
|
||||
locale: '投放指南',
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
component: () => import('@/views/property-marketing/put-account/investment-guidelines/index.vue'),
|
||||
},
|
||||
{
|
||||
path: 'detail/:id',
|
||||
name: 'PutAccountInvestmentGuidelinesDetail',
|
||||
meta: {
|
||||
locale: '投放指南详情',
|
||||
requiresAuth: true,
|
||||
hideInMenu: true,
|
||||
roles: ['*'],
|
||||
activeMenu: 'PutAccountInvestmentGuidelines',
|
||||
},
|
||||
component: () => import('@/views/property-marketing/put-account/investment-guidelines/detail.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/intelligent-solution',
|
||||
name: 'IntelligentSolution',
|
||||
redirect: 'intelligent-solution/businessAnalysisReport',
|
||||
meta: {
|
||||
locale: '智能方案管理',
|
||||
icon: IconIntelligentSolution,
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
id: MENU_GROUP_IDS.PROPERTY_ID,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'businessAnalysisReport',
|
||||
name: 'IntelligentSolutionBusinessAnalysisReport',
|
||||
meta: {
|
||||
locale: '业务洞察报告',
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
component: () => import('@/views/property-marketing/intelligent-solution/businessAnalysisReport.vue'),
|
||||
},
|
||||
{
|
||||
path: 'competitiveProductAnalysisReport',
|
||||
name: 'IntelligentSolutionCompetitiveProductAnalysisReport',
|
||||
meta: {
|
||||
locale: '竟品对比报告',
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
component: () => import('@/views/property-marketing/intelligent-solution/competitiveProductAnalysisReport.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
path: '/project-manage',
|
||||
name: 'ProjectManagement',
|
||||
redirect: 'project-manage/project-list',
|
||||
meta: {
|
||||
locale: '项目管理',
|
||||
icon: IconProjectManagement,
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
id: MENU_GROUP_IDS.PROPERTY_ID,
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'project-list',
|
||||
name: 'ProjectList',
|
||||
meta: {
|
||||
locale: '项目列表',
|
||||
requiresAuth: true,
|
||||
requireLogin: true,
|
||||
roles: ['*'],
|
||||
},
|
||||
component: () => import('@/views/property-marketing/project-manage/project-list/index.vue'),
|
||||
},
|
||||
],
|
||||
},
|
||||
// {
|
||||
// path: '/put-account',
|
||||
// name: 'PutAccount',
|
||||
// redirect: 'put-account/accountManagement',
|
||||
// meta: {
|
||||
// locale: '投放资源中心',
|
||||
// icon: IconPutAccount,
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// id: MENU_GROUP_IDS.PROPERTY_ID,
|
||||
// },
|
||||
// children: [
|
||||
// {
|
||||
// path: 'manage',
|
||||
// name: 'PutAccountAccountManagement',
|
||||
// meta: {
|
||||
// locale: '账户管理',
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/put-account/account-manage/index.vue'),
|
||||
// },
|
||||
// {
|
||||
// path: 'data',
|
||||
// name: 'PutAccountAccountData',
|
||||
// meta: {
|
||||
// locale: '账户数据',
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/put-account/account-data/index.vue'),
|
||||
// },
|
||||
// {
|
||||
// path: 'account-dashboard',
|
||||
// name: 'PutAccountAccountDashboard',
|
||||
// meta: {
|
||||
// locale: '投放表现分析',
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/put-account/account-dashboard/index.vue'),
|
||||
// },
|
||||
// {
|
||||
// path: 'investmentGuidelines',
|
||||
// name: 'PutAccountInvestmentGuidelines',
|
||||
// meta: {
|
||||
// locale: '投放指南',
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/put-account/investment-guidelines/index.vue'),
|
||||
// },
|
||||
// {
|
||||
// path: 'detail/:id',
|
||||
// name: 'PutAccountInvestmentGuidelinesDetail',
|
||||
// meta: {
|
||||
// locale: '投放指南详情',
|
||||
// requiresAuth: true,
|
||||
// hideInMenu: true,
|
||||
// roles: ['*'],
|
||||
// activeMenu: 'PutAccountInvestmentGuidelines',
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/put-account/investment-guidelines/detail.vue'),
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// path: '/intelligent-solution',
|
||||
// name: 'IntelligentSolution',
|
||||
// redirect: 'intelligent-solution/businessAnalysisReport',
|
||||
// meta: {
|
||||
// locale: '智能方案管理',
|
||||
// icon: IconIntelligentSolution,
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// id: MENU_GROUP_IDS.PROPERTY_ID,
|
||||
// },
|
||||
// children: [
|
||||
// {
|
||||
// path: 'businessAnalysisReport',
|
||||
// name: 'IntelligentSolutionBusinessAnalysisReport',
|
||||
// meta: {
|
||||
// locale: '业务洞察报告',
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/intelligent-solution/businessAnalysisReport.vue'),
|
||||
// },
|
||||
// {
|
||||
// path: 'competitiveProductAnalysisReport',
|
||||
// name: 'IntelligentSolutionCompetitiveProductAnalysisReport',
|
||||
// meta: {
|
||||
// locale: '竟品对比报告',
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/intelligent-solution/competitiveProductAnalysisReport.vue'),
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
// {
|
||||
// path: '/project-manage',
|
||||
// name: 'ProjectManagement',
|
||||
// redirect: 'project-manage/project-list',
|
||||
// meta: {
|
||||
// locale: '项目管理',
|
||||
// icon: IconProjectManagement,
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// id: MENU_GROUP_IDS.PROPERTY_ID,
|
||||
// },
|
||||
// children: [
|
||||
// {
|
||||
// path: 'project-list',
|
||||
// name: 'ProjectList',
|
||||
// meta: {
|
||||
// locale: '项目列表',
|
||||
// requiresAuth: true,
|
||||
// requireLogin: true,
|
||||
// roles: ['*'],
|
||||
// },
|
||||
// component: () => import('@/views/property-marketing/project-manage/project-list/index.vue'),
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
];
|
||||
|
||||
export default COMPONENTS;
|
||||
|
||||
Reference in New Issue
Block a user