From eef75ceaa14dd7a27394e0823ff8d708794fa22e Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期一, 02 二月 2026 10:40:15 +0800
Subject: [PATCH] 整改限制

---
 src/views/safeProduction/dangerInvestigation/index.vue |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/views/safeProduction/dangerInvestigation/index.vue b/src/views/safeProduction/dangerInvestigation/index.vue
index fb148e6..7ff2a64 100644
--- a/src/views/safeProduction/dangerInvestigation/index.vue
+++ b/src/views/safeProduction/dangerInvestigation/index.vue
@@ -125,6 +125,7 @@
             <el-button link
                        type="primary"
                        size="small"
+                       :disabled="!isPeople(scope.row.rectifyUserId)"
                        @click="openForm('edit2', scope.row)">鏁存敼</el-button>
             <el-button link
                        type="primary"
@@ -892,6 +893,9 @@
         proxy.$modal.msg("宸插彇娑�");
       });
   };
+  const isPeople = row => {
+    return row.rectifyUserId === Number(currentUserId.value);
+  };
 
   /**
    * 鍒ゆ柇鏄惁鍙互鍙戣揣

--
Gitblit v1.9.3