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

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

const complaints: AppRouteModule = {
  path: '/Order',
  name: 'Order',
  component: LAYOUT,
  redirect: '/order/detail',
  meta: {
    hideMenu: true,
    orderNo: 200,
    icon: 'ion:grid-outline',
    title: '订单管理',
  },
  children: [
    {
      path: 'detail',
      name: 'Detail',
      component: () => import('/@/views/order/detail.vue'),
      meta: {
        title: '订单详情',
      },
    }
  ],
};

export default complaints;
