123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109 |
- import LayoutMain from '@/framework/layout/Main'
- //首页登录页面
- import login from '@/framework/layout'
- // 品牌管理
- import brand from '@/views/brand'
- import brandDetail from "@/views/brand/detail"
- //产品管理
- import product from "@/views/product/index"
- import productDetail from "@/views/product/detail"
- //从已有数据填充产品
- import supplement from "@/views/supplement"
- //测试页面
- import test from '@/components/test'
- /**模型管理 */
- import modelFile from '@/views/model/file'
- export default [
- // 首页
- {
- path: '/',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [{
- path: '',
- name: 'login',
- component: login
- }]
- },
- //登录页
- {
- path: '/login',
- name: 'login',
- component: login,
- },
- //产品管理
- {
- path: '/product',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [{
- path: '',
- name: 'product',
- component: product,
- },
- {
- path: '/product/productDetail',
- name: 'productDetail',
- component: productDetail,
- }
- ]
- },
- // 品牌管理
- {
- path: '/brand',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [{
- path: '',
- name: 'brand',
- component: brand
- },
- {
- path:'/brand/brandDetail',
- name:'brand',
- component: brandDetail
- }
- ]
- },
- // 从已有数据填充产品
- {
- path: '/supplement',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [{
- path: '',
- name: 'supplement',
- component: supplement
- },
- ]
- },
- {
- path: '/test',
- name: 'test',
- component: test,
- },
- //模型管理
- {
- path: '/model',
- name: 'LayoutMain',
- component: LayoutMain,
- children: [{
- path: '',
- name: 'modelFile',
- component: modelFile
- },
- {
- path: 'file',
- name: 'modelFile',
- component: modelFile,
- meta: {
- path: 'file',
- name: 'modelFile',
- component: modelFile,
- meta: { keepAlive: false, breadcrumbs: [{ label: '模型管理', path: '/model/file' }, { label: '模型文件管理' }]}
- },
- },
- ]
- },
- ]
|