修改集团报表

This commit is contained in:
2023-03-30 13:51:33 +08:00
parent 7308c6d35e
commit e2076852e6
173 changed files with 63121 additions and 4850 deletions
@@ -59,12 +59,12 @@ namespace FineUIPro.Web.ZHGL.Information
/// </summary>
private void BindGrid()
{
string unitId = Const.UnitId_CWCEC;
string unitId = BLL.Const.UnitId_CWCEC;
string strSql = @"SELECT UserId,UserName,UserCode,role.RoleName"
+ @" FROM Sys_User AS users"
+ @" LEFT JOIN Sys_Role AS role ON users.RoleId= role.RoleId"
+ @" WHERE users.IsPost=1 AND role.IsAuditFlow=1 AND UnitId ='" + unitId + "'";
+ @" WHERE users.IsPost=1 AND role.IsAuditFlow=1 AND users.IsOffice =1 AND UnitId ='" + unitId + "'";
List<SqlParameter> listStr = new List<SqlParameter>();
if (!string.IsNullOrEmpty(this.txtUserName.Text.Trim()))
{
@@ -107,8 +107,8 @@ namespace FineUIPro.Web.ZHGL.Information
if (!string.IsNullOrEmpty(handleMan) && handleMan != Const._Null)
{
#region
if (Type == "MillionsMonthlyReport")//百万工时安全统计月报
#region
if (Type == "MillionsMonthlyReport")//企业安全数据统计月报
{
var report = BLL.MillionsMonthlyReportService.GetMillionsMonthlyReportByMillionsMonthlyReportId(Id);
if (report != null)
@@ -177,6 +177,34 @@ namespace FineUIPro.Web.ZHGL.Information
}
#endregion
#region
//if (Type== "WorkSummaryReport")//安全管理工作总结报告
//{
// var report = BLL.WorkSummaryReportService.GetWorkSummaryReportById(this.Id);
// if (report != null)
// {
// SetFlowData(Const.WorkSummaryReportMenuId, this.Id, handleMan);
// report.HandleState = handleStates;
// report.HandleMan = handleMan;
// BLL.WorkSummaryReportService.UpdateWorkSummaryReport(report);
// }
//}
#endregion
#region
//if (Type == "QualityWorkSummaryReport")//质量管理工作总结报告
//{
// var report = BLL.QualityWorkSummaryReportService.GetQualityWorkSummaryReportById(this.Id);
// if (report != null)
// {
// SetFlowData(Const.QualityWorkSummaryReportMenuId, this.Id, handleMan);
// report.HandleState = handleStates;
// report.HandleMan = handleMan;
// BLL.QualityWorkSummaryReportService.UpdateQualityWorkSummaryReport(report);
// }
//}
#endregion
ShowNotify("提交成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}