diff --git a/src/router/index.js b/src/router/index.js index 249512b..154a7cd 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -182,7 +182,17 @@ export const publicRoutes = [ icon: "personnel" } }, - { + ] + }, + { + path: "/njxx", + name: "njxx", + meta: { + title: "年检信息", + icon: "personnel" + }, + children: [ + { path: "/training/annualInspectionTraining", name: "annualInspectionTraining", component: () => import("@/views/Training/AnnualInspectionTraining/index"), @@ -211,255 +221,255 @@ export const publicRoutes = [ }, ] }, - { - path: "/systemConfig", - name: "systemConfigModel", - meta: { - title: "系统管理", - icon: "personnel" - }, - children: [ - { - path: "/user/department-ist", - name: "departmentList", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/department-list/index" - ), - meta: { - title: "部门管理", - icon: "personnel-manage" - } - }, - { - path: "/user/userList", - name: "userList", - component: () => - import("@/views/backOfficeSystem/systemConfig/user-list/index"), - meta: { - title: "用户管理", - icon: "role" - } - }, - { - path: "/user/role", - name: "userRoleIndex", - component: () => - import("@/views/backOfficeSystem/systemConfig/role-list/index"), - meta: { - title: "角色列表", - icon: "role" - } - }, - { - path: "/user/menuList", - name: "menuList", - component: () => - import("@/views/backOfficeSystem/systemConfig/menu-list/index"), - meta: { - title: "菜单管理", - icon: "personnel-manage" - } - }, - { - path: "/user/publicSecurity", - name: "publicSecurity", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/publicSecurity/index" - ), - meta: { - title: "公安机关要素", - icon: "personnel-manage" - } - }, - { - path: "/dict/detail", - name: "dictDetail", - component: () => - import("@/views/backOfficeSystem/systemConfig/dict/detail"), - meta: { - title: "字典数据" - } - }, - { - path: "/dict/index", - name: "dictIndex", - component: () => - import("@/views/backOfficeSystem/systemConfig/dict/index"), - meta: { - title: "字典列表", - icon: "article-ranking" - } - }, - { - path: "/user/job", - name: "userJob", - component: () => - import("@/views/backOfficeSystem/systemConfig/job-list/index"), - meta: { - title: "岗位列表", - icon: "personnel-manage" - } - }, - { - path: "/user/deptAllocationUser/:id", - name: "deptAllocationUser", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser" - ), - meta: { - title: "管理用户" - } - }, - { - path: "/user/allocationUser/:id", - name: "allocationUser", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/role-list/allocationUser" - ), - meta: { - title: "分配用户" - } - }, - { - path: "/sys/systemFxMx", - name: "systemFxMx", - component: () => - import("@/views/backOfficeSystem/systemConfig/systemFxMx/index"), - meta: { - title: "系统分析模型", - icon: "personnel-manage" - } - }, - // { - // path: "/sys/ysjq", - // name: "ysjq", - // component: () => import("@/views/backOfficeSystem/systemConfig/ysjq/index"), - // meta: { - // title: "演示警情", - // icon: "personnel-manage" - // } - // }, - { - path: "/user/systemConfig", - name: "systemConfig", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/system-config-list/index" - ), - meta: { - title: "系统配置", - icon: "personnel-manage" - } - }, + // { + // path: "/systemConfig", + // name: "systemConfigModel", + // meta: { + // title: "系统管理", + // icon: "personnel" + // }, + // children: [ + // { + // path: "/user/department-ist", + // name: "departmentList", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/department-list/index" + // ), + // meta: { + // title: "部门管理", + // icon: "personnel-manage" + // } + // }, + // { + // path: "/user/userList", + // name: "userList", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/user-list/index"), + // meta: { + // title: "用户管理", + // icon: "role" + // } + // }, + // { + // path: "/user/role", + // name: "userRoleIndex", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/role-list/index"), + // meta: { + // title: "角色列表", + // icon: "role" + // } + // }, + // { + // path: "/user/menuList", + // name: "menuList", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/menu-list/index"), + // meta: { + // title: "菜单管理", + // icon: "personnel-manage" + // } + // }, + // { + // path: "/user/publicSecurity", + // name: "publicSecurity", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/publicSecurity/index" + // ), + // meta: { + // title: "公安机关要素", + // icon: "personnel-manage" + // } + // }, + // { + // path: "/dict/detail", + // name: "dictDetail", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/dict/detail"), + // meta: { + // title: "字典数据" + // } + // }, + // { + // path: "/dict/index", + // name: "dictIndex", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/dict/index"), + // meta: { + // title: "字典列表", + // icon: "article-ranking" + // } + // }, + // { + // path: "/user/job", + // name: "userJob", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/job-list/index"), + // meta: { + // title: "岗位列表", + // icon: "personnel-manage" + // } + // }, + // { + // path: "/user/deptAllocationUser/:id", + // name: "deptAllocationUser", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/department-list/deptAllocationUser" + // ), + // meta: { + // title: "管理用户" + // } + // }, + // { + // path: "/user/allocationUser/:id", + // name: "allocationUser", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/role-list/allocationUser" + // ), + // meta: { + // title: "分配用户" + // } + // }, + // { + // path: "/sys/systemFxMx", + // name: "systemFxMx", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/systemFxMx/index"), + // meta: { + // title: "系统分析模型", + // icon: "personnel-manage" + // } + // }, + // // { + // // path: "/sys/ysjq", + // // name: "ysjq", + // // component: () => import("@/views/backOfficeSystem/systemConfig/ysjq/index"), + // // meta: { + // // title: "演示警情", + // // icon: "personnel-manage" + // // } + // // }, + // { + // path: "/user/systemConfig", + // name: "systemConfig", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/system-config-list/index" + // ), + // meta: { + // title: "系统配置", + // icon: "personnel-manage" + // } + // }, - { - path: "/user/systemVersion", - name: "systemVersion", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/system-version-list/index" - ), - meta: { - title: "系统版本管理", - icon: "personnel-manage" - } - }, - { - path: "/user/useQk", - name: "useQk", - component: () => - import("@/views/backOfficeSystem/systemConfig/useQk/index"), - meta: { - title: "系统使用情况", - icon: "personnel-manage" - } - }, - { - path: "/user/zdqyFz", - name: "zdqyFz", - component: () => - import("@/views/backOfficeSystem/systemConfig/zdqyFz/index"), - meta: { - title: "重点区域分值", - icon: "personnel-manage" - } - }, + // { + // path: "/user/systemVersion", + // name: "systemVersion", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/system-version-list/index" + // ), + // meta: { + // title: "系统版本管理", + // icon: "personnel-manage" + // } + // }, + // { + // path: "/user/useQk", + // name: "useQk", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/useQk/index"), + // meta: { + // title: "系统使用情况", + // icon: "personnel-manage" + // } + // }, + // { + // path: "/user/zdqyFz", + // name: "zdqyFz", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/zdqyFz/index"), + // meta: { + // title: "重点区域分值", + // icon: "personnel-manage" + // } + // }, - { - path: "/user/log", - name: "/user/log", - meta: { - title: "日志", - icon: "article" - }, - children: [ - { - path: "/user/operateLog", - name: "/user/operateLog", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index" - ), - meta: { - title: "操作日志", - icon: "article-ranking" - } - }, - { - path: "/user/loginLog", - name: "/user/loginLog", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index" - ), - meta: { - title: "登录日志", - icon: "article-ranking" - } - } - ] - }, - { - path: "/developer", - name: "developer", - component: () => import("@/views/developer/index"), - meta: { - title: "开发者中心", - icon: "article-ranking" - } - }, - { - //如果三级 需要把路由注册出来 - path: "/user/operateLog", - name: "/user/operateLog", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index" - ) - }, - { - path: "/user/loginLog", - name: "/user/loginLog", - component: () => - import( - "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index" - ) - }, - { - path: "/tool/gen-edit/index/:tableId", - name: "gen-edit", - component: () => - import("@/views/backOfficeSystem/systemConfig/gen/editTable"), - meta: { - title: "代码生成编辑" - } - } - ] - }, + // { + // path: "/user/log", + // name: "/user/log", + // meta: { + // title: "日志", + // icon: "article" + // }, + // children: [ + // { + // path: "/user/operateLog", + // name: "/user/operateLog", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index" + // ), + // meta: { + // title: "操作日志", + // icon: "article-ranking" + // } + // }, + // { + // path: "/user/loginLog", + // name: "/user/loginLog", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index" + // ), + // meta: { + // title: "登录日志", + // icon: "article-ranking" + // } + // } + // ] + // }, + // { + // path: "/developer", + // name: "developer", + // component: () => import("@/views/developer/index"), + // meta: { + // title: "开发者中心", + // icon: "article-ranking" + // } + // }, + // { + // //如果三级 需要把路由注册出来 + // path: "/user/operateLog", + // name: "/user/operateLog", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/log-manage/operateLog/index" + // ) + // }, + // { + // path: "/user/loginLog", + // name: "/user/loginLog", + // component: () => + // import( + // "@/views/backOfficeSystem/systemConfig/log-manage/loginLog/index" + // ) + // }, + // { + // path: "/tool/gen-edit/index/:tableId", + // name: "gen-edit", + // component: () => + // import("@/views/backOfficeSystem/systemConfig/gen/editTable"), + // meta: { + // title: "代码生成编辑" + // } + // } + // ] + // }, // { // path: "/basicsmanage", // name: "/basicsmanage",