diff --git a/AllBase/AllBase.csproj b/AllBase/AllBase.csproj
index 1dc3191..73cd94b 100644
--- a/AllBase/AllBase.csproj
+++ b/AllBase/AllBase.csproj
@@ -202,6 +202,7 @@
+
diff --git a/AllBase/BaseClass.cs b/AllBase/BaseClass.cs
index 3a99615..b425523 100644
--- a/AllBase/BaseClass.cs
+++ b/AllBase/BaseClass.cs
@@ -27,7 +27,7 @@ namespace AllBase
///
/// 版本ID
///
- public static int VersionCount = 920;
+ public static int VersionCount = 921;
//public static int VersionCount = 613;
///
diff --git a/AllBase/Model/Result/WXResult/WXFinderTalentInfo.cs b/AllBase/Model/Result/WXResult/WXFinderTalentInfo.cs
new file mode 100644
index 0000000..2dbba36
--- /dev/null
+++ b/AllBase/Model/Result/WXResult/WXFinderTalentInfo.cs
@@ -0,0 +1,121 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace AllBase.Model.Result.WXResult
+{
+ ///
+ /// 微信达人
+ ///
+ public class WXFinderTalentInfo
+ {
+ public WXFinderInfo finderInfo { get; set; }
+ public WXFinderPromotionInfo promotionInfo { get; set; }
+ public string talentAppid { get; set; } // "wx2e905db23e1fab37"
+ public int? type { get; set; } // 100
+ public List accountList { get; set; }
+ }
+
+ public class WXFinderAccount
+ {
+ public int? accountType { get; set; } // 1,
+ public string mpAppid { get; set; } // "wxabea388f3fa7443d", // 当accountType==2
+ public string openfinderid { get; set; } // "ofcnPnOhbrqto8UmKyHjVquFjGvS94zxksr3oOVyQ5TwTaPFvXCueO-B_yVpymhqTYwbyWJIktHg",
+ public string nickname { get; set; } // "一博生活-初心",
+ public string headImg { get; set; } // "https://wx.qlogo.cn/finderhead/Q3auHgzwzM4NtIibnslibmLpJGfhMPJOjYia7TdL4BQoBJf5Oa3XrRGvQ/0",
+ public string bizUsername { get; set; } // "gh_57859f5d992f" // 当accountType==2
+ public string finderUsername { get; set; } // "v2_060000231003b20faec8c6e18e1cc4ddc701ed30b07788a2963216fa121bef0db59ddafda1d3@finder"
+ }
+
+ public class WXFinderPromotionInfo
+ {
+ ///
+ /// 带货销售额
+ ///
+ public string gmv { get; set; } // "¥300万-400万",
+ public string perUvPrice { get; set; } // "¥300-500",
+ ///
+ /// 直播销售额
+ ///
+ public string liveGmv { get; set; } // "¥300万-400万",
+ public string livePerUvPrice { get; set; } // "0",
+ public string liveGpm { get; set; } // "¥1000以上",
+ public string liveAvgUv { get; set; } // "1万-5万",
+ public string liveCnt { get; set; } // "10",
+ ///
+ /// 短视频销售额
+ ///
+ public string videoGmv { get; set; } // "¥0",
+ public string videoPerUvPrice { get; set; } // "0",
+ public string videoGpm { get; set; } // "0",
+ public string videoAvgUv { get; set; } // "0",
+ public string videoCnt { get; set; } // "0",
+ public string windowsScore { get; set; } // "4.80",
+ public int? promoteProductCnt { get; set; } // 0,
+ public int? promoteShopCnt { get; set; } // 0,
+ public int? dataUpdateTime { get; set; } // 1773820075,
+ public string windowsScoreLevel { get; set; } // "中",
+ public string bizAvgPv { get; set; } // "0-100",
+ public string bizAvgPayGmv { get; set; } // "0",
+ public string bizPayGpm { get; set; } // "0",
+ ///
+ /// 公众号销售额
+ ///
+ public string bizPayGmv { get; set; } // "0",
+ public string bizArticleNum { get; set; } // ""
+ }
+
+ public class WXFinderInfo
+ {
+ public string headImg { get; set; } // "http://wx.qlogo.cn/finderhead/Q3auHgzwzM4NtIibnslibmLpJGfhMPJOjYia7TdL4BQoBJf5Oa3XrRGvQ/0?wxf_fmt=jpeg/0",
+ public int? officialCertification { get; set; } // 0,
+ public int? finderSexType { get; set; } // 0,
+ public string introduction { get; set; } // "【一博特卖节】品牌招募\n清仓甩卖,特价处理的尾货产品,不对正价品产生影响的低库存产品。\n知名大品牌(有市场影响力、正品保障、完善售后)。18520335888",
+ public int? canInvoice { get; set; } // 1,
+ public List contactList { get; set; }
+ public List topCatList { get; set; }
+ public List intentionCatList { get; set; }
+ ///
+ /// 粉丝数
+ ///
+ public string fansNumber { get; set; } // "10万-50万",
+ public int? hasContact { get; set; } // 1,
+ public string officialCertificationUrl { get; set; } // "",
+ public string nickname { get; set; } // "一博生活-初心",
+ ///
+ /// 回复率高
+ ///
+ public int? highResponse { get; set; } // 1,
+ ///
+ ///
+ ///
+ public int? fastGrowth { get; set; } // 0,
+ ///
+ /// 优质带货者
+ ///
+ public int? topDaren { get; set; } // 1
+
+ }
+
+ public class WXFinderIntentionCat
+ {
+ public string id { get; set; } // "10000181",
+ public string name { get; set; } // "面部护肤"
+ }
+
+ public class WXFinderTopCat
+ {
+ public string topCatId { get; set; } // "7419",
+ public string topCatName { get; set; } // "食品饮料",
+ public int? topCatPercentage { get; set; } // 186847
+
+ }
+
+ public class WXFinderContact
+ {
+ public int? type { get; set; } // 6,
+ public string name { get; set; } // "时尚"
+ }
+}
diff --git a/TEMUKJD/KJD.csproj b/TEMUKJD/KJD.csproj
index 8ec09ed..4e16647 100644
--- a/TEMUKJD/KJD.csproj
+++ b/TEMUKJD/KJD.csproj
@@ -181,6 +181,12 @@
WebForm.cs
+
+ Form
+
+
+ WXFinderSquareForm.cs
+
Form
@@ -1168,6 +1174,9 @@
WXDBProdUploadCacheForm.cs
+
+ WXFinderSquareForm.cs
+
WXProdSyncForm.cs
diff --git a/TEMUKJD/UserComponent/UcTabControl.cs b/TEMUKJD/UserComponent/UcTabControl.cs
index 43eb7b7..3ed922f 100644
--- a/TEMUKJD/UserComponent/UcTabControl.cs
+++ b/TEMUKJD/UserComponent/UcTabControl.cs
@@ -87,6 +87,18 @@ namespace TemuKJD.UserComponent
}
}
+ private Color tabSelectTextColor = Color.Gray;
+ [Browsable(true), Category("自定义分组"), Description("Tab选中颜色")]
+ public Color TabSelectTextColor
+ {
+ get { return tabSelectTextColor; }
+ set
+ {
+ tabSelectTextColor = value;
+ this.Invalidate();
+ }
+ }
+
private bool showCloseButton = false;
[Browsable(true), Category("自定义分组"), Description("显示关闭页面按钮")]
public bool ShowCloseButton
@@ -162,7 +174,10 @@ namespace TemuKJD.UserComponent
textPoint.X -= 5;
// 绘制标题
e.Graphics.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAliasGridFit;
- e.Graphics.DrawString(this.TabPages[i].Text, this.Font, new SolidBrush(tabTextColor), textPoint.X, textPoint.Y);
+ if (this.SelectedIndex == i)
+ e.Graphics.DrawString(this.TabPages[i].Text, this.Font, new SolidBrush(TabSelectTextColor), textPoint.X, textPoint.Y);
+ else
+ e.Graphics.DrawString(this.TabPages[i].Text, this.Font, new SolidBrush(tabTextColor), textPoint.X, textPoint.Y);
// 绘制tab框
//e.Graphics.DrawRectangle(Pens.Red, this.GetTabRect(i));
diff --git a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.cs b/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.cs
index 5ec0811..80e04a9 100644
--- a/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.cs
+++ b/TEMUKJD/WXForms/AdminForms/WXProdComplateForm.cs
@@ -238,7 +238,7 @@ namespace TemuKJD.WXForms.AdminForms
{
//if (shop.LoginStatus == "登录成功")
//{
- // var rst = WXUpload.scanProductPreview(shop);
+ // var rst = WXPreSale.scanProductPreview(shop);
// if (!rst.Contains("\"code\":0") && !rst.Contains("\"success\":true"))
// {
// WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
diff --git a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs
index 7a6ac16..818b2a5 100644
--- a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.Designer.cs
@@ -1339,7 +1339,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx1.Size = new System.Drawing.Size(160, 165);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "基础";
+ this.ucGroupBoxEx1.Text = "店铺筛选";
//
// btnRefreshAuthor
//
diff --git a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs
index 1e5366b..60bb7e0 100644
--- a/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXDBProdUploadForm.cs
@@ -437,7 +437,7 @@ namespace TemuKJD.WXForms.ProductForms
{
//if (shop.LoginStatus == "登录成功")
//{
- // var rst = WXUpload.scanProductPreview(shop);
+ // var rst = WXPreSale.scanProductPreview(shop);
// if (!rst.Contains("\"code\":0") && !rst.Contains("\"success\":true"))
// {
// WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
@@ -5084,24 +5084,6 @@ Content-Type: application/octet-stream
return result;
}
- ///
- /// 商品列表
- ///
- ///
- ///
- ///
- ///
- ///
- public static string scanProductPreview(ShopLoginInfo shop, string status = "5", int pageNum = 1, int pageSize = 20)
- {
- string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/scanProductPreview?token=&lang=zh_CN";
- string referer = "https://store.weixin.qq.com/shop/goods/list?currentTab=PRODUCT_STATUS_ALL";
- string body = @"{""pageSize"":" + pageSize + @",""productStatus"":[-1],""productSource"":""[1,16,32]"",""searchSource"":1,""useNew"":true,""pageNum"":" + pageNum +
- @",""status"":[" + status + @"]}";
- var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
- return result;
- }
-
///
/// 添加售后地址
///
diff --git a/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.Designer.cs
new file mode 100644
index 0000000..e4d5606
--- /dev/null
+++ b/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.Designer.cs
@@ -0,0 +1,1455 @@
+
+using TemuKJD.PDDForms.ProductSelectForms;
+
+namespace TemuKJD.WXForms.ProductForms
+{
+ partial class WXFinderSquareForm
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
+ this.splitContainer1 = new System.Windows.Forms.SplitContainer();
+ this.ucGroupBoxEx4 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
+ this.label5 = new System.Windows.Forms.Label();
+ this.textBox1 = new System.Windows.Forms.TextBox();
+ this.label3 = new System.Windows.Forms.Label();
+ this.txtPageEnd = new System.Windows.Forms.TextBox();
+ this.label1 = new System.Windows.Forms.Label();
+ this.btnStop = new DevComponents.DotNetBar.PanelEx();
+ this.label2 = new System.Windows.Forms.Label();
+ this.btnClearFilter = new DevComponents.DotNetBar.PanelEx();
+ this.btnSearchTalent = new DevComponents.DotNetBar.PanelEx();
+ this.ucGroupBoxEx1 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
+ this.btnRefreshAuthor = new DevComponents.DotNetBar.PanelEx();
+ this.btnSelectOffline = new DevComponents.DotNetBar.PanelEx();
+ this.btnSelectOnline = new DevComponents.DotNetBar.PanelEx();
+ this.btnAddUnSelect = new DevComponents.DotNetBar.PanelEx();
+ this.btnReverse = new DevComponents.DotNetBar.PanelEx();
+ this.cmbFilterShopNotes = new TemuKJD.UserComponent.UcComboBoxMutiSelect();
+ this.btnAddSelect = new DevComponents.DotNetBar.PanelEx();
+ this.btnEmptyShop = new DevComponents.DotNetBar.PanelEx();
+ this.btnFilterShop = new DevComponents.DotNetBar.PanelEx();
+ this.label16 = new System.Windows.Forms.Label();
+ this.txtFilterShopName = new System.Windows.Forms.TextBox();
+ this.btnRefreshShop = new DevComponents.DotNetBar.PanelEx();
+ this.label17 = new System.Windows.Forms.Label();
+ this.pbLoadingShop = new System.Windows.Forms.PictureBox();
+ this.dgvShop = new TemuKJD.UserComponent.DataGridViewEx();
+ this.colSelect = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colShopLoginName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colShopId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colShopName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colShopNotes = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSelectProduct = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colLoginStatus = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colApi = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colCanUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colUploadCount = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colOnSaleNum = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colRemaining = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colMessage = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dgvTalent = new TemuKJD.UserComponent.DataGridViewEx();
+ this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+ this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colSupplierName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colLogin = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colInShop = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colImgUrl = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colImg = new System.Windows.Forms.DataGridViewImageColumn();
+ this.colTalentAppid = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colNickname = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colTag = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colCatScore = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.colFansNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.ColDelete = new System.Windows.Forms.DataGridViewLinkColumn();
+ this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.splitContainer3 = new System.Windows.Forms.SplitContainer();
+ this.splitContainer2 = new System.Windows.Forms.SplitContainer();
+ this.ucTabControl1 = new TemuKJD.UserComponent.UcTabControl();
+ this.tabPage1 = new System.Windows.Forms.TabPage();
+ this.mainPanel = new System.Windows.Forms.Panel();
+ this.tabPage2 = new System.Windows.Forms.TabPage();
+ this.splitContainer5 = new System.Windows.Forms.SplitContainer();
+ this.chkReUse = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.btnStop2 = new DevComponents.DotNetBar.PanelEx();
+ this.btnAddFinder = new DevComponents.DotNetBar.PanelEx();
+ this.label10 = new System.Windows.Forms.Label();
+ this.txtProductIds = new System.Windows.Forms.TextBox();
+ this.label9 = new System.Windows.Forms.Label();
+ this.txtExplain = new System.Windows.Forms.TextBox();
+ this.label8 = new System.Windows.Forms.Label();
+ this.txtMobile = new System.Windows.Forms.TextBox();
+ this.label7 = new System.Windows.Forms.Label();
+ this.txtWxNumber = new System.Windows.Forms.TextBox();
+ this.label6 = new System.Windows.Forms.Label();
+ this.txtContactPerson = new System.Windows.Forms.TextBox();
+ this.label4 = new System.Windows.Forms.Label();
+ this.pbLoading = new System.Windows.Forms.PictureBox();
+ this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
+ this.splitContainer4 = new System.Windows.Forms.SplitContainer();
+ this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
+ this.splitContainer1.Panel1.SuspendLayout();
+ this.splitContainer1.Panel2.SuspendLayout();
+ this.splitContainer1.SuspendLayout();
+ this.ucGroupBoxEx4.SuspendLayout();
+ this.ucGroupBoxEx1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pbLoadingShop)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvTalent)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).BeginInit();
+ this.splitContainer3.Panel1.SuspendLayout();
+ this.splitContainer3.Panel2.SuspendLayout();
+ this.splitContainer3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
+ this.splitContainer2.Panel1.SuspendLayout();
+ this.splitContainer2.Panel2.SuspendLayout();
+ this.splitContainer2.SuspendLayout();
+ this.ucTabControl1.SuspendLayout();
+ this.tabPage1.SuspendLayout();
+ this.tabPage2.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).BeginInit();
+ this.splitContainer5.Panel1.SuspendLayout();
+ this.splitContainer5.Panel2.SuspendLayout();
+ this.splitContainer5.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).BeginInit();
+ this.splitContainer4.Panel1.SuspendLayout();
+ this.splitContainer4.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // splitContainer1
+ //
+ this.splitContainer1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer1.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer1.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer1.Name = "splitContainer1";
+ this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer1.Panel1
+ //
+ this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx4);
+ this.splitContainer1.Panel1.Controls.Add(this.ucGroupBoxEx1);
+ //
+ // splitContainer1.Panel2
+ //
+ this.splitContainer1.Panel2.Controls.Add(this.pbLoadingShop);
+ this.splitContainer1.Panel2.Controls.Add(this.dgvShop);
+ this.splitContainer1.Panel2.Padding = new System.Windows.Forms.Padding(4, 0, 0, 4);
+ this.splitContainer1.Size = new System.Drawing.Size(350, 611);
+ this.splitContainer1.SplitterDistance = 165;
+ this.splitContainer1.TabIndex = 11;
+ //
+ // ucGroupBoxEx4
+ //
+ this.ucGroupBoxEx4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)));
+ this.ucGroupBoxEx4.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.ucGroupBoxEx4.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
+ this.ucGroupBoxEx4.Controls.Add(this.label5);
+ this.ucGroupBoxEx4.Controls.Add(this.textBox1);
+ this.ucGroupBoxEx4.Controls.Add(this.label3);
+ this.ucGroupBoxEx4.Controls.Add(this.txtPageEnd);
+ this.ucGroupBoxEx4.Controls.Add(this.label1);
+ this.ucGroupBoxEx4.Controls.Add(this.btnStop);
+ this.ucGroupBoxEx4.Controls.Add(this.label2);
+ this.ucGroupBoxEx4.Controls.Add(this.btnClearFilter);
+ this.ucGroupBoxEx4.Controls.Add(this.btnSearchTalent);
+ this.ucGroupBoxEx4.Location = new System.Drawing.Point(162, 2);
+ this.ucGroupBoxEx4.Name = "ucGroupBoxEx4";
+ this.ucGroupBoxEx4.Size = new System.Drawing.Size(190, 165);
+ this.ucGroupBoxEx4.TabIndex = 666;
+ this.ucGroupBoxEx4.TabStop = false;
+ this.ucGroupBoxEx4.Text = "达人查询";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.label5.Location = new System.Drawing.Point(44, 22);
+ this.label5.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(140, 34);
+ this.label5.TabIndex = 818;
+ this.label5.Text = "达人广场页面上选好查询\r\n条件后点击达人查询按钮";
+ //
+ // textBox1
+ //
+ this.textBox1.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.textBox1.ForeColor = System.Drawing.Color.Red;
+ this.textBox1.Location = new System.Drawing.Point(65, 64);
+ this.textBox1.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.textBox1.Name = "textBox1";
+ this.textBox1.Size = new System.Drawing.Size(114, 25);
+ this.textBox1.TabIndex = 830;
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(9, 68);
+ this.label3.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label3.Name = "label3";
+ this.label3.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label3.Size = new System.Drawing.Size(56, 17);
+ this.label3.TabIndex = 831;
+ this.label3.Text = "当前店铺";
+ //
+ // txtPageEnd
+ //
+ this.txtPageEnd.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.txtPageEnd.Location = new System.Drawing.Point(65, 94);
+ this.txtPageEnd.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtPageEnd.Name = "txtPageEnd";
+ this.txtPageEnd.Size = new System.Drawing.Size(114, 25);
+ this.txtPageEnd.TabIndex = 819;
+ this.txtPageEnd.Text = "99";
+ this.txtPageEnd.TextChanged += new System.EventHandler(this.txtPageEnd_TextChanged);
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(9, 98);
+ this.label1.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label1.Name = "label1";
+ this.label1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label1.Size = new System.Drawing.Size(56, 17);
+ this.label1.TabIndex = 820;
+ this.label1.Text = "查询页数";
+ //
+ // btnStop
+ //
+ this.btnStop.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnStop.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnStop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnStop.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnStop.Location = new System.Drawing.Point(123, 127);
+ this.btnStop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
+ this.btnStop.Name = "btnStop";
+ this.btnStop.Size = new System.Drawing.Size(56, 25);
+ this.btnStop.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnStop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnStop.Style.GradientAngle = 90;
+ this.btnStop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnStop.TabIndex = 805;
+ this.btnStop.Text = "停止搜索";
+ this.btnStop.Click += new System.EventHandler(this.btnStop_Click);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(9, 22);
+ this.label2.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(44, 17);
+ this.label2.TabIndex = 793;
+ this.label2.Text = "说明:";
+ //
+ // btnClearFilter
+ //
+ this.btnClearFilter.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+ this.btnClearFilter.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnClearFilter.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnClearFilter.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnClearFilter.Location = new System.Drawing.Point(12, 127);
+ this.btnClearFilter.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
+ this.btnClearFilter.Name = "btnClearFilter";
+ this.btnClearFilter.Size = new System.Drawing.Size(41, 25);
+ this.btnClearFilter.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClearFilter.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnClearFilter.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnClearFilter.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnClearFilter.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClearFilter.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnClearFilter.Style.GradientAngle = 90;
+ this.btnClearFilter.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClearFilter.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClearFilter.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClearFilter.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClearFilter.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnClearFilter.TabIndex = 548;
+ this.btnClearFilter.Text = "还原";
+ this.btnClearFilter.Visible = false;
+ this.btnClearFilter.Click += new System.EventHandler(this.btnClearFilter_Click);
+ //
+ // btnSearchTalent
+ //
+ this.btnSearchTalent.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnSearchTalent.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnSearchTalent.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnSearchTalent.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnSearchTalent.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnSearchTalent.Location = new System.Drawing.Point(65, 127);
+ this.btnSearchTalent.Name = "btnSearchTalent";
+ this.btnSearchTalent.Size = new System.Drawing.Size(56, 25);
+ this.btnSearchTalent.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSearchTalent.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSearchTalent.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSearchTalent.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnSearchTalent.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnSearchTalent.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnSearchTalent.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnSearchTalent.Style.GradientAngle = 90;
+ this.btnSearchTalent.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSearchTalent.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSearchTalent.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSearchTalent.TabIndex = 431;
+ this.btnSearchTalent.Text = "达人搜索";
+ this.btnSearchTalent.Click += new System.EventHandler(this.btnSearchTalent_Click);
+ //
+ // ucGroupBoxEx1
+ //
+ this.ucGroupBoxEx1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
+ | System.Windows.Forms.AnchorStyles.Left)));
+ this.ucGroupBoxEx1.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.ucGroupBoxEx1.BorderStyle = TemuKJD.UserComponent.UcGroupBoxEx.GroupBoxBorderStyle.ROUND;
+ this.ucGroupBoxEx1.Controls.Add(this.btnRefreshAuthor);
+ this.ucGroupBoxEx1.Controls.Add(this.btnSelectOffline);
+ this.ucGroupBoxEx1.Controls.Add(this.btnSelectOnline);
+ this.ucGroupBoxEx1.Controls.Add(this.btnAddUnSelect);
+ this.ucGroupBoxEx1.Controls.Add(this.btnReverse);
+ this.ucGroupBoxEx1.Controls.Add(this.cmbFilterShopNotes);
+ this.ucGroupBoxEx1.Controls.Add(this.btnAddSelect);
+ this.ucGroupBoxEx1.Controls.Add(this.btnEmptyShop);
+ this.ucGroupBoxEx1.Controls.Add(this.btnFilterShop);
+ this.ucGroupBoxEx1.Controls.Add(this.label16);
+ this.ucGroupBoxEx1.Controls.Add(this.txtFilterShopName);
+ this.ucGroupBoxEx1.Controls.Add(this.btnRefreshShop);
+ this.ucGroupBoxEx1.Controls.Add(this.label17);
+ this.ucGroupBoxEx1.Location = new System.Drawing.Point(2, 2);
+ this.ucGroupBoxEx1.Name = "ucGroupBoxEx1";
+ this.ucGroupBoxEx1.Size = new System.Drawing.Size(160, 165);
+ this.ucGroupBoxEx1.TabIndex = 399;
+ this.ucGroupBoxEx1.TabStop = false;
+ this.ucGroupBoxEx1.Text = "基础";
+ //
+ // btnRefreshAuthor
+ //
+ this.btnRefreshAuthor.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnRefreshAuthor.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnRefreshAuthor.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnRefreshAuthor.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnRefreshAuthor.Location = new System.Drawing.Point(81, 17);
+ this.btnRefreshAuthor.Name = "btnRefreshAuthor";
+ this.btnRefreshAuthor.Size = new System.Drawing.Size(70, 20);
+ this.btnRefreshAuthor.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRefreshAuthor.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRefreshAuthor.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRefreshAuthor.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnRefreshAuthor.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnRefreshAuthor.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnRefreshAuthor.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnRefreshAuthor.Style.GradientAngle = 90;
+ this.btnRefreshAuthor.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRefreshAuthor.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRefreshAuthor.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRefreshAuthor.TabIndex = 800;
+ this.btnRefreshAuthor.Text = "刷新授权";
+ this.btnRefreshAuthor.Click += new System.EventHandler(this.btnRefreshAuthor_Click);
+ //
+ // btnSelectOffline
+ //
+ this.btnSelectOffline.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnSelectOffline.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnSelectOffline.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnSelectOffline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnSelectOffline.Location = new System.Drawing.Point(61, 137);
+ this.btnSelectOffline.Name = "btnSelectOffline";
+ this.btnSelectOffline.Size = new System.Drawing.Size(50, 20);
+ this.btnSelectOffline.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSelectOffline.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSelectOffline.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSelectOffline.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnSelectOffline.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnSelectOffline.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnSelectOffline.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnSelectOffline.Style.GradientAngle = 90;
+ this.btnSelectOffline.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSelectOffline.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSelectOffline.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSelectOffline.TabIndex = 772;
+ this.btnSelectOffline.Text = "选掉线";
+ this.btnSelectOffline.Click += new System.EventHandler(this.btnSelectOffline_Click);
+ //
+ // btnSelectOnline
+ //
+ this.btnSelectOnline.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnSelectOnline.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnSelectOnline.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnSelectOnline.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnSelectOnline.Location = new System.Drawing.Point(9, 137);
+ this.btnSelectOnline.Name = "btnSelectOnline";
+ this.btnSelectOnline.Size = new System.Drawing.Size(50, 20);
+ this.btnSelectOnline.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSelectOnline.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSelectOnline.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnSelectOnline.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnSelectOnline.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnSelectOnline.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnSelectOnline.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnSelectOnline.Style.GradientAngle = 90;
+ this.btnSelectOnline.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnSelectOnline.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSelectOnline.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnSelectOnline.TabIndex = 768;
+ this.btnSelectOnline.Text = "选在线";
+ this.btnSelectOnline.Click += new System.EventHandler(this.btnSelectOnline_Click);
+ //
+ // btnAddUnSelect
+ //
+ this.btnAddUnSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnAddUnSelect.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAddUnSelect.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnAddUnSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnAddUnSelect.Location = new System.Drawing.Point(81, 115);
+ this.btnAddUnSelect.Name = "btnAddUnSelect";
+ this.btnAddUnSelect.Size = new System.Drawing.Size(70, 20);
+ this.btnAddUnSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddUnSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnAddUnSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnAddUnSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnAddUnSelect.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnAddUnSelect.Style.GradientAngle = 90;
+ this.btnAddUnSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddUnSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddUnSelect.TabIndex = 746;
+ this.btnAddUnSelect.Text = "弃选条件";
+ this.btnAddUnSelect.Click += new System.EventHandler(this.btnAddUnSelect_Click);
+ //
+ // btnReverse
+ //
+ this.btnReverse.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnReverse.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnReverse.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnReverse.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnReverse.Location = new System.Drawing.Point(113, 137);
+ this.btnReverse.Name = "btnReverse";
+ this.btnReverse.Size = new System.Drawing.Size(38, 20);
+ this.btnReverse.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnReverse.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnReverse.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnReverse.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnReverse.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnReverse.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnReverse.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnReverse.Style.GradientAngle = 90;
+ this.btnReverse.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnReverse.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnReverse.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnReverse.TabIndex = 726;
+ this.btnReverse.Text = "反选";
+ this.btnReverse.Click += new System.EventHandler(this.btnReverse_Click);
+ //
+ // cmbFilterShopNotes
+ //
+ this.cmbFilterShopNotes.DefaultText = "全部";
+ this.cmbFilterShopNotes.DropDownHeight = 1;
+ this.cmbFilterShopNotes.DropDownWidth = 1;
+ this.cmbFilterShopNotes.FormattingEnabled = true;
+ this.cmbFilterShopNotes.IntegralHeight = false;
+ this.cmbFilterShopNotes.Location = new System.Drawing.Point(38, 66);
+ this.cmbFilterShopNotes.Name = "cmbFilterShopNotes";
+ this.cmbFilterShopNotes.Size = new System.Drawing.Size(113, 25);
+ this.cmbFilterShopNotes.TabIndex = 442;
+ this.cmbFilterShopNotes.Text = "全部";
+ //
+ // btnAddSelect
+ //
+ this.btnAddSelect.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnAddSelect.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAddSelect.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnAddSelect.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnAddSelect.Location = new System.Drawing.Point(9, 115);
+ this.btnAddSelect.Name = "btnAddSelect";
+ this.btnAddSelect.Size = new System.Drawing.Size(70, 20);
+ this.btnAddSelect.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddSelect.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnAddSelect.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnAddSelect.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnAddSelect.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnAddSelect.Style.GradientAngle = 90;
+ this.btnAddSelect.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddSelect.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddSelect.TabIndex = 742;
+ this.btnAddSelect.Text = "选中条件";
+ this.btnAddSelect.Click += new System.EventHandler(this.btnAddSelect_Click);
+ //
+ // btnEmptyShop
+ //
+ this.btnEmptyShop.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnEmptyShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnEmptyShop.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnEmptyShop.Location = new System.Drawing.Point(113, 93);
+ this.btnEmptyShop.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
+ this.btnEmptyShop.Name = "btnEmptyShop";
+ this.btnEmptyShop.Size = new System.Drawing.Size(38, 20);
+ this.btnEmptyShop.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnEmptyShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnEmptyShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnEmptyShop.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnEmptyShop.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnEmptyShop.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnEmptyShop.Style.GradientAngle = 90;
+ this.btnEmptyShop.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnEmptyShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnEmptyShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnEmptyShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnEmptyShop.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnEmptyShop.TabIndex = 713;
+ this.btnEmptyShop.Text = "清空";
+ this.btnEmptyShop.Click += new System.EventHandler(this.btnEmptyShop_Click);
+ //
+ // btnFilterShop
+ //
+ this.btnFilterShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnFilterShop.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnFilterShop.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnFilterShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnFilterShop.Location = new System.Drawing.Point(9, 93);
+ this.btnFilterShop.Name = "btnFilterShop";
+ this.btnFilterShop.Size = new System.Drawing.Size(102, 20);
+ this.btnFilterShop.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnFilterShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnFilterShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnFilterShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnFilterShop.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnFilterShop.Style.GradientAngle = 90;
+ this.btnFilterShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnFilterShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnFilterShop.TabIndex = 703;
+ this.btnFilterShop.Text = "过滤店铺";
+ this.btnFilterShop.Click += new System.EventHandler(this.btnFilterShop_Click);
+ //
+ // label16
+ //
+ this.label16.AutoSize = true;
+ this.label16.Location = new System.Drawing.Point(7, 70);
+ this.label16.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label16.Name = "label16";
+ this.label16.Size = new System.Drawing.Size(32, 17);
+ this.label16.TabIndex = 697;
+ this.label16.Text = "备注";
+ //
+ // txtFilterShopName
+ //
+ this.txtFilterShopName.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.txtFilterShopName.Location = new System.Drawing.Point(38, 39);
+ this.txtFilterShopName.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtFilterShopName.Name = "txtFilterShopName";
+ this.txtFilterShopName.Size = new System.Drawing.Size(113, 25);
+ this.txtFilterShopName.TabIndex = 653;
+ //
+ // btnRefreshShop
+ //
+ this.btnRefreshShop.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnRefreshShop.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnRefreshShop.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnRefreshShop.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnRefreshShop.Location = new System.Drawing.Point(9, 17);
+ this.btnRefreshShop.Name = "btnRefreshShop";
+ this.btnRefreshShop.Size = new System.Drawing.Size(70, 20);
+ this.btnRefreshShop.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRefreshShop.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnRefreshShop.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnRefreshShop.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnRefreshShop.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnRefreshShop.Style.GradientAngle = 90;
+ this.btnRefreshShop.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnRefreshShop.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnRefreshShop.TabIndex = 431;
+ this.btnRefreshShop.Text = "刷新店铺";
+ this.btnRefreshShop.Click += new System.EventHandler(this.btnRefreshShop_Click);
+ //
+ // label17
+ //
+ this.label17.AutoSize = true;
+ this.label17.Location = new System.Drawing.Point(7, 43);
+ this.label17.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label17.Name = "label17";
+ this.label17.Size = new System.Drawing.Size(32, 17);
+ this.label17.TabIndex = 699;
+ this.label17.Text = "名称";
+ //
+ // pbLoadingShop
+ //
+ this.pbLoadingShop.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pbLoadingShop.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pbLoadingShop.Location = new System.Drawing.Point(152, 194);
+ this.pbLoadingShop.Name = "pbLoadingShop";
+ this.pbLoadingShop.Size = new System.Drawing.Size(50, 50);
+ this.pbLoadingShop.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pbLoadingShop.TabIndex = 193;
+ this.pbLoadingShop.TabStop = false;
+ this.pbLoadingShop.Visible = false;
+ //
+ // dgvShop
+ //
+ this.dgvShop.AllowUserToAddRows = false;
+ this.dgvShop.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle15.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15;
+ this.dgvShop.AutoRowNumber = true;
+ this.dgvShop.BackgroundColor = System.Drawing.Color.White;
+ this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
+ this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.colSelect,
+ this.colShopLoginName,
+ this.colShopId,
+ this.colShopName,
+ this.colShopNotes,
+ this.colSelectProduct,
+ this.colLoginStatus,
+ this.colApi,
+ this.colCanUse,
+ this.colUploadCount,
+ this.colOnSaleNum,
+ this.colRemaining,
+ this.colMessage});
+ this.dgvShop.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvShop.Location = new System.Drawing.Point(4, 0);
+ this.dgvShop.Name = "dgvShop";
+ this.dgvShop.ReadOnly = true;
+ this.dgvShop.RowHeadersWidth = 25;
+ this.dgvShop.RowTemplate.Height = 23;
+ this.dgvShop.Size = new System.Drawing.Size(346, 438);
+ this.dgvShop.TabIndex = 6;
+ this.dgvShop.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellClick);
+ this.dgvShop.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvShop_CellContentClick);
+ //
+ // colSelect
+ //
+ this.colSelect.HeaderText = "全选";
+ this.colSelect.Name = "colSelect";
+ this.colSelect.ReadOnly = true;
+ this.colSelect.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSelect.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colSelect.Width = 28;
+ //
+ // colShopLoginName
+ //
+ this.colShopLoginName.HeaderText = "店铺登录名";
+ this.colShopLoginName.Name = "colShopLoginName";
+ this.colShopLoginName.ReadOnly = true;
+ this.colShopLoginName.Visible = false;
+ //
+ // colShopId
+ //
+ this.colShopId.HeaderText = "店铺Id";
+ this.colShopId.Name = "colShopId";
+ this.colShopId.ReadOnly = true;
+ this.colShopId.Visible = false;
+ this.colShopId.Width = 55;
+ //
+ // colShopName
+ //
+ this.colShopName.FillWeight = 150F;
+ this.colShopName.HeaderText = "店铺名称";
+ this.colShopName.Name = "colShopName";
+ this.colShopName.ReadOnly = true;
+ this.colShopName.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colShopName.Width = 75;
+ //
+ // colShopNotes
+ //
+ this.colShopNotes.HeaderText = "备注";
+ this.colShopNotes.Name = "colShopNotes";
+ this.colShopNotes.ReadOnly = true;
+ this.colShopNotes.Width = 75;
+ //
+ // colSelectProduct
+ //
+ this.colSelectProduct.HeaderText = "选择商品";
+ this.colSelectProduct.Name = "colSelectProduct";
+ this.colSelectProduct.ReadOnly = true;
+ this.colSelectProduct.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSelectProduct.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colSelectProduct.Visible = false;
+ this.colSelectProduct.Width = 62;
+ //
+ // colLoginStatus
+ //
+ this.colLoginStatus.HeaderText = "状态";
+ this.colLoginStatus.Name = "colLoginStatus";
+ this.colLoginStatus.ReadOnly = true;
+ this.colLoginStatus.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colLoginStatus.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colLoginStatus.Width = 38;
+ //
+ // colApi
+ //
+ this.colApi.HeaderText = "Api";
+ this.colApi.Name = "colApi";
+ this.colApi.ReadOnly = true;
+ this.colApi.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colApi.Visible = false;
+ this.colApi.Width = 38;
+ //
+ // colCanUse
+ //
+ this.colCanUse.HeaderText = "可用";
+ this.colCanUse.Name = "colCanUse";
+ this.colCanUse.ReadOnly = true;
+ this.colCanUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colCanUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colCanUse.Visible = false;
+ this.colCanUse.Width = 28;
+ //
+ // colUploadCount
+ //
+ this.colUploadCount.HeaderText = "已传";
+ this.colUploadCount.Name = "colUploadCount";
+ this.colUploadCount.ReadOnly = true;
+ this.colUploadCount.Visible = false;
+ this.colUploadCount.Width = 38;
+ //
+ // colOnSaleNum
+ //
+ this.colOnSaleNum.HeaderText = "在售";
+ this.colOnSaleNum.Name = "colOnSaleNum";
+ this.colOnSaleNum.ReadOnly = true;
+ this.colOnSaleNum.Visible = false;
+ this.colOnSaleNum.Width = 38;
+ //
+ // colRemaining
+ //
+ this.colRemaining.HeaderText = "月限额";
+ this.colRemaining.Name = "colRemaining";
+ this.colRemaining.ReadOnly = true;
+ this.colRemaining.Visible = false;
+ //
+ // colMessage
+ //
+ this.colMessage.HeaderText = "消息";
+ this.colMessage.Name = "colMessage";
+ this.colMessage.ReadOnly = true;
+ //
+ // dgvTalent
+ //
+ this.dgvTalent.AllowUserToAddRows = false;
+ this.dgvTalent.AllowUserToDeleteRows = false;
+ dataGridViewCellStyle17.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvTalent.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle17;
+ this.dgvTalent.AutoRowNumber = true;
+ this.dgvTalent.BackgroundColor = System.Drawing.Color.White;
+ this.dgvTalent.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvTalent.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle18;
+ this.dgvTalent.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvTalent.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.colCheck,
+ this.colSupplierId,
+ this.colSupplierName,
+ this.colLogin,
+ this.colInShop,
+ this.colImgUrl,
+ this.colImg,
+ this.colTalentAppid,
+ this.colNickname,
+ this.colTag,
+ this.colCatScore,
+ this.colFansNumber,
+ this.Column1,
+ this.Column2,
+ this.Column3,
+ this.Column4,
+ this.ColDelete,
+ this.colOpResult});
+ this.dgvTalent.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvTalent.Location = new System.Drawing.Point(0, 0);
+ this.dgvTalent.Name = "dgvTalent";
+ this.dgvTalent.ReadOnly = true;
+ this.dgvTalent.RowTemplate.Height = 23;
+ this.dgvTalent.Size = new System.Drawing.Size(986, 438);
+ this.dgvTalent.TabIndex = 187;
+ this.dgvTalent.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvTalent_CellContentClick);
+ //
+ // colCheck
+ //
+ this.colCheck.Frozen = true;
+ this.colCheck.HeaderText = "选择";
+ this.colCheck.Name = "colCheck";
+ this.colCheck.ReadOnly = true;
+ this.colCheck.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colCheck.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colCheck.Width = 30;
+ //
+ // colSupplierId
+ //
+ this.colSupplierId.Frozen = true;
+ this.colSupplierId.HeaderText = "店铺Id";
+ this.colSupplierId.Name = "colSupplierId";
+ this.colSupplierId.ReadOnly = true;
+ //
+ // colSupplierName
+ //
+ dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle19;
+ this.colSupplierName.Frozen = true;
+ this.colSupplierName.HeaderText = "店铺名称";
+ this.colSupplierName.Name = "colSupplierName";
+ this.colSupplierName.ReadOnly = true;
+ //
+ // colLogin
+ //
+ this.colLogin.HeaderText = "登录";
+ this.colLogin.Name = "colLogin";
+ this.colLogin.ReadOnly = true;
+ this.colLogin.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colLogin.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colLogin.Width = 40;
+ //
+ // colInShop
+ //
+ this.colInShop.HeaderText = "进店";
+ this.colInShop.Name = "colInShop";
+ this.colInShop.ReadOnly = true;
+ this.colInShop.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+ this.colInShop.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+ this.colInShop.Width = 40;
+ //
+ // colImgUrl
+ //
+ this.colImgUrl.HeaderText = "图片地址";
+ this.colImgUrl.Name = "colImgUrl";
+ this.colImgUrl.ReadOnly = true;
+ this.colImgUrl.Visible = false;
+ //
+ // colImg
+ //
+ this.colImg.HeaderText = "图片";
+ this.colImg.ImageLayout = System.Windows.Forms.DataGridViewImageCellLayout.Zoom;
+ this.colImg.Name = "colImg";
+ this.colImg.ReadOnly = true;
+ this.colImg.Width = 60;
+ //
+ // colTalentAppid
+ //
+ this.colTalentAppid.HeaderText = "达人Id";
+ this.colTalentAppid.Name = "colTalentAppid";
+ this.colTalentAppid.ReadOnly = true;
+ this.colTalentAppid.Visible = false;
+ //
+ // colNickname
+ //
+ dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colNickname.DefaultCellStyle = dataGridViewCellStyle20;
+ this.colNickname.HeaderText = "达人昵称";
+ this.colNickname.Name = "colNickname";
+ this.colNickname.ReadOnly = true;
+ //
+ // colTag
+ //
+ this.colTag.HeaderText = "标签";
+ this.colTag.Name = "colTag";
+ this.colTag.ReadOnly = true;
+ //
+ // colCatScore
+ //
+ dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colCatScore.DefaultCellStyle = dataGridViewCellStyle21;
+ this.colCatScore.HeaderText = "类目/评分";
+ this.colCatScore.Name = "colCatScore";
+ this.colCatScore.ReadOnly = true;
+ this.colCatScore.Width = 120;
+ //
+ // colFansNumber
+ //
+ this.colFansNumber.HeaderText = "粉丝数";
+ this.colFansNumber.Name = "colFansNumber";
+ this.colFansNumber.ReadOnly = true;
+ this.colFansNumber.Width = 60;
+ //
+ // Column1
+ //
+ this.Column1.HeaderText = "带货销售额";
+ this.Column1.Name = "Column1";
+ this.Column1.ReadOnly = true;
+ this.Column1.Width = 80;
+ //
+ // Column2
+ //
+ this.Column2.HeaderText = "直播销售额";
+ this.Column2.Name = "Column2";
+ this.Column2.ReadOnly = true;
+ this.Column2.Width = 80;
+ //
+ // Column3
+ //
+ this.Column3.HeaderText = "短视频销售额";
+ this.Column3.Name = "Column3";
+ this.Column3.ReadOnly = true;
+ this.Column3.Width = 90;
+ //
+ // Column4
+ //
+ this.Column4.HeaderText = "公众号销售额";
+ this.Column4.Name = "Column4";
+ this.Column4.ReadOnly = true;
+ this.Column4.Width = 90;
+ //
+ // ColDelete
+ //
+ this.ColDelete.HeaderText = "删除";
+ this.ColDelete.Name = "ColDelete";
+ this.ColDelete.ReadOnly = true;
+ this.ColDelete.Visible = false;
+ this.ColDelete.Width = 75;
+ //
+ // colOpResult
+ //
+ this.colOpResult.HeaderText = "操作结果";
+ this.colOpResult.Name = "colOpResult";
+ this.colOpResult.ReadOnly = true;
+ this.colOpResult.Width = 240;
+ //
+ // splitContainer3
+ //
+ this.splitContainer3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer3.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer3.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer3.Name = "splitContainer3";
+ this.splitContainer3.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer3.Panel1
+ //
+ this.splitContainer3.Panel1.Controls.Add(this.splitContainer2);
+ //
+ // splitContainer3.Panel2
+ //
+ this.splitContainer3.Panel2.Controls.Add(this.splitContainer4);
+ this.splitContainer3.Size = new System.Drawing.Size(1346, 641);
+ this.splitContainer3.SplitterDistance = 611;
+ this.splitContainer3.TabIndex = 1;
+ //
+ // splitContainer2
+ //
+ this.splitContainer2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer2.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer2.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer2.Name = "splitContainer2";
+ //
+ // splitContainer2.Panel1
+ //
+ this.splitContainer2.Panel1.Controls.Add(this.splitContainer1);
+ //
+ // splitContainer2.Panel2
+ //
+ this.splitContainer2.Panel2.Controls.Add(this.ucTabControl1);
+ this.splitContainer2.Panel2.Controls.Add(this.chkTestNoAuditUpload);
+ this.splitContainer2.Size = new System.Drawing.Size(1346, 611);
+ this.splitContainer2.SplitterDistance = 350;
+ this.splitContainer2.TabIndex = 0;
+ //
+ // ucTabControl1
+ //
+ this.ucTabControl1.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(251)))), ((int)(((byte)(251)))), ((int)(((byte)(251)))));
+ this.ucTabControl1.Controls.Add(this.tabPage1);
+ this.ucTabControl1.Controls.Add(this.tabPage2);
+ this.ucTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.ucTabControl1.ItemSize = new System.Drawing.Size(73, 28);
+ this.ucTabControl1.Location = new System.Drawing.Point(0, 0);
+ this.ucTabControl1.Name = "ucTabControl1";
+ this.ucTabControl1.SelectedIndex = 0;
+ this.ucTabControl1.ShowCloseButton = false;
+ this.ucTabControl1.Size = new System.Drawing.Size(992, 611);
+ this.ucTabControl1.TabIndex = 780;
+ this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.ucTabControl1.TabTextColor = System.Drawing.Color.Gray;
+ //
+ // tabPage1
+ //
+ this.tabPage1.Controls.Add(this.mainPanel);
+ this.tabPage1.Location = new System.Drawing.Point(2, 32);
+ this.tabPage1.Name = "tabPage1";
+ this.tabPage1.Size = new System.Drawing.Size(986, 575);
+ this.tabPage1.TabIndex = 1;
+ this.tabPage1.Text = "达人广场";
+ this.tabPage1.UseVisualStyleBackColor = true;
+ //
+ // mainPanel
+ //
+ this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.mainPanel.Location = new System.Drawing.Point(0, 0);
+ this.mainPanel.Name = "mainPanel";
+ this.mainPanel.Size = new System.Drawing.Size(986, 575);
+ this.mainPanel.TabIndex = 1;
+ //
+ // tabPage2
+ //
+ this.tabPage2.Controls.Add(this.splitContainer5);
+ this.tabPage2.Location = new System.Drawing.Point(2, 32);
+ this.tabPage2.Name = "tabPage2";
+ this.tabPage2.Size = new System.Drawing.Size(986, 575);
+ this.tabPage2.TabIndex = 2;
+ this.tabPage2.Text = "操作列表";
+ this.tabPage2.UseVisualStyleBackColor = true;
+ //
+ // splitContainer5
+ //
+ this.splitContainer5.BackColor = System.Drawing.Color.White;
+ this.splitContainer5.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer5.FixedPanel = System.Windows.Forms.FixedPanel.Panel1;
+ this.splitContainer5.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer5.Name = "splitContainer5";
+ this.splitContainer5.Orientation = System.Windows.Forms.Orientation.Horizontal;
+ //
+ // splitContainer5.Panel1
+ //
+ this.splitContainer5.Panel1.Controls.Add(this.chkReUse);
+ this.splitContainer5.Panel1.Controls.Add(this.btnStop2);
+ this.splitContainer5.Panel1.Controls.Add(this.btnAddFinder);
+ this.splitContainer5.Panel1.Controls.Add(this.label10);
+ this.splitContainer5.Panel1.Controls.Add(this.txtProductIds);
+ this.splitContainer5.Panel1.Controls.Add(this.label9);
+ this.splitContainer5.Panel1.Controls.Add(this.txtExplain);
+ this.splitContainer5.Panel1.Controls.Add(this.label8);
+ this.splitContainer5.Panel1.Controls.Add(this.txtMobile);
+ this.splitContainer5.Panel1.Controls.Add(this.label7);
+ this.splitContainer5.Panel1.Controls.Add(this.txtWxNumber);
+ this.splitContainer5.Panel1.Controls.Add(this.label6);
+ this.splitContainer5.Panel1.Controls.Add(this.txtContactPerson);
+ this.splitContainer5.Panel1.Controls.Add(this.label4);
+ //
+ // splitContainer5.Panel2
+ //
+ this.splitContainer5.Panel2.Controls.Add(this.pbLoading);
+ this.splitContainer5.Panel2.Controls.Add(this.dgvTalent);
+ this.splitContainer5.Size = new System.Drawing.Size(986, 575);
+ this.splitContainer5.SplitterDistance = 133;
+ this.splitContainer5.TabIndex = 0;
+ //
+ // chkReUse
+ //
+ this.chkReUse.AutoSize = true;
+ this.chkReUse.Checked = true;
+ this.chkReUse.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.chkReUse.Location = new System.Drawing.Point(564, 64);
+ this.chkReUse.Name = "chkReUse";
+ this.chkReUse.Size = new System.Drawing.Size(147, 21);
+ this.chkReUse.TabIndex = 865;
+ this.chkReUse.Text = "多店复用达人搜索结果";
+ this.chkReUse.UseVisualStyleBackColor = true;
+ //
+ // btnStop2
+ //
+ this.btnStop2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnStop2.CanvasColor = System.Drawing.SystemColors.Control;
+ this.btnStop2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnStop2.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnStop2.Location = new System.Drawing.Point(913, 97);
+ this.btnStop2.Margin = new System.Windows.Forms.Padding(4, 2, 2, 2);
+ this.btnStop2.Name = "btnStop2";
+ this.btnStop2.Size = new System.Drawing.Size(56, 25);
+ this.btnStop2.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStop2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStop2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.btnStop2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.btnStop2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStop2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.btnStop2.Style.GradientAngle = 90;
+ this.btnStop2.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStop2.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnStop2.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStop2.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnStop2.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnStop2.TabIndex = 858;
+ this.btnStop2.Text = "停止邀约";
+ this.btnStop2.Click += new System.EventHandler(this.btnStop_Click);
+ //
+ // btnAddFinder
+ //
+ this.btnAddFinder.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+ this.btnAddFinder.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnAddFinder.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAddFinder.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnAddFinder.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnAddFinder.Location = new System.Drawing.Point(827, 97);
+ this.btnAddFinder.Name = "btnAddFinder";
+ this.btnAddFinder.Size = new System.Drawing.Size(84, 25);
+ this.btnAddFinder.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddFinder.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddFinder.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnAddFinder.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnAddFinder.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnAddFinder.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnAddFinder.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnAddFinder.Style.GradientAngle = 90;
+ this.btnAddFinder.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnAddFinder.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddFinder.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnAddFinder.TabIndex = 857;
+ this.btnAddFinder.Text = "邀约选中达人";
+ this.btnAddFinder.Click += new System.EventHandler(this.btnAddFinder_Click);
+ //
+ // label10
+ //
+ this.label10.AutoSize = true;
+ this.label10.ForeColor = System.Drawing.SystemColors.ControlDarkDark;
+ this.label10.Location = new System.Drawing.Point(561, 40);
+ this.label10.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(466, 17);
+ this.label10.TabIndex = 850;
+ this.label10.Text = "指定要邀约的商品Id,逗号或者空格分隔,如果不填,默认按销量和上架时间取前30条";
+ //
+ // txtProductIds
+ //
+ this.txtProductIds.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
+ | System.Windows.Forms.AnchorStyles.Right)));
+ this.txtProductIds.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.txtProductIds.Location = new System.Drawing.Point(630, 9);
+ this.txtProductIds.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtProductIds.Name = "txtProductIds";
+ this.txtProductIds.Size = new System.Drawing.Size(341, 25);
+ this.txtProductIds.TabIndex = 849;
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Location = new System.Drawing.Point(562, 14);
+ this.label9.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label9.Name = "label9";
+ this.label9.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label9.Size = new System.Drawing.Size(68, 17);
+ this.label9.TabIndex = 848;
+ this.label9.Text = "邀约商品Id";
+ //
+ // txtExplain
+ //
+ this.txtExplain.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.txtExplain.Location = new System.Drawing.Point(77, 39);
+ this.txtExplain.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtExplain.Multiline = true;
+ this.txtExplain.Name = "txtExplain";
+ this.txtExplain.Size = new System.Drawing.Size(448, 83);
+ this.txtExplain.TabIndex = 847;
+ this.txtExplain.TextChanged += new System.EventHandler(this.txtExplain_TextChanged);
+ //
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.Location = new System.Drawing.Point(21, 44);
+ this.label8.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label8.Name = "label8";
+ this.label8.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label8.Size = new System.Drawing.Size(56, 17);
+ this.label8.TabIndex = 846;
+ this.label8.Text = "合作说明";
+ //
+ // txtMobile
+ //
+ this.txtMobile.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.txtMobile.Location = new System.Drawing.Point(411, 8);
+ this.txtMobile.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtMobile.Name = "txtMobile";
+ this.txtMobile.Size = new System.Drawing.Size(114, 25);
+ this.txtMobile.TabIndex = 845;
+ this.txtMobile.TextChanged += new System.EventHandler(this.txtMobile_TextChanged);
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.Location = new System.Drawing.Point(355, 12);
+ this.label7.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label7.Name = "label7";
+ this.label7.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label7.Size = new System.Drawing.Size(56, 17);
+ this.label7.TabIndex = 844;
+ this.label7.Text = "手机号码";
+ //
+ // txtWxNumber
+ //
+ this.txtWxNumber.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.txtWxNumber.Location = new System.Drawing.Point(238, 8);
+ this.txtWxNumber.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtWxNumber.Name = "txtWxNumber";
+ this.txtWxNumber.Size = new System.Drawing.Size(114, 25);
+ this.txtWxNumber.TabIndex = 843;
+ this.txtWxNumber.TextChanged += new System.EventHandler(this.txtWxNumber_TextChanged);
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Location = new System.Drawing.Point(194, 12);
+ this.label6.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label6.Name = "label6";
+ this.label6.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label6.Size = new System.Drawing.Size(44, 17);
+ this.label6.TabIndex = 842;
+ this.label6.Text = "微信号";
+ //
+ // txtContactPerson
+ //
+ this.txtContactPerson.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.txtContactPerson.Location = new System.Drawing.Point(77, 8);
+ this.txtContactPerson.Margin = new System.Windows.Forms.Padding(0, 2, 0, 2);
+ this.txtContactPerson.Name = "txtContactPerson";
+ this.txtContactPerson.Size = new System.Drawing.Size(114, 25);
+ this.txtContactPerson.TabIndex = 841;
+ this.txtContactPerson.TextChanged += new System.EventHandler(this.txtContactPerson_TextChanged);
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Location = new System.Drawing.Point(9, 12);
+ this.label4.Margin = new System.Windows.Forms.Padding(6, 0, 0, 0);
+ this.label4.Name = "label4";
+ this.label4.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
+ this.label4.Size = new System.Drawing.Size(68, 17);
+ this.label4.TabIndex = 821;
+ this.label4.Text = "邀约联系人";
+ //
+ // pbLoading
+ //
+ this.pbLoading.Anchor = System.Windows.Forms.AnchorStyles.None;
+ this.pbLoading.Image = global::TemuKJD.Properties.Resources.loading_blue;
+ this.pbLoading.Location = new System.Drawing.Point(468, 194);
+ this.pbLoading.Name = "pbLoading";
+ this.pbLoading.Size = new System.Drawing.Size(50, 50);
+ this.pbLoading.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+ this.pbLoading.TabIndex = 781;
+ this.pbLoading.TabStop = false;
+ this.pbLoading.Visible = false;
+ //
+ // chkTestNoAuditUpload
+ //
+ this.chkTestNoAuditUpload.AutoSize = true;
+ this.chkTestNoAuditUpload.Location = new System.Drawing.Point(1094, 35);
+ this.chkTestNoAuditUpload.Name = "chkTestNoAuditUpload";
+ this.chkTestNoAuditUpload.Size = new System.Drawing.Size(123, 21);
+ this.chkTestNoAuditUpload.TabIndex = 779;
+ this.chkTestNoAuditUpload.Text = "测试免审提交商品";
+ this.chkTestNoAuditUpload.UseVisualStyleBackColor = true;
+ this.chkTestNoAuditUpload.Visible = false;
+ //
+ // splitContainer4
+ //
+ this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer4.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer4.Name = "splitContainer4";
+ //
+ // splitContainer4.Panel1
+ //
+ this.splitContainer4.Panel1.Controls.Add(this.statusBar);
+ this.splitContainer4.Size = new System.Drawing.Size(1346, 26);
+ this.splitContainer4.SplitterDistance = 964;
+ this.splitContainer4.TabIndex = 3;
+ //
+ // statusBar
+ //
+ this.statusBar.BackColor = System.Drawing.Color.White;
+ this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.statusBar.Location = new System.Drawing.Point(0, 0);
+ this.statusBar.Margin = new System.Windows.Forms.Padding(0);
+ this.statusBar.Name = "statusBar";
+ this.statusBar.Size = new System.Drawing.Size(964, 26);
+ this.statusBar.TabIndex = 2;
+ //
+ // WXFinderSquareForm
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.BackColor = System.Drawing.Color.White;
+ this.ClientSize = new System.Drawing.Size(1346, 641);
+ this.Controls.Add(this.splitContainer3);
+ this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.KeyPreview = true;
+ this.Name = "WXFinderSquareForm";
+ this.Text = "达人广场";
+ this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load);
+ this.VisibleChanged += new System.EventHandler(this.UserSelectDbProductForm_VisibleChanged);
+ this.splitContainer1.Panel1.ResumeLayout(false);
+ this.splitContainer1.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
+ this.splitContainer1.ResumeLayout(false);
+ this.ucGroupBoxEx4.ResumeLayout(false);
+ this.ucGroupBoxEx4.PerformLayout();
+ this.ucGroupBoxEx1.ResumeLayout(false);
+ this.ucGroupBoxEx1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.pbLoadingShop)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvShop)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvTalent)).EndInit();
+ this.splitContainer3.Panel1.ResumeLayout(false);
+ this.splitContainer3.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer3)).EndInit();
+ this.splitContainer3.ResumeLayout(false);
+ this.splitContainer2.Panel1.ResumeLayout(false);
+ this.splitContainer2.Panel2.ResumeLayout(false);
+ this.splitContainer2.Panel2.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).EndInit();
+ this.splitContainer2.ResumeLayout(false);
+ this.ucTabControl1.ResumeLayout(false);
+ this.tabPage1.ResumeLayout(false);
+ this.tabPage2.ResumeLayout(false);
+ this.splitContainer5.Panel1.ResumeLayout(false);
+ this.splitContainer5.Panel1.PerformLayout();
+ this.splitContainer5.Panel2.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer5)).EndInit();
+ this.splitContainer5.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.pbLoading)).EndInit();
+ this.splitContainer4.Panel1.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.splitContainer4)).EndInit();
+ this.splitContainer4.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.SplitContainer splitContainer1;
+ private UserComponent.UcGroupBoxEx ucGroupBoxEx4;
+ private UserComponent.UcGroupBoxEx ucGroupBoxEx1;
+ private DevComponents.DotNetBar.PanelEx btnRefreshShop;
+ private System.Windows.Forms.SplitContainer splitContainer3;
+ private System.Windows.Forms.SplitContainer splitContainer2;
+ private UserComponent.DataGridViewEx dgvShop;
+ private UserComponent.DataGridViewEx dgvTalent;
+ private System.Windows.Forms.SplitContainer splitContainer4;
+ private UserControls.StatusBarUserControl statusBar;
+ private DevComponents.DotNetBar.PanelEx btnSearchTalent;
+ private DevComponents.DotNetBar.PanelEx btnClearFilter;
+ private UserComponent.UcCheckBox chkTestNoAuditUpload;
+ private System.Windows.Forms.TextBox txtFilterShopName;
+ private DevComponents.DotNetBar.PanelEx btnFilterShop;
+ private System.Windows.Forms.Label label17;
+ private System.Windows.Forms.Label label16;
+ private DevComponents.DotNetBar.PanelEx btnEmptyShop;
+ private UserComponent.UcComboBoxMutiSelect cmbFilterShopNotes;
+ private DevComponents.DotNetBar.PanelEx btnReverse;
+ private DevComponents.DotNetBar.PanelEx btnAddUnSelect;
+ private DevComponents.DotNetBar.PanelEx btnAddSelect;
+ private DevComponents.DotNetBar.PanelEx btnSelectOffline;
+ private DevComponents.DotNetBar.PanelEx btnSelectOnline;
+ private DevComponents.DotNetBar.PanelEx btnRefreshAuthor;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colSelect;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colShopLoginName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colShopId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colShopName;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colShopNotes;
+ private System.Windows.Forms.DataGridViewLinkColumn colSelectProduct;
+ private System.Windows.Forms.DataGridViewLinkColumn colLoginStatus;
+ private System.Windows.Forms.DataGridViewLinkColumn colApi;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colCanUse;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colUploadCount;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOnSaleNum;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colRemaining;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colMessage;
+ private System.Windows.Forms.Label label2;
+ private DevComponents.DotNetBar.PanelEx btnStop;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.PictureBox pbLoadingShop;
+ private UserComponent.UcTabControl ucTabControl1;
+ private System.Windows.Forms.TabPage tabPage1;
+ private System.Windows.Forms.Panel mainPanel;
+ private System.Windows.Forms.TabPage tabPage2;
+ private System.Windows.Forms.SplitContainer splitContainer5;
+ private System.Windows.Forms.PictureBox pbLoading;
+ private System.Windows.Forms.TextBox txtPageEnd;
+ private System.Windows.Forms.Label label1;
+ private System.Windows.Forms.TextBox textBox1;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.TextBox txtMobile;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.TextBox txtWxNumber;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.TextBox txtContactPerson;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.TextBox txtProductIds;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.TextBox txtExplain;
+ private System.Windows.Forms.Label label8;
+ private DevComponents.DotNetBar.PanelEx btnStop2;
+ private DevComponents.DotNetBar.PanelEx btnAddFinder;
+ private System.Windows.Forms.DataGridViewCheckBoxColumn colCheck;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierId;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colSupplierName;
+ private System.Windows.Forms.DataGridViewLinkColumn colLogin;
+ private System.Windows.Forms.DataGridViewLinkColumn colInShop;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colImgUrl;
+ private System.Windows.Forms.DataGridViewImageColumn colImg;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colTalentAppid;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colNickname;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colTag;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colCatScore;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colFansNumber;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
+ private System.Windows.Forms.DataGridViewLinkColumn ColDelete;
+ private System.Windows.Forms.DataGridViewTextBoxColumn colOpResult;
+ private UserComponent.UcCheckBox chkReUse;
+ }
+}
\ No newline at end of file
diff --git a/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.cs b/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.cs
new file mode 100644
index 0000000..33e915a
--- /dev/null
+++ b/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.cs
@@ -0,0 +1,1234 @@
+using AllBase;
+using AllBase.Helper;
+using AllBase.Model.Result;
+using NaiBa.Util.Extension;
+using Newtonsoft.Json.Linq;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.IO;
+using System.Linq;
+using System.Net.Http;
+using System.Text;
+using System.Threading;
+using System.Threading.Tasks;
+using System.Windows.Forms;
+using TemuKJD.Extension;
+using TemuKJD.BaseForms;
+using TemuKJD.ToolForms;
+using Work;
+using TemuKJD.BLL;
+using System.Text.RegularExpressions;
+using TemuKJD.PDDForms.ProductSelectForms;
+using TemuKJD.WXForms.ShopForms;
+using AllBase.Model.Result.PDDResult;
+using AllBase.Model.Param.WXParam;
+using AllBase.Model.Result.WXResult;
+using Newtonsoft.Json;
+using NaiBa.Util;
+using AllBase.Model.Config;
+using CefSharp.WinForms;
+using CefSharp;
+using TemuKJD.Helper;
+using NaiBa.CefHelper;
+using NaiBa.CefHelper.Handler;
+
+namespace TemuKJD.WXForms.ProductForms
+{
+ public partial class WXFinderSquareForm : BaseForm
+ {
+ public CancellationTokenSource cancellationTokenSource { get; set; } = null;
+ public bool IsLoadComplate { get; set; } = false;
+
+ public ConcurrentList lstShopAuthInfo = new ConcurrentList();
+ public ConcurrentList lstWXShopTokenInfo = new ConcurrentList();
+ public Dictionary dicCheckedShopId = new Dictionary();
+ public Dictionary dicShopUpload = new Dictionary();
+
+ WXAddFinderParam wxAddFinderParam = new WXAddFinderParam();
+
+ ChromiumWebBrowser mainWebBrowser = null;
+ CheckBox chkSelectAll = null;
+ ShopLoginInfo currentShop;
+
+ int PageBegin = 1;
+ int PageEnd = 20;
+ string currentGetTalentParam = "";
+ List lstWXFinderTalentInfo = new List();
+
+ public WXFinderSquareForm()
+ {
+ InitializeComponent();
+ }
+
+ private void UserSelectDbProductForm_Load(object sender, EventArgs e)
+ {
+ this.splitContainer1.Dock = DockStyle.Fill;
+
+ // 授权状态信息
+ lstShopAuthInfo = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_shop_auth_list");
+ if (lstShopAuthInfo == null)
+ lstShopAuthInfo = new ConcurrentList();
+
+ // 授权Token
+ lstWXShopTokenInfo = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_shop_token_list");
+ if (lstWXShopTokenInfo == null)
+ lstWXShopTokenInfo = new ConcurrentList();
+
+ // 选中信息
+ dicCheckedShopId = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_checked_shop_dic");
+ if (dicCheckedShopId == null)
+ dicCheckedShopId = new Dictionary();
+
+ // 上货信息
+ dicShopUpload = NaiBa.Util.Helper.ConfigHelper.LoadConfig>("wx_shop_upload_info");
+ if (dicShopUpload == null)
+ dicShopUpload = new Dictionary();
+
+ // 邀约参数
+ wxAddFinderParam = NaiBa.Util.Helper.ConfigHelper.LoadConfig("wx_add_finder_param");
+ if (wxAddFinderParam == null)
+ wxAddFinderParam = new WXAddFinderParam();
+
+ txtContactPerson.TextAlignChanged -= txtContactPerson_TextChanged;
+ txtExplain.TextAlignChanged -= txtExplain_TextChanged;
+ txtMobile.TextAlignChanged -= txtMobile_TextChanged;
+ txtWxNumber.TextAlignChanged -= txtWxNumber_TextChanged;
+
+ this.txtContactPerson.Text = wxAddFinderParam.ContactPerson;
+ this.txtExplain.Text = wxAddFinderParam.Explain;
+ this.txtMobile.Text = wxAddFinderParam.Mobile;
+ this.txtWxNumber.Text = wxAddFinderParam.WxNumber;
+
+ txtContactPerson.TextAlignChanged += txtContactPerson_TextChanged;
+ txtExplain.TextAlignChanged += txtExplain_TextChanged;
+ txtMobile.TextAlignChanged += txtMobile_TextChanged;
+ txtWxNumber.TextAlignChanged += txtWxNumber_TextChanged;
+
+ chkSelectAll = dgvShop.Columns["colSelect"].AddHeaderCheckBox(HorizontalAlignment.Center, 0, 0, null, null, false);
+ dgvShop.Columns["colSelect"].HeaderText = "";
+ chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
+
+ this.dgvTalent.AddSelectorColumn("colCheck");
+ dgvTalent.AddImgColumn("colImg", "colImgUrl");
+
+ InitCef();
+ Task.Run(() =>
+ {
+ // 直到店铺加载完后再加载客服内容
+ while (!StartUp.IsShopInit)
+ Thread.Sleep(100);
+ currentShop = GlobalConfig.ShopLoginList.FirstOrDefault();
+ Invoke(new Action(() =>
+ {
+ this.textBox1.Text = currentShop.ShopAccount;
+ this.textBox1.Tag = currentShop.ShopId;
+ }));
+ SetMainBrowserUrl(currentShop);
+ });
+
+ IsLoadComplate = true;
+ }
+
+ void InitCef()
+ {
+ if (mainWebBrowser == null)
+ {
+ mainWebBrowser = CEFBrowser.CreateChromiumWebBrowser("about:blank", false);
+ mainWebBrowser.KeyboardHandler = new KeyboardHandler();
+ mainWebBrowser.Dock = DockStyle.Fill;
+
+ var lifeSpanHandler = new LifeSpanHandlerLocal(PopWindowType.NewTitleWindow);
+ lifeSpanHandler.parent = mainWebBrowser;
+ lifeSpanHandler.OnPop += MainLifeHandler_OnPop;
+ mainWebBrowser.LifeSpanHandler = lifeSpanHandler;
+
+ CustomResourceRequestHandlerLocal resourceRequestHandler = new CustomResourceRequestHandlerLocal();
+ resourceRequestHandler.ResourceLoadCompleteEvent += RequestHandler_ResourceLoadComplete;
+ resourceRequestHandler.BeforeResourceLoadEvent += RequestHandler_BeforeResourceLoad;
+ mainWebBrowser.RequestHandler = new CustomRequestHandler(resourceRequestHandler);
+
+ mainWebBrowser.AddressChanged += MainWebBrowser_AddressChanged;
+ mainWebBrowser.FrameLoadEnd += MainWebBrowser_FrameLoadEnd;
+ mainPanel.Controls.Add(mainWebBrowser);
+ }
+ }
+
+ private void MainWebBrowser_AddressChanged(object sender, AddressChangedEventArgs e)
+ {
+ //this.txtAddress.Text = e.Address;
+ }
+ private void MainWebBrowser_FrameLoadEnd(object sender, CefSharp.FrameLoadEndEventArgs e)
+ {
+ }
+ private bool RequestHandler_BeforeResourceLoad(object sender, string url, string postData, IRequest request)
+ {
+ return false;
+ }
+ private void RequestHandler_ResourceLoadComplete(object sender, string url, string postData, string responseData, IRequest request)
+ {
+ if (url.StartsWith("https://store.weixin.qq.com/shop-faas/mmchannelstradeleague/finderSquare/cgi/getSquareTalentList"))
+ {
+ currentGetTalentParam = postData;
+ }
+ }
+ private void MainLifeHandler_OnPop(object sender, PopData e)
+ {
+ var targetUrl = e.Url;
+ var lifeHandler = sender as LifeSpanHandlerLocal;
+
+ Task.Run(() =>
+ {
+ if (lifeHandler.parent != null)
+ {
+ var cookies = CEFBrowser.GetCookieList("", lifeHandler.parent.RequestContext.GetCookieManager(null));
+ Invoke(new Action(() =>
+ {
+ CefForm cefForm = new CefForm(targetUrl, cookies);
+ cefForm.Show();
+ }));
+ }
+ });
+ }
+
+ private void btnRefreshAuthor_Click(object sender, EventArgs e)
+ {
+ updateAuthor(true);
+ }
+
+ ///
+ /// 更新授权状态
+ ///
+ /// 今日取过的也取
+ private void updateAuthor(bool idRefreshTodayHasGet = false)
+ {
+ this.pbLoadingShop.Visible = true;
+ Task.Run(() =>
+ {
+ // 店铺Id
+ var updateIds = dgvShop.Rows.Cast().Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ var selectIds = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ if (idRefreshTodayHasGet == true)
+ updateIds = selectIds;
+
+ List tList = new List();
+ if (idRefreshTodayHasGet)
+ lstShopAuthInfo.RemoveAll(s => updateIds.Contains(s.ShopId));
+ foreach (var shop in GlobalConfig.ShopLoginList.Where(s => updateIds.Contains(s.ShopId)))
+ {
+ Invoke(new Action(() => { BindShop(shop, selectIds, ""); }));
+ var t = Task.Run(() =>
+ {
+ try
+ {
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() => { BindShop(shop, selectIds, "店铺掉线"); }));
+ return;
+ }
+
+ var authInfo = lstShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shop.ShopId);
+ if (idRefreshTodayHasGet || authInfo == null || authInfo?.AddTime.Date != DateTime.Now.Date)
+ {
+ lstShopAuthInfo.RemoveAll(sa => sa.ShopId == shop.ShopId);
+ var rst = WXUpload.GetApiServiceList(shop);
+ if (!rst.Contains("\"code\":0"))
+ {
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() => { BindShop(shop, selectIds, "店铺掉线"); }));
+ return;
+ }
+
+ lstShopAuthInfo.Add(new AuthInfo() { ShopId = shop.ShopId, AddTime = DateTime.Now, ExpiresTime = DateTime.Now });
+ Invoke(new Action(() => { BindShop(shop, selectIds, "授权查询失败"); }));
+ return;
+ }
+
+ foreach (var itemObj in JsonHelper.JObjectParse(rst)["itemList"])
+ {
+ // 找到了指定服务
+ if (itemObj["serviceName"].ParseToString() == "店统领供应链-商品管理")
+ {
+ var expiresTick = itemObj["expireTime"].ParseToLong();
+ lstShopAuthInfo.Add(new AuthInfo() { ShopId = shop.ShopId, AddTime = DateTime.Now, ExpiresTime = BaseClass.StampToDateTime(expiresTick.ParseToInt()) });
+ Invoke(new Action(() => { BindShop(shop, selectIds, "已查询"); }));
+ return;
+ }
+ }
+ // 没找到指定服务
+ lstShopAuthInfo.Add(new AuthInfo() { ShopId = shop.ShopId, AddTime = DateTime.Now, ExpiresTime = DateTime.Now });
+ Invoke(new Action(() => { BindShop(shop, selectIds, "已查询"); }));
+ }
+ }
+ catch (Exception ex)
+ {
+ }
+ });
+ tList.Add(t);
+ while (tList.Where(ta => !ta.IsFaulted && !ta.IsCompleted).Count() >= 20) { Thread.Sleep(100); }
+ }
+ while (tList.Where(ta => !ta.IsFaulted && !ta.IsCompleted).Count() >= 1) { Thread.Sleep(100); }
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_shop_auth_list", lstShopAuthInfo);
+ Invoke(new Action(() => { pbLoadingShop.Visible = false; }));
+ });
+ }
+
+ private void chkSelectAll_CheckedChanged(object sender, EventArgs e)
+ {
+ if (!chkSelectAll.Checked)
+ {
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ row.Cells["colSelect"].Value = false;
+ }
+ }
+ else
+ {
+ //var list = GlobalConfig.ShopLoginList.Where(s => s.LoginStatus == "登录成功").Select(ss => ss.ShopId);
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ //if (list.Any(l => l == row.Cells["colShopId"]?.Value?.ToString()))
+ if (row.Visible == true)
+ row.Cells["colSelect"].Value = true;
+ }
+ }
+
+ foreach (var r in dgvShop.Rows.Cast())
+ {
+ dicCheckedShopId[r.Cells["colShopId"].Value.ParseToString()] = r.Cells["colSelect"].Value.ParseToBool();
+ }
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_checked_shop_dic", dicCheckedShopId);
+ }
+
+ private void btnRefreshShop_Click(object sender, EventArgs e)
+ {
+ pbLoadingShop.Visible = true;
+ RefreshShopLogin();
+ }
+
+ private void UserSelectDbProductForm_VisibleChanged(object sender, EventArgs e)
+ {
+ if (Visible == true)
+ {
+ RefreshShopLogin();
+ updateAuthor();
+ }
+ }
+
+ private void RefreshShopLogin()
+ {
+ // 店铺Id
+ var selectIds = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ // 获取被删除的店铺
+ List dgvRowList = dgvShop.Rows.Cast().Where(row
+ => !GlobalConfig.ShopLoginList.Any(s => s.ShopId == row.Cells["colShopId"]?.Value?.ToString())).ToList();
+ // 更新被删除的店铺列表
+ foreach (var row in dgvRowList)
+ {
+ dgvShop.Rows.Remove(row);
+ }
+ // 绑定其他店铺(含新导入的店铺)
+ foreach (ShopLoginInfo shopEntity in GlobalConfig.ShopLoginList)
+ {
+ if (!string.IsNullOrEmpty(shopEntity.ShopId))
+ BindShop(shopEntity, selectIds);
+ }
+ cmbFilterShopNotes.Items.Clear();
+ foreach (var note in GlobalConfig.ShopLoginList.Select(s => s.Notes).Where(s => !s.IsNullOrEmpty()).Distinct())
+ {
+ cmbFilterShopNotes.Items.Add(note);
+ }
+ }
+
+ private void BindShop(ShopLoginInfo shopEntity, List selectShopId = null, string msg = "")
+ {
+ if (shopEntity == null)
+ return;
+ if (selectShopId == null)
+ selectShopId = new List();
+
+ bool canUse = shopEntity.LoginStatus == "登录成功";
+ //canUse = true; // 内部库不需要校验登录状态
+ var row = dgvShop.Rows.Cast().FirstOrDefault(p => p.Cells.GetCellValueFromColumnName("colShopId").ParseToString() == shopEntity.ShopId);
+ var day = DateTime.Now.ToString("yyyyMMdd").ParseToInt();
+ if (row == null)
+ {
+ this.dgvShop.Rows.Add(
+ dicCheckedShopId.Keys.Contains(shopEntity.ShopId) && dicCheckedShopId[shopEntity.ShopId] == true,
+ shopEntity.LoginName,
+ shopEntity.ShopId,
+ shopEntity.ShopAccount,
+ shopEntity.Notes,
+ "选择商品",
+ canUse ? "在线" : "掉线",
+ lstShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期",
+ canUse,
+ dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].DicDayUploadCount.ContainsKey(day) ?
+ dicShopUpload[shopEntity.ShopId].DicDayUploadCount[day] : 0,
+ dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].OnSaleRefreshDay == DateTime.Now.ToString("yyyyMMdd").ParseToInt() ?
+ dicShopUpload[shopEntity.ShopId].OnSaleCount : 0,
+ shopEntity.AddProductRemaining,
+ msg
+ );
+ }
+ else
+ {
+ row.Cells["colSelect"].Value = selectShopId.Contains(shopEntity.ShopId) && canUse;
+ row.Cells["colShopLoginName"].Value = shopEntity.LoginName;
+ row.Cells["colShopName"].Value = shopEntity.ShopAccount;
+ row.Cells["colShopNotes"].Value = shopEntity.Notes;
+ row.Cells["colLoginStatus"].Value = canUse ? "在线" : "掉线";
+ row.Cells["colLoginStatus"].Style.ForeColor = canUse ? Color.Green : Color.Red;
+ row.Cells["colCanUse"].Value = canUse;
+ row.Cells["colApi"].Value = lstShopAuthInfo.FirstOrDefault(sa => sa.ShopId == shopEntity.ShopId)?.ExpiresTime > DateTime.Now.AddMinutes(5) ? "可用" : "过期";
+ row.Cells["colRemaining"].Value = shopEntity.AddProductRemaining;
+ row.Cells["colUploadCount"].Value = dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].DicDayUploadCount.ContainsKey(day) ?
+ dicShopUpload[shopEntity.ShopId].DicDayUploadCount[day] : 0;
+ row.Cells["colOnSaleNum"].Value = dicShopUpload.ContainsKey(shopEntity.ShopId) && dicShopUpload[shopEntity.ShopId].OnSaleRefreshDay == DateTime.Now.ToString("yyyyMMdd").ParseToInt() ?
+ dicShopUpload[shopEntity.ShopId].OnSaleCount : 0;
+ row.Cells["colMessage"].Value = msg;
+ }
+
+ displayAuthStatus(shopEntity);
+ }
+
+ void displayAuthStatus(ShopLoginInfo shop)
+ {
+ var rows = this.dgvShop.Rows.Cast().Where(r => r.Cells["colShopId"].Value.ParseToString() == shop?.ShopId);
+ foreach (var row in rows)
+ {
+ bool canUse = row.Cells["colLoginStatus"].Value.ParseToString() == "在线";
+ (row.Cells["colLoginStatus"] as DataGridViewLinkCell).Style.ForeColor = canUse ? Color.Blue : Color.Red;
+ (row.Cells["colLoginStatus"] as DataGridViewLinkCell).LinkColor = canUse ? Color.Blue : Color.Red;
+ (row.Cells["colLoginStatus"] as DataGridViewLinkCell).ActiveLinkColor = canUse ? Color.LightBlue : Color.OrangeRed;
+ (row.Cells["colLoginStatus"] as DataGridViewLinkCell).VisitedLinkColor = canUse ? Color.DarkBlue : Color.DarkRed;
+ canUse = row.Cells["colApi"].Value.ParseToString() == "可用";
+ (row.Cells["colApi"] as DataGridViewLinkCell).Style.ForeColor = canUse ? Color.Blue : Color.Red;
+ (row.Cells["colApi"] as DataGridViewLinkCell).LinkColor = canUse ? Color.Blue : Color.Red;
+ (row.Cells["colApi"] as DataGridViewLinkCell).ActiveLinkColor = canUse ? Color.LightBlue : Color.OrangeRed;
+ (row.Cells["colApi"] as DataGridViewLinkCell).VisitedLinkColor = canUse ? Color.DarkBlue : Color.DarkRed;
+ }
+ }
+
+
+ private void dgvShop_CellClick(object sender, DataGridViewCellEventArgs e)
+ {
+ if (e.ColumnIndex < 0 || e.RowIndex < 0)
+ return;
+ string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
+ string columnName = dgvShop.Columns[e.ColumnIndex].Name;
+ string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
+ string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
+ var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
+ var row = dgvShop.Rows[e.RowIndex];
+
+ if (currentShop != shop)
+ {
+ this.textBox1.Text = shopAccount;
+ this.textBox1.Tag = shopId;
+ currentShop = shop;
+
+ Task.Run(() =>
+ {
+ SetMainBrowserUrl(shop);
+ });
+ }
+ }
+ private void dgvShop_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ {
+ if (e.ColumnIndex < 0 || e.RowIndex < 0)
+ return;
+ string headerText = dgvShop.Columns[e.ColumnIndex].HeaderText;
+ string columnName = dgvShop.Columns[e.ColumnIndex].Name;
+ string shopId = dgvShop.Rows[e.RowIndex].Cells["colShopId"].Value.ParseToString();
+ string shopAccount = dgvShop.Rows[e.RowIndex].Cells["colShopName"].Value.ToString();
+ var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId.ToString());
+ var row = dgvShop.Rows[e.RowIndex];
+
+ this.textBox1.Text = shopAccount;
+ this.textBox1.Tag = shopId;
+ currentShop = shop;
+
+ switch (columnName)
+ {
+ case "colSelect":
+ //if (row.Cells["colCanUse"].Value.ParseToBool())
+ {
+ row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
+
+ chkSelectAll.CheckedChanged -= chkSelectAll_CheckedChanged;
+ if (dgvShop.Rows.Cast().All(r => r.Cells["colSelect"].Value.ParseToBool()))
+ chkSelectAll.Checked = true;
+ else
+ chkSelectAll.Checked = false;
+ chkSelectAll.CheckedChanged += chkSelectAll_CheckedChanged;
+ }
+ //else
+ //{
+ // //BaseMsgForm.ShowInfo("店铺未登录!");
+ //}
+
+ dicCheckedShopId[row.Cells["colShopId"].Value.ParseToString()] = row.Cells["colSelect"].Value.ParseToBool();
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_checked_shop_dic", dicCheckedShopId);
+ break;
+ case "colLoginStatus":
+ {
+ if (WXShopListForm.Instance == null)
+ WXShopListForm.Instance = new WXShopListForm();
+ WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
+ //shopLoginForm.prodUserSelectForm = this;
+ if (shop.LoginStatus != "登录成功")
+ {
+ shopLoginForm.openType = EnumOpenType.login;
+ shopLoginForm.ShowDialog();
+ RefreshShopLogin();
+ }
+ else
+ {
+ shopLoginForm.openType = EnumOpenType.manage;
+ shopLoginForm.WindowState = FormWindowState.Maximized;
+ shopLoginForm.Show();
+ }
+ }
+ break;
+ case "colApi":
+ {
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
+ shopLoginForm.openType = EnumOpenType.manage;
+ shopLoginForm.WindowState = FormWindowState.Maximized;
+ shopLoginForm.InitUrl = "https://store.weixin.qq.com/shop/servicemarket/detail?serviceId=3984039898079707139";
+ shopLoginForm.Show();
+ }
+ break;
+ }
+ }
+
+ private void dgvTalent_CellContentClick(object sender, DataGridViewCellEventArgs e)
+ {
+ if (e.ColumnIndex < 0 || e.RowIndex < 0)
+ return;
+ string headerText = dgvTalent.Columns[e.ColumnIndex].HeaderText;
+ var shopId = dgvTalent.Rows[e.RowIndex].Cells["colSupplierId"].Value.ParseToString();
+ var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
+ var talentAppid = dgvTalent.Rows[e.RowIndex].Cells["colTalentAppid"].Value.ParseToString();
+ var talent = this.lstWXFinderTalentInfo.FirstOrDefault(t => t.talentAppid == talentAppid);
+
+ switch (headerText)
+ {
+ case "删除":
+ break;
+ case "登录":
+ {
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
+ //shopLoginForm.prodUserSelectForm = this;
+ shopLoginForm.openType = EnumOpenType.login;
+ shopLoginForm.ShowDialog();
+ RefreshShopLogin();
+ }
+ break;
+ case "进店":
+ {
+ WXShopLoginForm shopLoginForm = new WXShopLoginForm(shop);
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus == "登录成功")
+ {
+ shopLoginForm.openType = EnumOpenType.manage;
+ shopLoginForm.WindowState = FormWindowState.Maximized;
+ shopLoginForm.InitUrl = "https://store.weixin.qq.com/shop/home";
+ shopLoginForm.Show();
+ }
+ else
+ {
+ shopLoginForm.openType = EnumOpenType.login;
+ shopLoginForm.ShowDialog();
+ RefreshShopLogin();
+ }
+ }
+ break;
+ case "图片":
+ {
+ ShowImgForm imgFrom = new ShowImgForm(dgvTalent.Rows[e.RowIndex].Cells["colImgUrl"].Value.ParseToString());
+ imgFrom.ShowDialog();
+ break;
+ }
+ case "":
+ dgvTalent.Rows[e.RowIndex].Cells["colCheck"].Value = !(bool)dgvTalent.Rows[e.RowIndex].Cells["colCheck"].Value;
+ break;
+ default:
+ break;
+ }
+ }
+
+ private void btnStop_Click(object sender, EventArgs e)
+ {
+ if (this.cancellationTokenSource != null)
+ this.cancellationTokenSource.Cancel();
+ }
+
+ private void btnSearchTalent_Click(object sender, EventArgs e)
+ {
+ var shopIdLst = dgvShop.Rows.Cast().Where(row
+ => row.Cells["colSelect"]?.Value.ParseToBool() == true).Select(r => r.Cells["colShopId"]?.Value.ToString()).ToList();
+ if (shopIdLst.Count <= 0)
+ {
+ BaseMsgForm.ShowError("未勾选店铺!");
+ return;
+ }
+ btnSearchTalent.Enabled = false;
+ pbLoading.Visible = true;
+ cancellationTokenSource = new CancellationTokenSource();
+ dgvTalent.Rows.Clear();
+ Task.Run(() =>
+ {
+ GetTalent(currentShop, currentGetTalentParam);
+ Invoke(new Action(() =>
+ {
+ this.statusBar.lblTaskStatus.Text = "达人查询完毕";
+ BaseMsgForm.ShowInfo("达人查询完毕");
+ pbLoading.Visible = false;
+ btnSearchTalent.Enabled = true;
+ }));
+ }, cancellationTokenSource.Token);
+ }
+
+ void GetTalent(ShopLoginInfo shop, string searchParam)
+ {
+ if (shop.LoginStatus != "登录成功")
+ {
+ return;
+ }
+
+ lstWXFinderTalentInfo = new List();
+ var shopRow = dgvShop.Rows.Cast().FirstOrDefault(r => r.Cells["colShopId"].Value.ParseToString() == shop.ShopId);
+
+ int page = PageBegin - 1;
+ int totalPage = 1;
+ int pageSize = 20;
+ while (page < totalPage && page < PageEnd)
+ {
+ if (cancellationTokenSource.IsCancellationRequested)
+ break;
+
+ page++;
+ Invoke(new Action(() =>
+ {
+ this.pbLoading.Visible = true;
+ this.statusBar.lblTaskStatus.Text = "正在查询店铺:" + shop.ShopAccount + " 达人 " + page + "/" + Math.Min(PageEnd, totalPage);
+ }));
+ Thread.Sleep(Randomx.GetId(2500, 5000));
+
+ string getFinderTalentRst = "";
+
+ try
+ {
+ JObject getTalentParamObj = JsonHelper.JObjectParse(currentGetTalentParam);
+ getTalentParamObj["filter"]["offset"] = (page - 1) * getTalentParamObj["filter"]["limit"].ParseToInt();
+ getFinderTalentRst = WXFinderSquareBLL.getSquareTalentList(shop, JsonHelper.SerializeObject(getTalentParamObj));
+ }
+ catch (Exception ex)
+ {
+ if (shopRow != null)
+ {
+ Invoke(new Action(() =>
+ {
+ shopRow.Cells["colMessage"].Value = "达人查询格式错误";
+ }));
+ }
+ }
+
+ Thread.Sleep(Randomx.GetId(50, 100));
+ if (!getFinderTalentRst.Contains("\"code\":0") && !getFinderTalentRst.Contains("\"success\":true"))
+ {
+ var error = BaseRegex.GetStringJson(ref getFinderTalentRst, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = getFinderTalentRst;
+
+ WXShopListForm.Instance.CheckShopLogin(new ShopLoginInfo[] { shop }, false);
+ if (shop.LoginStatus != "登录成功")
+ {
+ Invoke(new Action(() => { BindShop(shop, new List() { shop.ShopId }, "店铺掉线"); }));
+ }
+
+ if (shopRow != null)
+ {
+ Invoke(new Action(() =>
+ {
+ shopRow.Cells["colMessage"].Value = error;
+ }));
+ }
+ break;
+ }
+
+ try
+ {
+ var talentObj = JsonHelper.JObjectParse(getFinderTalentRst)["list"];
+ lstWXFinderTalentInfo = JsonHelper.DeserializeJsonToList(JsonHelper.SerializeObject(talentObj));
+ if (page == 1 || 1 == 1)
+ {
+ var totalNum = BaseRegex.GetIntJson(ref getFinderTalentRst, "totalNum");
+ totalPage = Math.Ceiling(1m * totalNum / pageSize).ParseToInt();
+ }
+ foreach (var finderTalent in lstWXFinderTalentInfo)
+ {
+ Invoke(new Action(() =>
+ {
+ string tag = "";
+ if (finderTalent.finderInfo.topDaren == 1)
+ tag += "优质带货者 ";
+ if (finderTalent.finderInfo.highResponse == 1)
+ tag += "回复率高 ";
+ var rowIndex = this.dgvTalent.Rows.Add
+ (
+ false,
+ shop.ShopId,
+ shop.ShopAccount,
+ "登录",
+ "进店",
+ finderTalent.finderInfo.headImg,
+ DataGridViewExtension.defaultBitmap,
+ finderTalent.talentAppid,
+ finderTalent.finderInfo.nickname,
+ tag,
+ string.Join(" ", finderTalent.finderInfo.topCatList.Select(c => c.topCatName)) + "\r\n" + finderTalent.promotionInfo.windowsScore,
+ finderTalent.finderInfo.fansNumber,
+ finderTalent.promotionInfo.gmv,
+ finderTalent.promotionInfo.liveGmv,
+ finderTalent.promotionInfo.videoGmv,
+ finderTalent.promotionInfo.bizPayGmv,
+ "删除",
+ ""
+ );
+ dgvTalent.Rows[rowIndex].Height = 60;
+ }));
+ }
+ }
+ catch (Exception ex)
+ {
+
+ }
+ }
+ }
+
+ private void btnClearDgv_Click(object sender, EventArgs e)
+ {
+ var rows = this.dgvTalent.Rows.Cast().ToList(); //Cast后Rows做foreach循环时仍会夹花跳过,所以要ToList转一个新的数组。
+ foreach (var row in rows)
+ {
+ if (row.Cells["colCheck"].Value.ParseToBool() == true)
+ {
+ //var draft_id = row.Cells["colDraftId"].Value.ParseToString();
+ //upload_draft_product_lst.RemoveAll(p => p.draft_id == draft_id);
+
+ this.dgvTalent.Rows.Remove(row);
+ }
+ }
+ //NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_select_upload_draft_products", upload_draft_product_lst);
+ }
+
+ private void btnClearFilter_Click(object sender, EventArgs e)
+ {
+ }
+
+ private void btnFilterShop_Click(object sender, EventArgs e)
+ {
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ string notes = cmbFilterShopNotes.Text.Trim().Trim(';');
+ if (notes == "全部")
+ notes = "";
+ List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+
+ if (!row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()))
+ {
+ row.Visible = false;
+ row.Cells["colSelect"].Value = false;
+ continue;
+ }
+ if (!string.IsNullOrWhiteSpace(notes) && !notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString()))
+ {
+ row.Visible = false;
+ row.Cells["colSelect"].Value = false;
+ continue;
+ }
+ row.Visible = true;
+ }
+ }
+
+ private void btnEmptyShop_Click(object sender, EventArgs e)
+ {
+ txtFilterShopName.Text = "";
+ cmbFilterShopNotes.Text = "全部";
+ btnFilterShop_Click(null, null);
+ }
+
+ private void btnReverse_Click(object sender, EventArgs e)
+ {
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ if (row.Visible == true)
+ row.Cells["colSelect"].Value = !row.Cells["colSelect"].Value.ParseToBool();
+ }
+ }
+
+ private void btnAddSelect_Click(object sender, EventArgs e)
+ {
+ string notes = cmbFilterShopNotes.Text.Trim().Trim(';');
+ if (notes == "全部")
+ notes = "";
+ List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ if (row.Visible == true)
+ {
+ if (row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()) &&
+ (string.IsNullOrWhiteSpace(notes) || notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString())))
+ {
+ row.Cells["colSelect"].Value = true;
+ }
+ }
+ }
+ }
+
+ private void btnAddUnSelect_Click(object sender, EventArgs e)
+ {
+ string notes = cmbFilterShopNotes.Text.Trim().Trim(';');
+ if (notes == "全部")
+ notes = "";
+ List notesLst = notes.Split(new string[] { ";", ";", ",", "," }, StringSplitOptions.RemoveEmptyEntries).ToList();
+
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ if (row.Visible == true)
+ {
+ if (row.Cells["colShopName"].Value.ParseToString().Contains(txtFilterShopName.Text.Trim()) &&
+ (string.IsNullOrWhiteSpace(notes) || notesLst.Contains(row.Cells["colShopNotes"].Value.ParseToString())))
+ {
+ row.Cells["colSelect"].Value = false;
+ }
+ }
+ }
+ }
+
+ private void btnSelectOnline_Click(object sender, EventArgs e)
+ {
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ if (row.Visible == true)
+ {
+ if (row.Cells["colLoginStatus"].Value.ParseToString() == "在线")
+ {
+ row.Cells["colSelect"].Value = true;
+ }
+ else
+ {
+ row.Cells["colSelect"].Value = false;
+ }
+ }
+ }
+ }
+
+ private void btnSelectOffline_Click(object sender, EventArgs e)
+ {
+ foreach (DataGridViewRow row in dgvShop.Rows)
+ {
+ if (row.Visible == true)
+ {
+ if (row.Cells["colLoginStatus"].Value.ParseToString() != "在线")
+ {
+ row.Cells["colSelect"].Value = true;
+ }
+ else
+ {
+ row.Cells["colSelect"].Value = false;
+ }
+ }
+ }
+ }
+ private void SetMainBrowserUrl(ShopLoginInfo shop)
+ {
+ if (shop == null)
+ return;
+
+ var cookieLst = new List();
+ try
+ {
+ cookieLst = JsonHelper.DeserializeJsonToList(shop.Cookies.ParseToString().Replace("empty=true;", "[]"));
+ }
+ catch
+ {
+ }
+
+ if (mainWebBrowser == null)
+ {
+ Invoke(new Action(() => { InitCef(); }));
+ }
+
+ var cookieManager = mainWebBrowser.RequestContext.GetCookieManager(null);
+ cookieManager.DeleteCookiesAsync("qq.com", null).Wait();
+ foreach (var cook in cookieLst)
+ {
+ var t = CEFBrowser.SetCookieAsync(cook.Domain, cook.Name + "=" + cook.Value + ";", cookieManager);
+ t.Wait(5000);
+ }
+
+ mainWebBrowser.Load("https://store.weixin.qq.com/shop/findersquare/find");
+ }
+
+ private void txtPageEnd_TextChanged(object sender, EventArgs e)
+ {
+ PageEnd = txtPageEnd.Text.ParseToInt();
+ }
+
+ private void txtContactPerson_TextChanged(object sender, EventArgs e)
+ {
+ wxAddFinderParam.ContactPerson = txtContactPerson.Text.Trim();
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_add_finder_param", wxAddFinderParam);
+ }
+
+ private void txtWxNumber_TextChanged(object sender, EventArgs e)
+ {
+ wxAddFinderParam.WxNumber = txtWxNumber.Text.Trim();
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_add_finder_param", wxAddFinderParam);
+ }
+
+ private void txtMobile_TextChanged(object sender, EventArgs e)
+ {
+ wxAddFinderParam.Mobile = txtMobile.Text.Trim();
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_add_finder_param", wxAddFinderParam);
+ }
+
+ private void txtExplain_TextChanged(object sender, EventArgs e)
+ {
+ wxAddFinderParam.Explain = txtExplain.Text.Trim();
+ NaiBa.Util.Helper.ConfigHelper.SaveConfig("wx_add_finder_param", wxAddFinderParam);
+ }
+
+ private void btnAddFinder_Click(object sender, EventArgs e)
+ {
+ if (wxAddFinderParam.ContactPerson.IsNullOrEmpty())
+ {
+ BaseMsgForm.ShowError("联系人不能为空");
+ return;
+ }
+ if (wxAddFinderParam.WxNumber.IsNullOrEmpty() || !wxAddFinderParam.WxNumber.StartsWith("wx") || wxAddFinderParam.WxNumber.Length < 6)
+ {
+ BaseMsgForm.ShowError("请确定微信号不为空,且必须以wx开头,最少六个字符");
+ return;
+ }
+ if (wxAddFinderParam.Mobile.IsNullOrEmpty() || wxAddFinderParam.Mobile.ParseToLong().ToString().Length != 11)
+ {
+ BaseMsgForm.ShowError("手机号码格式不正确");
+ return;
+ }
+ if (wxAddFinderParam.Explain.IsNullOrEmpty())
+ {
+ BaseMsgForm.ShowError("合作说明不能为空");
+ return;
+ }
+ var selectRows = dgvTalent.Rows.Cast().Where(r => r.Cells["colCheck"].Value.ParseToBool() == true).ToList();
+ if (selectRows.Count == 0)
+ {
+ BaseMsgForm.ShowError("请选择要邀约的达人");
+ return;
+ }
+ pbLoading.Visible = true;
+ string prodIds = txtProductIds.Text.Trim();
+
+ Task.Run(() =>
+ {
+ if (string.IsNullOrEmpty(prodIds))
+ {
+ var shopId = selectRows.FirstOrDefault().Cells["colSupplierId"].Value.ParseToString();
+ var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
+ if(chkReUse.Visible && chkReUse.Checked)
+ shop = currentShop;
+ var talentAppid = selectRows.FirstOrDefault().Cells["colTalentAppid"].Value.ParseToString();
+ var talent = this.lstWXFinderTalentInfo.FirstOrDefault(t => t.talentAppid == talentAppid);
+ prodIds = GetFinderProdList(shop, talent);
+ if (prodIds.Contains("\"success\":false"))
+ {
+ Invoke(new Action(() =>
+ {
+ var errMsg = BaseRegex.GetStringJson(ref prodIds, "msg");
+ if (!string.IsNullOrEmpty(errMsg))
+ {
+ errMsg = GetHtml.UrlDecode(errMsg);
+ selectRows.FirstOrDefault().Cells["colOpResult"].Value = errMsg;
+ }
+ else
+ selectRows.FirstOrDefault().Cells["colOpResult"].Value = "达人邀约失败,请稍后再试";
+ }));
+ Invoke(new Action(() =>
+ {
+ pbLoading.Visible = false;
+ this.statusBar.lblTaskStatus.Text = "达人邀约操作中断";
+ BaseMsgForm.ShowError("达人邀约操作中断");
+ }));
+ return;
+ }
+ }
+
+ {
+ int num = 0;
+ foreach (var row in selectRows)
+ {
+ num++;
+ Invoke(new Action(() =>
+ {
+ this.statusBar.lblTaskStatus.Text = "达人邀约 第 " + num + " 条,共 " + selectRows.Count + " 条";
+ }));
+
+ var shopId = selectRows.FirstOrDefault().Cells["colSupplierId"].Value.ParseToString();
+ var shop = GlobalConfig.ShopLoginList.FirstOrDefault(s => s.ShopId == shopId);
+ if (chkReUse.Visible && chkReUse.Checked)
+ shop = currentShop;
+ var talentAppid = selectRows.FirstOrDefault().Cells["colTalentAppid"].Value.ParseToString();
+ var talent = this.lstWXFinderTalentInfo.FirstOrDefault(t => t.talentAppid == talentAppid);
+
+ if (shop!=null && talent != null)
+ {
+ List prodIdLst = prodIds.Split(new string[] { ",", ",", ";", ";", " " }, StringSplitOptions.RemoveEmptyEntries).ToList();
+ var finderUsername = talent.accountList.FirstOrDefault(a => !a.finderUsername.IsNullOrEmpty())?.finderUsername;
+ var promotionInvitationRst = WXFinderSquareBLL.createPromotionInvitation(shop, prodIdLst, finderUsername, talent.talentAppid,
+ wxAddFinderParam.ContactPerson, wxAddFinderParam.WxNumber, wxAddFinderParam.Mobile, wxAddFinderParam.Explain);
+ Thread.Sleep(Randomx.GetId(3000, 5000));
+
+ if (!promotionInvitationRst.ParseToString().Contains("\"code\":0"))
+ {
+ var error = BaseRegex.GetStringJson(ref promotionInvitationRst, "errmsg");
+ if (string.IsNullOrEmpty(error))
+ error = promotionInvitationRst;
+ if (promotionInvitationRst.ParseToString().Contains("biz magic invalid"))
+ {
+ shop.LoginStatus = "未登录";
+ Invoke(new Action(() => { BindShop(shop, new List() { shop.ShopId }, "店铺掉线"); }));
+ error = "店铺掉线";
+ }
+ Invoke(new Action(() =>
+ {
+ row.Cells["colOpResult"].Value = "达人邀约失败 " + error;
+ }));
+ }
+ else
+ {
+ Invoke(new Action(() =>
+ {
+ row.Cells["colOpResult"].Value = "已发送邀约";
+ }));
+ }
+
+ }
+ }
+ }
+
+ Invoke(new Action(() =>
+ {
+ pbLoading.Visible = false;
+ this.statusBar.lblTaskStatus.Text += "达人邀约操作结束";
+ BaseMsgForm.ShowInfo("达人邀约操作结束");
+ }));
+ });
+ }
+
+ public string GetFinderProdList(ShopLoginInfo shop, WXFinderTalentInfo finderTalent)
+ {
+ int page = 0;
+ int pageSize = 10;
+ int totalPage = 1;
+ List wxProdIds = new List();
+ List wxProdIdWithListingTimeLst = new List();
+ while (page < totalPage )
+ {
+ page++;
+ Invoke(new Action(() =>
+ {
+ this.statusBar.lblTaskStatus.Text = "正在查询达人邀约商品 第 " + page + " 页";
+ if (totalPage > 1)
+ this.statusBar.lblTaskStatus.Text = "正在查询达人邀约商品 第 " + page + " 页,共 " + totalPage + " 页";
+ }));
+
+ var finderUsername = finderTalent.accountList.FirstOrDefault(a => !a.finderUsername.IsNullOrEmpty())?.finderUsername;
+ var getFinderProdRst = WXFinderSquareBLL.WxFinderSquareGetProdList(shop, page, finderUsername, finderTalent.talentAppid);
+ Thread.Sleep(Randomx.GetId(1500, 2500));
+ if (!getFinderProdRst.Contains("\"code\":0"))
+ {
+ if (getFinderProdRst.Contains("\"code\":100002"))
+ {
+ return "{\"success\":false,\"code\":100002,\"msg\":\"店铺未设置达人推广商品,请先设置后再邀约达人\"}";
+ }
+ if (getFinderProdRst.Contains("biz magic invalid"))
+ {
+ shop.LoginStatus = "未登录";
+ Invoke(new Action(() => { BindShop(shop, new List() { shop.ShopId }, "店铺掉线"); }));
+ return "{\"success\":false,\"msg\":\"查询达人商品列表失败,店铺掉线\"}";
+ }
+ var error = BaseRegex.GetStringJson(ref getFinderProdRst, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = getFinderProdRst;
+ return "{\"success\":false,\"msg\":\"查询达人商品列表失败 " + GetHtml.UrlEncodeUtf8(error) + "\"}";
+ }
+ if (page == 1)
+ {
+ var totalNum = BaseRegex.GetIntJson(ref getFinderProdRst, "totalNum");
+ totalPage = Math.Ceiling(1m * totalNum / pageSize).ParseToInt();
+ }
+ try
+ {
+ var jArr = JsonHelper.JObjectParse(getFinderProdRst)["itemList"] as JArray;
+ foreach (var jItem in jArr)
+ {
+ WXProdIdWithListingTime p = new WXProdIdWithListingTime()
+ {
+ listingTime = jItem["listingTime"].ParseToInt(),
+ productName = jItem["productName"].ParseToString(),
+ spuId = jItem["spuId"].ParseToString(),
+ };
+ wxProdIdWithListingTimeLst.Add(p);
+ }
+ }
+ catch (Exception ex)
+ {
+ return "{\"success\":false,\"msg\":\"查询达人商品列表失败 " + ex.Message + "\"}";
+ }
+ }
+ // 商品总数不到30,直接返回
+ if (wxProdIdWithListingTimeLst.Count <= 30)
+ return string.Join(",", wxProdIdWithListingTimeLst.Select(p => p.spuId));
+
+ // 商品数量超过30,按出单量和上架时间倒序取前30
+ var wxProdIdWithListingTimeLstTmp = new List();//wxProdIdWithListingTimeLst
+ wxProdIdWithListingTimeLstTmp.AddRange(wxProdIdWithListingTimeLst);
+ while (wxProdIdWithListingTimeLstTmp.Count() > 0)
+ {
+ var getProdRst = WXFinderSquareBLL.getSaleSortProduct(shop, wxProdIdWithListingTimeLstTmp.Take(200).Select(p => p.spuId).ToList());
+ // 每次最多传200个id,取最高的50,每组销量最高的50在一起一定能获取全部商品最高的50(带货最多30个商品,可以确保一定是销量最高的前30)
+ wxProdIdWithListingTimeLstTmp.RemoveRange(0, Math.Min(wxProdIdWithListingTimeLstTmp.Count, 200));
+
+ Thread.Sleep(Randomx.GetId(1500, 2500));
+ if (!getProdRst.Contains("\"success\":true"))
+ {
+ if (getProdRst.Contains("biz magic invalid"))
+ {
+ shop.LoginStatus = "未登录";
+ Invoke(new Action(() => { BindShop(shop, new List() { shop.ShopId }, "店铺掉线"); }));
+ return "{\"success\":false,\"msg\":\"查询达人商品列表2失败,店铺掉线\"}";
+ }
+ var error = BaseRegex.GetStringJson(ref getProdRst, "msg");
+ if (string.IsNullOrEmpty(error))
+ error = getProdRst;
+ return "{\"success\":false,\"msg\":\"查询达人商品列表2失败 " + GetHtml.UrlEncodeUtf8(error) + "\"}";
+ }
+ try
+ {
+ var jArr = JsonHelper.JObjectParse(getProdRst)["productList"] as JArray;
+ foreach (var jItem in jArr)
+ {
+ var soldNum = jItem["soldNum"]?.ParseToInt();
+ var pExist = wxProdIdWithListingTimeLst.FirstOrDefault(p => p.spuId == jItem["productId"].ParseToString());
+ if (pExist != null)
+ {
+ pExist.soldNum = soldNum;
+ }
+ else
+ {
+ return "{\"success\":false,\"msg\":\"查询达人商品列表2失败 商品未找到\"}";
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ return "{\"success\":false,\"msg\":\"查询达人商品列表2失败 " + ex.Message + "\"}";
+ }
+ }
+ wxProdIdWithListingTimeLst = wxProdIdWithListingTimeLst.OrderByDescending(p => p.soldNum).ThenByDescending(p => p.listingTime).ToList().Take(30).ToList();
+ return string.Join(",", wxProdIdWithListingTimeLst.Select(p => p.spuId));
+ }
+ }
+
+ public class WXFinderSquareBLL
+ {
+ public static string getSquareTalentList(ShopLoginInfo shop, string bodyJson)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeleague/finderSquare/cgi/getSquareTalentList?token=&lang=zh_CN";
+ string referer = "https://store.weixin.qq.com/shop/findersquare/find";
+ //@"{""filter"":{""isLiveFinder"":0,""isVideoFinder"":0,""isMpPromoter"":0,""limit"":20,""offset"":20,""topCatId"":[1495,6870],""otherCheckers"":[""hasContact""],""hasContact"":1,""randomSeed"":8275,""sortKey"":0,""sortDirection"":1,""topCatIdList"":[1495,6870]}}";
+ string body = bodyJson;
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
+
+ public static string WxFinderSquareGetProdList(ShopLoginInfo shop, int page, string finderUsername, string talentAppid)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeleague/finderSquare/cgi/getItemList?token=&lang=zh_CN&offset=" + (page - 1) * 10 +
+ "&pageSize=10&productTitle=";
+ string referer = "https://store.weixin.qq.com/shop/findersquare/initiate-invite?finderUsername=" + finderUsername + "&talentAppid=" + talentAppid + "&from=5";
+ var result = WXHttpResponseBLL.WeiXinGetResponse(shop, url, referer);
+ return result;
+ }
+
+ public static string getSaleSortProduct(ShopLoginInfo shop, List spuIdLst, int page = 1)
+ {
+ var spuIdStr = "+" + string.Join("+", spuIdLst);
+ string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/searchProduct" +
+ "?token=&lang=zh_CN&pageSize=50&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&pageNum=" + page +
+ "&status[]=5&spuId=" + spuIdStr + "&sortType=6";
+ string referer = "https://store.weixin.qq.com/shop/goods/list?currentTab=PRODUCT_STATUS_ON";
+ var result = WXHttpResponseBLL.WeiXinGetResponse(shop, url, referer);
+ return result;
+ }
+
+ public static string getListingTimeSortProduct(ShopLoginInfo shop, List spuIdLst, int page = 1)
+ {
+ var spuIdStr = "+" + string.Join("+", spuIdLst);
+ string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeproductcore/cgi/goods/searchProduct" +
+ "?token=&lang=zh_CN&pageSize=50&productStatus[]=-1&productSource=[1,16,32]&searchSource=1&useNew=true&pageNum=" + page +
+ "&status[]=5&spuId=" + spuIdStr + "&sortType=18";
+ string referer = "https://store.weixin.qq.com/shop/goods/list?currentTab=PRODUCT_STATUS_ON";
+ var result = WXHttpResponseBLL.WeiXinGetResponse(shop, url, referer);
+ return result;
+ }
+
+ public static string createPromotionInvitation(ShopLoginInfo shop, List productIdLst, string finderUsername, string talentAppid,
+ string contactName, string contactWxId, string contactPhoneNumber, string invitationIntroduction)
+ {
+ string url = "https://store.weixin.qq.com/shop-faas/mmchannelstradeleague/finderSquare/cgi/createPromotionInvitation?token=&lang=zh_CN";
+ //string referer = "https://store.weixin.qq.com/shop/findersquare/initiate-invite?finderUsername=v2_060000231003b20faec8c6e08811c4d1cc01ee36b077a7e7c19b328d3bad1d0f59b8cd9a6d26@finder&talentAppid=wx6ea8fdc1005228f1&from=5";
+ string referer = "https://store.weixin.qq.com/shop/findersquare/initiate-invite?finderUsername=" + "&talentAppid=" + "&from=5";
+ //string body = @"{""finderUsername"":""v2_060000231003b20faec8c6e08811c4d1cc01ee36b077a7e7c19b328d3bad1d0f59b8cd9a6d26@finder"",""talentAppid"":""wx6ea8fdc1005228f1"",""itemList"":{""itemInfo"":[{""spuId"":""10000539273216""},{""spuId"":""10000539258278""}]},""contactInfo"":{""contactName"":""孙xiansheng"",""contactWxId"":""wx2311"",""contactPhoneNumber"":""11111111111"",""invitationIntroduction"":""你好你好"",""inviteScene"":""5""}}";
+ string body = @"{""finderUsername"":""" + finderUsername + @""",""talentAppid"":""" + talentAppid + @""",""itemList"":{""itemInfo"":[";
+ foreach (var spuId in productIdLst)
+ {
+ body += @"{""spuId"":""" + spuId + @"""},";
+ }
+ body = body.TrimEnd(',');
+ body += @"]},""contactInfo"":{""contactName"":""" + contactName + @""",""contactWxId"":""" + contactWxId +
+ @""",""contactPhoneNumber"":""" + contactPhoneNumber + @""",""invitationIntroduction"":""" + invitationIntroduction + @""",""inviteScene"":""5""}}";
+ var result = WXHttpResponseBLL.WeiXinPostResponse(shop, url, body, referer);
+ return result;
+ }
+ }
+
+ public class WXAddFinderParam
+ {
+ public string ContactPerson { get; set; }
+ public string WxNumber { get; set; }
+ public string Mobile { get; set; }
+ public string Explain { get; set; }
+ }
+
+ public class WXProdIdWithListingTime
+ {
+ public string spuId { get; set; } // "10000538960743"
+ public string productName { get; set; } // "点教英语 《高中英语听力精听训练》强化版"
+ public int? listingTime { get; set; } // 1773912220
+ public int? soldNum { get; set; }
+ }
+}
diff --git a/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.resx b/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.resx
new file mode 100644
index 0000000..09f5795
--- /dev/null
+++ b/TEMUKJD/WXForms/ProductForms/WXFinderSquareForm.resx
@@ -0,0 +1,210 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
\ No newline at end of file
diff --git a/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.Designer.cs
index aacba9c..788d8e0 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.Designer.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.Designer.cs
@@ -42,6 +42,7 @@ namespace TemuKJD.WXForms.ProductForms
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx2 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
+ this.chkSkipSet = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.btnClearCoupon = new DevComponents.DotNetBar.PanelEx();
this.label15 = new System.Windows.Forms.Label();
this.dtpEndTime = new System.Windows.Forms.DateTimePicker();
@@ -156,7 +157,6 @@ namespace TemuKJD.WXForms.ProductForms
this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
this.btnClear = new DevComponents.DotNetBar.PanelEx();
this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
- this.chkSkipSet = new TemuKJD.UserComponent.UcCheckBox(this.components);
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -237,6 +237,18 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx2.TabStop = false;
this.ucGroupBoxEx2.Text = "爆单神器一阶段";
//
+ // chkSkipSet
+ //
+ this.chkSkipSet.AutoSize = true;
+ this.chkSkipSet.Checked = true;
+ this.chkSkipSet.CheckState = System.Windows.Forms.CheckState.Checked;
+ this.chkSkipSet.Location = new System.Drawing.Point(16, 130);
+ this.chkSkipSet.Name = "chkSkipSet";
+ this.chkSkipSet.Size = new System.Drawing.Size(171, 21);
+ this.chkSkipSet.TabIndex = 864;
+ this.chkSkipSet.Text = "跳过已设置专属优惠券商品";
+ this.chkSkipSet.UseVisualStyleBackColor = true;
+ //
// btnClearCoupon
//
this.btnClearCoupon.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
@@ -1014,7 +1026,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx1.Size = new System.Drawing.Size(160, 165);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "基础";
+ this.ucGroupBoxEx1.Text = "店铺筛选";
//
// btnRefreshAuthor
//
@@ -1866,18 +1878,6 @@ namespace TemuKJD.WXForms.ProductForms
this.panelEx1.Text = "停止当前操作";
this.panelEx1.Visible = false;
//
- // chkSkipSet
- //
- this.chkSkipSet.AutoSize = true;
- this.chkSkipSet.Checked = true;
- this.chkSkipSet.CheckState = System.Windows.Forms.CheckState.Checked;
- this.chkSkipSet.Location = new System.Drawing.Point(16, 130);
- this.chkSkipSet.Name = "chkSkipSet";
- this.chkSkipSet.Size = new System.Drawing.Size(171, 21);
- this.chkSkipSet.TabIndex = 864;
- this.chkSkipSet.Text = "跳过已设置专属优惠券商品";
- this.chkSkipSet.UseVisualStyleBackColor = true;
- //
// WXProdCouponOrderBoomForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1885,6 +1885,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ClientSize = new System.Drawing.Size(1424, 641);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.KeyPreview = true;
this.Name = "WXProdCouponOrderBoomForm";
this.Text = "爆单神器";
this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load);
diff --git a/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.cs b/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.cs
index 1c34a66..ffdef2a 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdCouponOrderBoomForm.cs
@@ -249,7 +249,7 @@ namespace TemuKJD.WXForms.ProductForms
{
//if (shop.LoginStatus == "登录成功")
//{
- // var rst = WXUpload.scanProductPreview(shop);
+ // var rst = WXPreSale.scanProductPreview(shop);
// if (!rst.Contains("\"code\":0") && !rst.Contains("\"success\":true"))
// {
// WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
diff --git a/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.Designer.cs
index b2ad029..1fa0dbd 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.Designer.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.Designer.cs
@@ -32,14 +32,14 @@ namespace TemuKJD.WXForms.ProductForms
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
+ 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();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.ucGroupBoxEx3 = new TemuKJD.UserComponent.UcGroupBoxEx(this.components);
this.btnBatchDel = new DevComponents.DotNetBar.PanelEx();
@@ -111,10 +111,6 @@ namespace TemuKJD.WXForms.ProductForms
this.pbLoading = new System.Windows.Forms.PictureBox();
this.chkTestNoAuditUpload = new TemuKJD.UserComponent.UcCheckBox(this.components);
this.dgvSelectProduct = new TemuKJD.UserComponent.DataGridViewEx();
- this.splitContainer4 = new System.Windows.Forms.SplitContainer();
- this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
- this.btnClear = new DevComponents.DotNetBar.PanelEx();
- this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
this.colCheck = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colSelectId = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSupplierId = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -140,6 +136,10 @@ namespace TemuKJD.WXForms.ProductForms
this.ColDelete = new System.Windows.Forms.DataGridViewLinkColumn();
this.colAddTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colOpResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.splitContainer4 = new System.Windows.Forms.SplitContainer();
+ this.statusBar = new TemuKJD.UserControls.StatusBarUserControl();
+ this.btnClear = new DevComponents.DotNetBar.PanelEx();
+ this.panelEx1 = new DevComponents.DotNetBar.PanelEx();
((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
this.splitContainer1.Panel1.SuspendLayout();
this.splitContainer1.Panel2.SuspendLayout();
@@ -772,7 +772,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx1.Size = new System.Drawing.Size(160, 165);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "基础";
+ this.ucGroupBoxEx1.Text = "店铺筛选";
//
// btnRefreshAuthor
//
@@ -1118,19 +1118,19 @@ namespace TemuKJD.WXForms.ProductForms
//
this.dgvShop.AllowUserToAddRows = false;
this.dgvShop.AllowUserToDeleteRows = false;
- dataGridViewCellStyle9.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle9;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvShop.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvShop.AutoRowNumber = true;
this.dgvShop.BackgroundColor = System.Drawing.Color.White;
this.dgvShop.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
+ 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.dgvShop.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
this.dgvShop.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvShop.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelect,
@@ -1301,19 +1301,19 @@ namespace TemuKJD.WXForms.ProductForms
//
this.dgvSelectProduct.AllowUserToAddRows = false;
this.dgvSelectProduct.AllowUserToDeleteRows = false;
- dataGridViewCellStyle11.BackColor = System.Drawing.Color.WhiteSmoke;
- this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11;
+ dataGridViewCellStyle3.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.dgvSelectProduct.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle3;
this.dgvSelectProduct.AutoRowNumber = true;
this.dgvSelectProduct.BackgroundColor = System.Drawing.Color.White;
this.dgvSelectProduct.BorderColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12;
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvSelectProduct.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvSelectProduct.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvSelectProduct.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colCheck,
@@ -1350,86 +1350,6 @@ namespace TemuKJD.WXForms.ProductForms
this.dgvSelectProduct.TabIndex = 187;
this.dgvSelectProduct.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvSelectProduct_CellContentClick);
//
- // splitContainer4
- //
- this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
- this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
- this.splitContainer4.Location = new System.Drawing.Point(0, 0);
- this.splitContainer4.Name = "splitContainer4";
- //
- // splitContainer4.Panel1
- //
- this.splitContainer4.Panel1.Controls.Add(this.statusBar);
- //
- // splitContainer4.Panel2
- //
- this.splitContainer4.Panel2.Controls.Add(this.btnClear);
- this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
- this.splitContainer4.Size = new System.Drawing.Size(1346, 26);
- this.splitContainer4.SplitterDistance = 655;
- this.splitContainer4.TabIndex = 3;
- //
- // statusBar
- //
- this.statusBar.BackColor = System.Drawing.Color.White;
- this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
- this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.statusBar.Location = new System.Drawing.Point(0, 0);
- this.statusBar.Margin = new System.Windows.Forms.Padding(0);
- this.statusBar.Name = "statusBar";
- this.statusBar.Size = new System.Drawing.Size(655, 26);
- this.statusBar.TabIndex = 2;
- //
- // btnClear
- //
- this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
- this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
- this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
- this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.btnClear.Location = new System.Drawing.Point(475, 2);
- this.btnClear.Name = "btnClear";
- this.btnClear.Size = new System.Drawing.Size(90, 21);
- this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
- this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
- this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
- this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
- this.btnClear.Style.GradientAngle = 90;
- this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
- this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.btnClear.TabIndex = 440;
- this.btnClear.Text = "清空结果";
- this.btnClear.Visible = false;
- //
- // panelEx1
- //
- this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
- this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
- this.panelEx1.Location = new System.Drawing.Point(568, 2);
- this.panelEx1.Name = "panelEx1";
- this.panelEx1.Size = new System.Drawing.Size(115, 21);
- this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
- this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
- this.panelEx1.Style.GradientAngle = 90;
- this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
- this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
- this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
- this.panelEx1.TabIndex = 668;
- this.panelEx1.Text = "停止当前操作";
- this.panelEx1.Visible = false;
- //
// colCheck
//
this.colCheck.Frozen = true;
@@ -1456,8 +1376,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colSupplierName
//
- dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle13;
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colSupplierName.DefaultCellStyle = dataGridViewCellStyle5;
this.colSupplierName.Frozen = true;
this.colSupplierName.HeaderText = "店铺名称";
this.colSupplierName.Name = "colSupplierName";
@@ -1545,8 +1465,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colProductName
//
- dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colProductName.DefaultCellStyle = dataGridViewCellStyle14;
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colProductName.DefaultCellStyle = dataGridViewCellStyle6;
this.colProductName.HeaderText = "商品标题";
this.colProductName.Name = "colProductName";
this.colProductName.ReadOnly = true;
@@ -1554,8 +1474,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colProductCat
//
- dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colProductCat.DefaultCellStyle = dataGridViewCellStyle15;
+ dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colProductCat.DefaultCellStyle = dataGridViewCellStyle7;
this.colProductCat.HeaderText = "商品类目";
this.colProductCat.Name = "colProductCat";
this.colProductCat.ReadOnly = true;
@@ -1622,8 +1542,8 @@ namespace TemuKJD.WXForms.ProductForms
//
// colAddTime
//
- dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.colAddTime.DefaultCellStyle = dataGridViewCellStyle16;
+ dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.colAddTime.DefaultCellStyle = dataGridViewCellStyle8;
this.colAddTime.HeaderText = "上架时间";
this.colAddTime.Name = "colAddTime";
this.colAddTime.ReadOnly = true;
@@ -1636,6 +1556,86 @@ namespace TemuKJD.WXForms.ProductForms
this.colOpResult.ReadOnly = true;
this.colOpResult.Width = 240;
//
+ // splitContainer4
+ //
+ this.splitContainer4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.splitContainer4.FixedPanel = System.Windows.Forms.FixedPanel.Panel2;
+ this.splitContainer4.Location = new System.Drawing.Point(0, 0);
+ this.splitContainer4.Name = "splitContainer4";
+ //
+ // splitContainer4.Panel1
+ //
+ this.splitContainer4.Panel1.Controls.Add(this.statusBar);
+ //
+ // splitContainer4.Panel2
+ //
+ this.splitContainer4.Panel2.Controls.Add(this.btnClear);
+ this.splitContainer4.Panel2.Controls.Add(this.panelEx1);
+ this.splitContainer4.Size = new System.Drawing.Size(1346, 26);
+ this.splitContainer4.SplitterDistance = 655;
+ this.splitContainer4.TabIndex = 3;
+ //
+ // statusBar
+ //
+ this.statusBar.BackColor = System.Drawing.Color.White;
+ this.statusBar.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.statusBar.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.statusBar.Location = new System.Drawing.Point(0, 0);
+ this.statusBar.Margin = new System.Windows.Forms.Padding(0);
+ this.statusBar.Name = "statusBar";
+ this.statusBar.Size = new System.Drawing.Size(655, 26);
+ this.statusBar.TabIndex = 2;
+ //
+ // btnClear
+ //
+ this.btnClear.Anchor = System.Windows.Forms.AnchorStyles.Right;
+ this.btnClear.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnClear.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnClear.DisabledBackColor = System.Drawing.Color.Empty;
+ this.btnClear.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.btnClear.Location = new System.Drawing.Point(475, 2);
+ this.btnClear.Name = "btnClear";
+ this.btnClear.Size = new System.Drawing.Size(90, 21);
+ this.btnClear.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClear.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClear.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.btnClear.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.btnClear.Style.BorderDashStyle = System.Drawing.Drawing2D.DashStyle.Dash;
+ this.btnClear.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.None;
+ this.btnClear.Style.ForeColor.Color = System.Drawing.Color.White;
+ this.btnClear.Style.GradientAngle = 90;
+ this.btnClear.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.btnClear.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnClear.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(25)))), ((int)(((byte)(102)))), ((int)(((byte)(255)))));
+ this.btnClear.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.btnClear.TabIndex = 440;
+ this.btnClear.Text = "清空结果";
+ this.btnClear.Visible = false;
+ //
+ // panelEx1
+ //
+ this.panelEx1.CanvasColor = System.Drawing.SystemColors.Control;
+ this.panelEx1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.panelEx1.DisabledBackColor = System.Drawing.Color.Empty;
+ this.panelEx1.Location = new System.Drawing.Point(568, 2);
+ this.panelEx1.Name = "panelEx1";
+ this.panelEx1.Size = new System.Drawing.Size(115, 21);
+ this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.panelEx1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.panelEx1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(185)))), ((int)(((byte)(215)))), ((int)(((byte)(255)))));
+ this.panelEx1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.panelEx1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.panelEx1.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.panelEx1.Style.GradientAngle = 90;
+ this.panelEx1.StyleMouseDown.Alignment = System.Drawing.StringAlignment.Center;
+ this.panelEx1.StyleMouseOver.Alignment = System.Drawing.StringAlignment.Center;
+ this.panelEx1.StyleMouseOver.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.panelEx1.StyleMouseOver.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.panelEx1.StyleMouseOver.ForeColor.Color = System.Drawing.Color.White;
+ this.panelEx1.TabIndex = 668;
+ this.panelEx1.Text = "停止当前操作";
+ this.panelEx1.Visible = false;
+ //
// WXProdPreSaleForm
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
@@ -1643,8 +1643,9 @@ namespace TemuKJD.WXForms.ProductForms
this.ClientSize = new System.Drawing.Size(1346, 641);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.KeyPreview = true;
this.Name = "WXProdPreSaleForm";
- this.Text = "微信小店";
+ this.Text = "微信小店 - 爆单神器";
this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load);
this.VisibleChanged += new System.EventHandler(this.UserSelectDbProductForm_VisibleChanged);
this.splitContainer1.Panel1.ResumeLayout(false);
diff --git a/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.cs b/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.cs
index 3f7b844..9984be6 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdPreSaleForm.cs
@@ -53,12 +53,6 @@ namespace TemuKJD.WXForms.ProductForms
//public Dictionary> dicCheckedShopIdList = new Dictionary>();
public Dictionary dicCheckedShopId = new Dictionary();
public Dictionary dicShopUpload = new Dictionary();
- public string pdd_product_cates = "";
- public List forceFilteKeyWords = new List()
- {
- "亏本", "冲量", "白菜价", "跳楼价", "xxx", "xx", "最大", "最小", "低价", "降价", "成本", "赔钱", "甩卖",
- "真丝", "蚕丝", "香云纱", "羊绒", "羊毛", "羊羔绒", "羊羔毛", "羽绒", "皮草"
- };
public WXProdPreSaleForm()
{
InitializeComponent();
@@ -105,17 +99,14 @@ namespace TemuKJD.WXForms.ProductForms
wxUploadRule = NaiBa.Util.Helper.ConfigHelper.LoadConfig("wx_upload_rule");
if (wxUploadRule == null)
wxUploadRule = new WXUploadRule();
- var filteWords = wxUploadRule.FilterWords.Split(new string[] { ",", ",", " ", "\r", "\n" }, StringSplitOptions.RemoveEmptyEntries).ToList();
- filteWords.RemoveAll(w => forceFilteKeyWords.Contains(w));
- filteWords.AddRange(forceFilteKeyWords);
- wxUploadRule.FilterWords = string.Join(",", filteWords);
+
this.txtPreDays.TextChanged -= txtPreDays_TextChanged;
this.chkPreSale.CheckedChanged -= chkPreSale_CheckedChanged;
this.chkNoPreSale.CheckedChanged -= chkNoPreSale_CheckedChanged;
- this.txtPreDays.Text = wxUploadRule.PreSaleDays.ParseToString();
- this.chkPreSale.Checked = wxUploadRule.IsPreSale.ParseToBool();
- this.chkNoPreSale.Checked = !wxUploadRule.IsPreSale.ParseToBool();
+ this.txtPreDays.Text = wxUploadRule?.PreSaleDays.ParseToString();
+ this.chkPreSale.Checked = (wxUploadRule?.IsPreSale).ParseToBool();
+ this.chkNoPreSale.Checked = !(wxUploadRule?.IsPreSale).ParseToBool();
this.txtPreDays.TextChanged += txtPreDays_TextChanged;
this.chkPreSale.CheckedChanged += chkPreSale_CheckedChanged;
@@ -317,7 +308,7 @@ namespace TemuKJD.WXForms.ProductForms
{
//if (shop.LoginStatus == "登录成功")
//{
- // var rst = WXUpload.scanProductPreview(shop);
+ // var rst = WXPreSale.scanProductPreview(shop);
// if (!rst.Contains("\"code\":0") && !rst.Contains("\"success\":true"))
// {
// WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
diff --git a/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.Designer.cs
index 671896d..d089e94 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.Designer.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.Designer.cs
@@ -567,7 +567,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ucGroupBoxEx1.Size = new System.Drawing.Size(160, 165);
this.ucGroupBoxEx1.TabIndex = 399;
this.ucGroupBoxEx1.TabStop = false;
- this.ucGroupBoxEx1.Text = "基础";
+ this.ucGroupBoxEx1.Text = "店铺筛选";
//
// btnRefreshAuthor
//
@@ -1426,6 +1426,7 @@ namespace TemuKJD.WXForms.ProductForms
this.ClientSize = new System.Drawing.Size(1424, 641);
this.Controls.Add(this.splitContainer1);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.KeyPreview = true;
this.Name = "WXProdSyncForm";
this.Text = "爆单神器";
this.Load += new System.EventHandler(this.UserSelectDbProductForm_Load);
diff --git a/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.cs b/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.cs
index 8e02a10..6434f97 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProdSyncForm.cs
@@ -247,7 +247,7 @@ namespace TemuKJD.WXForms.ProductForms
{
//if (shop.LoginStatus == "登录成功")
//{
- // var rst = WXUpload.scanProductPreview(shop);
+ // var rst = WXPreSale.scanProductPreview(shop);
// if (!rst.Contains("\"code\":0") && !rst.Contains("\"success\":true"))
// {
// WXShopListForm.Instance.CheckShopLogin(new string[] { shop.LoginName }, false);
diff --git a/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs b/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs
index 15946e6..5e6829f 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProductForm.Designer.cs
@@ -31,12 +31,14 @@
System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("选品上传");
System.Windows.Forms.TreeNode treeNode2 = new System.Windows.Forms.TreeNode("商品预售/下架");
System.Windows.Forms.TreeNode treeNode3 = new System.Windows.Forms.TreeNode("爆单神器");
- System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("商品同步");
- System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("商品管理", new System.Windows.Forms.TreeNode[] {
+ System.Windows.Forms.TreeNode treeNode4 = new System.Windows.Forms.TreeNode("达人广场");
+ System.Windows.Forms.TreeNode treeNode5 = new System.Windows.Forms.TreeNode("商品同步");
+ System.Windows.Forms.TreeNode treeNode6 = new System.Windows.Forms.TreeNode("商品管理", new System.Windows.Forms.TreeNode[] {
treeNode1,
treeNode2,
treeNode3,
- treeNode4});
+ treeNode4,
+ treeNode5});
this.panel1 = new System.Windows.Forms.Panel();
this.panel3 = new System.Windows.Forms.Panel();
this.panel2 = new System.Windows.Forms.Panel();
@@ -133,12 +135,14 @@
treeNode2.Text = "商品预售/下架";
treeNode3.Name = "爆单神器";
treeNode3.Text = "爆单神器";
- treeNode4.Name = "商品同步";
- treeNode4.Text = "商品同步";
- treeNode5.Name = "商品管理";
- treeNode5.Text = "商品管理";
+ treeNode4.Name = "达人广场";
+ treeNode4.Text = "达人广场";
+ treeNode5.Name = "商品同步";
+ treeNode5.Text = "商品同步";
+ treeNode6.Name = "商品管理";
+ treeNode6.Text = "商品管理";
this.tv.Nodes.AddRange(new System.Windows.Forms.TreeNode[] {
- treeNode5});
+ treeNode6});
this.tv.OverForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(235)))), ((int)(((byte)(235)))), ((int)(((byte)(235)))));
this.tv.Size = new System.Drawing.Size(140, 521);
this.tv.TabIndex = 1;
diff --git a/TEMUKJD/WXForms/ProductForms/WXProductForm.cs b/TEMUKJD/WXForms/ProductForms/WXProductForm.cs
index e8058fc..b131376 100644
--- a/TEMUKJD/WXForms/ProductForms/WXProductForm.cs
+++ b/TEMUKJD/WXForms/ProductForms/WXProductForm.cs
@@ -20,6 +20,7 @@ namespace TemuKJD.WXForms.ProductForms
public Lazy wxProdPreSaleForm = new Lazy();
public Lazy wxProdCouponForm = new Lazy();
public Lazy wxProdSyncForm = new Lazy();
+ public Lazy wxFinderSquareForm = new Lazy();
public WXProductForm()
{
@@ -77,6 +78,9 @@ namespace TemuKJD.WXForms.ProductForms
case "爆单神器":
SetForm(wxProdCouponForm.Value);
break;
+ case "达人广场":
+ SetForm(wxFinderSquareForm.Value);
+ break;
case "商品同步":
SetForm(wxProdSyncForm.Value);
break;
diff --git a/TEMUKJD/WXForms/TalkForms/WxTalkForm.Designer.cs b/TEMUKJD/WXForms/TalkForms/WxTalkForm.Designer.cs
index f63c842..aad7d68 100644
--- a/TEMUKJD/WXForms/TalkForms/WxTalkForm.Designer.cs
+++ b/TEMUKJD/WXForms/TalkForms/WxTalkForm.Designer.cs
@@ -131,7 +131,7 @@ namespace TemuKJD.WXForms.TalkForms
// lblVersionName
//
this.lblVersionName.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblVersionName.Location = new System.Drawing.Point(24753, 33);
+ this.lblVersionName.Location = new System.Drawing.Point(25821, 33);
//
// panel3
//
@@ -779,7 +779,7 @@ namespace TemuKJD.WXForms.TalkForms
this.ucTabControl1.Controls.Add(this.tabPage1);
this.ucTabControl1.Controls.Add(this.tabPage2);
this.ucTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
- this.ucTabControl1.ItemSize = new System.Drawing.Size(73, 26);
+ this.ucTabControl1.ItemSize = new System.Drawing.Size(73, 28);
this.ucTabControl1.Location = new System.Drawing.Point(0, 0);
this.ucTabControl1.Name = "ucTabControl1";
this.ucTabControl1.SelectedIndex = 0;
@@ -787,15 +787,16 @@ namespace TemuKJD.WXForms.TalkForms
this.ucTabControl1.Size = new System.Drawing.Size(997, 618);
this.ucTabControl1.TabIndex = 0;
this.ucTabControl1.TabSelectColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
+ this.ucTabControl1.TabSelectTextColor = System.Drawing.Color.FromArgb(((int)(((byte)(63)))), ((int)(((byte)(126)))), ((int)(((byte)(255)))));
this.ucTabControl1.TabTextColor = System.Drawing.Color.Gray;
//
// tabPage1
//
this.tabPage1.Controls.Add(this.splitContainer3);
- this.tabPage1.Location = new System.Drawing.Point(2, 30);
+ this.tabPage1.Location = new System.Drawing.Point(2, 32);
this.tabPage1.Name = "tabPage1";
this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage1.Size = new System.Drawing.Size(991, 584);
+ this.tabPage1.Size = new System.Drawing.Size(991, 582);
this.tabPage1.TabIndex = 0;
this.tabPage1.Text = "客服窗口";
this.tabPage1.UseVisualStyleBackColor = true;
@@ -818,7 +819,7 @@ namespace TemuKJD.WXForms.TalkForms
// splitContainer3.Panel2
//
this.splitContainer3.Panel2.Controls.Add(this.pnlTalk);
- this.splitContainer3.Size = new System.Drawing.Size(985, 578);
+ this.splitContainer3.Size = new System.Drawing.Size(985, 576);
this.splitContainer3.SplitterDistance = 25;
this.splitContainer3.TabIndex = 2;
//
@@ -919,7 +920,7 @@ namespace TemuKJD.WXForms.TalkForms
this.pnlTalk.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlTalk.Location = new System.Drawing.Point(0, 0);
this.pnlTalk.Name = "pnlTalk";
- this.pnlTalk.Size = new System.Drawing.Size(985, 549);
+ this.pnlTalk.Size = new System.Drawing.Size(985, 547);
this.pnlTalk.TabIndex = 1;
//
// chkIsAutoReLogin
@@ -947,10 +948,10 @@ namespace TemuKJD.WXForms.TalkForms
// tabPage2
//
this.tabPage2.Controls.Add(this.mainPanel);
- this.tabPage2.Location = new System.Drawing.Point(2, 30);
+ this.tabPage2.Location = new System.Drawing.Point(2, 32);
this.tabPage2.Name = "tabPage2";
this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
- this.tabPage2.Size = new System.Drawing.Size(991, 584);
+ this.tabPage2.Size = new System.Drawing.Size(991, 582);
this.tabPage2.TabIndex = 1;
this.tabPage2.Text = "店铺后台";
this.tabPage2.UseVisualStyleBackColor = true;
@@ -960,7 +961,7 @@ namespace TemuKJD.WXForms.TalkForms
this.mainPanel.Dock = System.Windows.Forms.DockStyle.Fill;
this.mainPanel.Location = new System.Drawing.Point(3, 3);
this.mainPanel.Name = "mainPanel";
- this.mainPanel.Size = new System.Drawing.Size(985, 578);
+ this.mainPanel.Size = new System.Drawing.Size(985, 576);
this.mainPanel.TabIndex = 1;
//
// ColumnShopStatus
@@ -1042,6 +1043,7 @@ namespace TemuKJD.WXForms.TalkForms
this.Controls.Add(this.panel3);
this.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.KeyPreview = true;
this.Name = "WxTalkForm";
this.ShowMaximizeBox = true;
this.Text = "`";