提交代码

This commit is contained in:
2024-11-27 15:21:14 +08:00
parent ef607782ee
commit 22809fa59f
23 changed files with 757 additions and 70 deletions
@@ -237,7 +237,7 @@ namespace FineUIPro.Web.HSSE.Hazard
}
else
{
return "";
return Rectification.ToString();
}
}
return "";
@@ -247,5 +247,25 @@ namespace FineUIPro.Web.HSSE.Hazard
{
}
protected void Grid1_RowCommand(object sender, GridCommandEventArgs e)
{
object[] keys = Grid1.DataKeys[e.RowIndex];
string fileId = string.Empty;
if (keys == null)
{
return;
}
else
{
fileId = keys[0].ToString();
}
if (e.CommandName.Equals("download"))
{
string menuId = Const.ConstructionRiskMenuId;
PageContext.RegisterStartupScript(Window2.GetShowReference(
String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/ConstructionRiskControlCheck&menuId={1}", fileId, menuId)));
}
}
}
}