policeSecurity/superManagement/src/config/index.ts

35 lines
1010 B
TypeScript
Raw Normal View History

2024-08-30 17:03:25 +08:00
import {SystemMenu} from "@/types/config";
2024-08-29 17:06:00 +08:00
export const CLIENT_TYPE = "MANAGEMENT_SUPER";
export const ROUTER_WHITE_LIST: string[] = ['/login', '/test'];
2024-08-30 17:03:25 +08:00
export const SYSTEM_MENUS: SystemMenu[] = [
{
title: '首页',
name: 'index',
path: '/index',
type: "menu",
component: () => import('@/views/index.vue')
}, {
title: '单位管理',
name: 'unitManage',
path: '/unitManage',
type: 'dir',
children: [
{
title: '公安单位',
name: 'policeUnit',
path: '/policeUnit',
type: 'menu',
component: () => import('@/views/unitManage/policeUnit/index.vue')
}, {
title: '保安单位',
name: 'securityUnit',
path: '/securityUnit',
type: 'menu',
component: () => import('@/views/unitManage/securityUnit/index.vue')
}
]
}
]