2023-03-30 报表升级

This commit is contained in:
2023-03-30 18:17:53 +08:00
parent 70bde21f2a
commit e7295249ff
185 changed files with 62531 additions and 1061 deletions
@@ -1,4 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FineUIPro.Web.InformationProject
{
@@ -63,7 +68,7 @@ namespace FineUIPro.Web.InformationProject
if (millionsMonthlyReport.Year != null)
{
var constValue = BLL.ConstValue.GetConstByConstValueAndGroupId(millionsMonthlyReport.Year.ToString(), BLL.ConstValue.Group_0008);
if (constValue != null)
if (constValue!=null)
{
this.txtYear.Text = constValue.ConstText;
}
@@ -117,18 +122,18 @@ namespace FineUIPro.Web.InformationProject
if (millionsMonthlyReport.MinorAccidentLossHour != null)
{
this.txtMinorAccidentLossHour.Text = Convert.ToString(millionsMonthlyReport.MinorAccidentLossHour);
}
if (millionsMonthlyReport.OtherAccidentNum != null)
}
if (millionsMonthlyReport.DeathAccidentNum != null)
{
this.txtOtherAccidentNum.Text = Convert.ToString(millionsMonthlyReport.OtherAccidentNum);
this.txtDeathAccidentNum.Text = Convert.ToString(millionsMonthlyReport.DeathAccidentNum);
}
if (millionsMonthlyReport.OtherAccidentPersonNum != null)
if (millionsMonthlyReport.DeathAccidentPersonNum != null)
{
this.txtOtherAccidentPersonNum.Text = Convert.ToString(millionsMonthlyReport.OtherAccidentPersonNum);
this.txtDeathAccidentPersonNum.Text = Convert.ToString(millionsMonthlyReport.DeathAccidentPersonNum);
}
if (millionsMonthlyReport.OtherAccidentLossHour != null)
if (millionsMonthlyReport.DeathAccidentLossHour!= null)
{
this.txtOtherAccidentLossHour.Text = Convert.ToString(millionsMonthlyReport.OtherAccidentLossHour);
this.txtDeathAccidentLossHour.Text = Convert.ToString(millionsMonthlyReport.DeathAccidentLossHour);
}
if (millionsMonthlyReport.RestrictedWorkPersonNum != null)
{
@@ -150,9 +155,9 @@ namespace FineUIPro.Web.InformationProject
{
this.txtFireNum.Text = Convert.ToString(millionsMonthlyReport.FireNum);
}
if (millionsMonthlyReport.ExplosionNum != null)
if (millionsMonthlyReport.EnvironmenNum != null)
{
this.txtExplosionNum.Text = Convert.ToString(millionsMonthlyReport.ExplosionNum);
this.txtEnvironmenNum.Text = Convert.ToString(millionsMonthlyReport.EnvironmenNum);
}
if (millionsMonthlyReport.TrafficNum != null)
{
@@ -182,10 +187,74 @@ namespace FineUIPro.Web.InformationProject
{
this.txtLossDayNum.Text = Convert.ToString(millionsMonthlyReport.LossDayNum);
}
if (millionsMonthlyReport.InputCosts != null)
{
this.txtInputCosts.Text = Convert.ToString(millionsMonthlyReport.InputCosts);
}
if (millionsMonthlyReport.TrainNum != null)
{
this.txtTrainNum.Text = Convert.ToString(millionsMonthlyReport.TrainNum);
}
if (millionsMonthlyReport.GeneralHazardNum != null)
{
this.txtGeneralHazardNum.Text = Convert.ToString(millionsMonthlyReport.GeneralHazardNum);
}
if (millionsMonthlyReport.MajorHazardNum != null)
{
this.txtMajorHazardNum.Text = Convert.ToString(millionsMonthlyReport.MajorHazardNum);
}
if (millionsMonthlyReport.NotProofLargeProjectNum != null)
{
this.txtNotProofLargeProjectNum.Text = Convert.ToString(millionsMonthlyReport.NotProofLargeProjectNum);
}
if (millionsMonthlyReport.ProofLargeProjectNum != null)
{
this.txtProofLargeProjectNum.Text = Convert.ToString(millionsMonthlyReport.ProofLargeProjectNum);
}
if (millionsMonthlyReport.FireLicenseNum != null)
{
this.txtFireLicenseNum.Text = Convert.ToString(millionsMonthlyReport.FireLicenseNum);
}
if (millionsMonthlyReport.LimitLicenseNum != null)
{
this.txtLimitLicenseNum.Text = Convert.ToString(millionsMonthlyReport.LimitLicenseNum);
}
if (millionsMonthlyReport.HighLicenseNum != null)
{
this.txtHighLicenseNum.Text = Convert.ToString(millionsMonthlyReport.HighLicenseNum);
}
if (millionsMonthlyReport.HoistingLicenseNum != null)
{
this.txtHoistingLicenseNum.Text = Convert.ToString(millionsMonthlyReport.HoistingLicenseNum);
}
if (millionsMonthlyReport.BreakGroundLicenseNum != null)
{
this.txtBreakGroundLicenseNum.Text = Convert.ToString(millionsMonthlyReport.BreakGroundLicenseNum);
}
if (millionsMonthlyReport.ElectricityLicenseNum != null)
{
this.txtElectricityLicenseNum.Text = Convert.ToString(millionsMonthlyReport.ElectricityLicenseNum);
}
if (millionsMonthlyReport.RTLicenseNum != null)
{
this.txtRTLicenseNum.Text = Convert.ToString(millionsMonthlyReport.RTLicenseNum);
}
if (millionsMonthlyReport.NightLicenseNum != null)
{
this.txtNightLicenseNum.Text = Convert.ToString(millionsMonthlyReport.NightLicenseNum);
}
if (millionsMonthlyReport.CommissionerNum != null)
{
this.txtCommissionerNum.Text = Convert.ToString(millionsMonthlyReport.CommissionerNum);
}
if (millionsMonthlyReport.SoleDutyNum != null)
{
this.txtSoleDutyNum.Text = Convert.ToString(millionsMonthlyReport.SoleDutyNum);
}
if (!string.IsNullOrEmpty(millionsMonthlyReport.CompileMan))
{
var user = BLL.Person_PersonsService.GetPerson_PersonsById(millionsMonthlyReport.CompileMan);
if (user != null)
if (user!=null)
{
this.txtCompileManName.Text = user.PersonName;
}