From a3f24c099a536012ecd3dd4a6629b7dcbff2ef82 Mon Sep 17 00:00:00 2001
From: lu <99954486@qq.com>
Date: 星期一, 20 一月 2025 11:12:04 +0800
Subject: [PATCH] 用户权限
---
DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs | 111 ++++++++++++++++++++++++-------------------------------
1 files changed, 48 insertions(+), 63 deletions(-)
diff --git a/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs b/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs
index b1fa771..237b5ac 100644
--- a/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs
+++ b/DevApp/Gs.DevApp/DevFrm/User/User.Designer.cs
@@ -48,8 +48,6 @@
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.account = new DevExpress.XtraGrid.Columns.GridColumn();
this.userName = new DevExpress.XtraGrid.Columns.GridColumn();
- this.tel = new DevExpress.XtraGrid.Columns.GridColumn();
- this.email = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCreateBy = new DevExpress.XtraGrid.Columns.GridColumn();
this.createTime = new DevExpress.XtraGrid.Columns.GridColumn();
this.lastLoginTime = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -84,6 +82,7 @@
this.lbPwd = new DevExpress.XtraEditors.LabelControl();
this.txt_userName = new DevExpress.XtraEditors.TextEdit();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
+ this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.gcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
@@ -106,26 +105,29 @@
//
this.isLocked.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
this.isLocked.AppearanceCell.Options.UseFont = true;
- this.isLocked.Caption = "鐘舵��";
+ this.isLocked.Caption = "浣跨敤鐘舵��";
this.isLocked.FieldName = "isStatus";
- this.isLocked.MinWidth = 25;
+ this.isLocked.MaxWidth = 50;
+ this.isLocked.MinWidth = 50;
this.isLocked.Name = "isLocked";
this.isLocked.OptionsColumn.AllowEdit = false;
this.isLocked.Tag = "query_IS_STATUS";
+ this.isLocked.UnboundDataType = typeof(bool);
this.isLocked.Visible = true;
- this.isLocked.VisibleIndex = 7;
- this.isLocked.Width = 94;
+ this.isLocked.VisibleIndex = 0;
+ this.isLocked.Width = 50;
//
// toolBarMenu1
//
this.toolBarMenu1.chkParameter = null;
+ this.toolBarMenu1.currentAction = null;
this.toolBarMenu1.Dock = System.Windows.Forms.DockStyle.Top;
this.toolBarMenu1.guidKey = null;
this.toolBarMenu1.isSetBtn = false;
this.toolBarMenu1.Location = new System.Drawing.Point(0, 0);
this.toolBarMenu1.Name = "toolBarMenu1";
this.toolBarMenu1.rptParameter = "rpt_User{}";
- this.toolBarMenu1.Size = new System.Drawing.Size(738, 80);
+ this.toolBarMenu1.Size = new System.Drawing.Size(1004, 80);
this.toolBarMenu1.TabIndex = 0;
this.toolBarMenu1.xlsInService = null;
this.toolBarMenu1.xlsOutParameter = null;
@@ -140,24 +142,26 @@
this.gcMain.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repositoryItemButtonEdit1,
this.repositoryItemButtonEdit2});
- this.gcMain.Size = new System.Drawing.Size(736, 531);
+ this.gcMain.Size = new System.Drawing.Size(1002, 531);
this.gcMain.TabIndex = 1;
this.gcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView1});
//
// gridView1
//
+ this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true;
+ this.gridView1.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Tahoma", 10F);
this.gridView1.Appearance.Row.Options.UseFont = true;
+ this.gridView1.ColumnPanelRowHeight = 50;
this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
+ this.isLocked,
+ this.gridColumn2,
this.account,
this.userName,
- this.tel,
- this.email,
this.colCreateBy,
this.createTime,
this.lastLoginTime,
- this.isLocked,
this.loginCounter,
this.colRole,
this.gridColumn1});
@@ -181,12 +185,12 @@
this.account.AppearanceCell.Options.UseFont = true;
this.account.Caption = "鐧诲綍璐﹀彿";
this.account.FieldName = "account";
- this.account.MinWidth = 25;
+ this.account.MinWidth = 50;
this.account.Name = "account";
this.account.OptionsColumn.AllowEdit = false;
this.account.Tag = "query_ACCOUNT";
this.account.Visible = true;
- this.account.VisibleIndex = 0;
+ this.account.VisibleIndex = 2;
this.account.Width = 94;
//
// userName
@@ -195,47 +199,19 @@
this.userName.AppearanceCell.Options.UseFont = true;
this.userName.Caption = "鐢ㄦ埛鍚�";
this.userName.FieldName = "userName";
- this.userName.MinWidth = 25;
+ this.userName.MinWidth = 50;
this.userName.Name = "userName";
this.userName.OptionsColumn.AllowEdit = false;
this.userName.Tag = "query_USER_NAME";
this.userName.Visible = true;
- this.userName.VisibleIndex = 1;
+ this.userName.VisibleIndex = 3;
this.userName.Width = 94;
- //
- // tel
- //
- this.tel.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
- this.tel.AppearanceCell.Options.UseFont = true;
- this.tel.Caption = "鑱旂郴鐢佃瘽";
- this.tel.FieldName = "tel";
- this.tel.MinWidth = 25;
- this.tel.Name = "tel";
- this.tel.OptionsColumn.AllowEdit = false;
- this.tel.Tag = "query_tel";
- this.tel.Visible = true;
- this.tel.VisibleIndex = 2;
- this.tel.Width = 94;
- //
- // email
- //
- this.email.AppearanceCell.Font = new System.Drawing.Font("Tahoma", 10F);
- this.email.AppearanceCell.Options.UseFont = true;
- this.email.Caption = "閭";
- this.email.FieldName = "email";
- this.email.MinWidth = 25;
- this.email.Name = "email";
- this.email.OptionsColumn.AllowEdit = false;
- this.email.Tag = "query_email";
- this.email.Visible = true;
- this.email.VisibleIndex = 3;
- this.email.Width = 94;
//
// colCreateBy
//
this.colCreateBy.Caption = "寤虹珛鑰�";
this.colCreateBy.FieldName = "createBy";
- this.colCreateBy.MinWidth = 25;
+ this.colCreateBy.MinWidth = 50;
this.colCreateBy.Name = "colCreateBy";
this.colCreateBy.OptionsColumn.AllowEdit = false;
this.colCreateBy.Tag = "query_CREATE_BY";
@@ -249,13 +225,13 @@
this.createTime.AppearanceCell.Options.UseFont = true;
this.createTime.Caption = "寤虹珛鏃堕棿";
this.createTime.FieldName = "createTime";
- this.createTime.MinWidth = 25;
+ this.createTime.MinWidth = 50;
this.createTime.Name = "createTime";
this.createTime.OptionsColumn.AllowEdit = false;
this.createTime.Tag = "query_CREATE_TIME";
this.createTime.Visible = true;
this.createTime.VisibleIndex = 5;
- this.createTime.Width = 94;
+ this.createTime.Width = 180;
//
// lastLoginTime
//
@@ -263,13 +239,13 @@
this.lastLoginTime.AppearanceCell.Options.UseFont = true;
this.lastLoginTime.Caption = "鏈�杩戠櫥褰曟椂闂�";
this.lastLoginTime.FieldName = "lastloginTime";
- this.lastLoginTime.MinWidth = 25;
+ this.lastLoginTime.MinWidth = 50;
this.lastLoginTime.Name = "lastLoginTime";
this.lastLoginTime.OptionsColumn.AllowEdit = false;
this.lastLoginTime.Tag = "query_LASTLOGIN_TIME";
this.lastLoginTime.Visible = true;
this.lastLoginTime.VisibleIndex = 6;
- this.lastLoginTime.Width = 94;
+ this.lastLoginTime.Width = 180;
//
// loginCounter
//
@@ -282,7 +258,7 @@
this.loginCounter.OptionsColumn.AllowEdit = false;
this.loginCounter.Tag = "query_LOGIN_COUNTER";
this.loginCounter.Visible = true;
- this.loginCounter.VisibleIndex = 8;
+ this.loginCounter.VisibleIndex = 7;
this.loginCounter.Width = 94;
//
// colRole
@@ -296,7 +272,7 @@
this.colRole.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
this.colRole.Tag = "";
this.colRole.Visible = true;
- this.colRole.VisibleIndex = 9;
+ this.colRole.VisibleIndex = 8;
this.colRole.Width = 94;
//
// repositoryItemButtonEdit1
@@ -322,7 +298,7 @@
this.gridColumn1.OptionsFilter.AllowFilter = false;
this.gridColumn1.ShowButtonMode = DevExpress.XtraGrid.Views.Base.ShowButtonModeEnum.ShowAlways;
this.gridColumn1.Visible = true;
- this.gridColumn1.VisibleIndex = 10;
+ this.gridColumn1.VisibleIndex = 9;
this.gridColumn1.Width = 94;
//
// repositoryItemButtonEdit2
@@ -342,7 +318,7 @@
this.xtraTabControl1.Location = new System.Drawing.Point(0, 80);
this.xtraTabControl1.Name = "xtraTabControl1";
this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1;
- this.xtraTabControl1.Size = new System.Drawing.Size(738, 602);
+ this.xtraTabControl1.Size = new System.Drawing.Size(1004, 602);
this.xtraTabControl1.TabIndex = 3;
this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.xtraTabPage1,
@@ -353,8 +329,8 @@
this.xtraTabPage1.Controls.Add(this.gcMain);
this.xtraTabPage1.Controls.Add(this.pageBar1);
this.xtraTabPage1.Name = "xtraTabPage1";
- this.xtraTabPage1.Size = new System.Drawing.Size(736, 570);
- this.xtraTabPage1.Text = "鏁版嵁鏌ヨ";
+ this.xtraTabPage1.Size = new System.Drawing.Size(1002, 570);
+ this.xtraTabPage1.Text = "鏁版嵁鍒楄〃";
//
// pageBar1
//
@@ -364,7 +340,7 @@
this.pageBar1.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5);
this.pageBar1.Name = "pageBar1";
this.pageBar1.RecordCount = 0;
- this.pageBar1.Size = new System.Drawing.Size(736, 39);
+ this.pageBar1.Size = new System.Drawing.Size(1002, 39);
this.pageBar1.TabIndex = 3;
this.pageBar1.TotalPages = 0;
//
@@ -372,9 +348,8 @@
//
this.xtraTabPage2.Controls.Add(this.panel1);
this.xtraTabPage2.Name = "xtraTabPage2";
- this.xtraTabPage2.PageEnabled = false;
this.xtraTabPage2.Size = new System.Drawing.Size(736, 570);
- this.xtraTabPage2.Text = "鏁版嵁缂栬緫";
+ this.xtraTabPage2.Text = "鏁版嵁璇︾粏";
//
// panel1
//
@@ -626,15 +601,26 @@
this.labelControl2.TabIndex = 94;
this.labelControl2.Text = "濮撳悕锛�";
//
+ // gridColumn2
+ //
+ this.gridColumn2.Caption = "鍦ㄧ嚎鐘舵��";
+ this.gridColumn2.FieldName = "flagOnline";
+ this.gridColumn2.MaxWidth = 50;
+ this.gridColumn2.MinWidth = 50;
+ this.gridColumn2.Name = "gridColumn2";
+ this.gridColumn2.Visible = true;
+ this.gridColumn2.VisibleIndex = 1;
+ this.gridColumn2.Width = 50;
+ //
// User
//
this.AutoScaleDimensions = new System.Drawing.SizeF(8F, 18F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
- this.ClientSize = new System.Drawing.Size(738, 682);
+ this.ClientSize = new System.Drawing.Size(1004, 682);
this.Controls.Add(this.xtraTabControl1);
this.Controls.Add(this.toolBarMenu1);
this.Name = "User";
- this.Text = "User";
+ this.Text = "鐢ㄦ埛绠$悊";
((System.ComponentModel.ISupportInitialize)(this.gcMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
@@ -662,8 +648,6 @@
private DevExpress.XtraGrid.GridControl gcMain;
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
private DevExpress.XtraGrid.Columns.GridColumn userName;
- private DevExpress.XtraGrid.Columns.GridColumn tel;
- private DevExpress.XtraGrid.Columns.GridColumn email;
private DevExpress.XtraGrid.Columns.GridColumn createTime;
private DevExpress.XtraGrid.Columns.GridColumn lastLoginTime;
private DevExpress.XtraGrid.Columns.GridColumn isLocked;
@@ -687,7 +671,6 @@
private DevExpress.XtraEditors.LabelControl tipPwd;
private DevExpress.XtraEditors.LabelControl labelControl9;
private DevExpress.XtraEditors.LabelControl labelControl6;
- private DevExpress.XtraEditors.LabelControl labelControl5;
private DevExpress.XtraEditors.TextEdit txt_password;
private DevExpress.XtraEditors.LabelControl lbPwd;
private DevExpress.XtraEditors.TextEdit txt_userName;
@@ -698,7 +681,9 @@
private DevExpress.XtraGrid.Columns.GridColumn account;
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
private DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit repositoryItemButtonEdit2;
- private System.Windows.Forms.CheckBox txt_isStatus;
private DevExpress.XtraGrid.Columns.GridColumn colCreateBy;
+ private System.Windows.Forms.CheckBox txt_isStatus;
+ private DevExpress.XtraEditors.LabelControl labelControl5;
+ private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
}
}
\ No newline at end of file
--
Gitblit v1.9.3