修改施工方案和关键事项
This commit is contained in:
@@ -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 判断是否可删除
|
||||
|
||||
Reference in New Issue
Block a user