提交代码

This commit is contained in:
2024-09-24 16:39:45 +08:00
parent a010e5e2a2
commit cc858103db
7 changed files with 37 additions and 77 deletions
@@ -18,22 +18,12 @@ namespace FineUIPro.Web.HSSE.Hazard
ViewState["ConstructionRiskId"] = value;
}
}
public string ProjectCode
{
get
{
return (string)ViewState["ProjectCode"];
}
set
{
ViewState["ProjectCode"] = value;
}
}
public string ProjectCode = "";
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
var project = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId== ProjectCode);
ProjectCode = BLL.ProjectService.GetProjectCodeByProjectId(this.CurrUser.LoginProjectId);
ConstructionRiskId = Request.Params["ConstructionRiskId"] ;
if (!string.IsNullOrEmpty(Request.Params["type"]))
{