import Layout from '@/tenants/yian/layout.vue';

const router = [
  {
    // 宜安登录
    path: '/yian/login',
    name: 'YianLogin',
    component: () => import('@/tenants/yian/views/login.vue'),
  },
  {
    path: '/yian',
    component: Layout,
    children: [
      {
        // 宜安数据总览
        path: '/yian/data/overview',
        name: 'YianDataOverview',
        component: () => import('@/views/data/overview/index.vue'),
      },
      {
        // 宜安数据查询
        path: '/yian/data/analysis',
        name: 'YianDataAnalysis',
        component: () => import('@/views/data/analysis/index.vue'),
      },
    ],
  },
];

export default router;
