合并最新
This commit is contained in:
@@ -40,7 +40,20 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
}
|
||||
}
|
||||
}
|
||||
#region 编制
|
||||
/// <summary>
|
||||
/// 编制
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnNew_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PlanEdit.aspx", "编辑 - ")));
|
||||
|
||||
}
|
||||
#endregion
|
||||
/// <summary>
|
||||
/// 绑定数据
|
||||
/// </summary>
|
||||
@@ -149,7 +162,7 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PlanView.aspx?PlanId={0}", Grid1.SelectedRowID, "编辑 - ")));
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("PlanEdit.aspx?PlanId={0}", Grid1.SelectedRowID, "编辑 - ")));
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -269,6 +282,10 @@ namespace FineUIPro.Web.HSSE.EduTrain
|
||||
{
|
||||
this.btnMenuDelete.Hidden = false;
|
||||
}
|
||||
if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
{
|
||||
this.btnNew.Hidden = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user