lg
2024-09-13 c685ae1bcb234616e8930621a4b087f4e8fd98bb
DevApp/Gs.DevApp/DevFrm/User/Role.cs
@@ -177,10 +177,10 @@
                txt_rolRemark.Focus();
                return;
            }
            if (txt_status.SelectedIndex <= 0)
            if (txt_isStatus.SelectedIndex <= 0)
            {
                Gs.DevApp.ToolBox.MsgHelper.Warning("角色状态不能为空!");
                txt_status.Focus();
                txt_isStatus.Focus();
                return;
            }
            var _obj = new
@@ -188,7 +188,7 @@
                guid = lbGuid.Text.Trim(),
                roleName = txt_roleName.Text.Trim(),
                rolRemark = txt_rolRemark.Text.Trim(),
                status = txt_status.SelectedIndex,//状态
                isStatus = txt_isStatus.SelectedIndex,//状态
            };
            try
            {
@@ -249,7 +249,7 @@
        /// <param name="pageSize">每页几条</param>
        private void getPageList(int curPage, int pageSize)
        {
            PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "createDate", "asc", "", "");
            PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "edtTime", "desc", "", "");
            string json = JsonConvert.SerializeObject(pgq);
            try
            {