定向品牌
This commit is contained in:
1 parent
c4a36b1956
commit
4d38059e72
4 files changed
+170
-145
No files matched your search
+50
-38
@@ -30,9 +30,9 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.components = new System.ComponentModel.Container();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
|
||||
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.pnlSuperManage = new System.Windows.Forms.Panel();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
@@ -111,6 +111,8 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.btnShopPointsPerMonthCancel = new DevComponents.DotNetBar.PanelEx();
|
||||
this.btnShopPointsPerMonth = new DevComponents.DotNetBar.PanelEx();
|
||||
this.pnlTopUp = new System.Windows.Forms.Panel();
|
||||
this.lblTopUpNickName = new System.Windows.Forms.Label();
|
||||
this.lblTopUpUserId = new System.Windows.Forms.Label();
|
||||
this.label14 = new System.Windows.Forms.Label();
|
||||
this.lblUserInfo = new System.Windows.Forms.Label();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
@@ -145,8 +147,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.editColumn = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.deleteColumn = new System.Windows.Forms.DataGridViewLinkColumn();
|
||||
this.btnExportShopErp = new DevComponents.DotNetBar.PanelEx();
|
||||
this.lblTopUpNickName = new System.Windows.Forms.Label();
|
||||
this.lblTopUpUserId = new System.Windows.Forms.Label();
|
||||
this.chkSpBrand = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
|
||||
this.splitContainer5.Panel1.SuspendLayout();
|
||||
this.splitContainer5.Panel2.SuspendLayout();
|
||||
@@ -202,6 +203,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.pnlSuperManage.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.pnlSuperManage.Controls.Add(this.chkSpBrand);
|
||||
this.pnlSuperManage.Controls.Add(this.label10);
|
||||
this.pnlSuperManage.Controls.Add(this.label5);
|
||||
this.pnlSuperManage.Controls.Add(this.txtOemId);
|
||||
@@ -552,7 +554,7 @@ namespace TemuKJD.WXForms.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(157, 571);
|
||||
this.btnOpUser.Location = new System.Drawing.Point(157, 580);
|
||||
this.btnOpUser.Name = "btnOpUser";
|
||||
this.btnOpUser.Size = new System.Drawing.Size(86, 25);
|
||||
this.btnOpUser.TabIndex = 34;
|
||||
@@ -577,7 +579,7 @@ namespace TemuKJD.WXForms.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(42, 571);
|
||||
this.btnCancel.Location = new System.Drawing.Point(42, 580);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(86, 25);
|
||||
this.btnCancel.TabIndex = 35;
|
||||
@@ -599,7 +601,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.ForeColor = System.Drawing.SystemColors.ButtonShadow;
|
||||
this.label1.Location = new System.Drawing.Point(30, 490);
|
||||
this.label1.Location = new System.Drawing.Point(30, 500);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(236, 68);
|
||||
this.label1.TabIndex = 37;
|
||||
@@ -1181,6 +1183,26 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.pnlTopUp.TabIndex = 8;
|
||||
this.pnlTopUp.Visible = false;
|
||||
//
|
||||
// lblTopUpNickName
|
||||
//
|
||||
this.lblTopUpNickName.AutoSize = true;
|
||||
this.lblTopUpNickName.Location = new System.Drawing.Point(259, 19);
|
||||
this.lblTopUpNickName.Name = "lblTopUpNickName";
|
||||
this.lblTopUpNickName.Size = new System.Drawing.Size(69, 17);
|
||||
this.lblTopUpNickName.TabIndex = 461;
|
||||
this.lblTopUpNickName.Text = "NickName";
|
||||
this.lblTopUpNickName.Visible = false;
|
||||
//
|
||||
// lblTopUpUserId
|
||||
//
|
||||
this.lblTopUpUserId.AutoSize = true;
|
||||
this.lblTopUpUserId.Location = new System.Drawing.Point(212, 19);
|
||||
this.lblTopUpUserId.Name = "lblTopUpUserId";
|
||||
this.lblTopUpUserId.Size = new System.Drawing.Size(47, 17);
|
||||
this.lblTopUpUserId.TabIndex = 460;
|
||||
this.lblTopUpUserId.Text = "UserId";
|
||||
this.lblTopUpUserId.Visible = false;
|
||||
//
|
||||
// label14
|
||||
//
|
||||
this.label14.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
|
||||
@@ -1291,20 +1313,20 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
//
|
||||
this.dgvUser.AllowUserToAddRows = false;
|
||||
this.dgvUser.AllowUserToDeleteRows = false;
|
||||
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
|
||||
this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
||||
dataGridViewCellStyle4.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(249)))), ((int)(((byte)(249)))), ((int)(((byte)(249)))));
|
||||
this.dgvUser.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle4;
|
||||
this.dgvUser.AutoRowNumber = true;
|
||||
this.dgvUser.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
||||
this.dgvUser.BackgroundColor = System.Drawing.Color.White;
|
||||
this.dgvUser.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
|
||||
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
|
||||
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
|
||||
dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
|
||||
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
|
||||
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvUser.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
||||
this.dgvUser.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
|
||||
this.dgvUser.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
|
||||
this.colCheck,
|
||||
@@ -1449,8 +1471,8 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
//
|
||||
// colPlus
|
||||
//
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colPlus.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
||||
this.colPlus.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.colPlus.FillWeight = 22F;
|
||||
this.colPlus.HeaderText = "+";
|
||||
this.colPlus.Name = "colPlus";
|
||||
@@ -1548,25 +1570,14 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.btnExportShopErp.Visible = false;
|
||||
this.btnExportShopErp.Click += new System.EventHandler(this.btnExportShopErp_Click);
|
||||
//
|
||||
// lblTopUpNickName
|
||||
// chkSpBrand
|
||||
//
|
||||
this.lblTopUpNickName.AutoSize = true;
|
||||
this.lblTopUpNickName.Location = new System.Drawing.Point(259, 19);
|
||||
this.lblTopUpNickName.Name = "lblTopUpNickName";
|
||||
this.lblTopUpNickName.Size = new System.Drawing.Size(69, 17);
|
||||
this.lblTopUpNickName.TabIndex = 461;
|
||||
this.lblTopUpNickName.Text = "NickName";
|
||||
this.lblTopUpNickName.Visible = false;
|
||||
//
|
||||
// lblTopUpUserId
|
||||
//
|
||||
this.lblTopUpUserId.AutoSize = true;
|
||||
this.lblTopUpUserId.Location = new System.Drawing.Point(212, 19);
|
||||
this.lblTopUpUserId.Name = "lblTopUpUserId";
|
||||
this.lblTopUpUserId.Size = new System.Drawing.Size(47, 17);
|
||||
this.lblTopUpUserId.TabIndex = 460;
|
||||
this.lblTopUpUserId.Text = "UserId";
|
||||
this.lblTopUpUserId.Visible = false;
|
||||
this.chkSpBrand.Location = new System.Drawing.Point(95, 478);
|
||||
this.chkSpBrand.Name = "chkSpBrand";
|
||||
this.chkSpBrand.Size = new System.Drawing.Size(68, 21);
|
||||
this.chkSpBrand.TabIndex = 848;
|
||||
this.chkSpBrand.Text = "定向品牌";
|
||||
this.chkSpBrand.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// WXAdminAccountForm
|
||||
//
|
||||
@@ -1731,5 +1742,6 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
private System.Windows.Forms.Label lblBalanceNickName;
|
||||
private System.Windows.Forms.Label lblTopUpNickName;
|
||||
private System.Windows.Forms.Label lblTopUpUserId;
|
||||
private UserComponent.UcCheckBox chkSpBrand;
|
||||
}
|
||||
}
|
||||
@@ -99,6 +99,8 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
authority += chkProdFission.Text + ","; // 裂变调试
|
||||
if (chkTraineeData.Checked)
|
||||
authority += chkTraineeData.Text + ","; // 学员数据
|
||||
if (chkSpBrand.Checked)
|
||||
authority += chkSpBrand.Text + ","; // 定向品牌
|
||||
data.Append("&authority=" + authority.Trim(','));
|
||||
|
||||
string url = BaseClass.BuildObjString("user/add_user");
|
||||
@@ -225,6 +227,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
chkWXShowProdGetFromType.Checked = false;
|
||||
chkChanceProdCollect.Checked = false;
|
||||
chkTraineeData.Checked = false;
|
||||
chkSpBrand.Checked = false;
|
||||
chkShopOptimize.Checked = false;
|
||||
chkEcWaybill.Checked = false;
|
||||
chkCommissionUpdate.Checked = false;
|
||||
@@ -274,6 +277,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
chkProdFission.Checked = authority.Contains(chkProdFission.Text);
|
||||
chkChanceProdCollect.Checked = authority.Contains(chkChanceProdCollect.Text);
|
||||
chkTraineeData.Checked = authority.Contains(chkTraineeData.Text);
|
||||
chkSpBrand.Checked = authority.Contains(chkSpBrand.Text);
|
||||
chkShopOptimize.Checked = authority.Contains(chkShopOptimize.Text);
|
||||
chkEcWaybill.Checked = authority.Contains(chkEcWaybill.Text);
|
||||
chkCommissionUpdate.Checked = authority.Contains(chkCommissionUpdate.Text);
|
||||
|
||||
Reference in new issue
Block a user