routes-file-four.ts 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. import Layout from "@/layout";
  2. const HomeRoutes = {
  3. path: "/systemSettings",
  4. component: Layout,
  5. name: "systemSettings",
  6. redirect: "/systemSettings/securityPolicy",
  7. //using el svg icon, the elSvgIcon first when at the same time using elSvgIcon and icon
  8. meta: { title: "系统配置", elSvgIcon: "Fold" },
  9. children: [
  10. {
  11. path: "/systemSettings/securityPolicy",
  12. name: "SecurityPolicy",
  13. meta: { title: "安全策略", elSvgIcon: "Fold", icon: "table" },
  14. component: () =>
  15. import("@/views/systemSettings/securityPolicy/index.vue"),
  16. },
  17. {
  18. path: "/systemSettings/securityPolicyedit",
  19. name: "SecurityPolicyedit",
  20. hidden: true,
  21. meta: { title: "安全策略编辑", elSvgIcon: "Fold", icon: "table" },
  22. component: () =>
  23. import("@/views/systemSettings/securityPolicy/securityPolicyedit.vue"),
  24. },
  25. {
  26. path: "/systemSettings/warningSet",
  27. name: "WarningSet",
  28. meta: { title: "预警告警策略", elSvgIcon: "Fold", icon: "table" },
  29. component: () => import("@/views/systemSettings/warningSet/index.vue"),
  30. },
  31. {
  32. path: "/systemSettings/warningEdit",
  33. name: "WarningEdit",
  34. hidden: true,
  35. meta: { title: "预警告警策略编辑", elSvgIcon: "Fold", icon: "table" },
  36. component: () => import("@/views/systemSettings/warningEdit/index.vue"),
  37. },
  38. {
  39. path: "/systemSettings/log",
  40. name: "log",
  41. meta: { title: "日志管理", elSvgIcon: "Fold", icon: "table" },
  42. component: () => import("@/views/systemSettings/log/index.vue"),
  43. },
  44. {
  45. path: "/systemSettings/serviceManagement",
  46. name: "ServiceManagement",
  47. meta: { title: "服务管理", elSvgIcon: "Fold", icon: "table" },
  48. component: () =>
  49. import("@/views/systemSettings/serviceManagement/index.vue"),
  50. },
  51. {
  52. path: "/systemSettings/serviceMonitor",
  53. name: "ServiceMonitor",
  54. meta: { title: "服务监控", elSvgIcon: "Fold", icon: "table" },
  55. component: () =>
  56. import("@/views/systemSettings/serviceManagement/serviceMonitor.vue"),
  57. },
  58. {
  59. path: "/systemSettings/serviceMonitorEdit",
  60. name: "ServiceMonitorEdit",
  61. hidden: true,
  62. meta: { title: "服务监控编辑", elSvgIcon: "Fold", icon: "table" },
  63. component: () =>
  64. import(
  65. "@/views/systemSettings/serviceManagement/serviceMonitorEdit.vue"
  66. ),
  67. },
  68. {
  69. path: "/systemSettings/queryTemplate",
  70. name: "QueryTemplate",
  71. meta: { title: "查询模板", elSvgIcon: "Fold", icon: "table" },
  72. redirect: "/systemSettings/queryTemplate",
  73. component: {
  74. render: () => h(resolveComponent("router-view")),
  75. },
  76. children: [
  77. {
  78. path: "/systemSettings/queryTemplate",
  79. name: "QueryTemplate",
  80. hidden: true,
  81. component: () =>
  82. import("@/views/systemSettings/queryTemplate/index.vue"),
  83. },
  84. {
  85. path: "/systemSettings/queryTemplateAdd",
  86. name: "QueryTemplateAdd",
  87. hidden: true,
  88. meta: { title: "新增查询模板", elSvgIcon: "Fold", icon: "table" },
  89. component: () =>
  90. import("@/views/systemSettings/queryTemplate/queryTemplateAdd.vue"),
  91. },
  92. {
  93. path: "/systemSettings/queryTemplateEdit",
  94. name: "QueryTemplateEdit",
  95. hidden: true,
  96. meta: { title: "编辑查询模板", elSvgIcon: "Fold", icon: "table" },
  97. component: () =>
  98. import(
  99. "@/views/systemSettings/queryTemplate/queryTemplateEdit.vue"
  100. ),
  101. },
  102. {
  103. path: "/systemSettings/queryTemplateColumn",
  104. name: "QueryTemplateColumn",
  105. hidden: true,
  106. meta: { title: "查询模板设置", elSvgIcon: "Fold", icon: "table" },
  107. component: () =>
  108. import(
  109. "@/views/systemSettings/queryTemplate/queryTemplateColumn.vue"
  110. ),
  111. },
  112. ],
  113. },
  114. // {
  115. // path: "/systemSettings/sourceservice",
  116. // name: "Sourceservice",
  117. // meta: { title: "源数据管理", elSvgIcon: "Fold", icon: "table" },
  118. // component: () => import("@/views/systemSettings/sourceservice/index.vue"),
  119. // },
  120. {
  121. path: "/systemSettings/sourceserviceEdit",
  122. name: "SourceserviceEdit",
  123. hidden: true,
  124. meta: { title: "编辑源数据管理", elSvgIcon: "Fold", icon: "table" },
  125. component: () =>
  126. import("@/views/systemSettings/sourceserviceEdit/index.vue"),
  127. },
  128. {
  129. path: "/systemSettings/sourceTube",
  130. name: "SourceTube",
  131. meta: { title: "源数据管理", elSvgIcon: "Fold", icon: "table" },
  132. component: () => import("@/views/systemSettings/sourceTube/index.vue"),
  133. },
  134. {
  135. path: "/systemSettings/protocolManagement",
  136. name: "ProtocolManagement",
  137. meta: { title: "协议管理", elSvgIcon: "Fold", icon: "table" },
  138. component: () =>
  139. import("@/views/systemSettings/protocolManagement/index.vue"),
  140. },
  141. {
  142. path: "/systemSettings/datastructure",
  143. name: "Datastructure",
  144. meta: { title: "数据结构管理", elSvgIcon: "Fold", icon: "table" },
  145. redirect: "/systemSettings/datastructure",
  146. component: {
  147. render: () => h(resolveComponent("router-view")),
  148. },
  149. children: [
  150. {
  151. path: "/systemSettings/datastructure",
  152. hidden: true,
  153. name: "Datastructure",
  154. component: () =>
  155. import("@/views/systemSettings/datastructure/index.vue"),
  156. },
  157. {
  158. path: "/systemSettings/datastructureTerm",
  159. name: "DatastructureTerm",
  160. hidden: true,
  161. meta: { title: "数据项", elSvgIcon: "Fold", icon: "table" },
  162. component: () =>
  163. import(
  164. "@/views/systemSettings/datastructure/datastructureTerm.vue"
  165. ),
  166. },
  167. ],
  168. },
  169. {
  170. path: "/systemSettings/messageTemplate",
  171. name: "MessageTemplate",
  172. meta: { title: "消息模板", elSvgIcon: "Fold", icon: "table" },
  173. component: () =>
  174. import("@/views/systemSettings/messageTemplate/index.vue"),
  175. },
  176. ],
  177. };
  178. export default [HomeRoutes];