修改施工方案和关键事项

This commit is contained in:
2024-10-12 15:27:37 +08:00
parent a360cb9448
commit d35d9efdcb
54 changed files with 10572 additions and 2051 deletions
+12 -1
View File
@@ -221,7 +221,18 @@ namespace FineUIPro.Web.PZHGL.GJSX
return;
}
string Id = Grid1.SelectedRowID;
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GJSXListEdit.aspx?EditType=Edit&Id={0}", Id, "编辑 - ")));
var gjsx = BLL.GJSXService.GetGJSXById(Id);
//必须是责任人、提出人、跟踪人才能修改
if (gjsx.User_Acceptance.Contains(this.CurrUser.UserId)
|| gjsx.UserID.Contains(this.CurrUser.UserId) ||
gjsx.User_ReceiveID.Contains(this.CurrUser.UserId))
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GJSXListEdit.aspx?EditType=Edit&Id={0}", Id, "编辑 - ")));
}
else {
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("GJSXListEdit.aspx?EditType=See&Id={0}", Id),"查看 - "));
}
}
#region