From 9c377c0a4004deea4c8dc45f5ba8a874b0d59042 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 09 三月 2026 13:44:32 +0800
Subject: [PATCH] fix: web端隐患上报已整改操作完,APP端隐患上报还可以继续整改

---
 src/pages/index.vue |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/src/pages/index.vue b/src/pages/index.vue
index daffbc4..f3d80c5 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -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",
@@ -617,8 +621,13 @@
           url: "/pages/productionManagement/processScheduling/index",
         });
         break;
+      // case "鐢熶骇鎶ュ伐":
+      //   getcode();
+      //   break;
       case "鐢熶骇鎶ュ伐":
-        getcode();
+        uni.navigateTo({
+          url: "/pages/productionManagement/workOrder/index",
+        });
         break;
       case "鐢熶骇鏍哥畻":
         uni.navigateTo({
@@ -1003,10 +1012,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 => {

--
Gitblit v1.9.3