1
杨磊
2 天以前 2c39f839ba8f9df4fa70f7423b3c2e027cdeb32a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
import { createRouter, createWebHistory } from "vue-router";
 
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      redirect: "/model",
    },
    {
      path: "/model",
      name: "model",
      redirect: "/model/landerModel",
      component: () => import("../views/model/index.vue"),
      children: [
        {
          path: "/model/landerModel",
          name: "landerModel",
          component: () => import("@/views/model/children/landerModel.vue"),
        },
        {
          path: "/model/roverModel",
          name: "roverModel",
          component: () => import("../views/model/children/roverModel.vue"),
        },
 
        {
          path: "/model/leapMachineModel",
          name: "leapMachineModel",
          component: () =>
            import("../views/model/children/leapMachineModel.vue"),
        },
        {
          path: "/simulation-config",
          name: "simulationConfig",
          component: () =>
            import("../views/simulation/autonomousFunction/index.vue"),
        },
        {
          path: "/simulation-result",
          name: "simulationResult",
          component: () =>
            import("../views/simulation/realTimeSimulation/index.vue"),
        },
        {
          path: "/simulation",
          name: "simulationTest",
          component: () =>
            import("../views/simulation/testSimulation/index.vue"),
        },
        {
          path: "/simulation-detail",
          name: "simulation-detail",
          component: () =>
            import("../views/simulation/testSimulation/detail.vue"),
        },
        {
          path: "/simulation-testReport",
          name: "simulation-testReport",
          component: () =>
            import("../views/simulation/testSimulation/testReport.vue"),
        },
        {
          
          path: "/systemManage",
          name: "systemUse",
          component: () => import("../views/system/index.vue"),
          redirect: "/systemManage/userManage",
          children: [
            {
              path: "/systemManage/userManage",
              name: "userManage",
              component: () =>
                import("../views/system/userManage.vue"),
            },
            {
              path: "/systemManage/roleManage",
              name: "roleManage",
              component: () =>
                import("../views/system/roleManage.vue"),
            },
          ],
        },
      ],
    },
 
    {
      path: "/login",
      name: "login",
      component: () => import("../views/login/index.vue"),
    },
  ],
});
 
export default router;