policeSecurity/securityManagement/src/config/index.ts

51 lines
1.5 KiB
TypeScript
Raw Normal View History

2024-09-03 11:28:48 +08:00
import {SystemMenu} from "@/types/config";
2024-09-06 17:38:13 +08:00
export const ROUTER_WHITE_LIST: string[] = ['/login', '/test', '/enterprise'];
export const CLIENT_TYPE: string = "MANAGEMENT_SECURITY";
2024-09-03 11:28:48 +08:00
2024-09-05 10:41:57 +08:00
export const UNIT_TYPE = {
security: 'SECURITY_UNIT',
police: 'POLICE_UNIT'
}
2024-09-03 11:28:48 +08:00
export const SYSTEM_MENUS: SystemMenu[] = [
{
title: '首页',
name: 'index',
path: '/index',
2024-09-06 17:38:13 +08:00
icon: 'icon-shouye',
2024-09-03 11:28:48 +08:00
type: "menu",
component: () => import('@/views/index.vue')
}, {
2024-09-03 18:25:25 +08:00
title: '用户管理',
2024-09-03 11:28:48 +08:00
name: 'userManagement',
path: '/userManagement',
2024-09-06 17:38:13 +08:00
icon: 'icon-yonghuguanli_huaban',
2024-09-03 11:28:48 +08:00
type: 'dir',
children: [
{
2024-09-03 18:25:25 +08:00
title: '后台管理',
2024-09-03 11:28:48 +08:00
name: 'bgManagement',
path: '/bgManagement',
2024-09-06 17:38:13 +08:00
icon:'icon-guanlianbaoan',
2024-09-03 11:28:48 +08:00
type: 'menu',
component: () => import('@/views/userManagement/bgManagement/index.vue')
}, {
title: '小程序管理',
name: 'uniManagement',
path: '/uniManagement',
2024-09-06 17:38:13 +08:00
icon:'icon-guanlianbaoan',
2024-09-03 11:28:48 +08:00
type: 'menu',
component: () => import('@/views/userManagement/uniManagement/index.vue')
}
]
2024-09-06 17:38:13 +08:00
},
{
title: '服务项目管理',
name: 'serviceManagement',
path: '/serviceManagement',
icon:'icon-xiangmuguanli-',
type: 'menu',
component: () => import('@/views/serviceManagement/index.vue')
2024-09-03 11:28:48 +08:00
}
]