From 3f08b93ffba05c8a12d6a013303e372442854f5f Mon Sep 17 00:00:00 2001
From: lu <123456>
Date: 星期一, 22 九月 2025 11:24:40 +0800
Subject: [PATCH] 增加推送报表

---
 DevApp/Gs.DevApp/UserControl/ShowLogcs.cs |   25 ++++++++++++++++++++++---
 1 files changed, 22 insertions(+), 3 deletions(-)

diff --git a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
index 5eb1ec0..f22815e 100644
--- a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
+++ b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
@@ -12,15 +12,34 @@
     {
 
         public string guidKey;
-        public ShowLogcs(string _guidKey)
+        public bool isLog;
+        public ShowLogcs(string _guidKey, bool _isLog = false)
         {
             this.guidKey = _guidKey;
+            this.isLog = _isLog;
             InitializeComponent();
+            if (isLog == true)
+            {
+                gridColumn1.Visible = true;
+                gridColumn2.Visible = true;
+                gridColumn1.VisibleIndex = 99;
+                gridColumn2.VisibleIndex = 100;
+                this.gridView1.RowHeight = 150;
+                gv_msg.Visible = false;
+                gv_userName.Visible = false;
+                gridView1.OptionsView.ShowAutoFilterRow = false;
+            }
+            else
+            {
+                gv_msg.Visible = true;
+                gv_userName.Visible = true;
+                this.gridView1.RowHeight = -1;
+                gridView1.OptionsView.ShowAutoFilterRow = true;
+            }
             Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", (value) =>
             {
-
             }, null, false);
-            getPageList(1, UtilityHelper.GetPageSize());
+            getPageList(1, 999999);
         }
 
 

--
Gitblit v1.9.3