|
@@ -3,132 +3,7 @@ export const dynamicRoutes = [{
|
|
|
path: '/layout',
|
|
|
name: 'layout',
|
|
|
component: layout,
|
|
|
- redirect: '/home',
|
|
|
- children: [{
|
|
|
- path: '/home',
|
|
|
- name: 'home',
|
|
|
- icon: "icon-shouye_zhuyehui",
|
|
|
- component: () => import('@/views/home/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '工作台',
|
|
|
- },
|
|
|
- }, {
|
|
|
- path: '/essentialinfo',
|
|
|
- name: 'essentialinfo',
|
|
|
- icon: "icon-zhuye1",
|
|
|
- component: () => import('@/views/essentialinfo/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '基本信息',
|
|
|
- },
|
|
|
- }, {
|
|
|
- path: '/usermanagement',
|
|
|
- name: 'usermanagement',
|
|
|
- icon: "icon-icon-",
|
|
|
- component: () => import('@/views/usermanagement/index.vue'),
|
|
|
- redirect: '/usermanagement/user',
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '用户管理',
|
|
|
- },
|
|
|
- children: [{
|
|
|
- path: '/usermanagement/user',
|
|
|
- name: 'user',
|
|
|
- icon: "icon-icon-",
|
|
|
- component: () => import('@/views/usermanagement/user/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '用户管理',
|
|
|
- },
|
|
|
- }, {
|
|
|
- path: '/usermanagement/company',
|
|
|
- name: 'company',
|
|
|
- icon: "icon-zhuye1",
|
|
|
- component: () => import('@/views/usermanagement/company/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '公司管理',
|
|
|
- },
|
|
|
- }]
|
|
|
- }, {
|
|
|
- path: '/stockcontrol',
|
|
|
- name: 'stockcontrol',
|
|
|
- icon: "icon-_kucun",
|
|
|
- component: () => import('@/views/stockcontrol/index.vue'),
|
|
|
- redirect: '/stockcontrol/storagePut',
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '库存管理',
|
|
|
- },
|
|
|
- children: [{
|
|
|
- path: '/stockcontrol/storagePut',
|
|
|
- name: 'storagePut',
|
|
|
- icon: "icon-_kucun",
|
|
|
- component: () => import('@/views/stockcontrol/storagePut/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '入库管理',
|
|
|
- },
|
|
|
- },{
|
|
|
- path: '/stockcontrol/storageFrom',
|
|
|
- name: 'storageFrom',
|
|
|
- icon: "icon-ruku",
|
|
|
- component: () => import('@/views/stockcontrol/storageFrom/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '出库管理',
|
|
|
- },
|
|
|
- }, {
|
|
|
- path: '/stockcontrol/storageInquire',
|
|
|
- name: 'storageInquire',
|
|
|
- icon: "icon-fenxixiangmuku",
|
|
|
- component: () => import('@/views/stockcontrol/storageInquire/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '库存查询',
|
|
|
- },
|
|
|
- }, {
|
|
|
- path: '/stockcontrol/transmitReceive',
|
|
|
- name: 'transmitReceive',
|
|
|
- icon: "icon-ruku",
|
|
|
- component: () => import('@/views/stockcontrol/transmitReceive/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '收发记录',
|
|
|
- },
|
|
|
- },
|
|
|
- ]
|
|
|
- }, {
|
|
|
- path: '/salesmanagement',
|
|
|
- name: 'salesmanagement',
|
|
|
- icon: "icon-chukuliucheng",
|
|
|
- component: () => import('@/views/salesmanagement/index.vue'),
|
|
|
- redirect: '/salesmanagement/sellManage',
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '销售管理',
|
|
|
- },
|
|
|
- children: [{
|
|
|
- path: '/salesmanagement/sellManage',
|
|
|
- name: 'sellManage',
|
|
|
- icon: "icon-chukuliucheng",
|
|
|
- component: () => import('@/views/salesmanagement/sellManage/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '销售管理',
|
|
|
- },
|
|
|
- }, {
|
|
|
- path: '/salesmanagement/storageOrderGoods',
|
|
|
- name: 'storageOrderGoods',
|
|
|
- icon: "icon-dingdan",
|
|
|
- component: () => import('@/views/salesmanagement/storageOrderGoods/index.vue'),
|
|
|
- meta: {
|
|
|
- roles: false,
|
|
|
- title: '销售订单',
|
|
|
- },
|
|
|
- }]
|
|
|
- }]
|
|
|
+ children: []
|
|
|
}]
|
|
|
|
|
|
export const errorRouter = [
|