拼多多界面优化 评分考核权限设置
This commit is contained in:
1 parent
ce23b0a49a
commit
05553a3ba3
46 files changed
+1269
-1170
No files matched your search
+45
-33
@@ -30,10 +30,11 @@ 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.chkChanceProdCollect = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkShopPoints = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkWXShowProdGetFromType = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
@@ -86,7 +87,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.chkChanceProdCollect = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
this.chkShopOptimize = new TemuKJD.UserComponent.UcCheckBox(this.components);
|
||||
((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
|
||||
this.splitContainer5.Panel1.SuspendLayout();
|
||||
this.splitContainer5.Panel2.SuspendLayout();
|
||||
@@ -109,6 +110,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
// splitContainer5.Panel1
|
||||
//
|
||||
this.splitContainer5.Panel1.BackColor = System.Drawing.Color.WhiteSmoke;
|
||||
this.splitContainer5.Panel1.Controls.Add(this.chkShopOptimize);
|
||||
this.splitContainer5.Panel1.Controls.Add(this.chkChanceProdCollect);
|
||||
this.splitContainer5.Panel1.Controls.Add(this.chkShopPoints);
|
||||
this.splitContainer5.Panel1.Controls.Add(this.chkWXShowProdGetFromType);
|
||||
@@ -154,9 +156,18 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.splitContainer5.SplitterWidth = 1;
|
||||
this.splitContainer5.TabIndex = 3;
|
||||
//
|
||||
// chkChanceProdCollect
|
||||
//
|
||||
this.chkChanceProdCollect.Location = new System.Drawing.Point(192, 422);
|
||||
this.chkChanceProdCollect.Name = "chkChanceProdCollect";
|
||||
this.chkChanceProdCollect.Size = new System.Drawing.Size(96, 21);
|
||||
this.chkChanceProdCollect.TabIndex = 812;
|
||||
this.chkChanceProdCollect.Text = "机会商品采集";
|
||||
this.chkChanceProdCollect.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// chkShopPoints
|
||||
//
|
||||
this.chkShopPoints.Location = new System.Drawing.Point(59, 518);
|
||||
this.chkShopPoints.Location = new System.Drawing.Point(59, 524);
|
||||
this.chkShopPoints.Name = "chkShopPoints";
|
||||
this.chkShopPoints.Size = new System.Drawing.Size(68, 21);
|
||||
this.chkShopPoints.TabIndex = 811;
|
||||
@@ -301,7 +312,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
//
|
||||
this.label1.AutoSize = true;
|
||||
this.label1.ForeColor = System.Drawing.SystemColors.ButtonShadow;
|
||||
this.label1.Location = new System.Drawing.Point(56, 493);
|
||||
this.label1.Location = new System.Drawing.Point(56, 498);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(212, 17);
|
||||
this.label1.TabIndex = 37;
|
||||
@@ -330,7 +341,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(59, 455);
|
||||
this.btnCancel.Location = new System.Drawing.Point(59, 460);
|
||||
this.btnCancel.Name = "btnCancel";
|
||||
this.btnCancel.Size = new System.Drawing.Size(86, 25);
|
||||
this.btnCancel.TabIndex = 35;
|
||||
@@ -346,7 +357,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(174, 455);
|
||||
this.btnOpUser.Location = new System.Drawing.Point(174, 460);
|
||||
this.btnOpUser.Name = "btnOpUser";
|
||||
this.btnOpUser.Size = new System.Drawing.Size(86, 25);
|
||||
this.btnOpUser.TabIndex = 34;
|
||||
@@ -532,20 +543,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.UserIdColumn,
|
||||
@@ -563,14 +574,14 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.colAddShop,
|
||||
this.editColumn,
|
||||
this.deleteColumn});
|
||||
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvUser.DefaultCellStyle = dataGridViewCellStyle3;
|
||||
dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
|
||||
dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Window;
|
||||
dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
||||
dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
|
||||
dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.ControlText;
|
||||
dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
|
||||
this.dgvUser.DefaultCellStyle = dataGridViewCellStyle6;
|
||||
this.dgvUser.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.dgvUser.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
|
||||
this.dgvUser.Location = new System.Drawing.Point(0, 0);
|
||||
@@ -711,14 +722,14 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
this.btnExportShopErp.Visible = false;
|
||||
this.btnExportShopErp.Click += new System.EventHandler(this.btnExportShopErp_Click);
|
||||
//
|
||||
// chkProdCollect
|
||||
// chkShopOptimize
|
||||
//
|
||||
this.chkChanceProdCollect.Location = new System.Drawing.Point(112, 421);
|
||||
this.chkChanceProdCollect.Name = "chkProdCollect";
|
||||
this.chkChanceProdCollect.Size = new System.Drawing.Size(96, 21);
|
||||
this.chkChanceProdCollect.TabIndex = 812;
|
||||
this.chkChanceProdCollect.Text = "机会商品采集";
|
||||
this.chkChanceProdCollect.UseVisualStyleBackColor = true;
|
||||
this.chkShopOptimize.Location = new System.Drawing.Point(112, 422);
|
||||
this.chkShopOptimize.Name = "chkShopOptimize";
|
||||
this.chkShopOptimize.Size = new System.Drawing.Size(68, 21);
|
||||
this.chkShopOptimize.TabIndex = 813;
|
||||
this.chkShopOptimize.Text = "评分考核";
|
||||
this.chkShopOptimize.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// WXAdminAccountForm
|
||||
//
|
||||
@@ -801,5 +812,6 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
private System.Windows.Forms.DataGridViewLinkColumn deleteColumn;
|
||||
private UserComponent.UcCheckBox chkShopPoints;
|
||||
private UserComponent.UcCheckBox chkChanceProdCollect;
|
||||
private UserComponent.UcCheckBox chkShopOptimize;
|
||||
}
|
||||
}
|
||||
@@ -83,6 +83,8 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
authority += "货源选择,";
|
||||
if (chkChanceProdCollect.Checked)
|
||||
authority += "机会商品采集,";
|
||||
if (chkShopOptimize.Checked)
|
||||
authority += "评分考核,";
|
||||
if (chkShopPoints.Checked)
|
||||
authority += "积分用户,";
|
||||
data.Append("&authority=" + authority.Trim(','));
|
||||
@@ -194,6 +196,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
chkWXComplateProd.Checked = false;
|
||||
chkWXShowProdGetFromType.Checked = false;
|
||||
chkChanceProdCollect.Checked = false;
|
||||
chkShopOptimize.Checked = false;
|
||||
chkShopPoints.Checked = false;
|
||||
}
|
||||
|
||||
@@ -229,6 +232,7 @@ namespace TemuKJD.WXForms.AdminForms
|
||||
chkWXComplateProd.Checked = authority.Contains(chkWXComplateProd.Text);
|
||||
chkShopPoints.Checked = authority.Contains(chkShopPoints.Text);
|
||||
chkChanceProdCollect.Checked = authority.Contains(chkChanceProdCollect.Text);
|
||||
chkShopOptimize.Checked = authority.Contains(chkShopOptimize.Text);
|
||||
chkWXShowProdGetFromType.Checked = authority.Contains(chkWXShowProdGetFromType.Text);
|
||||
}
|
||||
if (columname == "删除")
|
||||
|
||||
Reference in new issue
Block a user