This commit is contained in:
2023-09-22 17:36:00 +08:00
parent dece3781ec
commit 9942cdcf6f
49 changed files with 2907 additions and 2375 deletions
@@ -336,15 +336,27 @@ namespace FineUIPro.Web.HSSE.Check
}
}
}
#endregion
#region
/// <summary>
/// 编制
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
#endregion
protected void btnSpec_Click(object sender, EventArgs e)
{
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.HSSE_HiddenRectificationListMenuId, BLL.Const.BtnAdd))
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("./CheckSpecialEdit.aspx", "登记 - ")));
}
else
{
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
return;
}
}
#region
/// <summary>
/// 编制
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnNew_Click(object sender, EventArgs e)
{
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.HSSE_HiddenRectificationListMenuId, BLL.Const.BtnAdd))
{
@@ -688,8 +700,8 @@ namespace FineUIPro.Web.HSSE.Check
{
if (buttonList.Contains(Const.BtnAdd))
{
this.btnNew.Hidden = false;
this.btnRectify.Hidden = false;
this.btnSpec.Hidden = false;
this.btnRectify.Hidden = false;
this.btnConfirm.Hidden = false;
}
if (buttonList.Contains(Const.BtnModify))