mainRoutes.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /*
  2. * @Author: your name
  3. * @Date: 2021-01-13 17:39:02
  4. * @LastEditTime: 2021-01-18 15:48:29
  5. * @LastEditors: Please set LastEditors
  6. * @Description: In User Settings Edit
  7. * @FilePath: \vue3-element-admin\src\router\mainRoutes.js
  8. */
  9. export default [
  10. {
  11. path: "/warningHome",
  12. name: "warningHome",
  13. component: () => import("@/views/warningHome/index.vue"),
  14. // component: () => import("@/views/authentic/index.vue"),
  15. },
  16. {
  17. path: "/home",
  18. name: "Home",
  19. component: () => import("@/views/home/index.vue"),
  20. // component: () => import("@/views/authentic/index.vue"),
  21. },
  22. {
  23. path: "/garden-file",
  24. name: "GardenFile",
  25. component: () => import("@/views/file/index.vue"),
  26. },
  27. //地块确权页面
  28. {
  29. path: "/authentic",
  30. name: "Authentic",
  31. component: () => import("@/views/authentic/index.vue"),
  32. },
  33. //新增农事
  34. {
  35. path: "/add_farm",
  36. name: "AddFarm",
  37. component: () => import("@/views/addFarm/index.vue"),
  38. },
  39. // 农事 待执行页面
  40. {
  41. path: "/work_detail",
  42. name: "WorkDetail",
  43. component: () => import("@/views/workDetail/index.vue"),
  44. },
  45. // 农事 已完成页面
  46. {
  47. path: "/work_completed",
  48. name: "WorkCompleted",
  49. component: () => import("@/views/workDetail/completed.vue"),
  50. },
  51. // 品种确权页面
  52. {
  53. path: "/variety_map",
  54. name: "VarietyMap",
  55. component: () => import("@/views/varietyMap/index.vue"),
  56. },
  57. ];