From 05edfed06b8aff908c5b8b3037ea2f3a8f8ba8c6 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期五, 13 六月 2025 14:21:53 +0800 Subject: [PATCH] 批准按钮 --- DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs b/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs index 9e3a574..352f8b2 100644 --- a/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs +++ b/DevApp/Gs.DevApp/UserControl/UcDictionarySelect.cs @@ -83,8 +83,8 @@ /// </summary> private void getTree() { - string _where = " and 1=1 and "+this.strWhere; - var pgq = new PageQueryModel(1, 999999, "a.defect_name","asc","", _where); + 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