import type { AppRouteModule } from '@/router/types';

import { LAYOUT } from '@/router/constant';
import { t } from '@/hooks/web/useI18n';

const datamaintenance: AppRouteModule = {
  path: '/datamaintenance',
  name: 'DataMaintenance',
  component: LAYOUT,
  redirect: '/datamaintenance/home',
  meta: {
    orderNo: 10,
    icon: 'ion:grid-outline',
    title: '数据维护',
    
  },
  children: [
    {
      path: '/datamaintenance/home',
      name: 'dataMaintenancehome',
      meta: {
        title: '数据中心',
        hideMenu: true,
      },
      component: () => import('@/views/demo/datamaintenance/index.vue'),
    },
    {
      path: '/datamaintenance/datamanagement',
      name: 'datamanagement',
      meta: {
        title: '数据中心',
        hideMenu: true,
      },
      component: () => import('@/views/demo/datamaintenance/datamanagement/index.vue'),
    },
  ],
};

export default datamaintenance;
