From 475455f8f4b8cd407d0f3cc7c821aa35ddda29e6 Mon Sep 17 00:00:00 2001
From: zhuo <2089219845@qq.com>
Date: 星期四, 06 三月 2025 11:09:00 +0800
Subject: [PATCH] 清除低代码

---
 src/router/index.js |   43 +++++++++++++++++--------------------------
 1 files changed, 17 insertions(+), 26 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 298860f..a9811bb 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -101,17 +101,22 @@
     children: [
       {
         // 鍘熸潗鏂欎笅鍗�
-        path: 'customsInspection',
-        component: () => import('@/views/business/materialOrder/customsInspection'),
-        name: 'customsInspection',
-        meta: { title: '鍘熸潗鏂欎笅鍗曡鎯�', activeMenu: '/business/materialOrder' }
+        path: "customsInspection",
+        component: () =>
+          import("@/views/business/materialOrder/customsInspection"),
+        name: "CustomsInspection",
+        meta: {
+          title: "鍘熸潗鏂欎笅鍗曡鎯�",
+          activeMenu: "/business/materialOrder",
+          keepAlive: true
+        },
       },
       {
         // 閾滄潗鏂欎笅鍗�
-        path: 'copperOrder',
-        component: () => import('@/views/business/materialOrder/copperOrder'),
-        name: 'copperOrder',
-        meta: { title: '閾滄潗鏂欎笅鍗�', activeMenu: '/business/materialOrder' }
+        path: "copperOrder",
+        component: () => import("@/views/business/materialOrder/copperOrder"),
+        name: "CopperOrder",
+        meta: { title: "閾滄潗鏂欎笅鍗�", activeMenu: "/business/materialOrder",keepAlive: true },
       },
     ],
   },
@@ -120,15 +125,15 @@
     path: "/productOrder",
     component: Layout,
     hidden: true,
-    permissions: ["productOrder:order"],
+    permissions: ["business:productOrder"],
     children: [
       {
         // 鎴愬搧涓嬪崟璇︽儏
         path: "add",
         component: () =>
           import("@/views/business/productOrder/components/add.vue"),
-        name: "add",
-        meta: { title: "鎴愬搧涓嬪崟璇︽儏", activeMenu: "/business/materialOrder" },
+        name: "Add",
+        meta: { title: "鎴愬搧涓嬪崟璇︽儏", activeMenu: "/business/materialOrder",keepAlive: true },
       },
     ],
   },
@@ -144,7 +149,7 @@
         path: "inspection",
         component: () => import("@/views/business/inspectionTask/inspection"),
         name: "inspection",
-        meta: { title: "妫�楠屽崟璇︽儏", activeMenu: "/business/inspectionTask" },
+        meta: { title: "妫�楠屽崟璇︽儏", activeMenu: "/business/inspectionTask", keepAlive: false },
       },
     ],
   },
@@ -211,20 +216,6 @@
         component: () => import("@/views/monitor/job/log"),
         name: "JobLog",
         meta: { title: "璋冨害鏃ュ織", activeMenu: "/monitor/job" },
-      },
-    ],
-  },
-  {
-    path: "/tool/gen-edit",
-    component: Layout,
-    hidden: true,
-    permissions: ["tool:gen:edit"],
-    children: [
-      {
-        path: "index/:tableId(\\d+)",
-        component: () => import("@/views/tool/gen/editTable"),
-        name: "GenEdit",
-        meta: { title: "淇敼鐢熸垚閰嶇疆", activeMenu: "/tool/gen" },
       },
     ],
   },

--
Gitblit v1.9.3