SVN r1019
SVN-Revision: r1019
This commit is contained in:
+148
-146
@@ -107,38 +107,38 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.btnPmsRefresh = new DevExpress.XtraEditors.SimpleButton();
|
this.btnPmsRefresh = new DevExpress.XtraEditors.SimpleButton();
|
||||||
this.getPage = new DevExpress.XtraTab.XtraTabPage();
|
this.getPage = new DevExpress.XtraTab.XtraTabPage();
|
||||||
this.splitControlGet = new DevExpress.XtraEditors.SplitContainerControl();
|
this.splitControlGet = new DevExpress.XtraEditors.SplitContainerControl();
|
||||||
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
|
||||||
this.btnGetApiSave = new DevExpress.XtraEditors.SimpleButton();
|
|
||||||
this.btnGetApiDelete = new DevExpress.XtraEditors.SimpleButton();
|
|
||||||
this.btnGetApiAdd = new DevExpress.XtraEditors.SimpleButton();
|
|
||||||
this.btnGetApiRefresh = new DevExpress.XtraEditors.SimpleButton();
|
|
||||||
this.getGcMain = new DevExpress.XtraGrid.GridControl();
|
this.getGcMain = new DevExpress.XtraGrid.GridControl();
|
||||||
this.getMainView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
this.getMainView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||||
this.getIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getDescriptionColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getDescriptionColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getTableNameColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getTableNameColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getActionTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getActionTypeColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
|
this.getActionTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
||||||
this.getPrimaryKeyColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getPrimaryKeyColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getOutputKeyColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getOutputKeyColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getAfterSqlColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getAfterSqlColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getIsLoginColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
||||||
this.getAfterSqlMemoExEdit = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
|
this.getAfterSqlMemoExEdit = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
|
||||||
this.getActionTypeComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
this.getIsLoginColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getIsLoginComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
this.getIsLoginComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
||||||
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
this.btnGetApiPmsSave = new DevExpress.XtraEditors.SimpleButton();
|
this.btnGetApiSave = new DevExpress.XtraEditors.SimpleButton();
|
||||||
this.btnGetApiPmsDelete = new DevExpress.XtraEditors.SimpleButton();
|
this.btnGetApiDelete = new DevExpress.XtraEditors.SimpleButton();
|
||||||
this.btnGetApiPmsAdd = new DevExpress.XtraEditors.SimpleButton();
|
this.btnGetApiAdd = new DevExpress.XtraEditors.SimpleButton();
|
||||||
this.btnGetApiPmsRefresh = new DevExpress.XtraEditors.SimpleButton();
|
this.btnGetApiRefresh = new DevExpress.XtraEditors.SimpleButton();
|
||||||
this.getGcDetail = new DevExpress.XtraGrid.GridControl();
|
this.getGcDetail = new DevExpress.XtraGrid.GridControl();
|
||||||
this.getDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
this.getDetailView = new DevExpress.XtraGrid.Views.Grid.GridView();
|
||||||
this.getPmsIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getPmsIdColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getPmsFileNameColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getPmsFileNameColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getPmsDefaultValueColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getPmsDefaultValueColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getPmsDisInsertColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
this.getPmsDisInsertColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getPmsDisUpdateColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
||||||
this.getPmsDisInsertComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
this.getPmsDisInsertComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
||||||
|
this.getPmsDisUpdateColumn = new DevExpress.XtraGrid.Columns.GridColumn();
|
||||||
this.getPmsDisUpdateComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
this.getPmsDisUpdateComboBox = new DevExpress.XtraEditors.Repository.RepositoryItemComboBox();
|
||||||
|
this.flowLayoutPanel2 = new System.Windows.Forms.FlowLayoutPanel();
|
||||||
|
this.btnGetApiPmsSave = new DevExpress.XtraEditors.SimpleButton();
|
||||||
|
this.btnGetApiPmsDelete = new DevExpress.XtraEditors.SimpleButton();
|
||||||
|
this.btnGetApiPmsAdd = new DevExpress.XtraEditors.SimpleButton();
|
||||||
|
this.btnGetApiPmsRefresh = new DevExpress.XtraEditors.SimpleButton();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.tabMain)).BeginInit();
|
||||||
this.tabMain.SuspendLayout();
|
this.tabMain.SuspendLayout();
|
||||||
this.sendPage.SuspendLayout();
|
this.sendPage.SuspendLayout();
|
||||||
@@ -173,17 +173,17 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getPage.SuspendLayout();
|
this.getPage.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).BeginInit();
|
||||||
this.splitControlGet.SuspendLayout();
|
this.splitControlGet.SuspendLayout();
|
||||||
this.flowLayoutPanel1.SuspendLayout();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getMainView)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getMainView)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getAfterSqlMemoExEdit)).BeginInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getActionTypeComboBox)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getActionTypeComboBox)).BeginInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.getAfterSqlMemoExEdit)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getIsLoginComboBox)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getIsLoginComboBox)).BeginInit();
|
||||||
this.flowLayoutPanel2.SuspendLayout();
|
this.flowLayoutPanel1.SuspendLayout();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getPmsDisInsertComboBox)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getPmsDisInsertComboBox)).BeginInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getPmsDisUpdateComboBox)).BeginInit();
|
((System.ComponentModel.ISupportInitialize)(this.getPmsDisUpdateComboBox)).BeginInit();
|
||||||
|
this.flowLayoutPanel2.SuspendLayout();
|
||||||
this.SuspendLayout();
|
this.SuspendLayout();
|
||||||
//
|
//
|
||||||
// tabMain
|
// tabMain
|
||||||
@@ -971,63 +971,6 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.splitControlGet.TabIndex = 5;
|
this.splitControlGet.TabIndex = 5;
|
||||||
this.splitControlGet.Text = "splitContainerControl1";
|
this.splitControlGet.Text = "splitContainerControl1";
|
||||||
//
|
//
|
||||||
// flowLayoutPanel1
|
|
||||||
//
|
|
||||||
this.flowLayoutPanel1.Controls.Add(this.btnGetApiSave);
|
|
||||||
this.flowLayoutPanel1.Controls.Add(this.btnGetApiDelete);
|
|
||||||
this.flowLayoutPanel1.Controls.Add(this.btnGetApiAdd);
|
|
||||||
this.flowLayoutPanel1.Controls.Add(this.btnGetApiRefresh);
|
|
||||||
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
|
||||||
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
|
||||||
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 203);
|
|
||||||
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
|
||||||
this.flowLayoutPanel1.Size = new System.Drawing.Size(915, 34);
|
|
||||||
this.flowLayoutPanel1.TabIndex = 23;
|
|
||||||
//
|
|
||||||
// btnGetApiSave
|
|
||||||
//
|
|
||||||
this.btnGetApiSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.btnGetApiSave.Appearance.Options.UseFont = true;
|
|
||||||
this.btnGetApiSave.Location = new System.Drawing.Point(832, 3);
|
|
||||||
this.btnGetApiSave.Name = "btnGetApiSave";
|
|
||||||
this.btnGetApiSave.Size = new System.Drawing.Size(80, 28);
|
|
||||||
this.btnGetApiSave.TabIndex = 13;
|
|
||||||
this.btnGetApiSave.TabStop = false;
|
|
||||||
this.btnGetApiSave.Text = "保存(&S)";
|
|
||||||
//
|
|
||||||
// btnGetApiDelete
|
|
||||||
//
|
|
||||||
this.btnGetApiDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.btnGetApiDelete.Appearance.Options.UseFont = true;
|
|
||||||
this.btnGetApiDelete.Location = new System.Drawing.Point(746, 3);
|
|
||||||
this.btnGetApiDelete.Name = "btnGetApiDelete";
|
|
||||||
this.btnGetApiDelete.Size = new System.Drawing.Size(80, 28);
|
|
||||||
this.btnGetApiDelete.TabIndex = 14;
|
|
||||||
this.btnGetApiDelete.TabStop = false;
|
|
||||||
this.btnGetApiDelete.Text = "删除(&D)";
|
|
||||||
//
|
|
||||||
// btnGetApiAdd
|
|
||||||
//
|
|
||||||
this.btnGetApiAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.btnGetApiAdd.Appearance.Options.UseFont = true;
|
|
||||||
this.btnGetApiAdd.Location = new System.Drawing.Point(660, 3);
|
|
||||||
this.btnGetApiAdd.Name = "btnGetApiAdd";
|
|
||||||
this.btnGetApiAdd.Size = new System.Drawing.Size(80, 28);
|
|
||||||
this.btnGetApiAdd.TabIndex = 15;
|
|
||||||
this.btnGetApiAdd.TabStop = false;
|
|
||||||
this.btnGetApiAdd.Text = "新增(&A)";
|
|
||||||
//
|
|
||||||
// btnGetApiRefresh
|
|
||||||
//
|
|
||||||
this.btnGetApiRefresh.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
|
||||||
this.btnGetApiRefresh.Appearance.Options.UseFont = true;
|
|
||||||
this.btnGetApiRefresh.Location = new System.Drawing.Point(574, 3);
|
|
||||||
this.btnGetApiRefresh.Name = "btnGetApiRefresh";
|
|
||||||
this.btnGetApiRefresh.Size = new System.Drawing.Size(80, 28);
|
|
||||||
this.btnGetApiRefresh.TabIndex = 16;
|
|
||||||
this.btnGetApiRefresh.TabStop = false;
|
|
||||||
this.btnGetApiRefresh.Text = "刷新(&R)";
|
|
||||||
//
|
|
||||||
// getGcMain
|
// getGcMain
|
||||||
//
|
//
|
||||||
this.getGcMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
this.getGcMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||||
@@ -1111,7 +1054,7 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getTableNameColumn.Name = "getTableNameColumn";
|
this.getTableNameColumn.Name = "getTableNameColumn";
|
||||||
this.getTableNameColumn.Visible = true;
|
this.getTableNameColumn.Visible = true;
|
||||||
this.getTableNameColumn.VisibleIndex = 2;
|
this.getTableNameColumn.VisibleIndex = 2;
|
||||||
this.getTableNameColumn.Width = 100;
|
this.getTableNameColumn.Width = 150;
|
||||||
//
|
//
|
||||||
// getActionTypeColumn
|
// getActionTypeColumn
|
||||||
//
|
//
|
||||||
@@ -1121,6 +1064,14 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getActionTypeColumn.Name = "getActionTypeColumn";
|
this.getActionTypeColumn.Name = "getActionTypeColumn";
|
||||||
this.getActionTypeColumn.Visible = true;
|
this.getActionTypeColumn.Visible = true;
|
||||||
this.getActionTypeColumn.VisibleIndex = 3;
|
this.getActionTypeColumn.VisibleIndex = 3;
|
||||||
|
this.getActionTypeColumn.Width = 100;
|
||||||
|
//
|
||||||
|
// getActionTypeComboBox
|
||||||
|
//
|
||||||
|
this.getActionTypeComboBox.AutoHeight = false;
|
||||||
|
this.getActionTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
|
this.getActionTypeComboBox.Name = "getActionTypeComboBox";
|
||||||
//
|
//
|
||||||
// getPrimaryKeyColumn
|
// getPrimaryKeyColumn
|
||||||
//
|
//
|
||||||
@@ -1138,7 +1089,7 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getOutputKeyColumn.Name = "getOutputKeyColumn";
|
this.getOutputKeyColumn.Name = "getOutputKeyColumn";
|
||||||
this.getOutputKeyColumn.Visible = true;
|
this.getOutputKeyColumn.Visible = true;
|
||||||
this.getOutputKeyColumn.VisibleIndex = 5;
|
this.getOutputKeyColumn.VisibleIndex = 5;
|
||||||
this.getOutputKeyColumn.Width = 150;
|
this.getOutputKeyColumn.Width = 200;
|
||||||
//
|
//
|
||||||
// getAfterSqlColumn
|
// getAfterSqlColumn
|
||||||
//
|
//
|
||||||
@@ -1150,6 +1101,13 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getAfterSqlColumn.VisibleIndex = 6;
|
this.getAfterSqlColumn.VisibleIndex = 6;
|
||||||
this.getAfterSqlColumn.Width = 100;
|
this.getAfterSqlColumn.Width = 100;
|
||||||
//
|
//
|
||||||
|
// getAfterSqlMemoExEdit
|
||||||
|
//
|
||||||
|
this.getAfterSqlMemoExEdit.AutoHeight = false;
|
||||||
|
this.getAfterSqlMemoExEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
|
this.getAfterSqlMemoExEdit.Name = "getAfterSqlMemoExEdit";
|
||||||
|
//
|
||||||
// getIsLoginColumn
|
// getIsLoginColumn
|
||||||
//
|
//
|
||||||
this.getIsLoginColumn.Caption = "登陆验证";
|
this.getIsLoginColumn.Caption = "登陆验证";
|
||||||
@@ -1158,20 +1116,7 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getIsLoginColumn.Name = "getIsLoginColumn";
|
this.getIsLoginColumn.Name = "getIsLoginColumn";
|
||||||
this.getIsLoginColumn.Visible = true;
|
this.getIsLoginColumn.Visible = true;
|
||||||
this.getIsLoginColumn.VisibleIndex = 7;
|
this.getIsLoginColumn.VisibleIndex = 7;
|
||||||
//
|
this.getIsLoginColumn.Width = 100;
|
||||||
// getAfterSqlMemoExEdit
|
|
||||||
//
|
|
||||||
this.getAfterSqlMemoExEdit.AutoHeight = false;
|
|
||||||
this.getAfterSqlMemoExEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
||||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
||||||
this.getAfterSqlMemoExEdit.Name = "getAfterSqlMemoExEdit";
|
|
||||||
//
|
|
||||||
// getActionTypeComboBox
|
|
||||||
//
|
|
||||||
this.getActionTypeComboBox.AutoHeight = false;
|
|
||||||
this.getActionTypeComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
||||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
||||||
this.getActionTypeComboBox.Name = "getActionTypeComboBox";
|
|
||||||
//
|
//
|
||||||
// getIsLoginComboBox
|
// getIsLoginComboBox
|
||||||
//
|
//
|
||||||
@@ -1180,62 +1125,62 @@ namespace Lskj.PubApiSetModule
|
|||||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
this.getIsLoginComboBox.Name = "getIsLoginComboBox";
|
this.getIsLoginComboBox.Name = "getIsLoginComboBox";
|
||||||
//
|
//
|
||||||
// flowLayoutPanel2
|
// flowLayoutPanel1
|
||||||
//
|
//
|
||||||
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsSave);
|
this.flowLayoutPanel1.Controls.Add(this.btnGetApiSave);
|
||||||
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsDelete);
|
this.flowLayoutPanel1.Controls.Add(this.btnGetApiDelete);
|
||||||
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsAdd);
|
this.flowLayoutPanel1.Controls.Add(this.btnGetApiAdd);
|
||||||
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsRefresh);
|
this.flowLayoutPanel1.Controls.Add(this.btnGetApiRefresh);
|
||||||
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
this.flowLayoutPanel1.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||||
this.flowLayoutPanel2.Location = new System.Drawing.Point(0, 250);
|
this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 203);
|
||||||
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
this.flowLayoutPanel1.Name = "flowLayoutPanel1";
|
||||||
this.flowLayoutPanel2.Size = new System.Drawing.Size(915, 34);
|
this.flowLayoutPanel1.Size = new System.Drawing.Size(915, 34);
|
||||||
this.flowLayoutPanel2.TabIndex = 24;
|
this.flowLayoutPanel1.TabIndex = 23;
|
||||||
//
|
//
|
||||||
// btnGetApiPmsSave
|
// btnGetApiSave
|
||||||
//
|
//
|
||||||
this.btnGetApiPmsSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnGetApiSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnGetApiPmsSave.Appearance.Options.UseFont = true;
|
this.btnGetApiSave.Appearance.Options.UseFont = true;
|
||||||
this.btnGetApiPmsSave.Location = new System.Drawing.Point(832, 3);
|
this.btnGetApiSave.Location = new System.Drawing.Point(832, 3);
|
||||||
this.btnGetApiPmsSave.Name = "btnGetApiPmsSave";
|
this.btnGetApiSave.Name = "btnGetApiSave";
|
||||||
this.btnGetApiPmsSave.Size = new System.Drawing.Size(80, 28);
|
this.btnGetApiSave.Size = new System.Drawing.Size(80, 28);
|
||||||
this.btnGetApiPmsSave.TabIndex = 13;
|
this.btnGetApiSave.TabIndex = 13;
|
||||||
this.btnGetApiPmsSave.TabStop = false;
|
this.btnGetApiSave.TabStop = false;
|
||||||
this.btnGetApiPmsSave.Text = "保存(&S)";
|
this.btnGetApiSave.Text = "保存(&S)";
|
||||||
//
|
//
|
||||||
// btnGetApiPmsDelete
|
// btnGetApiDelete
|
||||||
//
|
//
|
||||||
this.btnGetApiPmsDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnGetApiDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnGetApiPmsDelete.Appearance.Options.UseFont = true;
|
this.btnGetApiDelete.Appearance.Options.UseFont = true;
|
||||||
this.btnGetApiPmsDelete.Location = new System.Drawing.Point(746, 3);
|
this.btnGetApiDelete.Location = new System.Drawing.Point(746, 3);
|
||||||
this.btnGetApiPmsDelete.Name = "btnGetApiPmsDelete";
|
this.btnGetApiDelete.Name = "btnGetApiDelete";
|
||||||
this.btnGetApiPmsDelete.Size = new System.Drawing.Size(80, 28);
|
this.btnGetApiDelete.Size = new System.Drawing.Size(80, 28);
|
||||||
this.btnGetApiPmsDelete.TabIndex = 14;
|
this.btnGetApiDelete.TabIndex = 14;
|
||||||
this.btnGetApiPmsDelete.TabStop = false;
|
this.btnGetApiDelete.TabStop = false;
|
||||||
this.btnGetApiPmsDelete.Text = "删除(&D)";
|
this.btnGetApiDelete.Text = "删除(&D)";
|
||||||
//
|
//
|
||||||
// btnGetApiPmsAdd
|
// btnGetApiAdd
|
||||||
//
|
//
|
||||||
this.btnGetApiPmsAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnGetApiAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnGetApiPmsAdd.Appearance.Options.UseFont = true;
|
this.btnGetApiAdd.Appearance.Options.UseFont = true;
|
||||||
this.btnGetApiPmsAdd.Location = new System.Drawing.Point(660, 3);
|
this.btnGetApiAdd.Location = new System.Drawing.Point(660, 3);
|
||||||
this.btnGetApiPmsAdd.Name = "btnGetApiPmsAdd";
|
this.btnGetApiAdd.Name = "btnGetApiAdd";
|
||||||
this.btnGetApiPmsAdd.Size = new System.Drawing.Size(80, 28);
|
this.btnGetApiAdd.Size = new System.Drawing.Size(80, 28);
|
||||||
this.btnGetApiPmsAdd.TabIndex = 15;
|
this.btnGetApiAdd.TabIndex = 15;
|
||||||
this.btnGetApiPmsAdd.TabStop = false;
|
this.btnGetApiAdd.TabStop = false;
|
||||||
this.btnGetApiPmsAdd.Text = "新增(&A)";
|
this.btnGetApiAdd.Text = "新增(&A)";
|
||||||
//
|
//
|
||||||
// btnGetApiPmsRefresh
|
// btnGetApiRefresh
|
||||||
//
|
//
|
||||||
this.btnGetApiPmsRefresh.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
this.btnGetApiRefresh.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
this.btnGetApiPmsRefresh.Appearance.Options.UseFont = true;
|
this.btnGetApiRefresh.Appearance.Options.UseFont = true;
|
||||||
this.btnGetApiPmsRefresh.Location = new System.Drawing.Point(574, 3);
|
this.btnGetApiRefresh.Location = new System.Drawing.Point(574, 3);
|
||||||
this.btnGetApiPmsRefresh.Name = "btnGetApiPmsRefresh";
|
this.btnGetApiRefresh.Name = "btnGetApiRefresh";
|
||||||
this.btnGetApiPmsRefresh.Size = new System.Drawing.Size(80, 28);
|
this.btnGetApiRefresh.Size = new System.Drawing.Size(80, 28);
|
||||||
this.btnGetApiPmsRefresh.TabIndex = 16;
|
this.btnGetApiRefresh.TabIndex = 16;
|
||||||
this.btnGetApiPmsRefresh.TabStop = false;
|
this.btnGetApiRefresh.TabStop = false;
|
||||||
this.btnGetApiPmsRefresh.Text = "刷新(&R)";
|
this.btnGetApiRefresh.Text = "刷新(&R)";
|
||||||
//
|
//
|
||||||
// getGcDetail
|
// getGcDetail
|
||||||
//
|
//
|
||||||
@@ -1326,6 +1271,13 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getPmsDisInsertColumn.Visible = true;
|
this.getPmsDisInsertColumn.Visible = true;
|
||||||
this.getPmsDisInsertColumn.VisibleIndex = 3;
|
this.getPmsDisInsertColumn.VisibleIndex = 3;
|
||||||
//
|
//
|
||||||
|
// getPmsDisInsertComboBox
|
||||||
|
//
|
||||||
|
this.getPmsDisInsertComboBox.AutoHeight = false;
|
||||||
|
this.getPmsDisInsertComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
||||||
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
|
this.getPmsDisInsertComboBox.Name = "getPmsDisInsertComboBox";
|
||||||
|
//
|
||||||
// getPmsDisUpdateColumn
|
// getPmsDisUpdateColumn
|
||||||
//
|
//
|
||||||
this.getPmsDisUpdateColumn.Caption = "禁止更新";
|
this.getPmsDisUpdateColumn.Caption = "禁止更新";
|
||||||
@@ -1334,13 +1286,6 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getPmsDisUpdateColumn.Visible = true;
|
this.getPmsDisUpdateColumn.Visible = true;
|
||||||
this.getPmsDisUpdateColumn.VisibleIndex = 4;
|
this.getPmsDisUpdateColumn.VisibleIndex = 4;
|
||||||
//
|
//
|
||||||
// getPmsDisInsertComboBox
|
|
||||||
//
|
|
||||||
this.getPmsDisInsertComboBox.AutoHeight = false;
|
|
||||||
this.getPmsDisInsertComboBox.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
|
|
||||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
|
||||||
this.getPmsDisInsertComboBox.Name = "getPmsDisInsertComboBox";
|
|
||||||
//
|
|
||||||
// getPmsDisUpdateComboBox
|
// getPmsDisUpdateComboBox
|
||||||
//
|
//
|
||||||
this.getPmsDisUpdateComboBox.AutoHeight = false;
|
this.getPmsDisUpdateComboBox.AutoHeight = false;
|
||||||
@@ -1348,6 +1293,63 @@ namespace Lskj.PubApiSetModule
|
|||||||
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
|
||||||
this.getPmsDisUpdateComboBox.Name = "getPmsDisUpdateComboBox";
|
this.getPmsDisUpdateComboBox.Name = "getPmsDisUpdateComboBox";
|
||||||
//
|
//
|
||||||
|
// flowLayoutPanel2
|
||||||
|
//
|
||||||
|
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsSave);
|
||||||
|
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsDelete);
|
||||||
|
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsAdd);
|
||||||
|
this.flowLayoutPanel2.Controls.Add(this.btnGetApiPmsRefresh);
|
||||||
|
this.flowLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Bottom;
|
||||||
|
this.flowLayoutPanel2.FlowDirection = System.Windows.Forms.FlowDirection.RightToLeft;
|
||||||
|
this.flowLayoutPanel2.Location = new System.Drawing.Point(0, 250);
|
||||||
|
this.flowLayoutPanel2.Name = "flowLayoutPanel2";
|
||||||
|
this.flowLayoutPanel2.Size = new System.Drawing.Size(915, 34);
|
||||||
|
this.flowLayoutPanel2.TabIndex = 24;
|
||||||
|
//
|
||||||
|
// btnGetApiPmsSave
|
||||||
|
//
|
||||||
|
this.btnGetApiPmsSave.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.btnGetApiPmsSave.Appearance.Options.UseFont = true;
|
||||||
|
this.btnGetApiPmsSave.Location = new System.Drawing.Point(832, 3);
|
||||||
|
this.btnGetApiPmsSave.Name = "btnGetApiPmsSave";
|
||||||
|
this.btnGetApiPmsSave.Size = new System.Drawing.Size(80, 28);
|
||||||
|
this.btnGetApiPmsSave.TabIndex = 13;
|
||||||
|
this.btnGetApiPmsSave.TabStop = false;
|
||||||
|
this.btnGetApiPmsSave.Text = "保存(&S)";
|
||||||
|
//
|
||||||
|
// btnGetApiPmsDelete
|
||||||
|
//
|
||||||
|
this.btnGetApiPmsDelete.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.btnGetApiPmsDelete.Appearance.Options.UseFont = true;
|
||||||
|
this.btnGetApiPmsDelete.Location = new System.Drawing.Point(746, 3);
|
||||||
|
this.btnGetApiPmsDelete.Name = "btnGetApiPmsDelete";
|
||||||
|
this.btnGetApiPmsDelete.Size = new System.Drawing.Size(80, 28);
|
||||||
|
this.btnGetApiPmsDelete.TabIndex = 14;
|
||||||
|
this.btnGetApiPmsDelete.TabStop = false;
|
||||||
|
this.btnGetApiPmsDelete.Text = "删除(&D)";
|
||||||
|
//
|
||||||
|
// btnGetApiPmsAdd
|
||||||
|
//
|
||||||
|
this.btnGetApiPmsAdd.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.btnGetApiPmsAdd.Appearance.Options.UseFont = true;
|
||||||
|
this.btnGetApiPmsAdd.Location = new System.Drawing.Point(660, 3);
|
||||||
|
this.btnGetApiPmsAdd.Name = "btnGetApiPmsAdd";
|
||||||
|
this.btnGetApiPmsAdd.Size = new System.Drawing.Size(80, 28);
|
||||||
|
this.btnGetApiPmsAdd.TabIndex = 15;
|
||||||
|
this.btnGetApiPmsAdd.TabStop = false;
|
||||||
|
this.btnGetApiPmsAdd.Text = "新增(&A)";
|
||||||
|
//
|
||||||
|
// btnGetApiPmsRefresh
|
||||||
|
//
|
||||||
|
this.btnGetApiPmsRefresh.Appearance.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||||
|
this.btnGetApiPmsRefresh.Appearance.Options.UseFont = true;
|
||||||
|
this.btnGetApiPmsRefresh.Location = new System.Drawing.Point(574, 3);
|
||||||
|
this.btnGetApiPmsRefresh.Name = "btnGetApiPmsRefresh";
|
||||||
|
this.btnGetApiPmsRefresh.Size = new System.Drawing.Size(80, 28);
|
||||||
|
this.btnGetApiPmsRefresh.TabIndex = 16;
|
||||||
|
this.btnGetApiPmsRefresh.TabStop = false;
|
||||||
|
this.btnGetApiPmsRefresh.Text = "刷新(&R)";
|
||||||
|
//
|
||||||
// FrmMain
|
// FrmMain
|
||||||
//
|
//
|
||||||
this.Appearance.BackColor = System.Drawing.SystemColors.Control;
|
this.Appearance.BackColor = System.Drawing.SystemColors.Control;
|
||||||
@@ -1393,17 +1395,17 @@ namespace Lskj.PubApiSetModule
|
|||||||
this.getPage.ResumeLayout(false);
|
this.getPage.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.splitControlGet)).EndInit();
|
||||||
this.splitControlGet.ResumeLayout(false);
|
this.splitControlGet.ResumeLayout(false);
|
||||||
this.flowLayoutPanel1.ResumeLayout(false);
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getGcMain)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getMainView)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getMainView)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getAfterSqlMemoExEdit)).EndInit();
|
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getActionTypeComboBox)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getActionTypeComboBox)).EndInit();
|
||||||
|
((System.ComponentModel.ISupportInitialize)(this.getAfterSqlMemoExEdit)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getIsLoginComboBox)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getIsLoginComboBox)).EndInit();
|
||||||
this.flowLayoutPanel2.ResumeLayout(false);
|
this.flowLayoutPanel1.ResumeLayout(false);
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getGcDetail)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getDetailView)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getPmsDisInsertComboBox)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getPmsDisInsertComboBox)).EndInit();
|
||||||
((System.ComponentModel.ISupportInitialize)(this.getPmsDisUpdateComboBox)).EndInit();
|
((System.ComponentModel.ISupportInitialize)(this.getPmsDisUpdateComboBox)).EndInit();
|
||||||
|
this.flowLayoutPanel2.ResumeLayout(false);
|
||||||
this.ResumeLayout(false);
|
this.ResumeLayout(false);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
using DevExpress.XtraEditors.Repository;
|
using DevExpress.XtraEditors.Repository;
|
||||||
using DevExpress.XtraGrid.Columns;
|
using DevExpress.XtraGrid.Columns;
|
||||||
using DevExpress.XtraGrid.Views.Grid;
|
using DevExpress.XtraGrid.Views.Grid;
|
||||||
|
using Kdbndp;
|
||||||
using Lskj.Business.Impl;
|
using Lskj.Business.Impl;
|
||||||
using Lskj.Control;
|
using Lskj.Control;
|
||||||
using Lskj.Core;
|
using Lskj.Core;
|
||||||
@@ -20,10 +21,10 @@ namespace Lskj.PubApiSetModule
|
|||||||
public partial class FrmMain : BaseForm
|
public partial class FrmMain : BaseForm
|
||||||
{
|
{
|
||||||
public DynamicApiSetModel Model;
|
public DynamicApiSetModel Model;
|
||||||
public SqlDataAdapter SendMainAdapterObj;
|
public object SendMainAdapterObj;
|
||||||
public SqlDataAdapter SendDetailAdapterObj;
|
public object SendDetailAdapterObj;
|
||||||
public SqlDataAdapter GetMainAdapterObj;
|
public object GetMainAdapterObj;
|
||||||
public SqlDataAdapter GetDetailAdapterObj;
|
public object GetDetailAdapterObj;
|
||||||
public FrmMain()
|
public FrmMain()
|
||||||
{
|
{
|
||||||
InitializeComponent();
|
InitializeComponent();
|
||||||
@@ -57,6 +58,7 @@ namespace Lskj.PubApiSetModule
|
|||||||
private void InitEvents()
|
private void InitEvents()
|
||||||
{
|
{
|
||||||
splitControlSend.SplitterPositionChanged += OnSplitContainerPositionChanged;
|
splitControlSend.SplitterPositionChanged += OnSplitContainerPositionChanged;
|
||||||
|
splitControlGet.SplitterPositionChanged += OnSplitContainerPositionChanged;
|
||||||
#region send
|
#region send
|
||||||
sendMainView.CustomColumnDisplayText += OnCustomColumnDisplayText;
|
sendMainView.CustomColumnDisplayText += OnCustomColumnDisplayText;
|
||||||
sendDetailView.CustomColumnDisplayText += OnCustomColumnDisplayText;
|
sendDetailView.CustomColumnDisplayText += OnCustomColumnDisplayText;
|
||||||
@@ -155,7 +157,14 @@ namespace Lskj.PubApiSetModule
|
|||||||
{
|
{
|
||||||
if (sendGcMain.DataSource != null && sendGcMain.DataSource is DataTable sourceTable)
|
if (sendGcMain.DataSource != null && sendGcMain.DataSource is DataTable sourceTable)
|
||||||
{
|
{
|
||||||
SendMainAdapterObj.Update(sourceTable);
|
if (SendMainAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
sqlDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
|
else if (SendMainAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
kdbndpDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
int rowHandle = sendMainView.FocusedRowHandle;
|
int rowHandle = sendMainView.FocusedRowHandle;
|
||||||
InitApiTabDataSource();
|
InitApiTabDataSource();
|
||||||
sendMainView.FocusedRowHandle = rowHandle;
|
sendMainView.FocusedRowHandle = rowHandle;
|
||||||
@@ -165,7 +174,14 @@ namespace Lskj.PubApiSetModule
|
|||||||
{
|
{
|
||||||
if (sendGcDetail.DataSource != null && sendGcDetail.DataSource is DataTable sourceTable)
|
if (sendGcDetail.DataSource != null && sendGcDetail.DataSource is DataTable sourceTable)
|
||||||
{
|
{
|
||||||
SendDetailAdapterObj.Update(sourceTable);
|
if (SendDetailAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
sqlDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
|
else if (SendDetailAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
kdbndpDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
DataRow focusedRow = sendMainView.GetFocusedDataRow();
|
DataRow focusedRow = sendMainView.GetFocusedDataRow();
|
||||||
string apiId = focusedRow["id"] + "";
|
string apiId = focusedRow["id"] + "";
|
||||||
int rowHandle = sendDetailView.FocusedRowHandle;
|
int rowHandle = sendDetailView.FocusedRowHandle;
|
||||||
@@ -177,7 +193,14 @@ namespace Lskj.PubApiSetModule
|
|||||||
{
|
{
|
||||||
if (getGcMain.DataSource != null && getGcMain.DataSource is DataTable sourceTable)
|
if (getGcMain.DataSource != null && getGcMain.DataSource is DataTable sourceTable)
|
||||||
{
|
{
|
||||||
GetMainAdapterObj.Update(sourceTable);
|
if (GetMainAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
sqlDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
|
else if (GetMainAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
kdbndpDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
DataRow focusedRow = getMainView.GetFocusedDataRow();
|
DataRow focusedRow = getMainView.GetFocusedDataRow();
|
||||||
string apiId = focusedRow["id"] + "";
|
string apiId = focusedRow["id"] + "";
|
||||||
int rowHandle = getMainView.FocusedRowHandle;
|
int rowHandle = getMainView.FocusedRowHandle;
|
||||||
@@ -189,7 +212,14 @@ namespace Lskj.PubApiSetModule
|
|||||||
{
|
{
|
||||||
if (getGcDetail.DataSource != null && getGcDetail.DataSource is DataTable sourceTable)
|
if (getGcDetail.DataSource != null && getGcDetail.DataSource is DataTable sourceTable)
|
||||||
{
|
{
|
||||||
GetDetailAdapterObj.Update(sourceTable);
|
if (GetDetailAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
sqlDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
|
else if (GetDetailAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
kdbndpDataAdapter.Update(sourceTable);
|
||||||
|
}
|
||||||
DataRow focusedRow = getDetailView.GetFocusedDataRow();
|
DataRow focusedRow = getDetailView.GetFocusedDataRow();
|
||||||
string apiId = focusedRow["id"] + "";
|
string apiId = focusedRow["id"] + "";
|
||||||
int rowHandle = getDetailView.FocusedRowHandle;
|
int rowHandle = getDetailView.FocusedRowHandle;
|
||||||
@@ -214,15 +244,16 @@ namespace Lskj.PubApiSetModule
|
|||||||
else if (sender == btnPmsRefresh)
|
else if (sender == btnPmsRefresh)
|
||||||
{
|
{
|
||||||
DataRow focusedRow = sendMainView.GetFocusedDataRow();
|
DataRow focusedRow = sendMainView.GetFocusedDataRow();
|
||||||
string apiId = focusedRow["id"] + "";
|
if (focusedRow != null)
|
||||||
int rowHandle = sendDetailView.FocusedRowHandle;
|
{
|
||||||
InitApiPmsTabDataSource(apiId);
|
string apiId = focusedRow["id"] + "";
|
||||||
sendDetailView.FocusedRowHandle = rowHandle;
|
int rowHandle = sendDetailView.FocusedRowHandle;
|
||||||
|
InitApiPmsTabDataSource(apiId);
|
||||||
|
sendDetailView.FocusedRowHandle = rowHandle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (sender == btnGetApiRefresh)
|
else if (sender == btnGetApiRefresh)
|
||||||
{
|
{
|
||||||
DataRow focusedRow = getMainView.GetFocusedDataRow();
|
|
||||||
string apiId = focusedRow["id"] + "";
|
|
||||||
int rowHandle = getMainView.FocusedRowHandle;
|
int rowHandle = getMainView.FocusedRowHandle;
|
||||||
InitGetApiTabDataSource();
|
InitGetApiTabDataSource();
|
||||||
getMainView.FocusedRowHandle = rowHandle;
|
getMainView.FocusedRowHandle = rowHandle;
|
||||||
@@ -230,10 +261,13 @@ namespace Lskj.PubApiSetModule
|
|||||||
else if (sender == btnGetApiPmsRefresh)
|
else if (sender == btnGetApiPmsRefresh)
|
||||||
{
|
{
|
||||||
DataRow focusedRow = getDetailView.GetFocusedDataRow();
|
DataRow focusedRow = getDetailView.GetFocusedDataRow();
|
||||||
string apiId = focusedRow["id"] + "";
|
if (focusedRow != null)
|
||||||
int rowHandle = getDetailView.FocusedRowHandle;
|
{
|
||||||
InitGetApiPmsTabDataSource(apiId);
|
string apiId = focusedRow["id"] + "";
|
||||||
getDetailView.FocusedRowHandle = rowHandle;
|
int rowHandle = getDetailView.FocusedRowHandle;
|
||||||
|
InitGetApiPmsTabDataSource(apiId);
|
||||||
|
getDetailView.FocusedRowHandle = rowHandle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -313,9 +347,17 @@ 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);
|
if (SendMainAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(sqlDataAdapter);
|
||||||
|
sqlDataAdapter.Fill(sendMainTable);
|
||||||
|
}
|
||||||
|
else if (SendMainAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
KdbndpCommandBuilder sqlCommandBuilder = new KdbndpCommandBuilder(kdbndpDataAdapter);
|
||||||
|
kdbndpDataAdapter.Fill(sendMainTable);
|
||||||
|
}
|
||||||
sendGcMain.DataSource = sendMainTable;
|
sendGcMain.DataSource = sendMainTable;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -325,9 +367,17 @@ 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();
|
||||||
SendDetailAdapterObj.Fill(sendDetailTable);
|
if (SendDetailAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(sqlDataAdapter);
|
||||||
|
sqlDataAdapter.Fill(sendDetailTable);
|
||||||
|
}
|
||||||
|
else if (SendDetailAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
KdbndpCommandBuilder sqlCommandBuilder = new KdbndpCommandBuilder(kdbndpDataAdapter);
|
||||||
|
kdbndpDataAdapter.Fill(sendDetailTable);
|
||||||
|
}
|
||||||
sendGcDetail.DataSource = sendDetailTable;
|
sendGcDetail.DataSource = sendDetailTable;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -337,9 +387,17 @@ namespace Lskj.PubApiSetModule
|
|||||||
{
|
{
|
||||||
//SendMain
|
//SendMain
|
||||||
GetMainAdapterObj = BaseImpl.GetAdapterResult("select * from P_SystemToLsApiTab");
|
GetMainAdapterObj = BaseImpl.GetAdapterResult("select * from P_SystemToLsApiTab");
|
||||||
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(GetMainAdapterObj);
|
|
||||||
DataTable getMainTable = new DataTable();
|
DataTable getMainTable = new DataTable();
|
||||||
GetMainAdapterObj.Fill(getMainTable);
|
if (GetMainAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(sqlDataAdapter);
|
||||||
|
sqlDataAdapter.Fill(getMainTable);
|
||||||
|
}
|
||||||
|
else if (SendDetailAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
KdbndpCommandBuilder sqlCommandBuilder = new KdbndpCommandBuilder(kdbndpDataAdapter);
|
||||||
|
kdbndpDataAdapter.Fill(getMainTable);
|
||||||
|
}
|
||||||
getGcMain.DataSource = getMainTable;
|
getGcMain.DataSource = getMainTable;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -349,9 +407,17 @@ namespace Lskj.PubApiSetModule
|
|||||||
{
|
{
|
||||||
//SendDetail
|
//SendDetail
|
||||||
GetDetailAdapterObj = BaseImpl.GetAdapterResult($"select * from P_SystemToLsApiPmsTab where mainId = '{apiId}'");
|
GetDetailAdapterObj = BaseImpl.GetAdapterResult($"select * from P_SystemToLsApiPmsTab where mainId = '{apiId}'");
|
||||||
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(GetDetailAdapterObj);
|
|
||||||
DataTable getDetailTable = new DataTable();
|
DataTable getDetailTable = new DataTable();
|
||||||
GetDetailAdapterObj.Fill(getDetailTable);
|
if (GetDetailAdapterObj is SqlDataAdapter sqlDataAdapter)
|
||||||
|
{
|
||||||
|
SqlCommandBuilder sqlCommandBuilder = new SqlCommandBuilder(sqlDataAdapter);
|
||||||
|
sqlDataAdapter.Fill(getDetailTable);
|
||||||
|
}
|
||||||
|
else if (GetDetailAdapterObj is KdbndpDataAdapter kdbndpDataAdapter)
|
||||||
|
{
|
||||||
|
KdbndpCommandBuilder sqlCommandBuilder = new KdbndpCommandBuilder(kdbndpDataAdapter);
|
||||||
|
kdbndpDataAdapter.Fill(getDetailTable);
|
||||||
|
}
|
||||||
getGcDetail.DataSource = getDetailTable;
|
getGcDetail.DataSource = getDetailTable;
|
||||||
}
|
}
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@@ -426,6 +492,7 @@ namespace Lskj.PubApiSetModule
|
|||||||
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 2, 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 = 3, Text = "URL地址加密" });
|
||||||
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 4, Text = "URL文件Base64" });
|
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 4, Text = "URL文件Base64" });
|
||||||
|
valueEncryptTypeComboBox.Items.Add(new ComBoxModel() { Value = 5, Text = "RSA" });
|
||||||
#endregion
|
#endregion
|
||||||
#region 朗速接口主表
|
#region 朗速接口主表
|
||||||
getIdColumn.OptionsColumn.AllowEdit = false;
|
getIdColumn.OptionsColumn.AllowEdit = false;
|
||||||
@@ -591,6 +658,7 @@ namespace Lskj.PubApiSetModule
|
|||||||
colDic.Add("valueDataType", "int");
|
colDic.Add("valueDataType", "int");
|
||||||
colDic.Add("unionPmsId", "int");
|
colDic.Add("unionPmsId", "int");
|
||||||
colDic.Add("valueEncryptType", "int");
|
colDic.Add("valueEncryptType", "int");
|
||||||
|
colDic.Add("encryptKey", "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);
|
||||||
@@ -969,4 +1037,15 @@ namespace Lskj.PubApiSetModule
|
|||||||
#endregion
|
#endregion
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 设置分割条位置
|
/// 设置分割条位置
|
||||||
|
/// </summary>
|
||||||
|
private void InitlizeSpiltLocation()
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
string splitControlSendWidth = IniHelper.Read("PubApiSetModule_SplitControlSendWidth");//通过Key获取Value值
|
||||||
|
if (!string.IsNullOrEmpty(splitControlSendWidth))
|
||||||
|
{
|
||||||
|
splitControlSend.SplitterPosition = Convert.ToInt32(splitControlSendWidth);
|
||||||
|
}
|
||||||
|
string splitControlGetWidth = IniHelper.Read("PubApiSetModule_SplitControlGetWidth");//通过Key获取Value值
|
||||||
|
if (!string.IsNullOrEmpty(splitControlGe
|
||||||
@@ -42,6 +42,10 @@
|
|||||||
<Reference Include="DevExpress.XtraEditors.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraEditors.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DevExpress.XtraPrinting.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraPrinting.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
<Reference Include="DevExpress.XtraGrid.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
<Reference Include="DevExpress.XtraGrid.v15.2, Version=15.2.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a, processorArchitecture=MSIL" />
|
||||||
|
<Reference Include="Kdbndp, Version=8.6.1.1, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\..\引用DLL\Kdbndp.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
<Reference Include="Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
<SpecificVersion>False</SpecificVersion>
|
<SpecificVersion>False</SpecificVersion>
|
||||||
<HintPath>..\..\引用DLL\Newtonsoft.Json.dll</HintPath>
|
<HintPath>..\..\引用DLL\Newtonsoft.Json.dll</HintPath>
|
||||||
|
|||||||
Reference in New Issue
Block a user