安全报表增加系统外工时统计

This commit is contained in:
geh
2026-01-26 17:34:39 +08:00
parent 7dff01059b
commit fd322d4c7f
25 changed files with 841 additions and 306 deletions
@@ -65,7 +65,7 @@ namespace FineUIPro.Web.InformationProject
this.BindGrid();
}
}
/// <summary>
/// 公司级树加载
/// </summary>
@@ -75,14 +75,10 @@ namespace FineUIPro.Web.InformationProject
{
this.ProjectId = this.ucTree.ProjectId;
if (string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
{
btnNew.Hidden = true;
}
this.GetButtonPower();
this.BindGrid();
}
/// <summary>
/// 绑定数据
/// </summary>
@@ -92,7 +88,6 @@ namespace FineUIPro.Web.InformationProject
{
return;
}
string strSql = @"SELECT MillionsMonthlyReport.MillionsMonthlyReportId,"
+ @"MillionsMonthlyReport.ProjectId,"
+ @"MillionsMonthlyReport.Year,"
@@ -108,6 +103,7 @@ namespace FineUIPro.Web.InformationProject
+ @"MillionsMonthlyReport.ContractorNum,"
+ @"MillionsMonthlyReport.SumPersonNum,"
+ @"MillionsMonthlyReport.TotalWorkNum,"
+ @"MillionsMonthlyReport.OutSideUnitWorkNum,"
+ @"MillionsMonthlyReport.DeathAccidentNum,"
+ @"MillionsMonthlyReport.DeathAccidentPersonNum,"
+ @"MillionsMonthlyReport.DeathAccidentLossHour,"
@@ -327,6 +323,12 @@ namespace FineUIPro.Web.InformationProject
this.btnMenuDelete.Hidden = false;
}
}
if (string.IsNullOrEmpty(this.CurrUser.LoginProjectId))
{
btnNew.Hidden = true;
btnMenuDelete.Hidden = true;
btnMenuEdit.Hidden = true;
}
}
#endregion
}