From bbee79e33542ae459efbf1e39a0081bda0137648 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 09 二月 2026 15:30:25 +0800
Subject: [PATCH] 首页菜单更改

---
 src/pages/index.vue |   65 ++++++++++++++++++++++++++++++--
 1 files changed, 61 insertions(+), 4 deletions(-)

diff --git a/src/pages/index.vue b/src/pages/index.vue
index 36c285a..b45e9c6 100644
--- a/src/pages/index.vue
+++ b/src/pages/index.vue
@@ -133,6 +133,30 @@
         </up-grid>
       </view>
     </view>
+    <!-- 浜哄姏璧勬簮妯″潡 -->
+    <view class="common-module collaboration-module">
+      <view class="module-header">
+        <view class="module-title-container">
+          <text class="module-title">浜哄姏璧勬簮</text>
+        </view>
+      </view>
+      <view class="module-content">
+        <up-grid :border="false"
+                 col="4">
+          <up-grid-item v-for="(item, index) in humanResourcesItems"
+                        :key="index"
+                        @click="handleCommonItemClick(item)">
+            <view class="icon-container"
+                  :style="{ background: item.bgColor }">
+              <up-icon :name="item.icon"
+                       :size="58"
+                       color="#ffffff"></up-icon>
+            </view>
+            <text class="item-label">{{item.label}}</text>
+          </up-grid-item>
+        </up-grid>
+      </view>
+    </view>
     <!-- 鐢熶骇绠℃帶妯″潡 -->
     <!--		<view class="common-module production-module">-->
     <!--			<view class="module-header">-->
@@ -298,6 +322,16 @@
       label: "渚涘簲鍟嗗線鏉�",
     },
   ]);
+  const humanResourcesItems = reactive([
+    {
+      icon: "/static/images/icon/caigoutaizhang@2x.png",
+      label: "鎵撳崱绛惧埌",
+    },
+    {
+      icon: "/static/images/icon/caigoutaizhang@2x.png",
+      label: "浜哄憳钖祫",
+    },
+  ]);
   const safetyItems = reactive([
     {
       icon: "/static/images/icon/caigoutaizhang@2x.png",
@@ -312,10 +346,6 @@
       label: "鍗遍櫓浣滀笟",
     },
     {
-      icon: "/static/images/icon/xunjianshangchuan@2x.png",
-      label: "宸℃涓婁紶",
-    },
-    {
       icon: "/static/images/icon/guzhangfenxi@2x.png",
       label: "闅愭偅鎺掓煡",
     },
@@ -326,6 +356,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: "瀹夊叏鍩硅",
     },
   ]);
   // 鍗忓悓鍔炲叕鍔熻兘鏁版嵁
@@ -434,6 +472,10 @@
       icon: "/static/images/icon/jieguoyanzheng@2x.png",
       label: "缁撴灉楠岃瘉",
       bgColor: "#9c27b0",
+    },
+    {
+      icon: "/static/images/icon/xunjianshangchuan@2x.png",
+      label: "宸℃涓婁紶",
     },
   ]);
 
@@ -715,6 +757,21 @@
           url: "/pages/safeProduction/emergencyPlanReview/index",
         });
         break;
+      case "浜嬫晠涓婃姤":
+        uni.navigateTo({
+          url: "/pages/safeProduction/accidentReportingRecord/index",
+        });
+        break;
+      case "瀹夊叏鍩硅":
+        uni.navigateTo({
+          url: "/pages/safeProduction/safetyTrainingAssessment/index",
+        });
+        break;
+      case "鎵撳崱绛惧埌":
+        uni.navigateTo({
+          url: "/pages/attendance/checkin",
+        });
+        break;
       default:
         uni.showToast({
           title: `鐐瑰嚮浜�${item.label}`,

--
Gitblit v1.9.3