补充公司级别树
This commit is contained in:
@@ -303,7 +303,7 @@ namespace FineUIPro.Web.ThreeYearAction.FireGasSafety
|
||||
{
|
||||
if (this.trSafetyOrganization.SelectedNode != null && this.trSafetyOrganization.SelectedNode.CommandName != "project")
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.ProjectId, this.CurrUser.UserId, BLL.Const.SafetyOrganizationMenuId, BLL.Const.BtnModify))
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.SafetyOrganizationMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (this.trSafetyOrganization.SelectedNode.Text != "总图") //非专业节点可以修改
|
||||
{
|
||||
@@ -335,7 +335,7 @@ namespace FineUIPro.Web.ThreeYearAction.FireGasSafety
|
||||
{
|
||||
if (this.trSafetyOrganization.SelectedNode != null && trSafetyOrganization.SelectedNode.CommandName == "project")
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.ProjectId, this.CurrUser.UserId, BLL.Const.SafetyOrganizationMenuId, BLL.Const.BtnAdd))
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.SafetyOrganizationMenuId, BLL.Const.BtnAdd))
|
||||
{
|
||||
string openUrl = String.Format("SafetyOrganizationSave.aspx?operating=add&SuperId={0}", this.trSafetyOrganization.SelectedNode.NodeID, "增加 - ");
|
||||
|
||||
@@ -362,7 +362,7 @@ namespace FineUIPro.Web.ThreeYearAction.FireGasSafety
|
||||
{
|
||||
if (this.trSafetyOrganization.SelectedNode != null)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.ProjectId, this.CurrUser.UserId, BLL.Const.SafetyOrganizationMenuId, BLL.Const.BtnDelete))
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.SafetyOrganizationMenuId, BLL.Const.BtnDelete))
|
||||
{
|
||||
if (this.trSafetyOrganization.SelectedNode.CommandName != "project") //非专业节点可以删除
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user