mirror of
https://gitee.com/ZhongBangKeJi/crmeb_java.git
synced 2026-04-23 12:08:33 +08:00
代码生成 web界面
This commit is contained in:
@@ -29,6 +29,7 @@ import operationRouter from './modules/operation'
|
||||
import appSettingRouter from './modules/appSetting'
|
||||
import maintainRouter from './modules/maintain'
|
||||
import mobileRouter from './modules/mobile'
|
||||
import codegen from './modules/codegen'
|
||||
|
||||
|
||||
/**
|
||||
@@ -82,7 +83,9 @@ export const constantRoutes = [
|
||||
maintainRouter,
|
||||
//移动端管理
|
||||
mobileRouter,
|
||||
|
||||
// 代码生成
|
||||
codegen,
|
||||
|
||||
{
|
||||
path: '/404',
|
||||
component: () => import('@/views/error-page/404'),
|
||||
|
||||
@@ -11,45 +11,20 @@
|
||||
import Layout from '@/layout'
|
||||
|
||||
const storeRouter = {
|
||||
path: '/store',
|
||||
path: '/codegen',
|
||||
component: Layout,
|
||||
redirect: '/store/index',
|
||||
redirect: '/codegen/codegenList',
|
||||
name: 'Store',
|
||||
meta: {
|
||||
title: '商品',
|
||||
title: '代码生成',
|
||||
icon: 'clipboard'
|
||||
},
|
||||
children: [
|
||||
{
|
||||
path: 'index',
|
||||
component: () => import('@/views/store/index'),
|
||||
path: 'codegenList',
|
||||
component: () => import('@/views/codegen/codegenList'),
|
||||
name: 'StoreIndex',
|
||||
meta: { title: '商品管理', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'sort',
|
||||
component: () => import('@/views/store/sort/index'),
|
||||
name: 'Sort',
|
||||
meta: { title: '商品分类', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'attr',
|
||||
component: () => import('@/views/store/storeAttr/index'),
|
||||
name: 'SortAttr',
|
||||
meta: { title: '商品规格', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'comment',
|
||||
component: () => import('@/views/store/storeComment/index'),
|
||||
name: 'StoreComment',
|
||||
meta: { title: '商品评论', icon: '' }
|
||||
},
|
||||
{
|
||||
path: 'list/creatProduct/:id?/:isDisabled?',
|
||||
component: () => import('@/views/store/creatStore/index'),
|
||||
name: 'SortCreat',
|
||||
meta: { title: '商品添加', noCache: true, activeMenu: `/store/index` },
|
||||
hidden: true
|
||||
meta: { title: '待生成列表', icon: '' }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user