data.ts 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. import { RouterType } from "@/types";
  2. import React from "react";
  3. const tabLeftArr: RouterType = [
  4. {
  5. id: 1,
  6. name: "业务配置",
  7. son: [
  8. {
  9. id: 100,
  10. name: "用户管理",
  11. path: "/",
  12. Com: React.lazy(() => import("../A1wxuser")),
  13. },
  14. {
  15. id: 200,
  16. name: "积分管理",
  17. path: "/integral",
  18. Com: React.lazy(() => import("../A2integral")),
  19. },
  20. {
  21. id: 300,
  22. name: "积分记录",
  23. path: "/record",
  24. Com: React.lazy(() => import("../A3record")),
  25. },
  26. {
  27. id: 400,
  28. name: "积分商城",
  29. path: "/store",
  30. Com: React.lazy(() => import("../A4store")),
  31. },
  32. {
  33. id: 500,
  34. name: "兑换记录",
  35. path: "/cash",
  36. Com: React.lazy(() => import("../A5cash")),
  37. },
  38. {
  39. id: 600,
  40. name: "留言反馈",
  41. path: "/message",
  42. Com: React.lazy(() => import("../A6message")),
  43. },
  44. {
  45. id: 700,
  46. name: "云学习管理",
  47. path: "/school",
  48. Com: React.lazy(() => import("../A7school")),
  49. },
  50. // {
  51. // id: 800,
  52. // name: "云城介绍",
  53. // path: "/store",
  54. // Com: React.lazy(() => import("../A4store")),
  55. //
  56. // },
  57. // {
  58. // id: 900,
  59. // name: "数据看板",
  60. // path: "/store",
  61. // Com: React.lazy(() => import("../A4store")),
  62. //
  63. // },
  64. ],
  65. },
  66. {
  67. id: 2,
  68. name: "系统管理",
  69. son: [
  70. {
  71. id: 2100,
  72. name: "后台账户管理",
  73. path: "/user",
  74. Com: React.lazy(() => import("../Z1user")),
  75. },
  76. {
  77. id: 2200,
  78. name: "系统日志",
  79. path: "/log",
  80. Com: React.lazy(() => import("../Z2log")),
  81. },
  82. ],
  83. },
  84. ];
  85. export default tabLeftArr;