import Layout from '@/layout';

const alarmOrderRoutes = {
  path: '/alarm-order',
  component: Layout,
  redirect: '/alarm-order/index',
  name: 'users',
  alwaysShow: true,
  meta: {
    title: '工单管理',
    icon: 'nested',
    permissions: ['view menu admin'],
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/alarm-order/index'),
      name: 'AlarmOrder',
      meta: { title: '抢险工单', icon: 'nested', permissions: ['manage admin'] },
    },
  ],
};
export default alarmOrderRoutes;
