export * as OPTIONS from './options';
export * as REGEXPS from './regexp';

// 登录页地址
export const LOGIN_PATHNAME = '/login';

// 支持上传的图片格式
export const SUPPORT_IMAGE_ACCEPT = [
  'image/png',
  'image/jpg',
  'image/jpeg',
  'image/webp',
  'image/gif',
];

// 默认的应用名
export const DEFAULT_APP_NAME = 'system';

// 默认的菜单列表
export const DEFAULT_MENUS = [
  {
    name: '权限管理',
    children: [
      {
        path: '/administration/user',
        name: '用户管理',
      },
      {
        path: '/administration/role',
        name: '角色管理',
      },
      {
        path: '/administration/menu',
        name: '菜单管理',
      },
      {
        path: '/administration/file',
        name: '资源管理',
      },
      {
        path: '/administration/button',
        name: '按钮管理',
      },
      {
        path: '/administration/configuration',
        name: '系统设置',
      },
    ],
  },
  {
    name: '平台设置',
    children: [
      {
        path: '/sysSetting/config',
        name: '参数设置',
      },
      {
        path: '/sysSetting/dict',
        name: '字典管理',
      },
    ],
  },
  {
    name: '主数据',
    children: [
      {
        path: '/masterdata/region',
        name: '区划管理',
      },
      {
        path: '/masterdata/org',
        name: '机构管理',
      },
      {
        path: '/masterdata/dept',
        name: '科室管理',
      },
      {
        path: '/masterdata/doctor',
        name: '医护管理',
      },
      {
        path: '/masterdata/bed',
        name: '床位管理',
      },
    ],
  },
];
