合并最新

This commit is contained in:
2022-12-20 09:32:32 +08:00
parent 844e9f1488
commit 1abdaa9476
654 changed files with 73563 additions and 9746 deletions
+18 -1
View File
@@ -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