/* * @Author: Liugh * @Date: 2021-05-25 11:19:26 * @LastEditTime: 2021-05-28 10:15:02 * @LastEditors: Do not edit * @FilePath: \auth-web\src\router\modules\log-manage.js * @Description: 日志管理模块 */ 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: ["YHGLPT_RZSJGL"] }, 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: ["YHGLPT_RZSJGL"] }, 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: ["YHGLPT_RZSJGL"] // layout: "page" } }, { path: "auth-earlywarning-info", component: () => import("@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-info"), name: "auth-earlywarning-plan", meta: { title: "鉴权预警信息", noCache: false, permission: ["YHGLPT_RZSJGL"] // layout: "page" } } ] }, { path: "auth-risk-detection", component: () => import("@/pages/log-manage/auth-risk-detection/index"), name: "auth-risk-detection", meta: { title: "鉴权风险检测", noCache: false, permission: ['YHGLPT_TJBB_JSSQQK'] } }, { path: "/permiss-log-manage", component: common, name: "common", redirect: "/permiss-log-manage", alwaysShow: true, meta: { title: "权限日志管理", icon: "el-icon-goods", noCache: true, permission: ["YHGLPT_RZSJGL"] }, 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: ["YHGLPT_RZSJGL"] } }, { path: "auth-service-log", component: () => import("@/pages/log-manage/permiss-log-manage/auth-service-log"), name: "auth-service-log", meta: { title: "鉴权服务日志", noCache: false, permission: ["YHGLPT_RZSJGL"] } }, { path: "auth-risk-log", component: () => import("@/pages/log-manage/permiss-log-manage/auth-risk-log"), name: "auth-risk-log", meta: { title: "鉴权风险日志", noCache: false, permission: ["YHGLPT_RZSJGL"] } } ] }, { path: "/auth-behavior-statistic", component: common, name: "common", redirect: "/index", meta: { title: "鉴权行为分析", icon: "el-icon-goods", noCache: true, permission: ["YHGLPT_RZSJGL"] }, children: [ { path: "index", component: () => import("@/pages/log-manage/auth-behavior-statistic"), name: "auth-behavior-statistic", meta: { title: "鉴权行为分析", icon: "el-icon-goods", noCache: true, permission: ["YHGLPT_RZSJGL"] } } ] } ] }; export default componentsRouter;