0510
This commit is contained in:
@@ -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 "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user