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/UcDictionarySelect.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs b/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs
index 7b4f02a..352f8b2 100644
--- a/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs
+++ b/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs
@@ -83,7 +83,7 @@
/// </summary>
private void getTree()
{
- string _where = " and 1=1 and " + this.strWhere;
+ string _where = " and 1=1 and a.type1=1 and " + this.strWhere;
var pgq = new PageQueryModel(1, 999999, "a.defect_name", "asc", "", _where);
var json = JsonConvert.SerializeObject(pgq);
try
@@ -101,6 +101,7 @@
// tlMenu.OptionsBehavior.Editable = true;
tlMenu.OptionsBehavior.AllowRecursiveNodeChecking = false;
tlMenu.BestFitColumns();
+ tlMenu.ExpandAll();
}
catch (Exception ex)
{
--
Gitblit v1.9.3