提交代码
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user