二级超管账户相关功能

This commit is contained in:
wule committed 2025-07-21 19:07:43 +08:00
1 parent deb84144cf
commit 0740da277c
35 files changed
+2130 -295

No files matched your search

+80 -17
View File
@@ -33,6 +33,9 @@ namespace TemuKJD.KJDForms.AdminForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer5 = new System.Windows.Forms.SplitContainer();
this.cmbSaLevel = new System.Windows.Forms.ComboBox();
this.label6 = new System.Windows.Forms.Label();
this.lblWatermark = new System.Windows.Forms.Label();
this.cmbSearchGroup = new System.Windows.Forms.ComboBox();
this.label5 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
@@ -69,6 +72,8 @@ namespace TemuKJD.KJDForms.AdminForms
this.groupNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colCompany = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.shopCountColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSaLevel = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSaLevelName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.editColumn = new System.Windows.Forms.DataGridViewLinkColumn();
this.deleteColumn = new System.Windows.Forms.DataGridViewLinkColumn();
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
@@ -91,6 +96,9 @@ namespace TemuKJD.KJDForms.AdminForms
//
// splitContainer5.Panel1
//
this.splitContainer5.Panel1.Controls.Add(this.cmbSaLevel);
this.splitContainer5.Panel1.Controls.Add(this.label6);
this.splitContainer5.Panel1.Controls.Add(this.lblWatermark);
this.splitContainer5.Panel1.Controls.Add(this.cmbSearchGroup);
this.splitContainer5.Panel1.Controls.Add(this.label5);
this.splitContainer5.Panel1.Controls.Add(this.label4);
@@ -123,11 +131,46 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.splitContainer5.Panel2.Controls.Add(this.splitContainer1);
this.splitContainer5.Panel2.Padding = new System.Windows.Forms.Padding(0, 5, 5, 5);
this.splitContainer5.Size = new System.Drawing.Size(800, 509);
this.splitContainer5.Size = new System.Drawing.Size(800, 542);
this.splitContainer5.SplitterDistance = 357;
this.splitContainer5.SplitterWidth = 1;
this.splitContainer5.TabIndex = 3;
//
// cmbSaLevel
//
this.cmbSaLevel.FormattingEnabled = true;
this.cmbSaLevel.Items.AddRange(new object[] {
"普通用户",
"一级超管",
"二级超管"});
this.cmbSaLevel.Location = new System.Drawing.Point(112, 388);
this.cmbSaLevel.Name = "cmbSaLevel";
this.cmbSaLevel.Size = new System.Drawing.Size(148, 25);
this.cmbSaLevel.TabIndex = 48;
this.cmbSaLevel.Text = "普通用户";
//
// label6
//
this.label6.AutoSize = true;
this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label6.Location = new System.Drawing.Point(27, 390);
this.label6.Name = "label6";
this.label6.Size = new System.Drawing.Size(79, 20);
this.label6.TabIndex = 47;
this.label6.Text = "超管等级:";
//
// lblWatermark
//
this.lblWatermark.AutoSize = true;
this.lblWatermark.BackColor = System.Drawing.Color.White;
this.lblWatermark.ForeColor = System.Drawing.SystemColors.ButtonShadow;
this.lblWatermark.Location = new System.Drawing.Point(113, 9);
this.lblWatermark.Name = "lblWatermark";
this.lblWatermark.Size = new System.Drawing.Size(140, 17);
this.lblWatermark.TabIndex = 45;
this.lblWatermark.Text = "查询用户名、昵称或公司";
this.lblWatermark.Click += new System.EventHandler(this.lblWatermark_Click);
//
// cmbSearchGroup
//
this.cmbSearchGroup.FormattingEnabled = true;
@@ -174,7 +217,7 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.label3.AutoSize = true;
this.label3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.label3.Location = new System.Drawing.Point(55, 345);
this.label3.Location = new System.Drawing.Point(55, 348);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(51, 20);
this.label3.TabIndex = 40;
@@ -182,7 +225,7 @@ namespace TemuKJD.KJDForms.AdminForms
//
// txtCompany
//
this.txtCompany.Location = new System.Drawing.Point(112, 345);
this.txtCompany.Location = new System.Drawing.Point(112, 347);
this.txtCompany.Name = "txtCompany";
this.txtCompany.Size = new System.Drawing.Size(148, 23);
this.txtCompany.TabIndex = 39;
@@ -202,7 +245,7 @@ namespace TemuKJD.KJDForms.AdminForms
//
this.label1.AutoSize = true;
this.label1.ForeColor = System.Drawing.SystemColors.ButtonShadow;
this.label1.Location = new System.Drawing.Point(56, 446);
this.label1.Location = new System.Drawing.Point(56, 475);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(212, 17);
this.label1.TabIndex = 37;
@@ -231,7 +274,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnCancel.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnCancel.ForeColor = System.Drawing.Color.White;
this.btnCancel.Location = new System.Drawing.Point(59, 396);
this.btnCancel.Location = new System.Drawing.Point(59, 431);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(86, 25);
this.btnCancel.TabIndex = 35;
@@ -247,7 +290,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.btnOpUser.Cursor = System.Windows.Forms.Cursors.Hand;
this.btnOpUser.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
this.btnOpUser.ForeColor = System.Drawing.Color.White;
this.btnOpUser.Location = new System.Drawing.Point(174, 396);
this.btnOpUser.Location = new System.Drawing.Point(174, 431);
this.btnOpUser.Name = "btnOpUser";
this.btnOpUser.Size = new System.Drawing.Size(86, 25);
this.btnOpUser.TabIndex = 34;
@@ -342,7 +385,7 @@ namespace TemuKJD.KJDForms.AdminForms
"上货",
"数据",
"登录"});
this.cmbGroup.Location = new System.Drawing.Point(112, 302);
this.cmbGroup.Location = new System.Drawing.Point(112, 303);
this.cmbGroup.Name = "cmbGroup";
this.cmbGroup.Size = new System.Drawing.Size(148, 25);
this.cmbGroup.TabIndex = 26;
@@ -421,8 +464,8 @@ namespace TemuKJD.KJDForms.AdminForms
// splitContainer1.Panel1
//
this.splitContainer1.Panel1.Controls.Add(this.dgvUser);
this.splitContainer1.Size = new System.Drawing.Size(437, 499);
this.splitContainer1.SplitterDistance = 468;
this.splitContainer1.Size = new System.Drawing.Size(437, 532);
this.splitContainer1.SplitterDistance = 501;
this.splitContainer1.TabIndex = 2;
//
// dgvUser
@@ -451,6 +494,8 @@ namespace TemuKJD.KJDForms.AdminForms
this.groupNameColumn,
this.colCompany,
this.shopCountColumn,
this.colSaLevel,
this.colSaLevelName,
this.editColumn,
this.deleteColumn});
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
@@ -467,7 +512,7 @@ namespace TemuKJD.KJDForms.AdminForms
this.dgvUser.Name = "dgvUser";
this.dgvUser.ReadOnly = true;
this.dgvUser.RowTemplate.Height = 23;
this.dgvUser.Size = new System.Drawing.Size(437, 468);
this.dgvUser.Size = new System.Drawing.Size(437, 501);
this.dgvUser.TabIndex = 1;
this.dgvUser.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvUser_CellContentClick);
//
@@ -516,6 +561,19 @@ namespace TemuKJD.KJDForms.AdminForms
this.shopCountColumn.ReadOnly = true;
this.shopCountColumn.Visible = false;
//
// colSaLevel
//
this.colSaLevel.HeaderText = "saLevel";
this.colSaLevel.Name = "colSaLevel";
this.colSaLevel.ReadOnly = true;
this.colSaLevel.Visible = false;
//
// colSaLevelName
//
this.colSaLevelName.HeaderText = "账户类型";
this.colSaLevelName.Name = "colSaLevelName";
this.colSaLevelName.ReadOnly = true;
//
// editColumn
//
this.editColumn.HeaderText = "编辑";
@@ -530,13 +588,13 @@ namespace TemuKJD.KJDForms.AdminForms
this.deleteColumn.Name = "deleteColumn";
this.deleteColumn.ReadOnly = true;
//
// MainAccountForm
// AdminAccountForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
this.ClientSize = new System.Drawing.Size(800, 509);
this.ClientSize = new System.Drawing.Size(800, 542);
this.Controls.Add(this.splitContainer5);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Name = "MainAccountForm";
this.Name = "AdminAccountForm";
this.Text = "AccountForm";
this.Load += new System.EventHandler(this.MainAccountForm_Load);
this.VisibleChanged += new System.EventHandler(this.MainAccountForm_VisibleChanged);
@@ -581,6 +639,13 @@ namespace TemuKJD.KJDForms.AdminForms
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtCompany;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtSearch;
private System.Windows.Forms.ComboBox cmbSearchGroup;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label lblWatermark;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.ComboBox cmbSaLevel;
private System.Windows.Forms.DataGridViewTextBoxColumn UserIdColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn UserNickNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn mobileColumn;
@@ -588,11 +653,9 @@ namespace TemuKJD.KJDForms.AdminForms
private System.Windows.Forms.DataGridViewTextBoxColumn groupNameColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn colCompany;
private System.Windows.Forms.DataGridViewTextBoxColumn shopCountColumn;
private System.Windows.Forms.DataGridViewTextBoxColumn colSaLevel;
private System.Windows.Forms.DataGridViewTextBoxColumn colSaLevelName;
private System.Windows.Forms.DataGridViewLinkColumn editColumn;
private System.Windows.Forms.DataGridViewLinkColumn deleteColumn;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.TextBox txtSearch;
private System.Windows.Forms.ComboBox cmbSearchGroup;
private System.Windows.Forms.Label label5;
}
}