From 1540871d2efbcd6c89680e9d13724b2148ffd0ad Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 28 八月 2026 16:53:10 +0800
Subject: [PATCH] feat(inspection): 添加报告类型选择功能 - 在检测视图、检测任务和检测文档组件中新增报告类型下拉选择框 - 添加检测报告和检验报告两种选项供用户选择 - 在检验报告类型时对注册检测结果进行条件性处理

---
 src/router/index.js |   61 ++++++++++++++++++++++++------
 1 files changed, 49 insertions(+), 12 deletions(-)

diff --git a/src/router/index.js b/src/router/index.js
index 682a3e4..fb1442b 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -46,18 +46,6 @@
     component: () => import("@/views/login"),
     hidden: true,
   },
-  // 绗笁鏂圭櫥褰曢〉
-  {
-    path: "/thirdpartylogin",
-    component: () => import("@/views/thirdpartylogin"),
-    hidden: true,
-  },
-  // 绗笁鏂圭櫥褰曢〉涓浆
-  {
-    path: "/logindemo",
-    component: () => import("@/views/logindemo"),
-    hidden: true,
-  },
   {
     path: "/register",
     component: () => import("@/views/register"),
@@ -174,6 +162,55 @@
         name: "AddOrder",
         meta: { title: "杩涜鎴愬搧涓嬪崟", activeMenu: "/business/productOrder",keepAlive: true },
       },
+      {
+        // 澶栬喘涓嬪崟-杩涜澶栬喘涓嬪崟
+        path: "customsInspectionOrder",
+        component: () =>
+          import("@/views/business/productOrder/components/addOrder.vue"),
+        name: "CustomsInspectionOrder",
+        meta: {
+          title: "杩涜澶栬喘鎴愬搧涓嬪崟",
+          activeMenu: "/business/outsourcingFinishProduct",
+          keepAlive: true
+        },
+      },
+    ],
+  },
+  {
+    // 澶栬喘鎴愬搧涓嬪崟
+    path: "/outsourcingFinishProduct",
+    component: Layout,
+    hidden: true,
+    permissions: ["business:outsourcingFinishProduct"],
+    children: [
+      {
+        // 鏌ョ湅鎴愬搧涓嬪崟璇︽儏
+        path: "addView",
+        component: () =>
+          import("@/views/business/productOrder/components/addView.vue"),
+        name: "AddView",
+        meta: { title: "鏌ョ湅鎴愬搧涓嬪崟璇︽儏", activeMenu: "/business/outsourcingFinishProduct",keepAlive: true },
+      },
+      {
+        // 杩涜涓嬪崟-鎴愬搧涓嬪崟
+        path: "addOrder",
+        component: () =>
+          import("@/views/business/productOrder/components/addOrder.vue"),
+        name: "AddOrder",
+        meta: { title: "杩涜鎴愬搧涓嬪崟", activeMenu: "/business/outsourcingFinishProduct",keepAlive: true },
+      },
+      {
+        // 澶栬喘涓嬪崟-杩涜澶栬喘涓嬪崟
+        path: "customsInspectionOrder",
+        component: () =>
+          import("@/views/business/materialOrder/customsInspectionOrder"),
+        name: "CustomsInspectionOrder",
+        meta: {
+          title: "杩涜澶栬喘鎴愬搧涓嬪崟",
+          activeMenu: "/business/outsourcingFinishProduct",
+          keepAlive: true
+        },
+      },
     ],
   },
   {

--
Gitblit v1.9.3