35 lines
1010 B
TypeScript
35 lines
1010 B
TypeScript
import {SystemMenu} from "@/types/config";
|
|
|
|
export const CLIENT_TYPE = "MANAGEMENT_SUPER";
|
|
export const ROUTER_WHITE_LIST: string[] = ['/login', '/test'];
|
|
|
|
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')
|
|
}
|
|
]
|
|
}
|
|
]
|