/* Layout */
import Layout from '@/layout'

export default {
  path: '/myApplication',
  component: Layout,
  //   redirect: '/exportTax',
  meta: {
    title: '我的申请', // 我的申请
    icon: 'myFinancing'
  },
  children: [
    // {
    //   path: '/quotaApplication',
    //   name: 'QuotaApplication',
    //   component: () => import('@/views/myApplication/quota/index'),
    //   meta: {
    //     title: '额度申请' // 额度申请
    //   },
    //   children: [
    //     {
    //       path: '/importerAdd/:id',
    //       name: 'ImporterAdd',
    //       component: () => import('@/views/businessManage/tradeRelations/importer/add'),
    //       hidden: true,
    //       meta: { title: '添加进口商', activeMenu: '/tradeRelations' }
    //     },
    //     {
    //       path: '/importerView/:id',
    //       name: 'ImporterView',
    //       component: () => import('@/views/businessManage/tradeRelations/importer/view'),
    //       hidden: true,
    //       meta: { title: '进口商详情', activeMenu: '/tradeRelations' }
    //     },
    //     {
    //       path: '/supplierAdd/:id',
    //       name: 'SupplierAdd',
    //       component: () => import('@/views/businessManage/tradeRelations/supplier/add'),
    //       hidden: true,
    //       meta: { title: '添加供应商', activeMenu: '/tradeRelations' }
    //     },
    //     {
    //       path: '/supplierView/:id',
    //       name: 'SupplierView',
    //       component: () => import('@/views/businessManage/tradeRelations/supplier/view'),
    //       hidden: true,
    //       meta: { title: '供应商详情', activeMenu: '/tradeRelations' }
    //     }
    //   ]
    // },
    {
      path: '/exportTax',
      name: 'ExportTax',
      component: () => import('@/views/myApplication/tax/index'),
      meta: {
        title: '出口退税申请' // 出口退税申请
      },
      children: [
        {
          path: 'exportTaxView',
          name: 'ExportTaxView',
          component: () => import('@/views/myApplication/tax/view'),
          hidden: true,
          meta: {
            title: '出口退税详情', activeMenu: '/exportTax'
          }
        }
      ]
    }
  ]
}
