From 6227519a1bd9007aedae11b77b0b3b1851837c38 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期四, 03 七月 2025 14:41:04 +0800
Subject: [PATCH] 仿真测试页面,模型三位投影模块布局1修改

---
 src/router/index.ts |  149 +++++++++++++++++++++----------------------------
 1 files changed, 63 insertions(+), 86 deletions(-)

diff --git a/src/router/index.ts b/src/router/index.ts
index ef3039c..ed2ede4 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -1,118 +1,95 @@
 import { createRouter, createWebHistory } from "vue-router";
-import PageLayout from '../layout/pageLayout.vue'
 
 const router = createRouter({
   history: createWebHistory(),
   routes: [
     {
       path: "/",
-      component: PageLayout,
-      redirect: "/model", 
+      redirect: "/model",
+    },
+    {
+      path: "/model",
+      name: "model",
+      redirect: "/model/landerModel",
+      component: () => import("../views/model/index.vue"),
       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: "/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: "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"),
-            },
-          ],
+          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: "systemManage",
-          meta: {
-            name: '绯荤粺绠$悊'
-          },
+          name: "systemUse",
           component: () => import("../views/system/index.vue"),
-          redirect: "/userManage",
+          redirect: "/systemManage/userManage",
           children: [
             {
-              path: "/userManage",
+              path: "/systemManage/userManage",
               name: "userManage",
-              meta: {
-                name: '鐢ㄦ埛绠$悊'
-              },
               component: () =>
                 import("../views/system/userManage.vue"),
             },
             {
-              path: "/roleManage",
+              path: "/systemManage/roleManage",
               name: "roleManage",
-              meta: {
-                name: '瑙掕壊绠$悊'
-              },
               component: () =>
                 import("../views/system/roleManage.vue"),
             },
-          ]
+          ],
         },
       ],
-    }
-  ]
+    },
+
+    {
+      path: "/login",
+      name: "login",
+      component: () => import("../views/login/index.vue"),
+    },
+  ],
 });
 
 export default router;

--
Gitblit v1.9.1