log-manage.js 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. /*
  2. * @Author: Liugh
  3. * @Date: 2021-05-25 11:19:26
  4. * @LastEditTime: 2021-05-28 10:15:02
  5. * @LastEditors: Do not edit
  6. * @FilePath: \auth-web\src\router\modules\log-manage.js
  7. * @Description: 日志管理模块
  8. */
  9. import Layout from "@/pages/layout/layout";
  10. import common from "@/pages/common";
  11. // const Layout = () => import("@/pages/" + process.env.LAYOUT + "/layout");
  12. const componentsRouter = {
  13. path: "/log-manage",
  14. component: Layout,
  15. redirect: "/log-manage",
  16. alwaysShow: true,
  17. meta: { title: "日志管理", icon: "el-icon-document-checked", noCache: true, permission: ["YHGLPT_RZSJGL"] },
  18. children: [
  19. {
  20. path: "/err-auth-earlywarning-manage",
  21. component: common,
  22. name: "common",
  23. redirect: "/err-auth-earlywarning-manage",
  24. alwaysShow: true,
  25. meta: { title: "异常鉴权预警管理", icon: "el-icon-goods", noCache: true, permission: ["YHGLPT_RZSJGL"] },
  26. children: [
  27. {
  28. path: "auth-earlywarning-plan",
  29. component: () => import("@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-plan"),
  30. name: "auth-earlywarning-plan",
  31. meta: {
  32. title: "鉴权预警方案",
  33. noCache: false,
  34. permission: ["YHGLPT_RZSJGL"]
  35. // layout: "page"
  36. }
  37. },
  38. {
  39. path: "auth-earlywarning-info",
  40. component: () => import("@/pages/log-manage/err-auth-earlywarning-manage/auth-earlywarning-info"),
  41. name: "auth-earlywarning-plan",
  42. meta: {
  43. title: "鉴权预警信息",
  44. noCache: false,
  45. permission: ["YHGLPT_RZSJGL"]
  46. // layout: "page"
  47. }
  48. }
  49. ]
  50. },
  51. {
  52. path: "auth-risk-detection",
  53. component: () => import("@/pages/log-manage/auth-risk-detection/index"),
  54. name: "auth-risk-detection",
  55. meta: {
  56. title: "鉴权风险检测",
  57. noCache: false,
  58. permission: ['YHGLPT_TJBB_JSSQQK']
  59. }
  60. },
  61. {
  62. path: "/permiss-log-manage",
  63. component: common,
  64. name: "common",
  65. redirect: "/permiss-log-manage",
  66. alwaysShow: true,
  67. meta: { title: "权限日志管理", icon: "el-icon-goods", noCache: true, permission: ["YHGLPT_RZSJGL"] },
  68. children: [
  69. {
  70. path: "auth-manage-log",
  71. component: () => import("@/pages/log-manage/permiss-log-manage/auth-manage-log"),
  72. name: "auth-manage-log",
  73. meta: {
  74. title: "授权管理日志",
  75. noCache: false,
  76. permission: ["YHGLPT_RZSJGL"]
  77. }
  78. },
  79. {
  80. path: "auth-service-log",
  81. component: () => import("@/pages/log-manage/permiss-log-manage/auth-service-log"),
  82. name: "auth-service-log",
  83. meta: {
  84. title: "鉴权服务日志",
  85. noCache: false,
  86. permission: ["YHGLPT_RZSJGL"]
  87. }
  88. },
  89. {
  90. path: "auth-risk-log",
  91. component: () => import("@/pages/log-manage/permiss-log-manage/auth-risk-log"),
  92. name: "auth-risk-log",
  93. meta: {
  94. title: "鉴权风险日志",
  95. noCache: false,
  96. permission: ["YHGLPT_RZSJGL"]
  97. }
  98. }
  99. ]
  100. },
  101. {
  102. path: "/auth-behavior-statistic",
  103. component: common,
  104. name: "common",
  105. redirect: "/index",
  106. meta: { title: "鉴权行为分析", icon: "el-icon-goods", noCache: true, permission: ["YHGLPT_RZSJGL"] },
  107. children: [
  108. {
  109. path: "index",
  110. component: () => import("@/pages/log-manage/auth-behavior-statistic"),
  111. name: "auth-behavior-statistic",
  112. meta: { title: "鉴权行为分析", icon: "el-icon-goods", noCache: true, permission: ["YHGLPT_RZSJGL"] }
  113. }
  114. ]
  115. }
  116. ]
  117. };
  118. export default componentsRouter;