From 9ea5ff67655241271bdf04bb50ca3a8d60c4e22a Mon Sep 17 00:00:00 2001
From: yuan <123@>
Date: 星期二, 11 八月 2026 15:07:02 +0800
Subject: [PATCH] fix: 用河南鹤壁代码覆盖山西长治

---
 src/views/personnelManagement/monthlyStatistics/index.vue |   16 +++++-----------
 1 files changed, 5 insertions(+), 11 deletions(-)

diff --git a/src/views/personnelManagement/monthlyStatistics/index.vue b/src/views/personnelManagement/monthlyStatistics/index.vue
index f581070..4ac9e97 100644
--- a/src/views/personnelManagement/monthlyStatistics/index.vue
+++ b/src/views/personnelManagement/monthlyStatistics/index.vue
@@ -107,7 +107,7 @@
   nextTick,
 } from "vue";
 import { ElMessageBox } from "element-plus";
-import useUserStore from "@/store/modules/user";
+import Cookies from "js-cookie";
 import FormDia from "./components/formDia.vue";
 import BankSettingDia from "./components/bankSettingDia.vue";
 import AuditDia from "./components/auditDia.vue";
@@ -167,12 +167,7 @@
       {
         name: "瀹℃牳",
         type: "text",
-        disabled: (row) => {
-          const currentUserId = Number(userStore.id);
-          const auditUserId = Number(row?.auditUserId);
-          // 鐘舵�佷笉鏄緟瀹℃牳 鎴� 褰撳墠鐢ㄦ埛涓嶆槸鎸囧畾鐨勫鏍镐汉锛屽垯绂佺敤瀹℃牳鎸夐挳
-          return Number(row?.status) !== 3 || !currentUserId || currentUserId !== auditUserId;
-        },
+        disabled: (row) => Number(row?.status) !== 3,
         clickFun: (row) => openAudit(row),
       },
       {
@@ -198,7 +193,6 @@
 const operationType = ref("add");
 const currentRow = ref({});
 const { proxy } = getCurrentInstance();
-const userStore = useUserStore();
 const bankSetting = ref({});
 const bankDialogVisible = ref(false);
 const bankDiaRef = ref(null);
@@ -384,8 +378,8 @@
 
 const handleExport = () => {
   proxy.download(
-    "/staffSalaryMain/export",
-    { ...searchForm.value },
+    "/compensationPerformance/export",
+    { ...searchForm.value, current: page.current, size: page.size },
     "宸ヨ祫琛�.xlsx"
   );
 };
@@ -410,4 +404,4 @@
 .table_list {
   margin-top: 20px;
 }
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.3