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