1、班前会隐藏推送全部按钮
This commit is contained in:
parent
37ec112f65
commit
470aac50f3
|
|
@ -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
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue