From f489e359066e1036f13491ef128a355bc730afcb Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期二, 24 六月 2025 13:36:18 +0800
Subject: [PATCH] bug
---
DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs | 42 ++++++++++++++++++------------------------
1 files changed, 18 insertions(+), 24 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs
index b426905..5feff55 100644
--- a/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs
+++ b/DevApp/Gs.DevApp/UserControl/SelectDeleteBar.cs
@@ -31,6 +31,23 @@
this.colChkInt.OptionsFilter.AllowInHeaderSearch = DevExpress.Utils.DefaultBoolean.False;
this.aboutGuid = _aboutGuid;
this.aboutType = _aboutType;
+ this.Text = "鎵归噺鎿嶄綔銆�" + this.aboutType + "銆�,銆�" + this.aboutGuid + "銆�";
+ switch (aboutType)
+ {
+ case "鍚庣洊鐮�":
+ btnDelete.Visible = true;
+ colT1.Caption = "缁戝畾鎵樻澘鐮�";
+ colT2.Caption = "缁戝畾杩芥函鐮�";
+ break;
+ case "杩芥函鐮�":
+ colT1.Caption = "绾夸綋缂栧彿";
+ colT2.Caption = "绾夸綋鍚嶇О";
+ break;
+ default:
+ colT1.Caption = "鍏ュ簱浜�";
+ colT2.Caption = "鍏ュ簱鏃ユ湡";
+ break;
+ }
Gs.DevApp.ToolBox.UtilityHelper.SetGridViewParameter(gridView1, null, null, null, "", null, null, false);
getPageList(1);
btnDelete.Click += (s, e) =>
@@ -112,7 +129,7 @@
MsgHelper.Warning("璇峰嬀閫変綘瑕佹墦鍗扮殑鏉$爜锛�");
return;
}
-
+
UpdateParent?.Invoke(this, new UpdateParentEventArgs { StringSingle = sb.ToString() }); Close();
};
}
@@ -156,28 +173,5 @@
}
- private bool _ckRptService(string _guidKey, string _rptParameter)
- {
- try
- {
- var _obj = new
- {
- guid = _guidKey,
- _rptParameter,
- isDesign = 1
- };
- var strJson = UtilityHelper.HttpPost("", "Report/GetRptData",
- JsonConvert.SerializeObject(_obj));
- var _rtn = UtilityHelper.ReturnToDynamic(strJson);
- if (_rtn.rtnCode > 0) return true;
- return false;
- }
- catch (Exception ex)
- {
- MsgHelper.Warning("鎻愮ず锛�" + ex.Message);
- return true;
- }
- return false;
- }
}
}
\ No newline at end of file
--
Gitblit v1.9.3