feat: 权限逻辑处理

This commit is contained in:
xuziqiang
2024-06-14 11:49:51 +08:00
parent 08972bfbfb
commit da3d5840df
9 changed files with 201 additions and 111 deletions

View File

@@ -3,27 +3,8 @@ const organizationManage = {
path: '/organizationManage',
name: 'organizationManage',
meta: { title: '组织管理', icon: 'dicizhishou', index: 99 },
redirect: { name: 'EnterpriseManage' },
redirect: { name: 'UserManage' },
children: [
{
path: 'enterpriseManage',
name: 'EnterpriseManage',
meta: { title: '企业管理', hideChildren: true, icon: 'dicizhishou' },
component: Base,
redirect: { name: 'enterpriseManageIndex' },
children: [
{
path: 'index',
name: 'enterpriseManageIndex',
component: () => import('/@/view/organizationManage/enterpriseManage/index.vue'),
meta: {
title: '企业管理',
keepAlive: true,
// backApi: [],
},
},
],
},
{
path: 'userManage',
name: 'UserManage',