29 lines
654 B
TypeScript
29 lines
654 B
TypeScript
import type { AppRouteModule } from '@/router/types';
|
|
|
|
import { LAYOUT } from '@/router/constant';
|
|
import { t } from '@/hooks/web/useI18n';
|
|
|
|
const dashboard: AppRouteModule = {
|
|
path: '/dashboard',
|
|
name: 'Dashboard',
|
|
component: LAYOUT,
|
|
redirect: '/dashboard/analysis',
|
|
meta: {
|
|
orderNo: 10,
|
|
icon: 'ion:grid-outline',
|
|
title: t('routes.dashboard.dashboard'),
|
|
},
|
|
children: [
|
|
{
|
|
path: '/dashboard/analysis',
|
|
name: 'Analysis',
|
|
meta: {
|
|
title: t('routes.dashboard.analysis'),
|
|
},
|
|
component: () => import('@/views/demo/workmanagement/workplan/index.vue'),
|
|
},
|
|
],
|
|
};
|
|
|
|
export default dashboard;
|