From c685ae1bcb234616e8930621a4b087f4e8fd98bb Mon Sep 17 00:00:00 2001 From: lg <999544862qq.com> Date: 星期五, 13 九月 2024 12:00:43 +0800 Subject: [PATCH] 基础资料 --- DevApp/Gs.DevApp/DevFrm/User/Role.cs | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DevApp/Gs.DevApp/DevFrm/User/Role.cs b/DevApp/Gs.DevApp/DevFrm/User/Role.cs index 6c143a2..81ffd27 100644 --- a/DevApp/Gs.DevApp/DevFrm/User/Role.cs +++ b/DevApp/Gs.DevApp/DevFrm/User/Role.cs @@ -1,7 +1,7 @@ 锘縰sing DevExpress.XtraGrid.Views.Base; using DevExpress.XtraGrid.Views.Grid; using DevExpress.XtraGrid.Views.Grid.ViewInfo; -using Gs.DevApp.Models; +using Gs.DevApp.Entity; using Gs.DevApp.ToolBox; using Newtonsoft.Json; using System; @@ -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) { - Models.PageQueryModel pgq = new Models.PageQueryModel(curPage, pageSize, "createDate", "asc", "", ""); + PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "edtTime", "desc", "", ""); string json = JsonConvert.SerializeObject(pgq); try { -- Gitblit v1.9.3