lu
2024-12-09 0cda77328c5e7e818a2c0f7f03a2d738c338634c
DevApp/Gs.DevApp/DevFrm/Sys/SysMenu.cs
@@ -224,7 +224,7 @@
            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 +257,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 +270,7 @@
                tlMenu.ParentFieldName = "upGuid";
                tlMenu.Tag = "name";
                tlMenu.EndUpdate();
                // this.tlMenu.ExpandAll();
                this.tlMenu.CollapseAll();
                tlMenu.OptionsView.CheckBoxStyle =
                    DefaultNodeCheckBoxStyle.Default;
            }
@@ -321,8 +321,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 +376,6 @@
                        i++;
                    }
                }
            txt_icon.Properties.LargeImages = dicImg;
            txt_icon.Properties.SmallImages = dicImg;
        }