From 0182a12e08e1253e9fb2d1b4dabb353babf1feea Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期六, 25 十月 2025 09:01:49 +0800
Subject: [PATCH] 更新操作人

---
 DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs |   23 +++++++++++++++++------
 1 files changed, 17 insertions(+), 6 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
index 2de362f..1a3fad1 100644
--- a/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcToolBarMenu.cs
@@ -3,13 +3,8 @@
 using DevExpress.XtraGrid;
 using DevExpress.XtraGrid.Views.Grid;
 using DevExpress.XtraLayout;
-using DevExpress.XtraRichEdit.Model;
-using DevExpress.XtraWaitForm;
-using Gs.DevApp.DevFrm;
-using Gs.DevApp.DevFrm.QC;
 using Gs.DevApp.DevFrm.Rpt;
 using Gs.DevApp.DevFrm.Sys;
-using Gs.DevApp.DevFrm.Work;
 using Gs.DevApp.Entity;
 using Gs.DevApp.ToolBox;
 using Newtonsoft.Json;
@@ -68,6 +63,7 @@
             btnBaoGao.ItemClick += BtnBaoGao_ItemClick;
             btnPingZhi.ItemClick += BtnPingZhi_ItemClick;
             btnFPingZhi.ItemClick += BtnFPingZhi_ItemClick;
+            btnLock.ItemClick += BtnLock_ItemClick;
             var lst = new List<string>();
             foreach (BarItem item in barManager1.Items)
                 if (item is BarLargeButtonItem largeButtonItem)
@@ -76,6 +72,7 @@
             actions = lst;
         }
 
+     
 
 
         /// <summary>
@@ -202,7 +199,10 @@
                 MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�");
                 return;
             }
-            UserControl.ShowLogcs frm = new ShowLogcs(this.guidKey);
+            bool b = false;
+            if (this.Parent.Text == "鎺ㄩ�佹姤琛�")
+                b = true;
+            UserControl.ShowLogcs frm = new ShowLogcs(this.guidKey, b);
             frm.ShowDialog();
         }
 
@@ -650,6 +650,12 @@
             Gs.DevApp.UserControl.SelectFont DevFrm = new SelectFont();
             DevFrm.ShowDialog();
         }
+
+        private void BtnLock_ItemClick(object sender, ItemClickEventArgs e)
+        {
+            if (btnLockClick != null) btnLockClick(this, e);
+        }
+
         private void _enabledBtn(List<string> lstBtn)
         {
             foreach (BarItem item in barManager1.Items)
@@ -1048,6 +1054,11 @@
         /// </summary>
         public event EventHandler btnFPingZhiClick;
 
+        /// <summary>
+        /// 鐢ㄦ枡娓呭崟瑙i攣
+        /// </summary>
+        public event EventHandler btnLockClick;
+
         #endregion
 
         #region 鍏叡灞炴��

--
Gitblit v1.9.3