|
@@ -54,6 +54,14 @@ export const constantRoutes = [
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
|
|
+ // {
|
|
|
|
+ // path: '/planTable/index',
|
|
|
|
+ // component: () => {
|
|
|
|
+ // return import('@/views/orderMange/planTable/index')
|
|
|
|
+ // },
|
|
|
|
+ // hidden: true
|
|
|
|
+ // },
|
|
|
|
+
|
|
{
|
|
{
|
|
path: '/tableMange',
|
|
path: '/tableMange',
|
|
component: Layout,
|
|
component: Layout,
|
|
@@ -178,7 +186,7 @@ export const constantRoutes = [
|
|
path: 'index',
|
|
path: 'index',
|
|
component: () => import('@/views/index'),
|
|
component: () => import('@/views/index'),
|
|
name: 'Index',
|
|
name: 'Index',
|
|
- meta: {title: '首页', icon: 'dashboard', affix: true}
|
|
|
|
|
|
+ meta: { title: '首页', icon: 'dashboard', affix: true }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -192,7 +200,7 @@ export const constantRoutes = [
|
|
path: 'profile',
|
|
path: 'profile',
|
|
component: () => import('@/views/system/user/profile/index'),
|
|
component: () => import('@/views/system/user/profile/index'),
|
|
name: 'Profile',
|
|
name: 'Profile',
|
|
- meta: {title: '个人中心', icon: 'user'}
|
|
|
|
|
|
+ meta: { title: '个人中心', icon: 'user' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -211,7 +219,7 @@ export const dynamicRoutes = [
|
|
path: 'role/:userId(\\d+)',
|
|
path: 'role/:userId(\\d+)',
|
|
component: () => import('@/views/system/data/index'),
|
|
component: () => import('@/views/system/data/index'),
|
|
name: 'AuthRole',
|
|
name: 'AuthRole',
|
|
- meta: {title: '数据源配置', activeMenu: '/system/data'}
|
|
|
|
|
|
+ meta: { title: '数据源配置', activeMenu: '/system/data' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -225,7 +233,7 @@ export const dynamicRoutes = [
|
|
path: 'role/:userId(\\d+)',
|
|
path: 'role/:userId(\\d+)',
|
|
component: () => import('@/views/system/user/authRole'),
|
|
component: () => import('@/views/system/user/authRole'),
|
|
name: 'AuthRole',
|
|
name: 'AuthRole',
|
|
- meta: {title: '分配角色', activeMenu: '/system/user'}
|
|
|
|
|
|
+ meta: { title: '分配角色', activeMenu: '/system/user' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -239,7 +247,7 @@ export const dynamicRoutes = [
|
|
path: 'fromModel/:index',
|
|
path: 'fromModel/:index',
|
|
component: () => import('@/views/system/fromModel/index'),
|
|
component: () => import('@/views/system/fromModel/index'),
|
|
name: 'fromModel',
|
|
name: 'fromModel',
|
|
- meta: {title: '表单建模', activeMenu: '/system/fromModel/index'}
|
|
|
|
|
|
+ meta: { title: '表单建模', activeMenu: '/system/fromModel/index' }
|
|
},
|
|
},
|
|
// {
|
|
// {
|
|
// path: '/fromModel/:index',
|
|
// path: '/fromModel/:index',
|
|
@@ -260,7 +268,7 @@ export const dynamicRoutes = [
|
|
path: 'user/:roleId(\\d+)',
|
|
path: 'user/:roleId(\\d+)',
|
|
component: () => import('@/views/system/role/authUser'),
|
|
component: () => import('@/views/system/role/authUser'),
|
|
name: 'AuthUser',
|
|
name: 'AuthUser',
|
|
- meta: {title: '分配用户', activeMenu: '/system/role'}
|
|
|
|
|
|
+ meta: { title: '分配用户', activeMenu: '/system/role' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -274,7 +282,7 @@ export const dynamicRoutes = [
|
|
path: 'index/:dictId(\\d+)',
|
|
path: 'index/:dictId(\\d+)',
|
|
component: () => import('@/views/system/dict/data'),
|
|
component: () => import('@/views/system/dict/data'),
|
|
name: 'Data',
|
|
name: 'Data',
|
|
- meta: {title: '字典数据', activeMenu: '/system/dict'}
|
|
|
|
|
|
+ meta: { title: '字典数据', activeMenu: '/system/dict' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -289,7 +297,7 @@ export const dynamicRoutes = [
|
|
path: 'index/:dictId(\\d+)',
|
|
path: 'index/:dictId(\\d+)',
|
|
component: () => import('@/views/system/tenant/dict/data'),
|
|
component: () => import('@/views/system/tenant/dict/data'),
|
|
name: 'TenantData',
|
|
name: 'TenantData',
|
|
- meta: {title: '字典数据', activeMenu: '/system/tenant/dict'}
|
|
|
|
|
|
+ meta: { title: '字典数据', activeMenu: '/system/tenant/dict' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -304,7 +312,7 @@ export const dynamicRoutes = [
|
|
path: 'index/:jobId(\\d+)',
|
|
path: 'index/:jobId(\\d+)',
|
|
component: () => import('@/views/monitor/job/log'),
|
|
component: () => import('@/views/monitor/job/log'),
|
|
name: 'JobLog',
|
|
name: 'JobLog',
|
|
- meta: {title: '调度日志', activeMenu: '/monitor/job'}
|
|
|
|
|
|
+ meta: { title: '调度日志', activeMenu: '/monitor/job' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
},
|
|
},
|
|
@@ -318,7 +326,7 @@ export const dynamicRoutes = [
|
|
path: 'index/:tableId(\\d+)',
|
|
path: 'index/:tableId(\\d+)',
|
|
component: () => import('@/views/tool/gen/editTable'),
|
|
component: () => import('@/views/tool/gen/editTable'),
|
|
name: 'GenEdit',
|
|
name: 'GenEdit',
|
|
- meta: {title: '修改生成配置', activeMenu: '/tool/gen'}
|
|
|
|
|
|
+ meta: { title: '修改生成配置', activeMenu: '/tool/gen' }
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
@@ -339,6 +347,6 @@ Router.prototype.replace = function push(location) {
|
|
|
|
|
|
export default new Router({
|
|
export default new Router({
|
|
mode: 'history', // 去掉url中的#
|
|
mode: 'history', // 去掉url中的#
|
|
- scrollBehavior: () => ({y: 0}),
|
|
|
|
|
|
+ scrollBehavior: () => ({ y: 0 }),
|
|
routes: constantRoutes
|
|
routes: constantRoutes
|
|
})
|
|
})
|