data.ts 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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: "/store",
  42. // Com: React.lazy(() => import("../A4store")),
  43. //
  44. // },
  45. // {
  46. // id: 700,
  47. // name: "学习资料",
  48. // path: "/store",
  49. // Com: React.lazy(() => import("../A4store")),
  50. //
  51. // },
  52. // {
  53. // id: 800,
  54. // name: "云城介绍",
  55. // path: "/store",
  56. // Com: React.lazy(() => import("../A4store")),
  57. //
  58. // },
  59. // {
  60. // id: 900,
  61. // name: "数据看板",
  62. // path: "/store",
  63. // Com: React.lazy(() => import("../A4store")),
  64. //
  65. // },
  66. ],
  67. },
  68. {
  69. id: 2,
  70. name: "系统管理",
  71. son: [
  72. {
  73. id: 2100,
  74. name: "后台账户管理",
  75. path: "/user",
  76. Com: React.lazy(() => import("../Z1user")),
  77. },
  78. {
  79. id: 2200,
  80. name: "系统日志",
  81. path: "/log",
  82. Com: React.lazy(() => import("../Z2log")),
  83. },
  84. ],
  85. },
  86. ];
  87. export default tabLeftArr;