This commit is contained in:
2024-05-10 14:45:54 +08:00
parent ba518ac354
commit 98c1cad987
12 changed files with 581 additions and 44 deletions
@@ -312,5 +312,22 @@ namespace FineUIPro.Web.HSSE.Solution
string id = Grid1.SelectedRowID;
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("LargerHazardView.aspx?HazardId={0}", id, "查看 - ")));
}
protected string ConvertState(object state)
{
if (state != null)
{
var s = Funs.DB.Sys_FlowOperate.FirstOrDefault(x => x.DataId == state.ToString() && x.IsClosed == false);
if (s != null)
{
var user = Funs.DB.Sys_User.FirstOrDefault(x => x.UserId == s.OperaterId);
if (user != null)
{
return "待[" + user.UserName + "]审核";
}
}
}
return "";
}
}
}