| | |
| | | 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 |
| | |
| | | guid = lbGuid.Text.Trim(), |
| | | roleName = txt_roleName.Text.Trim(), |
| | | rolRemark = txt_rolRemark.Text.Trim(), |
| | | status = txt_status.SelectedIndex,//状态 |
| | | isStatus = txt_isStatus.SelectedIndex,//状态 |
| | | }; |
| | | try |
| | | { |
| | |
| | | /// <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 |
| | | { |