From c61bc857b627a58cd741207cb9e93d8e446e357e Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 10 二月 2026 10:28:07 +0800
Subject: [PATCH] 人员薪资

---
 src/pages/index.vue |   92 +++++++++++++++++++++++++++++++++++++++------
 1 files changed, 79 insertions(+), 13 deletions(-)

diff --git a/src/pages/index.vue b/src/pages/index.vue
index 5a8f90c..e9bdb55 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",
@@ -310,10 +344,6 @@
     {
       icon: "/static/images/icon/caigoutaizhang@2x.png",
       label: "鍗遍櫓浣滀笟",
-    },
-    {
-      icon: "/static/images/icon/xunjianshangchuan@2x.png",
-      label: "宸℃涓婁紶",
     },
     {
       icon: "/static/images/icon/guzhangfenxi@2x.png",
@@ -374,10 +404,6 @@
       icon: "/static/images/icon/kehubaifang@2x.png",
       label: "瀹㈡埛鎷滆",
     },
-    {
-      icon: "/static/images/icon/guzhangfenxi@2x.png",
-      label: "鎵撳崱绛惧埌",
-    },
   ]);
 
   // 鐢熶骇绠℃帶鍔熻兘鏁版嵁
@@ -427,6 +453,30 @@
       icon: "/static/images/icon/shbeibaoyang@2x.png",
       label: "璁惧淇濆吇",
     },
+    {
+      icon: "/static/images/icon/xunjianshangchuan@2x.png",
+      label: "宸℃涓婁紶",
+    },
+    // {
+    //   icon: "/static/images/icon/guzhangfenxi@2x.png",
+    //   label: "鍒嗘瀽杩芥函",
+    //   bgColor: "#ff9800",
+    // },
+    // {
+    //   icon: "/static/images/icon/zhinengpaidan@2x.png",
+    //   label: "鏅鸿兘娲惧崟",
+    //   bgColor: "#ff6b35",
+    // },
+    // {
+    //   icon: "/static/images/icon/zuoyezhidao@2x.png",
+    //   label: "浣滀笟鎸囧",
+    //   bgColor: "#4caf50",
+    // },
+    // {
+    //   icon: "/static/images/icon/jieguoyanzheng@2x.png",
+    //   label: "缁撴灉楠岃瘉",
+    //   bgColor: "#9c27b0",
+    // },
   ]);
 
   // 澶勭悊甯哥敤鍔熻兘鐐瑰嚮
@@ -719,7 +769,12 @@
         break;
       case "鎵撳崱绛惧埌":
         uni.navigateTo({
-          url: "/pages/attendance/checkin",
+          url: "/pages/humanResources/attendance/checkin",
+        });
+        break;
+      case "浜哄憳钖祫":
+        uni.navigateTo({
+          url: "/pages/humanResources/monthlyStatistics/index",
         });
         break;
       default:
@@ -920,9 +975,16 @@
       left: 0;
       right: 0;
       bottom: 0;
-      background:
-        radial-gradient(circle at 20% 80%, rgba(41, 121, 255, 0.02) 0%, transparent 55%),
-        radial-gradient(circle at 80% 20%, rgba(156, 39, 176, 0.015) 0%, transparent 55%);
+      background: radial-gradient(
+          circle at 20% 80%,
+          rgba(41, 121, 255, 0.02) 0%,
+          transparent 55%
+        ),
+        radial-gradient(
+          circle at 80% 20%,
+          rgba(156, 39, 176, 0.015) 0%,
+          transparent 55%
+        );
       pointer-events: none;
       z-index: -1;
     }
@@ -1567,7 +1629,11 @@
     position: absolute;
     inset: 0;
     border-radius: inherit;
-    background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.26), transparent 55%);
+    background: radial-gradient(
+      circle at 20% 20%,
+      rgba(255, 255, 255, 0.26),
+      transparent 55%
+    );
     opacity: 0.8;
     pointer-events: none;
   }

--
Gitblit v1.9.3