From ec00255aab24865cd785e181704e502354b9c8f6 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 13 三月 2026 13:52:49 +0800
Subject: [PATCH] Merge branch 'dev_KT' of http://114.132.189.42:9002/r/product-inventory-APP-before into dev_KT

---
 src/pages/index.vue |   95 +++++++++++++++++++++++++++++++----------------
 1 files changed, 62 insertions(+), 33 deletions(-)

diff --git a/src/pages/index.vue b/src/pages/index.vue
index d1f8f1a..127bcba 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -327,10 +327,10 @@
       icon: "/static/images/icon/caigoutaizhang@2x.png",
       label: "鍗遍櫓浣滀笟瀹℃壒",
     },
-    {
-      icon: "/static/images/icon/guzhangfenxi@2x.png",
-      label: "闅愭偅鎺掓煡涓婃姤",
-    },
+    // {
+    //   icon: "/static/images/icon/guzhangfenxi@2x.png",
+    //   label: "闅愭偅鎺掓煡涓婃姤",
+    // },
     {
       icon: "/static/images/icon/guzhangfenxi@2x.png",
       label: "鍗遍櫓鐗╂枡绠℃帶",
@@ -339,14 +339,14 @@
       icon: "/static/images/icon/guzhangfenxi@2x.png",
       label: "搴旀�ラ妗堟煡闃�",
     },
-    {
-      icon: "/static/images/icon/guzhangfenxi@2x.png",
-      label: "浜嬫晠涓婃姤璁板綍",
-    },
-    {
-      icon: "/static/images/icon/guzhangfenxi@2x.png",
-      label: "瀹夊叏鍩硅鑰冩牳",
-    },
+    // {
+    //   icon: "/static/images/icon/guzhangfenxi@2x.png",
+    //   label: "浜嬫晠涓婃姤璁板綍",
+    // },
+    // {
+    //   icon: "/static/images/icon/guzhangfenxi@2x.png",
+    //   label: "瀹夊叏鍩硅鑰冩牳",
+    // },
   ]);
   // 鍗忓悓鍔炲叕鍔熻兘鏁版嵁
   const collaborationItems = reactive([
@@ -354,10 +354,10 @@
       icon: "/static/images/icon/baoxiaoguanli.png",
       label: "鍗忓悓瀹℃壒",
     },
-    {
-      icon: "/static/images/icon/huiyiliebiao@2x.png",
-      label: "浼氳绠$悊",
-    },
+    // {
+    //   icon: "/static/images/icon/huiyiliebiao@2x.png",
+    //   label: "浼氳绠$悊",
+    // },
     {
       icon: "/static/images/icon/tongzhigonggao@2x.png",
       label: "閫氱煡鍏憡",
@@ -366,18 +366,18 @@
       icon: "/static/images/icon/zhishiku@2x.png",
       label: "鐭ヨ瘑搴�",
     },
-    {
-      icon: "/static/images/icon/yongyinguanli@2x.png",
-      label: "鐢ㄥ嵃绠$悊",
-    },
+    // {
+    //   icon: "/static/images/icon/yongyinguanli@2x.png",
+    //   label: "鐢ㄥ嵃绠$悊",
+    // },
     {
       icon: "/static/images/icon/guizhangzhidu@2x.png",
       label: "瑙勭珷鍒跺害",
     },
-    {
-      icon: "/static/images/icon/kehubaifang@2x.png",
-      label: "瀹㈡埛鎷滆",
-    },
+    // {
+    //   icon: "/static/images/icon/kehubaifang@2x.png",
+    //   label: "瀹㈡埛鎷滆",
+    // },
   ]);
 
   // 鐢熶骇绠℃帶鍔熻兘鏁版嵁
@@ -397,10 +397,14 @@
     //   label: "宸ュ簭鎺掍骇",
     //   bgColor: "#E91E63",
     // },
+    // {
+    //   icon: "/static/images/icon/shengchanbaogong@2x.png",
+    //   label: "鐢熶骇鎶ュ伐",
+    //   bgColor: "#673AB7",
+    // },
     {
-      icon: "/static/images/icon/shengchanbaogong@2x.png",
+      icon: "/static/images/icon/caigoutaizhang@2x.png",
       label: "鐢熶骇鎶ュ伐",
-      bgColor: "#673AB7",
     },
     // {
     //   icon: "/static/images/icon/shengchanhesuan@2x.png",
@@ -429,8 +433,12 @@
     },
     {
       icon: "/static/images/icon/xunjianshangchuan@2x.png",
-      label: "宸℃涓婁紶",
+      label: "宸℃绠$悊",
     },
+    {
+      icon: "/static/images/icon/xunjianshangchuan@2x.png",
+      label: "宸℃浠诲姟绠$悊",
+    }
   ]);
 
   // 澶勭悊甯哥敤鍔熻兘鐐瑰嚮
@@ -617,8 +625,13 @@
           url: "/pages/productionManagement/processScheduling/index",
         });
         break;
+      // case "鐢熶骇鎶ュ伐":
+      //   getcode();
+      //   break;
       case "鐢熶骇鎶ュ伐":
-        getcode();
+        uni.navigateTo({
+          url: "/pages/productionManagement/workOrder/index",
+        });
         break;
       case "鐢熶骇鏍哥畻":
         uni.navigateTo({
@@ -645,9 +658,14 @@
           url: "/pages/equipmentManagement/upkeep/index",
         });
         break;
-      case "宸℃涓婁紶":
+      case "宸℃绠$悊":
         uni.navigateTo({
           url: "/pages/inspectionUpload/index",
+        });
+        break;
+      case "宸℃浠诲姟绠$悊":
+        uni.navigateTo({
+          url: "/pages/inspectionManagement/index",
         });
         break;
       case "鍒嗘瀽杩芥函":
@@ -1003,10 +1021,14 @@
 
     // 杩囨护鐢熶骇绠℃帶鑿滃崟
     const originalProduction = [
+      // {
+      //   icon: "/static/images/icon/shengchanbaogong@2x.png",
+      //   label: "鐢熶骇鎶ュ伐",
+      //   bgColor: "#673AB7",
+      // },
       {
-        icon: "/static/images/icon/shengchanbaogong@2x.png",
+        icon: "/static/images/icon/caigoutaizhang@2x.png",
         label: "鐢熶骇鎶ュ伐",
-        bgColor: "#673AB7",
       },
     ];
     const filteredProduction = originalProduction.filter(item => {
@@ -1019,11 +1041,18 @@
       { icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "杩愯绠$悊" },
       { icon: "/static/images/icon/shbeibaoxiu@2x.png", label: "璁惧鎶ヤ慨" },
       { icon: "/static/images/icon/shbeibaoyang@2x.png", label: "璁惧淇濆吇" },
-      { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "宸℃涓婁紶" },
+      { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "宸℃绠$悊" },
+      { icon: "/static/images/icon/xunjianshangchuan@2x.png", label: "宸℃浠诲姟绠$悊" },
     ];
     const filteredEquipment = originalEquipment.filter(item => {
       return allowedMenuTitles.has(item.label);
     });
+    if (filteredEquipment.some(i => i.label === "宸℃绠$悊")) {
+      const task = originalEquipment.find(i => i.label === "宸℃浠诲姟绠$悊");
+      if (task && !filteredEquipment.some(i => i.label === "宸℃浠诲姟绠$悊")) {
+        filteredEquipment.push(task);
+      }
+    }
     equipmentItems.splice(0, equipmentItems.length, ...filteredEquipment);
   };
 
@@ -1783,4 +1812,4 @@
       box-shadow: 0 0.375rem 1.25rem rgba(0, 0, 0, 0.4);
     }
   }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3