| | |
| | | /* |
| | | * @Author: lzhe lzhe@example.com |
| | | * @Date: 2024-05-24 11:25:26 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-10-09 09:58:40 |
| | | * @FilePath: /src/config/route.js |
| | | * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE |
| | | */ |
| | | // 静态路由配置 |
| | | // 书写格式与动态路由格式一致,全部经由框架统一转换 |
| | | // 比较动态路由在meta中多加入了role角色权限,为数组类型。一个菜单是否有权限显示,取决于它以及后代菜单是否有权限。 |
| | |
| | | // }] |
| | | // } |
| | | // ] |
| | | const routes = [ |
| | | { |
| | | name: "字段设置", |
| | | path: "/configuration/custom/setField", |
| | | component: "configuration/custom/setField", |
| | | meta: { |
| | | icon: "el-icon-menu", |
| | | title: "字段设置", |
| | | type: 'menu', |
| | | hidden: true |
| | | } |
| | | }, |
| | | { |
| | | name: "计划设置", |
| | | path: "/configuration/custom/planSettings", |
| | | component: "configuration/custom/planSettings", |
| | | meta: { |
| | | icon: "el-icon-menu", |
| | | title: "计划设置", |
| | | type: 'menu', |
| | | hidden: true |
| | | } |
| | | }, |
| | | { |
| | | name: "新建工艺路线", |
| | | path: "/console/product-process/process-route/add-craft", |
| | | component: "console/product-process/process-route/add-craft", |
| | | meta: { |
| | | icon: "el-icon-menu", |
| | | title: "新建工艺路线", |
| | | type: 'menu', |
| | | hidden: true |
| | | } |
| | | }, |
| | | { |
| | | name: "新建工艺路线版本", |
| | | path: "/console/product-process/process-route/add-craft-version", |
| | | component: "console/product-process/process-route/add-craft-version", |
| | | meta: { |
| | | icon: "el-icon-menu", |
| | | title: "新建工艺路线版本", |
| | | type: 'menu', |
| | | hidden: true |
| | | } |
| | | }, |
| | | { |
| | | name: "消息中心", |
| | | path: "/notification/notice/newsmail", |
| | | component: "notification/notice/newsmail", |
| | | meta: { |
| | | icon: "el-icon-menu", |
| | | title: "消息中心", |
| | | type: 'menu', |
| | | hidden: true |
| | | } |
| | | }, |
| | | { |
| | | name: "任务调度", |
| | | path: "/myiframe/urlPath", |
| | | component: "myiframe/urlPath", |
| | | meta: { |
| | | icon: "el-icon-menu", |
| | | title: "任务调度", |
| | | type: 'menu', |
| | | hidden: true |
| | | } |
| | | }, |
| | | { |
| | | name: "账号信息", |
| | | path: "/userCenter/edituser", |
| | | component: "userCenter/edituser", |
| | | meta: { |
| | | icon: "el-icon-menu", |
| | | title: "账号信息", |
| | | type: 'menu', |
| | | hidden: true |
| | | } |
| | | } |
| | | ] |
| | | |
| | | const routes = [] |
| | | //const routes = [] |
| | | |
| | | export default routes; |