1、班前会隐藏推送全部按钮

This commit is contained in:
夏菊 2026-02-28 11:31:22 +08:00
parent 37ec112f65
commit 470aac50f3
2 changed files with 20 additions and 5 deletions

View File

@ -810,5 +810,20 @@ namespace FineUIPro.Web.HSSE.HiddenInspection
}
}
#endregion
#region
/// <summary>
/// 拉取总包检查
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnPull_Click(object sender, EventArgs e)
{
APIHazardRegisterSyncService.getHazardRegisterLists();
this.BindGrid();
}
#endregion
}
}

View File

@ -275,11 +275,11 @@ namespace FineUIPro.Web.HSSE.Meeting
if (buttonList.Contains(BLL.Const.BtnAdd))
{
this.btnNew.Hidden = false;
var porject = BLL.ProjectService.GetProjectByProjectId(this.ProjectId);
if (!string.IsNullOrWhiteSpace(porject.SubjectUnit) && !string.IsNullOrWhiteSpace(porject.SubjectProject))
{//项目关联了总包单位项目,显示推送操作按钮
this.btnPush.Hidden = false;
}
//var porject = BLL.ProjectService.GetProjectByProjectId(this.ProjectId);
//if (!string.IsNullOrWhiteSpace(porject.SubjectUnit) && !string.IsNullOrWhiteSpace(porject.SubjectProject))
//{//项目关联了总包单位项目,显示推送操作按钮
// this.btnPush.Hidden = false;
//}
}
if (buttonList.Contains(BLL.Const.BtnModify))
{