Newer
Older
smartKitchenFront / src / router / modules / productManagement.js
liuyangyingjie on 26 Oct 2022 1 KB first commit
/* Layout */
import Layout from '@/layout/Layout'
export const productManagemant = [{
  path: 'productManagemant',
  component: Layout,
  redirect: '/exampleTable', // 重定向
  name: 'ProductManagemant',
  alwaysShow: true,
  meta: {
    title: '产品管理',
    icon: '产品管理' // 图标
  },
  children: [
    {
      path: '/brand',
      name: 'Brand',
      component: () => import('@/views/product/brandList'), //重定向的组件位置
      meta: { title: '品牌列表', icon: '' }
    },
    {
      path: '/category',
      name: 'Category',
      component: () => import('@/views/product/categoryList'), //重定向的组件位置
      meta: { title: '品类列表', icon: '' }
    },{
      path: '/deviceList',
      name: 'DeviceList',
      component: () => import('@/views/product/deviceList'), //重定向的组件位置
      meta: { title: '设备列表', icon: '' }
    },{
      path: '/productList',
      name: 'ProductList',
      component: () => import('@/views/product/productList'), //重定向的组件位置
      meta: { title: '产品列表', icon: '' }
    },{
      path: '/sncoderuls',
      name: 'Sncoderuls',
      component: () => import('@/views/product/snCodeRuls'), //重定向的组件位置
      meta: { title: '设备SN码规则列表', icon: '' }
    },{
      path: '/sncoderulsList',
      name: 'SncoderulsList',
      component: () => import('@/views/product/snCodeField'), //重定向的组件位置
      meta: { title: '设备SN码字段列表', icon: '' }
    }
  ]
}]