productManage.js 896 B

1234567891011121314151617181920212223242526272829303132333435
  1. /**
  2. * 农产品管理
  3. */
  4. import Layout from '@/layout'
  5. const productManage = {
  6. path: '/productManage',
  7. component: Layout,
  8. redirect: '/productManage/products',
  9. alwaysShow: true,
  10. name: 'productManage',
  11. meta: { title: '农产品管理', icon: 'el-icon-goods' },
  12. children: [
  13. {
  14. path: 'toBeReviewed',
  15. name: 'productManageToBeReviewed',
  16. component: () => import('@/views/productManage/toBeReviewed/index'),
  17. meta: { title: '上架申请' }
  18. },
  19. {
  20. path: 'products',
  21. name: 'productManageProducts',
  22. component: () => import('@/views/productManage/products/index'),
  23. meta: { title: '农产品管理' }
  24. },
  25. {
  26. path: 'recommend',
  27. name: 'productManageRecommend',
  28. component: () => import('@/views/productManage/recommend/index'),
  29. meta: { title: '优秀产品管理' }
  30. }
  31. ]
  32. }
  33. export default productManage