INDEX.JS修正
This commit is contained in:
@@ -26,7 +26,7 @@ import Layout from '@/layout';
|
|||||||
|
|
||||||
// 公共路由
|
// 公共路由
|
||||||
export const constantRoutes = [
|
export const constantRoutes = [
|
||||||
{ path: '/appoinmentmanage', component: Layout, redirect: '/appoinmentmanage', name: 'AppoinmentManage', hidden: true, meta: { title: '预约管理', icon: 'component' }, children: [ { path: '', component: () => import('@/views/appoinmentmanage/index.vue'), name: 'AppoinmentManageIndex', meta: { title: '预约管理' } } ] },
|
{ path: '/appoinmentmanage', component: Layout, redirect: '/appoinmentmanage', name: 'AppoinmentManage', hidden: true, meta: { title: '预约管理', icon: 'component' }, children: [{ path: '', component: () => import('@/views/appoinmentmanage/index.vue'), name: 'AppoinmentManageIndex', meta: { title: '预约管理' } }] },
|
||||||
{
|
{
|
||||||
path: '/redirect',
|
path: '/redirect',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
@@ -100,37 +100,37 @@ export const constantRoutes = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
// 动态路由,基于用户权限动态去加载
|
// 动态路由,基于用户权限动态去加载
|
||||||
export const dynamicRoutes = [
|
export const dynamicRoutes = [
|
||||||
{
|
{
|
||||||
path: '/basicmanage',
|
path: '/basicmanage',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/basicmanage/invoice-management',
|
redirect: '/basicmanage/invoice-management',
|
||||||
name: 'BasicManage',
|
name: 'BasicManage',
|
||||||
meta: { title: '基础管理', icon: 'component' },
|
meta: { title: '基础管理', icon: 'component' },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'invoice-management',
|
path: 'invoice-management',
|
||||||
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
|
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
|
||||||
name: 'invoice-management',
|
name: 'invoice-management',
|
||||||
meta: { title: '发票管理' }
|
meta: { title: '发票管理' }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
// 兼容系统业务管理路径
|
// 兼容系统业务管理路径
|
||||||
{
|
{
|
||||||
path: '/system/ywgz',
|
path: '/system/ywgz',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
redirect: '/system/ywgz/InvoiceManagement',
|
redirect: '/system/ywgz/InvoiceManagement',
|
||||||
hidden: true,
|
hidden: true,
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'InvoiceManagement',
|
path: 'InvoiceManagement',
|
||||||
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
|
component: () => import('@/views/basicmanage/InvoiceManagement/index.vue'),
|
||||||
name: 'SystemInvoiceManagement',
|
name: 'SystemInvoiceManagement',
|
||||||
meta: { title: '发票管理' }
|
meta: { title: '发票管理' }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/maintainSystem',
|
path: '/maintainSystem',
|
||||||
component: Layout,
|
component: Layout,
|
||||||
@@ -237,9 +237,6 @@ export const constantRoutes = [
|
|||||||
path: 'set/:tenantId(\\d+)',
|
path: 'set/:tenantId(\\d+)',
|
||||||
component: () => import('@/views/system/tenant/setUser'),
|
component: () => import('@/views/system/tenant/setUser'),
|
||||||
name: 'SetUser',
|
name: 'SetUser',
|
||||||
meta: { title: '所属用户', activeMenu: '/system/basicmanage/tenant' },
|
|
||||||
},
|
|
||||||
],
|
|
||||||
meta: { title: '所属用户', activeMenu: '/system/tenant' }
|
meta: { title: '所属用户', activeMenu: '/system/tenant' }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -254,9 +251,6 @@ export const constantRoutes = [
|
|||||||
path: 'set/:tenantId(\\d+)',
|
path: 'set/:tenantId(\\d+)',
|
||||||
component: () => import('@/views/system/tenant/setContract'),
|
component: () => import('@/views/system/tenant/setContract'),
|
||||||
name: 'SetContract',
|
name: 'SetContract',
|
||||||
meta: { title: '合同管理', activeMenu: '/system/basicmanage/tenant' },
|
|
||||||
},
|
|
||||||
],
|
|
||||||
meta: { title: '合同管理', activeMenu: '/system/tenant' }
|
meta: { title: '合同管理', activeMenu: '/system/tenant' }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -369,11 +363,6 @@ export const constantRoutes = [
|
|||||||
path: 'index/:tableId(\\d+)',
|
path: 'index/:tableId(\\d+)',
|
||||||
component: () => import('@/views/tool/gen/editTable'),
|
component: () => import('@/views/tool/gen/editTable'),
|
||||||
name: 'GenEdit',
|
name: 'GenEdit',
|
||||||
meta: { title: '修改生成配置', activeMenu: '/tool/gen' },
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
];
|
|
||||||
meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
|
meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user