From d35bb711f8d3d267b44b4a80c20e31dabf309ae7 Mon Sep 17 00:00:00 2001 From: lu <99954486@qq.com> Date: 星期二, 14 一月 2025 08:17:18 +0800 Subject: [PATCH] 其它入库 --- DevApp/Gs.DevApp/DevFrm/Sys/SysMenu.cs | 14 +++++--------- 1 files changed, 5 insertions(+), 9 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/Sys/SysMenu.cs b/DevApp/Gs.DevApp/DevFrm/Sys/SysMenu.cs index 84eec46..ce873c3 100644 --- a/DevApp/Gs.DevApp/DevFrm/Sys/SysMenu.cs +++ b/DevApp/Gs.DevApp/DevFrm/Sys/SysMenu.cs @@ -113,7 +113,6 @@ MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } - if (!MsgHelper.AskQuestion("浣犻�夋嫨浜嗐��" + rowName + "銆戯紝纭畾鍒犻櫎鍚楋紵")) return; var lst = new List<string>(); lst.Add(rowGuid); @@ -221,10 +220,9 @@ txt_upGuid.Focus(); return; } - var _obj = new { - guid = lbGuid.Text.Trim(), //涓诲缓 + guid = UtilityHelper.ToGuid(lbGuid.Text.Trim()), //涓诲缓 upGuid = _upGuid, //涓婄骇鐨勪富寤� name = txt_name.Text.Trim(), //鍚嶇О icon = txt_icon.Text, //鑿滃崟鍥炬爣 @@ -257,7 +255,7 @@ /// </summary> private void getTree() { - var pgq = new PageQueryModel(1, 999999, "idx"); + var pgq = new PageQueryModel(1, 999999, "a.idx"); var json = JsonConvert.SerializeObject(pgq); try { @@ -270,7 +268,7 @@ tlMenu.ParentFieldName = "upGuid"; tlMenu.Tag = "name"; tlMenu.EndUpdate(); - // this.tlMenu.ExpandAll(); + this.tlMenu.CollapseAll(); tlMenu.OptionsView.CheckBoxStyle = DefaultNodeCheckBoxStyle.Default; } @@ -287,7 +285,6 @@ MsgHelper.Warning("璇峰厛閫夋嫨浣犺鎿嶄綔鐨勮锛�"); return; } - UtilityHelper.JumpToTab(xtraTabControl1, tabIdx); var _obj = new { @@ -321,8 +318,8 @@ /// </summary> private void getDownList() { - var pgq = new PageQueryModel(1, 999999, "idx", "asc", "", - " and category=1"); + var pgq = new PageQueryModel(1, 999999, "a.idx", "asc", "", + " and a.category=1"); var json = JsonConvert.SerializeObject(pgq); try { @@ -376,7 +373,6 @@ i++; } } - txt_icon.Properties.LargeImages = dicImg; txt_icon.Properties.SmallImages = dicImg; } -- Gitblit v1.9.3