|
@@ -10,111 +10,114 @@ import Layout from "@/pages/layout/layout";
|
|
|
import common from "@/pages/common";
|
|
|
// const Layout = () => import("@/pages/" + process.env.LAYOUT + "/layout");
|
|
|
|
|
|
-const componentsRouter = {
|
|
|
- path: "/log-manage",
|
|
|
- component: Layout,
|
|
|
- redirect: "/log-manage",
|
|
|
- alwaysShow: true,
|
|
|
- meta: { title: "日志管理", icon: "el-icon-document-checked", noCache: true, permission: ["QXGL_RZGL"] },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: "/err-auth-earlywarning-manage",
|
|
|
- component: common,
|
|
|
- name: "common",
|
|
|
- redirect: "/err-auth-earlywarning-manage",
|
|
|
- alwaysShow: true,
|
|
|
- meta: { title: "异常鉴权预警管理", icon: "el-icon-goods", noCache: true, permission: ["QXGL_RZGL_YCJQYJGL"] },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: "auth-earlywarning-plan",
|
|
|
- component: () => import("@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-plan"),
|
|
|
- name: "auth-earlywarning-plan",
|
|
|
- meta: {
|
|
|
- title: "鉴权预警方案",
|
|
|
- noCache: false,
|
|
|
- permission: ["QXGL_RZGL_YCJQYJGL_JQYJFA"]
|
|
|
- // layout: "page"
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: "auth-earlywarning-info",
|
|
|
- component: () => import("@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-info"),
|
|
|
- name: "auth-earlywarning-info",
|
|
|
- meta: {
|
|
|
- title: "鉴权预警信息",
|
|
|
- noCache: false,
|
|
|
- permission: ["QXGL_RZGL_YCJQYJGL_JQYJXX"]
|
|
|
- // layout: "page"
|
|
|
- }
|
|
|
+const componentsRouter = [
|
|
|
+ {
|
|
|
+ path: "/err-auth-earlywarning-manage",
|
|
|
+ component: Layout,
|
|
|
+ redirect: "/err-auth-earlywarning-manage",
|
|
|
+ alwaysShow: true,
|
|
|
+ meta: { title: "异常鉴权预警管理", icon: "el-icon-goods", noCache: true, permission: ["QXGL_RZGL_YCJQYJGL"] },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "auth-earlywarning-plan",
|
|
|
+ component: () => import("@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-plan"),
|
|
|
+ name: "auth-earlywarning-plan",
|
|
|
+ meta: {
|
|
|
+ title: "鉴权预警方案",
|
|
|
+ noCache: false,
|
|
|
+ permission: ["QXGL_RZGL_YCJQYJGL_JQYJFA"]
|
|
|
+ // layout: "page"
|
|
|
}
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: "auth-risk-detection",
|
|
|
- component: () => import("@/pages/log-manage/auth-risk-detection/index"),
|
|
|
- name: "auth-risk-detection",
|
|
|
- meta: {
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "auth-earlywarning-info",
|
|
|
+ component: () => import("@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-info"),
|
|
|
+ name: "auth-earlywarning-info",
|
|
|
+ meta: {
|
|
|
+ title: "鉴权预警信息",
|
|
|
+ noCache: false,
|
|
|
+ permission: ["QXGL_RZGL_YCJQYJGL_JQYJXX"]
|
|
|
+ // layout: "page"
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/auth-risk-detection",
|
|
|
+ component: Layout,
|
|
|
+ redirect: "/index",
|
|
|
+ meta: {
|
|
|
title: "鉴权风险检测",
|
|
|
- noCache: false,
|
|
|
- permission: ['QXGL_RZGL_JQFXJC']
|
|
|
- }
|
|
|
+ icon: "el-icon-goods",
|
|
|
+ noCache: true,
|
|
|
+ permission: ["QXGL_RZGL_JQFXJC"]
|
|
|
},
|
|
|
- {
|
|
|
- path: "/permiss-log-manage",
|
|
|
- component: common,
|
|
|
- name: "common",
|
|
|
- redirect: "/permiss-log-manage",
|
|
|
- alwaysShow: true,
|
|
|
- meta: { title: "权限日志管理", icon: "el-icon-goods", noCache: true, permission: ["QXGL_RZGL_QXRZGL"] },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: "auth-manage-log",
|
|
|
- component: () => import("@/pages/log-manage/permiss-log-manage/auth-manage-log"),
|
|
|
- name: "auth-manage-log",
|
|
|
- meta: {
|
|
|
- title: "授权管理日志",
|
|
|
- noCache: false,
|
|
|
- permission: ["QXGL_RZGL_QXRZGL_SQGLRZ"]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: "auth-service-log",
|
|
|
- component: () => import("@/pages/log-manage/permiss-log-manage/auth-service-log"),
|
|
|
- name: "auth-service-log",
|
|
|
- meta: {
|
|
|
- title: "鉴权服务日志",
|
|
|
- noCache: false,
|
|
|
- permission: ["QXGL_RZGL_QXRZGL_JQFWRZ"]
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- path: "auth-risk-log",
|
|
|
- component: () => import("@/pages/log-manage/permiss-log-manage/auth-risk-log"),
|
|
|
- name: "auth-risk-log",
|
|
|
- meta: {
|
|
|
- title: "鉴权风险日志",
|
|
|
- noCache: false,
|
|
|
- permission: ["QXGL_RZGL_QXRZGL_JQFXRZ"]
|
|
|
- }
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "index",
|
|
|
+ component: () => import("@/pages/log-manage/auth-risk-detection/index"),
|
|
|
+ name: "auth-risk-detection",
|
|
|
+ meta: {
|
|
|
+ title: "鉴权风险检测",
|
|
|
+ noCache: true,
|
|
|
+ permission: ["QXGL_RZGL_JQFXJC"]
|
|
|
}
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- path: "/auth-behavior-statistic",
|
|
|
- component: common,
|
|
|
- name: "common",
|
|
|
- redirect: "/index",
|
|
|
- meta: { title: "鉴权行为分析", icon: "el-icon-goods", noCache: true, permission: ["QXGL_RZGL_JQXWTJ"] },
|
|
|
- children: [
|
|
|
- {
|
|
|
- path: "index",
|
|
|
- component: () => import("@/pages/log-manage/auth-behavior-statistic"),
|
|
|
- name: "auth-behavior-statistic",
|
|
|
- meta: { title: "鉴权行为分析", icon: "el-icon-goods", noCache: true, permission: ["QXGL_RZGL_JQXWTJ"] }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/auth-behavior-statistic",
|
|
|
+ component: Layout,
|
|
|
+ redirect: "/index",
|
|
|
+ meta: { title: "鉴权行为统计", icon: "el-icon-goods", noCache: true, permission: ["QXGL_RZGL_JQXWTJ"] },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "index",
|
|
|
+ component: () => import("@/pages/log-manage/auth-behavior-statistic"),
|
|
|
+ name: "auth-behavior-statistic",
|
|
|
+ meta: { title: "鉴权行为统计", icon: "el-icon-goods", noCache: true, permission: ["QXGL_RZGL_JQXWTJ"] }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "/log-manage",
|
|
|
+ component: Layout,
|
|
|
+ redirect: "/log-manage",
|
|
|
+ alwaysShow: true,
|
|
|
+ meta: { title: "日志管理", icon: "el-icon-document-checked", noCache: true, permission: ["QXGL_RZGL"] },
|
|
|
+ children: [
|
|
|
+ {
|
|
|
+ path: "auth-manage-log",
|
|
|
+ component: () => import("@/pages/log-manage/permiss-log-manage/auth-manage-log"),
|
|
|
+ name: "auth-manage-log",
|
|
|
+ meta: {
|
|
|
+ title: "授权管理日志",
|
|
|
+ noCache: false,
|
|
|
+ permission: ["QXGL_RZGL_QXRZGL_SQGLRZ"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "auth-service-log",
|
|
|
+ component: () => import("@/pages/log-manage/permiss-log-manage/auth-service-log"),
|
|
|
+ name: "auth-service-log",
|
|
|
+ meta: {
|
|
|
+ title: "鉴权服务日志",
|
|
|
+ noCache: false,
|
|
|
+ permission: ["QXGL_RZGL_QXRZGL_JQFWRZ"]
|
|
|
+ }
|
|
|
+ },
|
|
|
+ {
|
|
|
+ path: "auth-risk-log",
|
|
|
+ component: () => import("@/pages/log-manage/permiss-log-manage/auth-risk-log"),
|
|
|
+ name: "auth-risk-log",
|
|
|
+ meta: {
|
|
|
+ title: "鉴权风险日志",
|
|
|
+ noCache: false,
|
|
|
+ permission: ["QXGL_RZGL_QXRZGL_JQFXRZ"]
|
|
|
}
|
|
|
- ]
|
|
|
- }
|
|
|
- ]
|
|
|
-};
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ }
|
|
|
+];
|
|
|
|
|
|
export default componentsRouter;
|