五环二期集团数据对接
This commit is contained in:
@@ -98,7 +98,7 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
/// <param name="menuId"></param>
|
||||
private void BoundTree(TreeNodeCollection nodes, string menuId)
|
||||
{
|
||||
var dt = BLL.RectifyService.GetRectifyBySupRectifyId(menuId);
|
||||
var dt = BLL.RectifyService.GetRectifyBySupRectifyId(menuId, "0");
|
||||
if (dt.Count() > 0)
|
||||
{
|
||||
TreeNode tn = null;
|
||||
@@ -388,7 +388,7 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
#region 导出
|
||||
/// <summary>
|
||||
/// 关闭导出窗口
|
||||
@@ -549,7 +549,7 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
{
|
||||
this.btnDelete.Hidden = false;
|
||||
this.btnMenuDelete.Hidden = false;
|
||||
}
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnOut))
|
||||
{
|
||||
this.btnSelectColumns.Hidden = false;
|
||||
@@ -557,24 +557,5 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// 从集团获取
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnGet_Click(object sender, EventArgs e)
|
||||
{
|
||||
var returnValue = CNCECHSSEWebService.getTechnique_RectifyList();
|
||||
if (returnValue.code == 1)
|
||||
{
|
||||
ShowNotify(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop(returnValue.message, MessageBoxIcon.Success);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -89,6 +89,7 @@ namespace FineUIPro.Web.HSSE.Technique
|
||||
{
|
||||
Model.Technique_Rectify rectify = new Model.Technique_Rectify
|
||||
{
|
||||
RectifyType = "0",//安全
|
||||
RectifyCode = this.txtRectifyCode.Text.Trim(),
|
||||
RectifyName = this.txtRectifyName.Text.Trim()
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user