import { BarsOutlined, DashboardOutlined, TeamOutlined, UserOutlined } from '@ant-design/icons'; import type React from 'react'; /* cspell:disable */ const iconStyle: React.CSSProperties = { fontSize: 18 }; interface MenuDataItem { name: string; icon?: React.ReactNode; path?: string; hideInMenu?: boolean; auth?: string; children?: MenuDataItem[]; docUrl?: string; } //const docUrl = 'https://docs.qq.com/aio/DS2NCRFFseG9Ma3Ja?p='; const userMenu: MenuDataItem = { name: '用户管理', icon: , children: [{ name: '用户信息', path: '/user/list', auth: '' }], //SF_ERP_USER_VIEW }; const companyMenu: MenuDataItem = { name: '企业管理', icon: , children: [{ name: '企业信息', path: '/company/list', auth: '' }], //SF_ERP_COMPANY_VIEW }; const authMenu: MenuDataItem = { name: '权限管理', icon: , children: [ { name: '管理员信息', path: '/staff/list', auth: '' }, //SF_ERP_ADMIN_VIEW { name: '组织架构', path: '/staff/dep', auth: '' }, //SF_ERP_DEPART_VIEW { name: '岗位角色', path: '/staff/group', auth: '' }, //SF_ERP_GROUP_VIEW { name: '我的权限', path: '/staff/my', auth: '' }, //SF_MY_RIGHT_VIEW { name: '登录日志', path: '/staff/login', auth: '' }, //SF_LOGIN_LOG_VIEW { name: '操作日志', path: '/staff/sys', auth: '' }, //SF_OPERATE_LOG_VIEW ], }; const asideMenuConfig: MenuDataItem[] = [ { name: '系统看板', // path: '/', icon: , children: [{ name: '系统主页', path: '/home/index', auth: '' }], }, userMenu, companyMenu, authMenu, ]; export { asideMenuConfig };