SVN-Revision: r493
This commit is contained in:
wyf
2025-04-14 09:11:10 +00:00
parent b994c548e3
commit 1b88d2b327
4 changed files with 383 additions and 267 deletions
Binary file not shown.
+254 -227
View File
@@ -29,20 +29,13 @@ namespace Lskj.PubApiSetModule
/// </summary> /// </summary>
private void InitializeComponent() private void InitializeComponent()
{ {
DevExpress.XtraGrid.GridLevelNode gridLevelNode3 = new DevExpress.XtraGrid.GridLevelNode();
DevExpress.XtraGrid.GridLevelNode gridLevelNode4 = new DevExpress.XtraGrid.GridLevelNode();
DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode1 = new DevExpress.XtraGrid.GridLevelNode();
DevExpress.XtraGrid.GridLevelNode gridLevelNode2 = new DevExpress.XtraGrid.GridLevelNode(); DevExpress.XtraGrid.GridLevelNode gridLevelNode2 = new DevExpress.XtraGrid.GridLevelNode();
DevExpress.XtraGrid.GridLevelNode gridLevelNode3 = new DevExpress.XtraGrid.GridLevelNode();
DevExpress.XtraGrid.GridLevelNode gridLevelNode4 = new DevExpress.XtraGrid.GridLevelNode();
this.tabMain = new DevExpress.XtraTab.XtraTabControl(); this.tabMain = new DevExpress.XtraTab.XtraTabControl();
this.sendPage = new DevExpress.XtraTab.XtraTabPage(); this.sendPage = new DevExpress.XtraTab.XtraTabPage();
this.splitControlSend = new DevExpress.XtraEditors.SplitContainerControl(); this.splitControlSend = new DevExpress.XtraEditors.SplitContainerControl();
this.getPage = new DevExpress.XtraTab.XtraTabPage();
this.splitControlGet = new DevExpress.XtraEditors.SplitContainerControl();
this.getGcMain = new DevExpress.XtraGrid.GridControl();
this.getMainView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.getGcDetail = new DevExpress.XtraGrid.GridControl();
this.getDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.flowPanelTop = new System.Windows.Forms.FlowLayoutPanel();
this.sendGcMain = new DevExpress.XtraGrid.GridControl(); this.sendGcMain = new DevExpress.XtraGrid.GridControl();
this.sendMainView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.sendMainView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.idColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.idColumn = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -79,7 +72,10 @@ namespace Lskj.PubApiSetModule
this.allowShowMsgComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.allowShowMsgComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.disableTagColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.disableTagColumn = new DevExpress.XtraGrid.Columns.GridColumn();
this.disableTagComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.disableTagComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.flowPanelBottom = new System.Windows.Forms.FlowLayoutPanel(); this.flowPanelTop = new System.Windows.Forms.FlowLayoutPanel();
this.btnApiSave = new DevExpress.XtraEditors.SimpleButton();
this.btnApiDelete = new DevExpress.XtraEditors.SimpleButton();
this.btnApiAdd = new DevExpress.XtraEditors.SimpleButton();
this.sendGcDetail = new DevExpress.XtraGrid.GridControl(); this.sendGcDetail = new DevExpress.XtraGrid.GridControl();
this.sendDetailView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.sendDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.pmsIdColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.pmsIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
@@ -98,25 +94,23 @@ namespace Lskj.PubApiSetModule
this.unionPmsIdColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.unionPmsIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
this.valueDataTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.valueDataTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
this.valueDataTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox(); this.valueDataTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
this.btnApiSave = new DevExpress.XtraEditors.SimpleButton(); this.flowPanelBottom = new System.Windows.Forms.FlowLayoutPanel();
this.btnApiDelete = new DevExpress.XtraEditors.SimpleButton();
this.btnApiAdd = new DevExpress.XtraEditors.SimpleButton();
this.btnPmsSave = new DevExpress.XtraEditors.SimpleButton(); this.btnPmsSave = new DevExpress.XtraEditors.SimpleButton();
this.btnPmsDelete = new DevExpress.XtraEditors.SimpleButton(); this.btnPmsDelete = new DevExpress.XtraEditors.SimpleButton();
this.btnPmsAdd = new DevExpress.XtraEditors.SimpleButton(); this.btnPmsAdd = new DevExpress.XtraEditors.SimpleButton();
this.getPage = new DevExpress.XtraTab.XtraTabPage();
this.splitControlGet = new DevExpress.XtraEditors.SplitContainerControl();
this.getGcMain = new DevExpress.XtraGrid.GridControl();
this.getMainView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.getGcDetail = new DevExpress.XtraGrid.GridControl();
this.getDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
this.valueEncryptTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
this.valueEncryptTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
this.tabMain.SuspendLayout(); this.tabMain.SuspendLayout();
this.sendPage.SuspendLayout(); this.sendPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitControlSend)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.splitControlSend)).BeginInit();
this.splitControlSend.SuspendLayout(); this.splitControlSend.SuspendLayout();
this.getPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).BeginInit();
this.splitControlGet.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.getMainView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).BeginInit();
this.flowPanelTop.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sendGcMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sendGcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.sendMainView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sendMainView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.reqDataTypeComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.reqDataTypeComboBox)).BeginInit();
@@ -131,7 +125,7 @@ namespace Lskj.PubApiSetModule
((System.ComponentModel.ISupportInitialize)(this.pmsTypeComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pmsTypeComboBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.allowShowMsgComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.allowShowMsgComboBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.disableTagComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.disableTagComboBox)).BeginInit();
this.flowPanelBottom.SuspendLayout(); this.flowPanelTop.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.sendGcDetail)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sendGcDetail)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.sendDetailView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sendDetailView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pmTypeComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pmTypeComboBox)).BeginInit();
@@ -140,6 +134,15 @@ namespace Lskj.PubApiSetModule
((System.ComponentModel.ISupportInitialize)(this.allowNullComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.allowNullComboBox)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pmsDataSourceMemoExEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pmsDataSourceMemoExEdit)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.valueDataTypeComboBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valueDataTypeComboBox)).BeginInit();
this.flowPanelBottom.SuspendLayout();
this.getPage.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).BeginInit();
this.splitControlGet.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.getMainView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.valueEncryptTypeComboBox)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// tabMain // tabMain
@@ -150,7 +153,7 @@ namespace Lskj.PubApiSetModule
this.tabMain.Location = new System.Drawing.Point(0, 0); this.tabMain.Location = new System.Drawing.Point(0, 0);
this.tabMain.Name = "tabMain"; this.tabMain.Name = "tabMain";
this.tabMain.SelectedTabPage = this.sendPage; this.tabMain.SelectedTabPage = this.sendPage;
this.tabMain.Size = new System.Drawing.Size(858, 555); this.tabMain.Size = new System.Drawing.Size(1012, 555);
this.tabMain.TabIndex = 6; this.tabMain.TabIndex = 6;
this.tabMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.tabMain.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
this.sendPage, this.sendPage,
@@ -160,7 +163,7 @@ namespace Lskj.PubApiSetModule
// //
this.sendPage.Controls.Add(this.splitControlSend); this.sendPage.Controls.Add(this.splitControlSend);
this.sendPage.Name = "sendPage"; this.sendPage.Name = "sendPage";
this.sendPage.Size = new System.Drawing.Size(852, 526); this.sendPage.Size = new System.Drawing.Size(1006, 526);
this.sendPage.Text = "推送接口"; this.sendPage.Text = "推送接口";
// //
// splitControlSend // splitControlSend
@@ -179,140 +182,11 @@ namespace Lskj.PubApiSetModule
this.splitControlSend.Panel2.Controls.Add(this.sendGcDetail); this.splitControlSend.Panel2.Controls.Add(this.sendGcDetail);
this.splitControlSend.Panel2.Controls.Add(this.flowPanelBottom); this.splitControlSend.Panel2.Controls.Add(this.flowPanelBottom);
this.splitControlSend.Panel2.Text = "Panel2"; this.splitControlSend.Panel2.Text = "Panel2";
this.splitControlSend.Size = new System.Drawing.Size(852, 526); this.splitControlSend.Size = new System.Drawing.Size(1006, 526);
this.splitControlSend.SplitterPosition = 237; this.splitControlSend.SplitterPosition = 237;
this.splitControlSend.TabIndex = 4; this.splitControlSend.TabIndex = 4;
this.splitControlSend.Text = "splitContainerControl1"; this.splitControlSend.Text = "splitContainerControl1";
// //
// getPage
//
this.getPage.Controls.Add(this.splitControlGet);
this.getPage.Name = "getPage";
this.getPage.Size = new System.Drawing.Size(852, 526);
this.getPage.Text = "接收接口";
//
// splitControlGet
//
this.splitControlGet.Appearance.BackColor = System.Drawing.Color.Transparent;
this.splitControlGet.Appearance.Options.UseBackColor = true;
this.splitControlGet.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.splitControlGet.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitControlGet.Horizontal = false;
this.splitControlGet.Location = new System.Drawing.Point(0, 0);
this.splitControlGet.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.splitControlGet.Name = "splitControlGet";
this.splitControlGet.Panel1.Controls.Add(this.getGcMain);
this.splitControlGet.Panel1.Text = "Panel1";
this.splitControlGet.Panel2.Controls.Add(this.getGcDetail);
this.splitControlGet.Panel2.Text = "Panel2";
this.splitControlGet.Size = new System.Drawing.Size(852, 526);
this.splitControlGet.SplitterPosition = 237;
this.splitControlGet.TabIndex = 5;
this.splitControlGet.Text = "splitContainerControl1";
//
// getGcMain
//
this.getGcMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.getGcMain.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
gridLevelNode3.RelationName = "Level1";
this.getGcMain.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
gridLevelNode3});
this.getGcMain.Location = new System.Drawing.Point(0, 0);
this.getGcMain.MainView = this.getMainView;
this.getGcMain.Margin = new System.Windows.Forms.Padding(4);
this.getGcMain.Name = "getGcMain";
this.getGcMain.Size = new System.Drawing.Size(852, 237);
this.getGcMain.TabIndex = 5;
this.getGcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.getMainView});
//
// getMainView
//
this.getMainView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
this.getMainView.Appearance.HeaderPanel.Options.UseFont = true;
this.getMainView.Appearance.HeaderPanel.Options.UseTextOptions = true;
this.getMainView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.getMainView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.getMainView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
this.getMainView.Appearance.Preview.Options.UseFont = true;
this.getMainView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
this.getMainView.Appearance.Row.Options.UseBackColor = true;
this.getMainView.Appearance.Row.Options.UseFont = true;
this.getMainView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
this.getMainView.GridControl = this.getGcMain;
this.getMainView.IndicatorWidth = 40;
this.getMainView.Name = "getMainView";
this.getMainView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
this.getMainView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
this.getMainView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
this.getMainView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
this.getMainView.OptionsFind.FindNullPrompt = "";
this.getMainView.OptionsSelection.MultiSelect = true;
this.getMainView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
this.getMainView.OptionsView.AllowHtmlDrawHeaders = true;
this.getMainView.OptionsView.ColumnAutoWidth = false;
this.getMainView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
this.getMainView.OptionsView.RowAutoHeight = true;
this.getMainView.OptionsView.ShowGroupPanel = false;
this.getMainView.PaintStyleName = "Skin";
//
// getGcDetail
//
this.getGcDetail.Dock = System.Windows.Forms.DockStyle.Fill;
this.getGcDetail.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
gridLevelNode4.RelationName = "Level1";
this.getGcDetail.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
gridLevelNode4});
this.getGcDetail.Location = new System.Drawing.Point(0, 0);
this.getGcDetail.MainView = this.getDetailView;
this.getGcDetail.Margin = new System.Windows.Forms.Padding(4);
this.getGcDetail.Name = "getGcDetail";
this.getGcDetail.Size = new System.Drawing.Size(852, 284);
this.getGcDetail.TabIndex = 5;
this.getGcDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.getDetailView});
//
// getDetailView
//
this.getDetailView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
this.getDetailView.Appearance.HeaderPanel.Options.UseFont = true;
this.getDetailView.Appearance.HeaderPanel.Options.UseTextOptions = true;
this.getDetailView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.getDetailView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.getDetailView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
this.getDetailView.Appearance.Preview.Options.UseFont = true;
this.getDetailView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
this.getDetailView.Appearance.Row.Options.UseBackColor = true;
this.getDetailView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
this.getDetailView.GridControl = this.getGcDetail;
this.getDetailView.IndicatorWidth = 40;
this.getDetailView.Name = "getDetailView";
this.getDetailView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
this.getDetailView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
this.getDetailView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
this.getDetailView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
this.getDetailView.OptionsFind.FindNullPrompt = "";
this.getDetailView.OptionsSelection.MultiSelect = true;
this.getDetailView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
this.getDetailView.OptionsView.AllowHtmlDrawHeaders = true;
this.getDetailView.OptionsView.ColumnAutoWidth = false;
this.getDetailView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
this.getDetailView.OptionsView.RowAutoHeight = true;
this.getDetailView.OptionsView.ShowGroupPanel = false;
this.getDetailView.PaintStyleName = "Skin";
//
// flowPanelTop
//
this.flowPanelTop.Controls.Add(this.btnApiSave);
this.flowPanelTop.Controls.Add(this.btnApiDelete);
this.flowPanelTop.Controls.Add(this.btnApiAdd);
this.flowPanelTop.Dock = System.Windows.Forms.DockStyle.Bottom;
this.flowPanelTop.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.flowPanelTop.Location = new System.Drawing.Point(0, 203);
this.flowPanelTop.Name = "flowPanelTop";
this.flowPanelTop.Size = new System.Drawing.Size(852, 34);
this.flowPanelTop.TabIndex = 22;
//
// sendGcMain // sendGcMain
// //
this.sendGcMain.Dock = System.Windows.Forms.DockStyle.Fill; this.sendGcMain.Dock = System.Windows.Forms.DockStyle.Fill;
@@ -337,7 +211,7 @@ namespace Lskj.PubApiSetModule
this.allowShowMsgComboBox, this.allowShowMsgComboBox,
this.eTypeCodeComboBox, this.eTypeCodeComboBox,
this.disableTagComboBox}); this.disableTagComboBox});
this.sendGcMain.Size = new System.Drawing.Size(852, 203); this.sendGcMain.Size = new System.Drawing.Size(1006, 203);
this.sendGcMain.TabIndex = 23; this.sendGcMain.TabIndex = 23;
this.sendGcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.sendGcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.sendMainView}); this.sendMainView});
@@ -527,6 +401,7 @@ namespace Lskj.PubApiSetModule
this.eTypeColumn.Name = "eTypeColumn"; this.eTypeColumn.Name = "eTypeColumn";
this.eTypeColumn.Visible = true; this.eTypeColumn.Visible = true;
this.eTypeColumn.VisibleIndex = 11; this.eTypeColumn.VisibleIndex = 11;
this.eTypeColumn.Width = 100;
// //
// eTypeComboBox // eTypeComboBox
// //
@@ -542,7 +417,7 @@ namespace Lskj.PubApiSetModule
this.eTypeCodeColumn.FieldName = "eTypeCode"; this.eTypeCodeColumn.FieldName = "eTypeCode";
this.eTypeCodeColumn.Name = "eTypeCodeColumn"; this.eTypeCodeColumn.Name = "eTypeCodeColumn";
this.eTypeCodeColumn.Visible = true; this.eTypeCodeColumn.Visible = true;
this.eTypeCodeColumn.VisibleIndex = 20; this.eTypeCodeColumn.VisibleIndex = 12;
// //
// eTypeCodeComboBox // eTypeCodeComboBox
// //
@@ -565,7 +440,8 @@ namespace Lskj.PubApiSetModule
this.finshDataPmColumn.FieldName = "finshDataPm"; this.finshDataPmColumn.FieldName = "finshDataPm";
this.finshDataPmColumn.Name = "finshDataPmColumn"; this.finshDataPmColumn.Name = "finshDataPmColumn";
this.finshDataPmColumn.Visible = true; this.finshDataPmColumn.Visible = true;
this.finshDataPmColumn.VisibleIndex = 13; this.finshDataPmColumn.VisibleIndex = 14;
this.finshDataPmColumn.Width = 80;
// //
// finshActionColumn // finshActionColumn
// //
@@ -573,7 +449,7 @@ namespace Lskj.PubApiSetModule
this.finshActionColumn.FieldName = "finshAction"; this.finshActionColumn.FieldName = "finshAction";
this.finshActionColumn.Name = "finshActionColumn"; this.finshActionColumn.Name = "finshActionColumn";
this.finshActionColumn.Visible = true; this.finshActionColumn.Visible = true;
this.finshActionColumn.VisibleIndex = 12; this.finshActionColumn.VisibleIndex = 13;
this.finshActionColumn.Width = 100; this.finshActionColumn.Width = 100;
// //
// isSucceedCondColumn // isSucceedCondColumn
@@ -583,7 +459,7 @@ namespace Lskj.PubApiSetModule
this.isSucceedCondColumn.FieldName = "isSucceedCond"; this.isSucceedCondColumn.FieldName = "isSucceedCond";
this.isSucceedCondColumn.Name = "isSucceedCondColumn"; this.isSucceedCondColumn.Name = "isSucceedCondColumn";
this.isSucceedCondColumn.Visible = true; this.isSucceedCondColumn.Visible = true;
this.isSucceedCondColumn.VisibleIndex = 14; this.isSucceedCondColumn.VisibleIndex = 15;
// //
// isSucceedCondMemoExEdit // isSucceedCondMemoExEdit
// //
@@ -598,7 +474,7 @@ namespace Lskj.PubApiSetModule
this.tokenApiIdColumn.FieldName = "tokenApiId"; this.tokenApiIdColumn.FieldName = "tokenApiId";
this.tokenApiIdColumn.Name = "tokenApiIdColumn"; this.tokenApiIdColumn.Name = "tokenApiIdColumn";
this.tokenApiIdColumn.Visible = true; this.tokenApiIdColumn.Visible = true;
this.tokenApiIdColumn.VisibleIndex = 18; this.tokenApiIdColumn.VisibleIndex = 19;
// //
// tokenTypeColumn // tokenTypeColumn
// //
@@ -607,7 +483,7 @@ namespace Lskj.PubApiSetModule
this.tokenTypeColumn.FieldName = "tokenType"; this.tokenTypeColumn.FieldName = "tokenType";
this.tokenTypeColumn.Name = "tokenTypeColumn"; this.tokenTypeColumn.Name = "tokenTypeColumn";
this.tokenTypeColumn.Visible = true; this.tokenTypeColumn.Visible = true;
this.tokenTypeColumn.VisibleIndex = 15; this.tokenTypeColumn.VisibleIndex = 16;
// //
// tokenTypeComboBox // tokenTypeComboBox
// //
@@ -623,7 +499,7 @@ namespace Lskj.PubApiSetModule
this.pmsTypeColumn.FieldName = "pmsType"; this.pmsTypeColumn.FieldName = "pmsType";
this.pmsTypeColumn.Name = "pmsTypeColumn"; this.pmsTypeColumn.Name = "pmsTypeColumn";
this.pmsTypeColumn.Visible = true; this.pmsTypeColumn.Visible = true;
this.pmsTypeColumn.VisibleIndex = 16; this.pmsTypeColumn.VisibleIndex = 17;
// //
// pmsTypeComboBox // pmsTypeComboBox
// //
@@ -638,7 +514,7 @@ namespace Lskj.PubApiSetModule
this.ContentTypeColumn.FieldName = "ContentType"; this.ContentTypeColumn.FieldName = "ContentType";
this.ContentTypeColumn.Name = "ContentTypeColumn"; this.ContentTypeColumn.Name = "ContentTypeColumn";
this.ContentTypeColumn.Visible = true; this.ContentTypeColumn.Visible = true;
this.ContentTypeColumn.VisibleIndex = 17; this.ContentTypeColumn.VisibleIndex = 18;
// //
// allowShowMsgColumn // allowShowMsgColumn
// //
@@ -647,7 +523,7 @@ namespace Lskj.PubApiSetModule
this.allowShowMsgColumn.FieldName = "allowShowMsg"; this.allowShowMsgColumn.FieldName = "allowShowMsg";
this.allowShowMsgColumn.Name = "allowShowMsgColumn"; this.allowShowMsgColumn.Name = "allowShowMsgColumn";
this.allowShowMsgColumn.Visible = true; this.allowShowMsgColumn.Visible = true;
this.allowShowMsgColumn.VisibleIndex = 19; this.allowShowMsgColumn.VisibleIndex = 20;
// //
// allowShowMsgComboBox // allowShowMsgComboBox
// //
@@ -672,17 +548,50 @@ namespace Lskj.PubApiSetModule
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.disableTagComboBox.Name = "disableTagComboBox"; this.disableTagComboBox.Name = "disableTagComboBox";
// //
// flowPanelBottom // flowPanelTop
// //
this.flowPanelBottom.Controls.Add(this.btnPmsSave); this.flowPanelTop.Controls.Add(this.btnApiSave);
this.flowPanelBottom.Controls.Add(this.btnPmsDelete); this.flowPanelTop.Controls.Add(this.btnApiDelete);
this.flowPanelBottom.Controls.Add(this.btnPmsAdd); this.flowPanelTop.Controls.Add(this.btnApiAdd);
this.flowPanelBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.flowPanelTop.Dock = System.Windows.Forms.DockStyle.Bottom;
this.flowPanelBottom.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft; this.flowPanelTop.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.flowPanelBottom.Location = new System.Drawing.Point(0, 250); this.flowPanelTop.Location = new System.Drawing.Point(0, 203);
this.flowPanelBottom.Name = "flowPanelBottom"; this.flowPanelTop.Name = "flowPanelTop";
this.flowPanelBottom.Size = new System.Drawing.Size(852, 34); this.flowPanelTop.Size = new System.Drawing.Size(1006, 34);
this.flowPanelBottom.TabIndex = 23; this.flowPanelTop.TabIndex = 22;
//
// btnApiSave
//
this.btnApiSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnApiSave.Appearance.Options.UseFont = true;
this.btnApiSave.Location = new System.Drawing.Point(923, 3);
this.btnApiSave.Name = "btnApiSave";
this.btnApiSave.Size = new System.Drawing.Size(80, 28);
this.btnApiSave.TabIndex = 13;
this.btnApiSave.TabStop = false;
this.btnApiSave.Text = "保存(&S)";
//
// btnApiDelete
//
this.btnApiDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnApiDelete.Appearance.Options.UseFont = true;
this.btnApiDelete.Location = new System.Drawing.Point(837, 3);
this.btnApiDelete.Name = "btnApiDelete";
this.btnApiDelete.Size = new System.Drawing.Size(80, 28);
this.btnApiDelete.TabIndex = 14;
this.btnApiDelete.TabStop = false;
this.btnApiDelete.Text = "删除(&D)";
//
// btnApiAdd
//
this.btnApiAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnApiAdd.Appearance.Options.UseFont = true;
this.btnApiAdd.Location = new System.Drawing.Point(751, 3);
this.btnApiAdd.Name = "btnApiAdd";
this.btnApiAdd.Size = new System.Drawing.Size(80, 28);
this.btnApiAdd.TabIndex = 15;
this.btnApiAdd.TabStop = false;
this.btnApiAdd.Text = "新增(&A)";
// //
// sendGcDetail // sendGcDetail
// //
@@ -701,8 +610,9 @@ namespace Lskj.PubApiSetModule
this.pmsDataSourceMemoExEdit, this.pmsDataSourceMemoExEdit,
this.allowNullComboBox, this.allowNullComboBox,
this.valueMemoExEdit, this.valueMemoExEdit,
this.valueDataTypeComboBox}); this.valueDataTypeComboBox,
this.sendGcDetail.Size = new System.Drawing.Size(852, 250); this.valueEncryptTypeComboBox});
this.sendGcDetail.Size = new System.Drawing.Size(1006, 250);
this.sendGcDetail.TabIndex = 24; this.sendGcDetail.TabIndex = 24;
this.sendGcDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.sendGcDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.sendDetailView}); this.sendDetailView});
@@ -729,7 +639,8 @@ namespace Lskj.PubApiSetModule
this.pmsAllowNullColumn, this.pmsAllowNullColumn,
this.pmsDataSourceColumn, this.pmsDataSourceColumn,
this.unionPmsIdColumn, this.unionPmsIdColumn,
this.valueDataTypeColumn}); this.valueDataTypeColumn,
this.valueEncryptTypeColumn});
this.sendDetailView.GridControl = this.sendGcDetail; this.sendDetailView.GridControl = this.sendGcDetail;
this.sendDetailView.IndicatorWidth = 40; this.sendDetailView.IndicatorWidth = 40;
this.sendDetailView.Name = "sendDetailView"; this.sendDetailView.Name = "sendDetailView";
@@ -771,6 +682,7 @@ namespace Lskj.PubApiSetModule
this.pmsNameColumn.Name = "pmsNameColumn"; this.pmsNameColumn.Name = "pmsNameColumn";
this.pmsNameColumn.Visible = true; this.pmsNameColumn.Visible = true;
this.pmsNameColumn.VisibleIndex = 3; this.pmsNameColumn.VisibleIndex = 3;
this.pmsNameColumn.Width = 100;
// //
// pmTypeColumn // pmTypeColumn
// //
@@ -812,7 +724,7 @@ namespace Lskj.PubApiSetModule
this.valueTypeColumn.FieldName = "valueType"; this.valueTypeColumn.FieldName = "valueType";
this.valueTypeColumn.Name = "valueTypeColumn"; this.valueTypeColumn.Name = "valueTypeColumn";
this.valueTypeColumn.Visible = true; this.valueTypeColumn.Visible = true;
this.valueTypeColumn.VisibleIndex = 6; this.valueTypeColumn.VisibleIndex = 5;
// //
// valueTypeComboBox // valueTypeComboBox
// //
@@ -828,7 +740,7 @@ namespace Lskj.PubApiSetModule
this.pmsAllowNullColumn.FieldName = "allowNull"; this.pmsAllowNullColumn.FieldName = "allowNull";
this.pmsAllowNullColumn.Name = "pmsAllowNullColumn"; this.pmsAllowNullColumn.Name = "pmsAllowNullColumn";
this.pmsAllowNullColumn.Visible = true; this.pmsAllowNullColumn.Visible = true;
this.pmsAllowNullColumn.VisibleIndex = 8; this.pmsAllowNullColumn.VisibleIndex = 9;
// //
// allowNullComboBox // allowNullComboBox
// //
@@ -844,7 +756,7 @@ namespace Lskj.PubApiSetModule
this.pmsDataSourceColumn.FieldName = "pmsDataSource"; this.pmsDataSourceColumn.FieldName = "pmsDataSource";
this.pmsDataSourceColumn.Name = "pmsDataSourceColumn"; this.pmsDataSourceColumn.Name = "pmsDataSourceColumn";
this.pmsDataSourceColumn.Visible = true; this.pmsDataSourceColumn.Visible = true;
this.pmsDataSourceColumn.VisibleIndex = 7; this.pmsDataSourceColumn.VisibleIndex = 8;
this.pmsDataSourceColumn.Width = 100; this.pmsDataSourceColumn.Width = 100;
// //
// pmsDataSourceMemoExEdit // pmsDataSourceMemoExEdit
@@ -860,7 +772,7 @@ namespace Lskj.PubApiSetModule
this.unionPmsIdColumn.FieldName = "unionPmsId"; this.unionPmsIdColumn.FieldName = "unionPmsId";
this.unionPmsIdColumn.Name = "unionPmsIdColumn"; this.unionPmsIdColumn.Name = "unionPmsIdColumn";
this.unionPmsIdColumn.Visible = true; this.unionPmsIdColumn.Visible = true;
this.unionPmsIdColumn.VisibleIndex = 9; this.unionPmsIdColumn.VisibleIndex = 10;
// //
// valueDataTypeColumn // valueDataTypeColumn
// //
@@ -869,7 +781,7 @@ namespace Lskj.PubApiSetModule
this.valueDataTypeColumn.FieldName = "valueDataType"; this.valueDataTypeColumn.FieldName = "valueDataType";
this.valueDataTypeColumn.Name = "valueDataTypeColumn"; this.valueDataTypeColumn.Name = "valueDataTypeColumn";
this.valueDataTypeColumn.Visible = true; this.valueDataTypeColumn.Visible = true;
this.valueDataTypeColumn.VisibleIndex = 5; this.valueDataTypeColumn.VisibleIndex = 6;
// //
// valueDataTypeComboBox // valueDataTypeComboBox
// //
@@ -878,44 +790,23 @@ namespace Lskj.PubApiSetModule
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.valueDataTypeComboBox.Name = "valueDataTypeComboBox"; this.valueDataTypeComboBox.Name = "valueDataTypeComboBox";
// //
// btnApiSave // flowPanelBottom
// //
this.btnApiSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.flowPanelBottom.Controls.Add(this.btnPmsSave);
this.btnApiSave.Appearance.Options.UseFont = true; this.flowPanelBottom.Controls.Add(this.btnPmsDelete);
this.btnApiSave.Location = new System.Drawing.Point(769, 3); this.flowPanelBottom.Controls.Add(this.btnPmsAdd);
this.btnApiSave.Name = "btnApiSave"; this.flowPanelBottom.Dock = System.Windows.Forms.DockStyle.Bottom;
this.btnApiSave.Size = new System.Drawing.Size(80, 28); this.flowPanelBottom.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
this.btnApiSave.TabIndex = 13; this.flowPanelBottom.Location = new System.Drawing.Point(0, 250);
this.btnApiSave.TabStop = false; this.flowPanelBottom.Name = "flowPanelBottom";
this.btnApiSave.Text = "保存(&S)"; this.flowPanelBottom.Size = new System.Drawing.Size(1006, 34);
// this.flowPanelBottom.TabIndex = 23;
// btnApiDelete
//
this.btnApiDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnApiDelete.Appearance.Options.UseFont = true;
this.btnApiDelete.Location = new System.Drawing.Point(683, 3);
this.btnApiDelete.Name = "btnApiDelete";
this.btnApiDelete.Size = new System.Drawing.Size(80, 28);
this.btnApiDelete.TabIndex = 14;
this.btnApiDelete.TabStop = false;
this.btnApiDelete.Text = "删除(&D)";
//
// btnApiAdd
//
this.btnApiAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnApiAdd.Appearance.Options.UseFont = true;
this.btnApiAdd.Location = new System.Drawing.Point(597, 3);
this.btnApiAdd.Name = "btnApiAdd";
this.btnApiAdd.Size = new System.Drawing.Size(80, 28);
this.btnApiAdd.TabIndex = 15;
this.btnApiAdd.TabStop = false;
this.btnApiAdd.Text = "新增(&A)";
// //
// btnPmsSave // btnPmsSave
// //
this.btnPmsSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPmsSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPmsSave.Appearance.Options.UseFont = true; this.btnPmsSave.Appearance.Options.UseFont = true;
this.btnPmsSave.Location = new System.Drawing.Point(769, 3); this.btnPmsSave.Location = new System.Drawing.Point(923, 3);
this.btnPmsSave.Name = "btnPmsSave"; this.btnPmsSave.Name = "btnPmsSave";
this.btnPmsSave.Size = new System.Drawing.Size(80, 28); this.btnPmsSave.Size = new System.Drawing.Size(80, 28);
this.btnPmsSave.TabIndex = 16; this.btnPmsSave.TabIndex = 16;
@@ -926,7 +817,7 @@ namespace Lskj.PubApiSetModule
// //
this.btnPmsDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPmsDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPmsDelete.Appearance.Options.UseFont = true; this.btnPmsDelete.Appearance.Options.UseFont = true;
this.btnPmsDelete.Location = new System.Drawing.Point(683, 3); this.btnPmsDelete.Location = new System.Drawing.Point(837, 3);
this.btnPmsDelete.Name = "btnPmsDelete"; this.btnPmsDelete.Name = "btnPmsDelete";
this.btnPmsDelete.Size = new System.Drawing.Size(80, 28); this.btnPmsDelete.Size = new System.Drawing.Size(80, 28);
this.btnPmsDelete.TabIndex = 17; this.btnPmsDelete.TabIndex = 17;
@@ -937,13 +828,146 @@ namespace Lskj.PubApiSetModule
// //
this.btnPmsAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnPmsAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.btnPmsAdd.Appearance.Options.UseFont = true; this.btnPmsAdd.Appearance.Options.UseFont = true;
this.btnPmsAdd.Location = new System.Drawing.Point(597, 3); this.btnPmsAdd.Location = new System.Drawing.Point(751, 3);
this.btnPmsAdd.Name = "btnPmsAdd"; this.btnPmsAdd.Name = "btnPmsAdd";
this.btnPmsAdd.Size = new System.Drawing.Size(80, 28); this.btnPmsAdd.Size = new System.Drawing.Size(80, 28);
this.btnPmsAdd.TabIndex = 18; this.btnPmsAdd.TabIndex = 18;
this.btnPmsAdd.TabStop = false; this.btnPmsAdd.TabStop = false;
this.btnPmsAdd.Text = "新增(&A)"; this.btnPmsAdd.Text = "新增(&A)";
// //
// getPage
//
this.getPage.Controls.Add(this.splitControlGet);
this.getPage.Name = "getPage";
this.getPage.Size = new System.Drawing.Size(1006, 526);
this.getPage.Text = "接收接口";
//
// splitControlGet
//
this.splitControlGet.Appearance.BackColor = System.Drawing.Color.Transparent;
this.splitControlGet.Appearance.Options.UseBackColor = true;
this.splitControlGet.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Default;
this.splitControlGet.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitControlGet.Horizontal = false;
this.splitControlGet.Location = new System.Drawing.Point(0, 0);
this.splitControlGet.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2);
this.splitControlGet.Name = "splitControlGet";
this.splitControlGet.Panel1.Controls.Add(this.getGcMain);
this.splitControlGet.Panel1.Text = "Panel1";
this.splitControlGet.Panel2.Controls.Add(this.getGcDetail);
this.splitControlGet.Panel2.Text = "Panel2";
this.splitControlGet.Size = new System.Drawing.Size(1006, 526);
this.splitControlGet.SplitterPosition = 237;
this.splitControlGet.TabIndex = 5;
this.splitControlGet.Text = "splitContainerControl1";
//
// getGcMain
//
this.getGcMain.Dock = System.Windows.Forms.DockStyle.Fill;
this.getGcMain.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
gridLevelNode3.RelationName = "Level1";
this.getGcMain.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
gridLevelNode3});
this.getGcMain.Location = new System.Drawing.Point(0, 0);
this.getGcMain.MainView = this.getMainView;
this.getGcMain.Margin = new System.Windows.Forms.Padding(4);
this.getGcMain.Name = "getGcMain";
this.getGcMain.Size = new System.Drawing.Size(1006, 237);
this.getGcMain.TabIndex = 5;
this.getGcMain.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.getMainView});
//
// getMainView
//
this.getMainView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
this.getMainView.Appearance.HeaderPanel.Options.UseFont = true;
this.getMainView.Appearance.HeaderPanel.Options.UseTextOptions = true;
this.getMainView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.getMainView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.getMainView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
this.getMainView.Appearance.Preview.Options.UseFont = true;
this.getMainView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
this.getMainView.Appearance.Row.Options.UseBackColor = true;
this.getMainView.Appearance.Row.Options.UseFont = true;
this.getMainView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
this.getMainView.GridControl = this.getGcMain;
this.getMainView.IndicatorWidth = 40;
this.getMainView.Name = "getMainView";
this.getMainView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
this.getMainView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
this.getMainView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
this.getMainView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
this.getMainView.OptionsFind.FindNullPrompt = "";
this.getMainView.OptionsSelection.MultiSelect = true;
this.getMainView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
this.getMainView.OptionsView.AllowHtmlDrawHeaders = true;
this.getMainView.OptionsView.ColumnAutoWidth = false;
this.getMainView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
this.getMainView.OptionsView.RowAutoHeight = true;
this.getMainView.OptionsView.ShowGroupPanel = false;
this.getMainView.PaintStyleName = "Skin";
//
// getGcDetail
//
this.getGcDetail.Dock = System.Windows.Forms.DockStyle.Fill;
this.getGcDetail.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
gridLevelNode4.RelationName = "Level1";
this.getGcDetail.LevelTree.Nodes.AddRange(new DevExpress.XtraGrid.GridLevelNode[] {
gridLevelNode4});
this.getGcDetail.Location = new System.Drawing.Point(0, 0);
this.getGcDetail.MainView = this.getDetailView;
this.getGcDetail.Margin = new System.Windows.Forms.Padding(4);
this.getGcDetail.Name = "getGcDetail";
this.getGcDetail.Size = new System.Drawing.Size(1006, 284);
this.getGcDetail.TabIndex = 5;
this.getGcDetail.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.getDetailView});
//
// getDetailView
//
this.getDetailView.Appearance.HeaderPanel.Font = new System.Drawing.Font("宋体", 9F);
this.getDetailView.Appearance.HeaderPanel.Options.UseFont = true;
this.getDetailView.Appearance.HeaderPanel.Options.UseTextOptions = true;
this.getDetailView.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.getDetailView.Appearance.HeaderPanel.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.getDetailView.Appearance.Preview.Font = new System.Drawing.Font("宋体", 9F);
this.getDetailView.Appearance.Preview.Options.UseFont = true;
this.getDetailView.Appearance.Row.Font = new System.Drawing.Font("宋体", 9F);
this.getDetailView.Appearance.Row.Options.UseBackColor = true;
this.getDetailView.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Flat;
this.getDetailView.GridControl = this.getGcDetail;
this.getDetailView.IndicatorWidth = 40;
this.getDetailView.Name = "getDetailView";
this.getDetailView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True;
this.getDetailView.OptionsClipboard.CopyColumnHeaders = DevExpress.Utils.DefaultBoolean.False;
this.getDetailView.OptionsFilter.ShowAllTableValuesInCheckedFilterPopup = false;
this.getDetailView.OptionsFilter.ShowAllTableValuesInFilterPopup = true;
this.getDetailView.OptionsFind.FindNullPrompt = "";
this.getDetailView.OptionsSelection.MultiSelect = true;
this.getDetailView.OptionsSelection.MultiSelectMode = DevExpress.XtraGrid.Views.Grid.GridMultiSelectMode.CellSelect;
this.getDetailView.OptionsView.AllowHtmlDrawHeaders = true;
this.getDetailView.OptionsView.ColumnAutoWidth = false;
this.getDetailView.OptionsView.ColumnHeaderAutoHeight = DevExpress.Utils.DefaultBoolean.True;
this.getDetailView.OptionsView.RowAutoHeight = true;
this.getDetailView.OptionsView.ShowGroupPanel = false;
this.getDetailView.PaintStyleName = "Skin";
//
// valueEncryptTypeColumn
//
this.valueEncryptTypeColumn.Caption = "值转换类型";
this.valueEncryptTypeColumn.ColumnEdit = this.valueEncryptTypeComboBox;
this.valueEncryptTypeColumn.FieldName = "valueEncryptType";
this.valueEncryptTypeColumn.Name = "valueEncryptTypeColumn";
this.valueEncryptTypeColumn.Visible = true;
this.valueEncryptTypeColumn.VisibleIndex = 7;
//
// valueEncryptTypeComboBox
//
this.valueEncryptTypeComboBox.AutoHeight = false;
this.valueEncryptTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
this.valueEncryptTypeComboBox.Name = "valueEncryptTypeComboBox";
//
// FrmMain // FrmMain
// //
this.Appearance.BackColor = System.Drawing.SystemColors.Control; this.Appearance.BackColor = System.Drawing.SystemColors.Control;
@@ -951,7 +975,7 @@ namespace Lskj.PubApiSetModule
this.Appearance.Options.UseFont = true; this.Appearance.Options.UseFont = true;
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(858, 555); this.ClientSize = new System.Drawing.Size(1012, 555);
this.Controls.Add(this.tabMain); this.Controls.Add(this.tabMain);
this.Name = "FrmMain"; this.Name = "FrmMain";
this.Text = "FrmMain"; this.Text = "FrmMain";
@@ -960,14 +984,6 @@ namespace Lskj.PubApiSetModule
this.sendPage.ResumeLayout(false); this.sendPage.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitControlSend)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.splitControlSend)).EndInit();
this.splitControlSend.ResumeLayout(false); this.splitControlSend.ResumeLayout(false);
this.getPage.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).EndInit();
this.splitControlGet.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.getMainView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).EndInit();
this.flowPanelTop.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.sendGcMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sendGcMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.sendMainView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sendMainView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.reqDataTypeComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.reqDataTypeComboBox)).EndInit();
@@ -982,7 +998,7 @@ namespace Lskj.PubApiSetModule
((System.ComponentModel.ISupportInitialize)(this.pmsTypeComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pmsTypeComboBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.allowShowMsgComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.allowShowMsgComboBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.disableTagComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.disableTagComboBox)).EndInit();
this.flowPanelBottom.ResumeLayout(false); this.flowPanelTop.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.sendGcDetail)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sendGcDetail)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.sendDetailView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sendDetailView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pmTypeComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pmTypeComboBox)).EndInit();
@@ -991,6 +1007,15 @@ namespace Lskj.PubApiSetModule
((System.ComponentModel.ISupportInitialize)(this.allowNullComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.allowNullComboBox)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pmsDataSourceMemoExEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pmsDataSourceMemoExEdit)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.valueDataTypeComboBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valueDataTypeComboBox)).EndInit();
this.flowPanelBottom.ResumeLayout(false);
this.getPage.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).EndInit();
this.splitControlGet.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.getMainView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.valueEncryptTypeComboBox)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@@ -1054,4 +1079,6 @@ namespace Lskj.PubApiSetModule
private DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit valueMemoExEdit; private DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit valueMemoExEdit;
private DevExpress.XtraGrid.Columns.GridColumn valueTypeColumn; private DevExpress.XtraGrid.Columns.GridColumn valueTypeColumn;
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox valueTypeComboBox; private DevExpress.XtraEditors.Repository.RepositoryItemComboBox valueTypeComboBox;
private DevExpress.XtraGrid.Columns.Gr private DevExpress.XtraGrid.Columns.GridColumn pmsAllowNullColumn;
private DevExpress.XtraEditors.Repository.RepositoryItemComboBox allowNullComboBox;
private DevExpress.XtraGrid.Columns.GridColumn pm
+124 -39
View File
@@ -1,4 +1,7 @@
using Lskj.Business.Impl; using DevExpress.XtraEditors.Repository;
using DevExpress.XtraGrid.Columns;
using DevExpress.XtraGrid.Views.Grid;
using Lskj.Business.Impl;
using Lskj.Control; using Lskj.Control;
using Lskj.Core; using Lskj.Core;
using Lskj.Util; using Lskj.Util;
@@ -43,8 +46,12 @@ namespace Lskj.PubApiSetModule
/// </summary> /// </summary>
private void InitEvents() private void InitEvents()
{ {
splitControlSend.SplitterPositionChanged += OnSplitContainerPositionChanged; ; splitControlSend.SplitterPositionChanged += OnSplitContainerPositionChanged;
sendMainView.FocusedRowObjectChanged += OnSendMainViewFocusedRowObjectChanged; sendMainView.CustomColumnDisplayText += OnCustomColumnDisplayText;
sendDetailView.CustomColumnDisplayText += OnCustomColumnDisplayText;
sendMainView.InitNewRow += OnViewInitNewRow;
sendDetailView.InitNewRow += OnViewInitNewRow;
sendMainView.FocusedRowObjectChanged += OnFocusedRowObjectChanged;
btnApiAdd.Click += OnBtnAddClick; btnApiAdd.Click += OnBtnAddClick;
btnApiDelete.Click += OnBtnDeleteClick; btnApiDelete.Click += OnBtnDeleteClick;
btnApiSave.Click += OnBtnSaveClick; btnApiSave.Click += OnBtnSaveClick;
@@ -93,18 +100,24 @@ namespace Lskj.PubApiSetModule
{ {
if (sender == btnApiSave) if (sender == btnApiSave)
{ {
sendMainView.UpdateCurrentRow(); if (sendGcMain.DataSource != null && sendGcMain.DataSource is DataTable sourceTable)
if (sendMainView.DataSource != null && sendMainView.DataSource is DataTable sourceTable)
{ {
SendMainAdapterObj.Update(sourceTable); SendMainAdapterObj.Update(sourceTable);
int rowHandle = sendMainView.FocusedRowHandle;
InitApiTabDataSource();
sendMainView.FocusedRowHandle = rowHandle;
} }
} }
else if (sender == btnPmsSave) else if (sender == btnPmsSave)
{ {
sendDetailView.UpdateCurrentRow(); if (sendGcDetail.DataSource != null && sendGcDetail.DataSource is DataTable sourceTable)
if (sendDetailView.DataSource != null && sendDetailView.DataSource is DataTable sourceTable)
{ {
SendDetailAdapterObj.Update(sourceTable); SendDetailAdapterObj.Update(sourceTable);
DataRow focusedRow = sendMainView.GetFocusedDataRow();
string apiId = focusedRow["id"] + "";
int rowHandle = sendDetailView.FocusedRowHandle;
InitApiPmsTabDataSource(apiId);
sendDetailView.FocusedRowHandle = rowHandle;
} }
} }
} }
@@ -113,7 +126,7 @@ namespace Lskj.PubApiSetModule
/// </summary> /// </summary>
/// <param name="sender"></param> /// <param name="sender"></param>
/// <param name="e"></param> /// <param name="e"></param>
private void OnSendMainViewFocusedRowObjectChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowObjectChangedEventArgs e) private void OnFocusedRowObjectChanged(object sender, DevExpress.XtraGrid.Views.Base.FocusedRowObjectChangedEventArgs e)
{ {
if (e.Row is DataRowView dataRowView) if (e.Row is DataRowView dataRowView)
{ {
@@ -122,7 +135,41 @@ namespace Lskj.PubApiSetModule
InitApiPmsTabDataSource(apiId); InitApiPmsTabDataSource(apiId);
} }
} }
/// <summary>
/// 显示下拉框的值
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OnCustomColumnDisplayText(object sender, DevExpress.XtraGrid.Views.Base.CustomColumnDisplayTextEventArgs e)
{
if (e.Column.ColumnEdit is RepositoryItemComboBox repositoryItemCombo)
{
ComBoxModel comBoxModel = repositoryItemCombo.Items.Cast<ComBoxModel>().Where(n => (n.Value + "").Equals(e.Value + "")).FirstOrDefault();
if (comBoxModel != null)
{
e.DisplayText = comBoxModel.ToString();
}
}
}
/// <summary>
/// 添加行时
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
private void OnViewInitNewRow(object sender, InitNewRowEventArgs e)
{
GridView gridView = (GridView)sender;
if (gridView == sendMainView)
{
}
else if (gridView == sendDetailView)
{
DataRow parentRow = sendMainView.GetFocusedDataRow();
DataRow dataRow = gridView.GetDataRow(e.RowHandle);
dataRow["apiId"] = parentRow["id"];
}
}
/// <summary> /// <summary>
/// 初始化接口主表数据源 /// 初始化接口主表数据源
/// </summary> /// </summary>
@@ -130,14 +177,10 @@ namespace Lskj.PubApiSetModule
{ {
//SendMain //SendMain
SendMainAdapterObj = BaseImpl.GetAdapterResult("select * from p_systemeventapitab"); SendMainAdapterObj = BaseImpl.GetAdapterResult("select * from p_systemeventapitab");
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(SendMainAdapterObj);
DataTable sendMainTable = new DataTable(); DataTable sendMainTable = new DataTable();
SendMainAdapterObj.Fill(sendMainTable); SendMainAdapterObj.Fill(sendMainTable);
sendGcMain.DataSource = sendMainTable; sendGcMain.DataSource = sendMainTable;
//SendDetail
SendDetailAdapterObj = BaseImpl.GetAdapterResult("select * from p_systemeventapipmstab");
DataTable sendDetailTable = new DataTable();
SendMainAdapterObj.Fill(sendDetailTable);
sendGcDetail.DataSource = sendDetailTable;
} }
/// <summary> /// <summary>
/// 初始化接口明细表数据源 /// 初始化接口明细表数据源
@@ -146,8 +189,9 @@ namespace Lskj.PubApiSetModule
{ {
//SendDetail //SendDetail
SendDetailAdapterObj = BaseImpl.GetAdapterResult($"select * from p_systemeventapipmstab where apiid = '{apiId}'"); SendDetailAdapterObj = BaseImpl.GetAdapterResult($"select * from p_systemeventapipmstab where apiid = '{apiId}'");
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(SendDetailAdapterObj);
DataTable sendDetailTable = new DataTable(); DataTable sendDetailTable = new DataTable();
SendMainAdapterObj.Fill(sendDetailTable); SendDetailAdapterObj.Fill(sendDetailTable);
sendGcDetail.DataSource = sendDetailTable; sendGcDetail.DataSource = sendDetailTable;
} }
/// <summary> /// <summary>
@@ -178,44 +222,82 @@ namespace Lskj.PubApiSetModule
eTypeComboBox.Items.Add(new ComBoxModel() { Value = "BeforeModuleContextMenu", Text = "右键执行前" }); eTypeComboBox.Items.Add(new ComBoxModel() { Value = "BeforeModuleContextMenu", Text = "右键执行前" });
eTypeComboBox.Items.Add(new ComBoxModel() { Value = "AfterModuleAuditStateChange", Text = "审核执行后" }); eTypeComboBox.Items.Add(new ComBoxModel() { Value = "AfterModuleAuditStateChange", Text = "审核执行后" });
eTypeComboBox.Items.Add(new ComBoxModel() { Value = "BeforeModuleAuditStateChange", Text = "审核执行前" }); eTypeComboBox.Items.Add(new ComBoxModel() { Value = "BeforeModuleAuditStateChange", Text = "审核执行前" });
eTypeComboBox.Items.Add(new ComBoxModel() { Value = "AfterUploadFile", Text = "文件上传后" });
//tokenType //tokenType
tokenTypeComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "Token文本" }); tokenTypeComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "Token文本" });
tokenTypeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "Cookie" }); tokenTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "Cookie" });
//eTypeCode //eTypeCode
eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "新增" }); eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "新增" });
eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "2", Text = "更新" }); eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "更新" });
eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "3", Text = "删除" }); eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = 3, Text = "删除" });
eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "21", Text = "提交审核" }); eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = 21, Text = "提交审核" });
eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "31", Text = "审核" }); eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = 31, Text = "审核" });
eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = "32", Text = "反审" }); eTypeCodeComboBox.Items.Add(new ComBoxModel() { Value = 32, Text = "反审" });
//pmsType //pmsType
pmsTypeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "老版" }); pmsTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "老版" });
pmsTypeComboBox.Items.Add(new ComBoxModel() { Value = "2", Text = "新版" }); pmsTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "新版" });
//allowShowMsg //allowShowMsg
allowShowMsgComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "不提示" }); allowShowMsgComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "不提示" });
allowShowMsgComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "提示" }); allowShowMsgComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "提示" });
//disableTag //disableTag
disableTagComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "启用" }); disableTagComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "启用" });
disableTagComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "禁用" }); disableTagComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "禁用" });
#endregion #endregion
#region #region
pmsIdColumn.OptionsColumn.AllowEdit = false; pmsIdColumn.OptionsColumn.AllowEdit = false;
//pmType //pmType
pmTypeComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "发送参数" }); pmTypeComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "发送参数" });
pmTypeComboBox.Items.Add(new ComBoxModel() { Value = "2", Text = "Header参数" }); pmTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "Header参数" });
pmTypeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "接收参数" }); pmTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "接收参数" });
//valueType //valueType
valueTypeComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "json值" }); valueTypeComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "json值" });
valueTypeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "json对象" }); valueTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "json对象" });
valueTypeComboBox.Items.Add(new ComBoxModel() { Value = "2", Text = "json数组" }); valueTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "json数组" });
//valueDataType //valueDataType
valueDataTypeComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "文本" }); valueDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "文本" });
valueDataTypeComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "整数" }); valueDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "整数" });
valueDataTypeComboBox.Items.Add(new ComBoxModel() { Value = "2", Text = "小数" }); valueDataTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "小数" });
//allowNull //allowNull
allowNullComboBox.Items.Add(new ComBoxModel() { Value = "1", Text = "必填" }); allowNullComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "必填" });
allowNullComboBox.Items.Add(new ComBoxModel() { Value = "0", Text = "非必填" }); allowNullComboBox.Items.Add(new ComBoxModel() { Value = 0, Text = "非必填" });
//valueEncryptType
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 1, Text = "UTF8MD5小写" });
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, Text = "UTF8MD5大写" });
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 3, Text = "URL地址加密" });
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 4, Text = "URL文件Base64" });
#endregion #endregion
sendMainView.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.MouseDown;
foreach (GridColumn gridColumn in sendMainView.Columns)
{
if (gridColumn.ColumnEdit is RepositoryItemComboBox repositoryItemCombo)
{
repositoryItemCombo.ParseEditValue += (s, e) =>
{
if (e.Value is ComBoxModel comBoxModel)
{
e.Value = comBoxModel.Value;
e.Handled = true;
}
};
repositoryItemCombo.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
}
}
sendDetailView.OptionsBehavior.EditorShowMode = DevExpress.Utils.EditorShowMode.MouseDown;
foreach (GridColumn gridColumn in sendDetailView.Columns)
{
if (gridColumn.ColumnEdit is RepositoryItemComboBox repositoryItemCombo)
{
repositoryItemCombo.ParseEditValue += (s, e) =>
{
if (e.Value is ComBoxModel comBoxModel)
{
e.Value = comBoxModel.Value;
e.Handled = true;
}
};
repositoryItemCombo.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
}
}
} }
/// <summary> /// <summary>
/// 构建数据表 /// 构建数据表
@@ -245,6 +327,8 @@ namespace Lskj.PubApiSetModule
colDic.Add("pmsType", "int"); colDic.Add("pmsType", "int");
colDic.Add("allowShowMsg", "int"); colDic.Add("allowShowMsg", "int");
colDic.Add("ContentType", "varchar(200)"); colDic.Add("ContentType", "varchar(200)");
colDic.Add("eTypeCode", "int");
colDic.Add("disableTag", "int");
string isExitApiTab = "select top 1 * from sysObjects where Id=OBJECT_ID(N'p_systemEventApiTab') and xtype='U'"; string isExitApiTab = "select top 1 * from sysObjects where Id=OBJECT_ID(N'p_systemEventApiTab') and xtype='U'";
DataTable apiTab = SqlHelper.ExecuteDataTable(isExitApiTab); DataTable apiTab = SqlHelper.ExecuteDataTable(isExitApiTab);
if (apiTab.Rows.Count > 0)//存在日志表 if (apiTab.Rows.Count > 0)//存在日志表
@@ -295,6 +379,7 @@ namespace Lskj.PubApiSetModule
colDic.Add("value", "varchar(8000)"); colDic.Add("value", "varchar(8000)");
colDic.Add("valueDataType", "int"); colDic.Add("valueDataType", "int");
colDic.Add("unionPmsId", "int"); colDic.Add("unionPmsId", "int");
colDic.Add("valueEncryptType", "int");
colDic.Add("allowNull", "int"); colDic.Add("allowNull", "int");
string isExitApiTab = "select top 1 * from sysObjects where Id=OBJECT_ID(N'P_systemEventApiPmsTab') and xtype='U'"; string isExitApiTab = "select top 1 * from sysObjects where Id=OBJECT_ID(N'P_systemEventApiPmsTab') and xtype='U'";
DataTable apiTab = SqlHelper.ExecuteDataTable(isExitApiTab); DataTable apiTab = SqlHelper.ExecuteDataTable(isExitApiTab);
@@ -5,7 +5,7 @@
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}</ProjectGuid> <ProjectGuid>{8908B998-4FF9-4748-A9CF-BD256C6FA0BB}</ProjectGuid>
<OutputType>WinExe</OutputType> <OutputType>Library</OutputType>
<RootNamespace>Lskj.PubApiSetModule</RootNamespace> <RootNamespace>Lskj.PubApiSetModule</RootNamespace>
<AssemblyName>Lskj.PubApiSetModule</AssemblyName> <AssemblyName>Lskj.PubApiSetModule</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion> <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
@@ -31,6 +31,9 @@
<ErrorReport>prompt</ErrorReport> <ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel> <WarningLevel>4</WarningLevel>
</PropertyGroup> </PropertyGroup>
<PropertyGroup>
<StartupObject />
</PropertyGroup>
<ItemGroup> <ItemGroup>
<Reference Include="DevExpress.Data.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" /> <Reference Include="DevExpress.Data.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
<Reference Include="DevExpress.Pdf.v15.2.Core, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" /> <Reference Include="DevExpress.Pdf.v15.2.Core, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" />
@@ -67,6 +70,7 @@
<EmbeddedResource Include="FrmMain.resx"> <EmbeddedResource Include="FrmMain.resx">
<DependentUpon>FrmMain.cs</DependentUpon> <DependentUpon>FrmMain.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Properties\licenses.licx" />
<EmbeddedResource Include="Properties\Resources.resx"> <EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>