| | |
| | | |
| | | private void ToolBarMenu1_btnReportClick(object sender, EventArgs e) |
| | | { |
| | | Rpt.RptUser frm = new Rpt.RptUser(); |
| | | Rpt.RptPreview frm = new Rpt.RptPreview("001"); |
| | | frm.Show(); |
| | | } |
| | | |
| | |
| | | txt_userName.Focus(); |
| | | return; |
| | | } |
| | | if (txt_isLocked.SelectedIndex <= 0) |
| | | if (txt_isStatus.SelectedIndex <= 0) |
| | | { |
| | | Gs.DevApp.ToolBox.MsgHelper.Warning("状态不能为空!"); |
| | | txt_isLocked.Focus(); |
| | | txt_isStatus.Focus(); |
| | | return; |
| | | } |
| | | var _obj = new |
| | |
| | | address = txt_address.Text.Trim(), |
| | | tel = txt_tel.Text.Trim(), |
| | | email = txt_email.Text.Trim(), |
| | | isLocked = txt_isLocked.SelectedIndex, |
| | | isStatus = txt_isStatus.SelectedIndex, |
| | | flagAdmin = 0, |
| | | flagOnline = 0, |
| | | loginCounter = 0, |
| | |
| | | /// <param name="pageSize">每页几条</param> |
| | | private void getPageList(int curPage, int pageSize) |
| | | { |
| | | PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "createTime", "asc", "", ""); |
| | | PageQueryModel pgq = new PageQueryModel(curPage, pageSize, "edtTime", "asc", "", ""); |
| | | string json = JsonConvert.SerializeObject(pgq); |
| | | try |
| | | { |