From 4a8df7e654aa502694bcff271b216c46e26c788b Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期日, 06 四月 2025 10:46:27 +0800
Subject: [PATCH] 汽泡提示
---
DevApp/Gs.DevApp/UserControl/ShowLogcs.cs | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
index 8c20122..144a47a 100644
--- a/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
+++ b/DevApp/Gs.DevApp/UserControl/ShowLogcs.cs
@@ -16,8 +16,11 @@
{
public partial class ShowLogcs : DevExpress.XtraEditors.XtraForm
{
- public ShowLogcs()
+
+ public string guidKey;
+ public ShowLogcs(string _guidKey)
{
+ this.guidKey = _guidKey;
InitializeComponent();
getPageList(1, UtilityHelper.GetPageSize());
pageBar1.PagerEvent += PageBar1_PagerEvent;
@@ -46,6 +49,7 @@
private void getPageList(int curPage, int pageSize)
{
var _sbSqlWhere = new StringBuilder();
+ _sbSqlWhere.Append(" and ABT_GUID='"+this.guidKey + "'");
var pgq = new PageQueryModel(curPage, pageSize, "OPERATION_TIME",
"desc", "", _sbSqlWhere.ToString());
var json = JsonConvert.SerializeObject(pgq);
@@ -60,12 +64,11 @@
gcMain.BindingContext = new BindingContext();
gcMain.DataSource = dt;
gcMain.ForceInitialize();
+ gridView1.BestFitColumns(); Gs.DevApp.ToolBox.UtilityHelper.SetGridLayout(gridView1);
int dddd = dd.rtnData.pages;//鎬婚〉
pageBar1.TotalPages = dddd;
pageBar1.RecordCount = dd.rtnData.total;//璁板綍鎬绘暟
pageBar1.CurrentPage = curPage;//褰撳墠椤�
- pageBar1.RowsCount = pageSize;//姣忛〉鏄剧ず
- pageBar1.setTxt();
}
else
{
--
Gitblit v1.9.3