SVN r1054
SVN-Revision: r1054
This commit is contained in:
@@ -56,6 +56,7 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
|
||||
this.PlStep2Container = new System.Windows.Forms.Panel();
|
||||
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
|
||||
this.labdisable = new Lskj.Control.LabelCheckEdit();
|
||||
this.xtraScrollableControl1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
|
||||
this.panelControl1.SuspendLayout();
|
||||
@@ -147,6 +148,7 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
//
|
||||
// groupBox1
|
||||
//
|
||||
this.groupBox1.Controls.Add(this.labdisable);
|
||||
this.groupBox1.Controls.Add(this.ltestepGroup);
|
||||
this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.groupBox1.Location = new System.Drawing.Point(5, 0);
|
||||
@@ -420,6 +422,21 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
this.panelControl2.Size = new System.Drawing.Size(988, 15);
|
||||
this.panelControl2.TabIndex = 5;
|
||||
//
|
||||
// labdisable
|
||||
//
|
||||
this.labdisable.BackColor = System.Drawing.Color.Transparent;
|
||||
this.labdisable.EditText = "0";
|
||||
this.labdisable.FontSize = 0F;
|
||||
this.labdisable.LabelText = "禁用";
|
||||
this.labdisable.Location = new System.Drawing.Point(198, 22);
|
||||
this.labdisable.Model = null;
|
||||
this.labdisable.Name = "labdisable";
|
||||
this.labdisable.NullText = null;
|
||||
this.labdisable.ReadOnly = false;
|
||||
this.labdisable.Required = false;
|
||||
this.labdisable.Size = new System.Drawing.Size(53, 21);
|
||||
this.labdisable.TabIndex = 13;
|
||||
//
|
||||
// StepPage2
|
||||
//
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
|
||||
@@ -470,20 +487,4 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
private DevExpress.XtraTab.XtraTabControl xtraTabControl2;
|
||||
private DevExpress.XtraTab.XtraTabPage xtraTabPage3;
|
||||
public DevExpress.XtraGrid.GridControl gridControl1;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView2;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn3;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView3;
|
||||
private DevExpress.XtraTab.XtraTabPage xtraTabPage4;
|
||||
public DevExpress.XtraGrid.GridControl gridControl;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn2;
|
||||
private DevExpress.XtraGrid.Columns.GridColumn gridColumn1;
|
||||
private DevExpress.XtraGrid.Views.Grid.GridView gridView1;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl6;
|
||||
private Control.LabelTextEdit labelTextEdit1;
|
||||
private Control.LabelComboxEdit labelComboxEdit1;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl3;
|
||||
private System.Windows.Forms.Panel PlStep2Container;
|
||||
private DevExpress.XtraEditors.PanelControl panelControl2;
|
||||
}
|
||||
}
|
||||
private Dev
|
||||
@@ -147,7 +147,7 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
BaseflowTypeModel model = this.SelectBaseflowTypeModel;
|
||||
model.billTypeName = this.ltestepGroup.EditText;
|
||||
model.operUser = this.txtEdit.EditValue + "";
|
||||
|
||||
model.billflowban = int.Parse(this.labdisable.EditText);
|
||||
|
||||
bool result = WorkFlowBaseImpl.UpdateBaseFlowType(model);
|
||||
if (result)
|
||||
@@ -175,7 +175,7 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
BillflowTypeModel model = this.SelectBillflowTypeModel;
|
||||
model.billTypeName = this.ltestepGroup.EditText;
|
||||
model.operUser = this.txtEdit.EditValue + "";
|
||||
|
||||
model.billflowban = int.Parse(this.labdisable.EditText);
|
||||
|
||||
bool result = WorkFlowBillImpl.UpdateBillFlowType(model);
|
||||
if (result)
|
||||
@@ -298,6 +298,7 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
this.ltestepGroup.EditText = model.billTypeName;
|
||||
this.txtEdit.EditValue = model.operUser;
|
||||
this.SelectBaseflowTypeModel = model;
|
||||
this.labdisable.EditText = model.billflowban + "";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -318,6 +319,7 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
this.ltestepGroup.EditText = model.billTypeName;
|
||||
this.txtEdit.EditValue = model.operUser;
|
||||
this.SelectBillflowTypeModel = model;
|
||||
this.labdisable.EditText = model.billflowban + "";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -586,36 +588,4 @@ namespace Lskj.PubUserTomodule.AuditPermissionControls
|
||||
{
|
||||
foreach (DataRow item in e.GridViewSelectRows)
|
||||
{
|
||||
userNames += "{&" + item["roleName"] + "&},";
|
||||
}
|
||||
//userNames = PowerImpl.getAllPersonnel(userNames);
|
||||
//if (userNames.Equals(",")) userNames = "";
|
||||
}
|
||||
|
||||
|
||||
//List<System.String> namesList = new List<System.String>((this.txtEdit.EditValue + "").Split(','));
|
||||
//foreach (string item in userNames.Split(','))
|
||||
//{
|
||||
// if (!namesList.Exists(t => t.Equals(item)))
|
||||
// {
|
||||
// this.txtEdit.EditValue += item + ",";
|
||||
// }
|
||||
|
||||
//}
|
||||
|
||||
|
||||
this.txtEdit.EditValue += userNames;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
string Message = ErrorMessage.PromptErrorMessage(ex);
|
||||
MessageUtil.Show(Message, ex.Message);
|
||||
LogHelper.Instance.WriteError(ex);
|
||||
//MessageUtil.Show(ResourceKeys.OperFault);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
userNames += "{&" + item["roleName"] +
|
||||
Reference in New Issue
Block a user