litian
2025-03-18 4a8d8a5f49321d9597251e7ba69bf39f78baa51b
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
import { createRouter, createWebHistory } from "vue-router";
import PageLayout from '../layout/pageLayout.vue'
 
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      component: PageLayout,
      redirect: "/model", 
      children: [
        {
          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",
          name: "simulation",
          component: () => import("../views/simulation/index.vue"),
          redirect: "/testSimulation",
          meta: {
            name: '测试仿真'
          },
          children: [
            {
              path: "/testSimulation",
              name: "testSimulation",
              component: () =>
                import("../views/simulation/testSimulation/index.vue"),
            },
            {
              path: "/testSimulation/detail",
              name: "testSimulation-detail",
              component: () =>
                import("../views/simulation/testSimulation/detail.vue"),
            },
            {
              path: "/testSimulation/testReport",
              name: "testReport",
              component: () =>
                import("../views/simulation/testSimulation/testReport.vue"),
            },
            {
              path: "/realTimeSimulation",
              name: "realTimeSimulation",
              meta: {
                name: '实时仿真'
              },
              component: () =>
                import("../views/simulation/realTimeSimulation/index.vue"),
            },
            {
              path: "/autonomousFunction",
              name: "autonomousFunction",
              meta: {
                name: '自主功能'
              },
              component: () =>
                import("../views/simulation/autonomousFunction/index.vue"),
            },
          ],
        },
       
        {
          path: "/systemManage",
          name: "systemManage",
          meta: {
            name: '系统管理'
          },
          component: () => import("../views/system/index.vue"),
          redirect: "/userManage",
          children: [
            {
              path: "/userManage",
              name: "userManage",
              meta: {
                name: '用户管理'
              },
              component: () =>
                import("../views/system/userManage.vue"),
            },
            {
              path: "/roleManage",
              name: "roleManage",
              meta: {
                name: '角色管理'
              },
              component: () =>
                import("../views/system/roleManage.vue"),
            },
          ]
        },
      ],
    }
  ]
});
 
export default router;