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

import { LAYOUT } from '/@/router/constant';

const arbitration: AppRouteModule = {
  path: '/arbitration',
  name: 'arbitration',
  component: LAYOUT,
  redirect: '/arbitration/await',
  meta: {
    hideChildrenInMenu: false,
    orderNo: 10000,
    icon: 'ion:grid-outline',
    title: '仲裁管理',
  },
  children: [
    {
      path: 'await',
      name: 'arbitrationAwait',
      component: () => import('/@/views/arbitration/await.vue'),
      meta: {
        title: '待处理仲裁',
      },
    },
    {
      path: 'doing',
      name: 'arbitrationDoing',
      component: () => import('/@/views/arbitration/doing.vue'),
      meta: {
        title: '已处理仲裁',
      },
    },
    {
      path: 'detail',
      name: 'arbitrationDetail',
      component: () => import('/@/views/arbitration/detail.vue'),
      meta: {
        title: '处理仲裁',
        hideMenu: true,
      },
    },
  ],
};

export default arbitration;
