From 7ee945cea3e619d5776d7e155cb6cd7b73cc476f Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期三, 25 六月 2025 13:26:35 +0800
Subject: [PATCH] 超期

---
 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