2023-09-27

This commit is contained in:
2023-09-27 09:10:09 +08:00
parent 74327b5a3e
commit 92fd5a113d
26 changed files with 4569 additions and 882 deletions
File diff suppressed because it is too large Load Diff
@@ -113,6 +113,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
}
}
@@ -516,44 +517,45 @@ namespace FineUIPro.Web.CQMS.ManageReport
List<Model.View_CQMS_InspectionManagementDetail> totalManagementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, projectStartDate, endDate, false);
//专业下当期集合
List<Model.View_CQMS_InspectionManagementDetail> managementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, startDate, endDate, false);
if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计
foreach (var item in totalManagementList)
{
foreach (var item in totalManagementList)
Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType);
if (breakdownProject != null)
{
Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType);
if (breakdownProject != null)
Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId);
if (divisionProject != null)
{
Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId);
if (divisionProject != null)
Model.WBS_UnitWork ins = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(divisionProject.UnitWorkId);
if (ins != null)
{
Model.WBS_UnitWork ins = BLL.UnitWorkService.GetUnitWorkByUnitWorkId(divisionProject.UnitWorkId);
if (ins != null)
if (!workNames.Contains(ins.UnitWorkName)) //新增记录
{
if (!workNames.Contains(ins.UnitWorkName)) //新增记录
{
Model.CheckStatisc checkStatisc = new Model.CheckStatisc();
checkStatisc.Num = i;
checkStatisc.WorkName = ins.UnitWorkName;
workNames.Add(ins.UnitWorkName);
checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
StatisticsList.Add(checkStatisc);
i++;
}
else //更新已有记录
{
Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName);
checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
}
Model.CheckStatisc checkStatisc = new Model.CheckStatisc();
checkStatisc.Num = i;
checkStatisc.WorkName = ins.UnitWorkName;
workNames.Add(ins.UnitWorkName);
checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
StatisticsList.Add(checkStatisc);
i++;
}
else //更新已有记录
{
Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName);
checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
}
}
}
}
}
/*if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计
{
}
else
{
@@ -589,7 +591,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
}
}
}
}
}*/
foreach (var item in StatisticsList)
{
if (item.CheckNum != 0)//被除数不能为零
@@ -716,7 +718,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -732,7 +734,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -747,7 +749,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -762,7 +764,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -777,7 +779,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -792,7 +794,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -807,7 +809,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -883,8 +885,9 @@ namespace FineUIPro.Web.CQMS.ManageReport
Model.NCRReportStatisc NCRStatisc = new Model.NCRReportStatisc();
NCRStatisc.Num = i;
NCRStatisc.WorkName = BLL.UnitService.getUnitNamesUnitIds(item);
NCRStatisc.OKNum = managementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count(x => x.CompleteDate != null);
NCRStatisc.CurrentPeriodOkNum = managementList.Count(x => x.CompleteDate != null);
NCRStatisc.OKNum = sumManagementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count;
if (NCRStatisc.CheckNum != 0)//被除数不能为零
{
NCRStatisc.OKRate = Math.Round((double)NCRStatisc.OKNum / (double)NCRStatisc.CheckNum * 100, 2) + "%";//保留两位小数、后四舍五入
@@ -903,6 +906,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
StatisticsLast.WorkName = "合计";
foreach (Model.NCRReportStatisc item in StatisticsList)
{
StatisticsLast.CurrentPeriodOkNum += item.CurrentPeriodOkNum;
StatisticsLast.OKNum += item.OKNum;
StatisticsLast.CheckNum += item.CheckNum;
}
@@ -930,7 +934,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#接收单位#本已完成#累计已完成#累计完成比例";
string headerStr = "序号#接收单位#本已完成#累计已完成#NCR总数#累计完成比例";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -1044,23 +1048,53 @@ namespace FineUIPro.Web.CQMS.ManageReport
where x.ProjectId == this.CurrUser.LoginProjectId && x.UnitType == BLL.Const.ProjectUnitType_2
orderby y.UnitCode
select new { x.UnitId, y.UnitName };
var db = Funs.DB;
foreach (var item in units)
{
//单位下所有集合
List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var query = from c in db.Comprehensive_InspectionPerson
join u in db.Base_Unit on c.UnitId equals u.UnitId into unitJoin
from u in unitJoin.DefaultIfEmpty()
join cn in db.Base_CNProfessional on c.CNProfessionalId equals cn.CNProfessionalId into cnJoin
from cn in cnJoin.DefaultIfEmpty()
join p in db.Base_Post on c.PostId equals p.PostId into postJoin
from p in postJoin.DefaultIfEmpty()
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId== item.UnitId
select new
{
c.InspectionPersonId,
c.ProjectId,
u.UnitId,
u.UnitName,
c.PersonName,
c.ApprovalTime,
cn.ProfessionalName,
p.PostName
};
//单位下所有集合
// List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
//List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var totalWelderList = query.ToList();
var welderList = query
.Where(x=> (x.ApprovalTime >= Convert.ToDateTime(startDate) && x.ApprovalTime <= Convert.ToDateTime(endDate)));
Model.PassWelderStatisc passWelderStatisc = new Model.PassWelderStatisc();
passWelderStatisc.Num = i;
passWelderStatisc.UnitName = item.UnitName;
passWelderStatisc.PipeMountGuard = welderList.Count(x => x.WED_Remark == "管道");
passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.WED_Remark == "管道");
passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.WED_Remark == "钢结构");
passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.WED_Remark == "钢结构");
passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.WED_Remark == "设备");
passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.WED_Remark == "设备");
passWelderStatisc.OtherMountGuard = welderList.Count(x => x.WED_Remark == "其他");
passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.WED_Remark == "其他");
passWelderStatisc.PipeMountGuard = welderList.Count(x => x.ProfessionalName == "管道"&&x.PostName== "焊工");
passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.ProfessionalName == "管道" && x.PostName == "焊工");
passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.OtherMountGuard = welderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
StatisticsList.Add(passWelderStatisc);
i++;
}
@@ -1103,6 +1137,70 @@ namespace FineUIPro.Web.CQMS.ManageReport
}
#endregion
#region
public void ConstructionStatisticsr()
{
var db = Funs.DB;
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
DateTime projectStartDate = Convert.ToDateTime("2015-01-01");
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
if (project != null)
{
if (project.StartDate != null)
{
projectStartDate = Convert.ToDateTime(project.StartDate);
}
}
int i = 1;
var q = from x in db.Solution_CQMSConstructSolution
where x.CompileDate >= Convert.ToDateTime(startDate) && x.CompileDate <= Convert.ToDateTime(endDate)
group x by new { x.UnitId, State = x.State == "3", ProjectId = x.ProjectId == project.ProjectId }
into g
select new
{
UnitName=BLL.UnitService.GetUnitNameByUnitId(g.Key.UnitId),
Count = g.Key.UnitId.Count(),
};
var result = q.ToList().Select((item, index) => new
{
Index = index + 1,
item.UnitName,
item.Count
});
if (result.Count()>0) //增加总计
{
int totalCount = result.Sum(item => item.Count);
result = result.Concat(new[]
{
new
{
Index = result.Count() + 1,
UnitName = "合计",
Count = totalCount
}
});
}
this.gvConstructionStatistics.DataSource = result;
this.gvConstructionStatistics.DataBind();
}
protected void gvConstructionStatistics_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#报审单位#完成数量";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
}
#endregion
#region
/// <summary>
/// 增加下月质量控制重点
@@ -1186,6 +1284,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
}
}
#endregion
@@ -1307,6 +1406,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
}
#endregion
}
}
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.ManageReport {
public partial class MonthReportEdit {
namespace FineUIPro.Web.CQMS.ManageReport
{
public partial class MonthReportEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// Table1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table1;
/// <summary>
/// tabbtn 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn;
/// <summary>
/// image15 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image15;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnSave;
/// <summary>
/// btnPrint 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnPrint;
/// <summary>
/// Table5 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table5;
/// <summary>
/// lblProjectName 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblProjectName;
/// <summary>
/// Label1 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label1;
/// <summary>
/// txtPeriod 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPeriod;
/// <summary>
/// RequiredFieldValidator1 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
/// <summary>
/// Label2 控件。
/// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label2;
/// <summary>
/// lblTital 控件。
/// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTital;
/// <summary>
/// Table2 控件。
/// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table2;
/// <summary>
/// txtStartDate 控件。
/// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtStartDate;
/// <summary>
/// txtEndDate 控件。
/// </summary>
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtEndDate;
/// <summary>
/// Table3 控件。
/// </summary>
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table3;
/// <summary>
/// image1 控件。
/// </summary>
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image1;
/// <summary>
/// btnAddThisWeekAndMonthContent 控件。
/// </summary>
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddThisWeekAndMonthContent;
/// <summary>
/// gvThisWeekOrMonthContent 控件。
/// </summary>
@@ -209,7 +211,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvThisWeekOrMonthContent;
/// <summary>
/// Table4 控件。
/// </summary>
@@ -218,7 +220,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table4;
/// <summary>
/// image2 控件。
/// </summary>
@@ -227,7 +229,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image2;
/// <summary>
/// Table6 控件。
/// </summary>
@@ -236,7 +238,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table6;
/// <summary>
/// image3 控件。
/// </summary>
@@ -245,7 +247,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image3;
/// <summary>
/// btnAddRowMaterialProblem 控件。
/// </summary>
@@ -254,7 +256,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddRowMaterialProblem;
/// <summary>
/// gvRowMaterialProblem 控件。
/// </summary>
@@ -263,7 +265,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvRowMaterialProblem;
/// <summary>
/// Table7 控件。
/// </summary>
@@ -272,7 +274,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table7;
/// <summary>
/// image4 控件。
/// </summary>
@@ -281,7 +283,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image4;
/// <summary>
/// btnAddConstructionProblems 控件。
/// </summary>
@@ -290,7 +292,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddConstructionProblems;
/// <summary>
/// gvConstructionProblems 控件。
/// </summary>
@@ -299,7 +301,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionProblems;
/// <summary>
/// Table8 控件。
/// </summary>
@@ -308,7 +310,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table8;
/// <summary>
/// image5 控件。
/// </summary>
@@ -317,7 +319,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image5;
/// <summary>
/// Table9 控件。
/// </summary>
@@ -326,7 +328,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table9;
/// <summary>
/// image6 控件。
/// </summary>
@@ -335,7 +337,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image6;
/// <summary>
/// txt1 控件。
/// </summary>
@@ -344,7 +346,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt1;
/// <summary>
/// txt2 控件。
/// </summary>
@@ -353,7 +355,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt2;
/// <summary>
/// txt3 控件。
/// </summary>
@@ -362,7 +364,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt3;
/// <summary>
/// txt4 控件。
/// </summary>
@@ -371,7 +373,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt4;
/// <summary>
/// txt5 控件。
/// </summary>
@@ -380,7 +382,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt5;
/// <summary>
/// txt6 控件。
/// </summary>
@@ -389,7 +391,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt6;
/// <summary>
/// txt7 控件。
/// </summary>
@@ -398,7 +400,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt7;
/// <summary>
/// txt8 控件。
/// </summary>
@@ -407,7 +409,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt8;
/// <summary>
/// txt9 控件。
/// </summary>
@@ -416,7 +418,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt9;
/// <summary>
/// image7 控件。
/// </summary>
@@ -425,7 +427,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image7;
/// <summary>
/// gvTJ 控件。
/// </summary>
@@ -434,7 +436,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvTJ;
/// <summary>
/// gvSB 控件。
/// </summary>
@@ -443,7 +445,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvSB;
/// <summary>
/// gvGD 控件。
/// </summary>
@@ -452,7 +454,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvGD;
/// <summary>
/// gvDQ 控件。
/// </summary>
@@ -461,7 +463,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvDQ;
/// <summary>
/// gvYB 控件。
/// </summary>
@@ -470,7 +472,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvYB;
/// <summary>
/// gvFF 控件。
/// </summary>
@@ -479,7 +481,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvFF;
/// <summary>
/// gvXF 控件。
/// </summary>
@@ -488,7 +490,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvXF;
/// <summary>
/// image8 控件。
/// </summary>
@@ -497,7 +499,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image8;
/// <summary>
/// gvHJGLStatisc 控件。
/// </summary>
@@ -506,7 +508,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvHJGLStatisc;
/// <summary>
/// image9 控件。
/// </summary>
@@ -515,7 +517,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image9;
/// <summary>
/// gvNCRStatisc 控件。
/// </summary>
@@ -524,7 +526,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNCRStatisc;
/// <summary>
/// image10 控件。
/// </summary>
@@ -533,7 +535,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image10;
/// <summary>
/// gvCheckStatisc 控件。
/// </summary>
@@ -542,7 +544,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvCheckStatisc;
/// <summary>
/// image11 控件。
/// </summary>
@@ -551,7 +553,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image11;
/// <summary>
/// gvPassWelder 控件。
/// </summary>
@@ -560,7 +562,25 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvPassWelder;
/// <summary>
/// image13 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image13;
/// <summary>
/// gvConstructionStatistics 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionStatistics;
/// <summary>
/// Table10 控件。
/// </summary>
@@ -569,7 +589,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table10;
/// <summary>
/// image12 控件。
/// </summary>
@@ -578,7 +598,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image12;
/// <summary>
/// btnNextQualityControl 控件。
/// </summary>
@@ -587,7 +607,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnNextQualityControl;
/// <summary>
/// gvNextQualityControl 控件。
/// </summary>
@@ -596,7 +616,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNextQualityControl;
/// <summary>
/// ValidationSummary1 控件。
/// </summary>
@@ -589,6 +589,23 @@
</asp:GridView>
</td>
</tr>
<tr style="background: url('../Images/bg-1.gif')">
<td align="left" valign="middle" style="font-size: 12pt; font-weight: bold">
<asp:Image ImageUrl="~/Images/lv-1.gif" ImageAlign="AbsMiddle" ID="image13" runat="server" />
&nbsp;7)施工方案统计
</td>
</tr>
<tr>
<td>
<asp:GridView ID="gvConstructionStatistics" runat="server" AllowPaging="false" AllowSorting="True"
AutoGenerateColumns="True" HorizontalAlign="Justify" Width="100%" OnRowCreated="gvConstructionStatistics_RowCreated">
<AlternatingRowStyle CssClass="GridBgColr" />
<HeaderStyle CssClass="GridBgColr" />
<PagerStyle HorizontalAlign="Left" />
<RowStyle CssClass="GridRow" />
</asp:GridView>
</td>
</tr>
<tr>
<td>
<table id="Table10" runat="server" width="100%" cellpadding="0" cellspacing="0">
@@ -109,6 +109,8 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
}
}
@@ -504,45 +506,46 @@ namespace FineUIPro.Web.CQMS.ManageReport
List<Model.View_CQMS_InspectionManagementDetail> totalManagementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, projectStartDate, endDate, false);
//专业下当期集合
List<Model.View_CQMS_InspectionManagementDetail> managementList = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, startDate, endDate, false);
if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计
foreach (var item in totalManagementList)
{
foreach (var item in totalManagementList)
Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType);
if (breakdownProject != null)
{
Model.WBS_BreakdownProject breakdownProject = BLL.BreakdownProjectService.GetBreakdownProjectById(item.ControlPointType);
if (breakdownProject != null)
Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId);
if (divisionProject != null)
{
Model.WBS_DivisionProject divisionProject = BLL.DivisionProjectService.GetDivisionProjectById(breakdownProject.DivisionProjectId);
if (divisionProject != null)
Model.WBS_UnitWork ins = BLL.UnitWorkService.getUnitWorkByUnitWorkId(divisionProject.UnitWorkId);
if (ins != null)
{
Model.WBS_UnitWork ins = BLL.UnitWorkService.getUnitWorkByUnitWorkId(divisionProject.UnitWorkId);
if (ins != null)
if (!workNames.Contains(ins.UnitWorkName)) //新增记录
{
if (!workNames.Contains(ins.UnitWorkName)) //新增记录
{
Model.CheckStatisc checkStatisc = new Model.CheckStatisc();
checkStatisc.Num = i;
checkStatisc.WorkName = ins.UnitWorkName;
workNames.Add(ins.UnitWorkName);
checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
StatisticsList.Add(checkStatisc);
i++;
}
else //更新已有记录
{
Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName);
checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
}
Model.CheckStatisc checkStatisc = new Model.CheckStatisc();
checkStatisc.Num = i;
checkStatisc.WorkName = ins.UnitWorkName;
workNames.Add(ins.UnitWorkName);
checkStatisc.CheckNum = managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.TotalCheckNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc.OKNum = managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc.TotalOKNum = totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
StatisticsList.Add(checkStatisc);
i++;
}
else //更新已有记录
{
Model.CheckStatisc checkStatisc1 = StatisticsList.FirstOrDefault(x => x.WorkName == ins.UnitWorkName);
checkStatisc1.CheckNum += managementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.TotalCheckNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType);
checkStatisc1.OKNum += managementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
checkStatisc1.TotalOKNum += totalManagementList.Count(x => x.ControlPointType == item.ControlPointType && x.IsOnceQualified == true);
}
}
}
}
}
/*if (cNProfessionalId == BLL.Const.CNProfessionalCVId) //土建按单位工程统计
{
}
else
{
foreach (var item in totalManagementList)
@@ -577,7 +580,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
}
}
}
}
}*/
foreach (var item in StatisticsList)
{
if (item.CheckNum != 0)//被除数不能为零
@@ -675,7 +678,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -691,7 +694,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -706,7 +709,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -721,7 +724,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -736,7 +739,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -751,7 +754,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -766,7 +769,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#工作名称#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
string headerStr = "序号#单位工程#检查(点) 本周,累计#合格(点) 本周,累计#一次合格率 本周,累计";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -842,8 +845,9 @@ namespace FineUIPro.Web.CQMS.ManageReport
Model.NCRReportStatisc NCRStatisc = new Model.NCRReportStatisc();
NCRStatisc.Num = i;
NCRStatisc.WorkName = BLL.UnitService.getUnitNamesUnitIds(item);
NCRStatisc.OKNum = managementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count(x => x.CompleteDate != null);
NCRStatisc.CurrentPeriodOkNum = managementList.Count(x => x.CompleteDate != null);
NCRStatisc.OKNum = sumManagementList.Count(x => x.CompleteDate != null);
NCRStatisc.CheckNum = sumManagementList.Count;
if (NCRStatisc.CheckNum != 0)//被除数不能为零
{
NCRStatisc.OKRate = Math.Round((double)NCRStatisc.OKNum / (double)NCRStatisc.CheckNum * 100, 2) + "%";//保留两位小数、后四舍五入
@@ -862,6 +866,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
StatisticsLast.WorkName = "合计";
foreach (Model.NCRReportStatisc item in StatisticsList)
{
StatisticsLast.CurrentPeriodOkNum += item.CurrentPeriodOkNum;
StatisticsLast.OKNum += item.OKNum;
StatisticsLast.CheckNum += item.CheckNum;
}
@@ -889,7 +894,7 @@ namespace FineUIPro.Web.CQMS.ManageReport
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#接收单位#本周已完成#累计已完成#累计完成比例";
string headerStr = "序号#接收单位#本周已完成#累计已完成#NCR总数#累计完成比例";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
@@ -1004,23 +1009,53 @@ namespace FineUIPro.Web.CQMS.ManageReport
orderby y.UnitCode
select new { x.UnitId, y.UnitName };
var db = Funs.DB;
foreach (var item in units)
{
//单位下所有集合
List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var query = from c in db.Comprehensive_InspectionPerson
join u in db.Base_Unit on c.UnitId equals u.UnitId into unitJoin
from u in unitJoin.DefaultIfEmpty()
join cn in db.Base_CNProfessional on c.CNProfessionalId equals cn.CNProfessionalId into cnJoin
from cn in cnJoin.DefaultIfEmpty()
join p in db.Base_Post on c.PostId equals p.PostId into postJoin
from p in postJoin.DefaultIfEmpty()
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
select new
{
c.InspectionPersonId,
c.ProjectId,
u.UnitId,
u.UnitName,
c.PersonName,
c.ApprovalTime,
cn.ProfessionalName,
p.PostName
};
//单位下所有集合
// List<Model.BS_Welder> totalWelderList = BLL.PersonManageService.GetWelderListByUnitId(this.CurrUser.LoginProjectId, item.UnitId);
//List<Model.BS_Welder> welderList = BLL.PersonManageService.GetWelderListByUnitIdAndDate(this.CurrUser.LoginProjectId, item.UnitId, startDate, endDate);
var totalWelderList = query.ToList();
var welderList = query
.Where(x => (x.ApprovalTime >= Convert.ToDateTime(startDate) && x.ApprovalTime <= Convert.ToDateTime(endDate)));
Model.PassWelderStatisc passWelderStatisc = new Model.PassWelderStatisc();
passWelderStatisc.Num = i;
passWelderStatisc.UnitName = item.UnitName;
passWelderStatisc.PipeMountGuard = welderList.Count(x => x.WED_Remark == "管道");
passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.WED_Remark == "管道");
passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.WED_Remark == "钢结构");
passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.WED_Remark == "钢结构");
passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.WED_Remark == "设备");
passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.WED_Remark == "设备");
passWelderStatisc.OtherMountGuard = welderList.Count(x => x.WED_Remark == "其他");
passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.WED_Remark == "其他");
passWelderStatisc.PipeMountGuard = welderList.Count(x => x.ProfessionalName == "管道" && x.PostName == "焊工");
passWelderStatisc.PipeTotal = totalWelderList.Count(x => x.ProfessionalName == "管道" && x.PostName == "焊工");
passWelderStatisc.SteelStructureMountGuard = welderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.SteelStructureTotal = totalWelderList.Count(x => x.ProfessionalName == "土建" && x.PostName == "焊工");
passWelderStatisc.EquipmentMountGuard = welderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.EquipmentTotal = totalWelderList.Count(x => x.ProfessionalName == "设备" && x.PostName == "焊工");
passWelderStatisc.OtherMountGuard = welderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
passWelderStatisc.OtherTotal = totalWelderList.Count(x => x.ProfessionalName != "管道" && x.ProfessionalName != "土建" && x.ProfessionalName != "设备" && x.PostName == "焊工");
StatisticsList.Add(passWelderStatisc);
i++;
}
@@ -1063,6 +1098,70 @@ namespace FineUIPro.Web.CQMS.ManageReport
}
#endregion
#region
public void ConstructionStatisticsr()
{
var db = Funs.DB;
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
DateTime projectStartDate = Convert.ToDateTime("2015-01-01");
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(this.CurrUser.LoginProjectId);
if (project != null)
{
if (project.StartDate != null)
{
projectStartDate = Convert.ToDateTime(project.StartDate);
}
}
int i = 1;
var q = from x in db.Solution_CQMSConstructSolution
where x.CompileDate >= Convert.ToDateTime(startDate) && x.CompileDate <= Convert.ToDateTime(endDate)
group x by new { x.UnitId, State = x.State == "3", ProjectId = x.ProjectId == project.ProjectId }
into g
select new
{
UnitName = BLL.UnitService.GetUnitNameByUnitId(g.Key.UnitId),
Count = g.Key.UnitId.Count(),
};
var result = q.ToList().Select((item, index) => new
{
Index = index + 1,
item.UnitName,
item.Count
});
if (result.Count() > 0) //增加总计
{
int totalCount = result.Sum(item => item.Count);
result = result.Concat(new[]
{
new
{
Index = result.Count() + 1,
UnitName = "合计",
Count = totalCount
}
});
}
this.gvConstructionStatistics.DataSource = result;
this.gvConstructionStatistics.DataBind();
}
protected void gvConstructionStatistics_RowCreated(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.Header)
{
string headerStr = "序号#报审单位#完成数量";
DynamicTHeaderHepler dHelper = new DynamicTHeaderHepler();
dHelper.SplitTableHeader(e.Row, headerStr);
}
}
#endregion
#region
/// <summary>
/// 增加下周质量控制重点
@@ -1146,6 +1245,8 @@ namespace FineUIPro.Web.CQMS.ManageReport
NCRBindStatisc();//NCR统计
DesignChangeOrderBindStatisc();//设计变更统计
PassWelderBindStatisc();//合格焊工统计
ConstructionStatisticsr();//施工方案统计
}
}
#endregion
@@ -7,11 +7,13 @@
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.CQMS.ManageReport {
public partial class WeekReportEdit {
namespace FineUIPro.Web.CQMS.ManageReport
{
public partial class WeekReportEdit
{
/// <summary>
/// form1 控件。
/// </summary>
@@ -20,7 +22,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
/// <summary>
/// PageManager1 控件。
/// </summary>
@@ -29,7 +31,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.PageManager PageManager1;
/// <summary>
/// ContentPanel1 控件。
/// </summary>
@@ -38,7 +40,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.ContentPanel ContentPanel1;
/// <summary>
/// Table1 控件。
/// </summary>
@@ -47,7 +49,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table1;
/// <summary>
/// tabbtn 控件。
/// </summary>
@@ -56,7 +58,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn;
/// <summary>
/// image15 控件。
/// </summary>
@@ -65,7 +67,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image15;
/// <summary>
/// btnSave 控件。
/// </summary>
@@ -74,7 +76,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnSave;
/// <summary>
/// btnPrint 控件。
/// </summary>
@@ -83,7 +85,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnPrint;
/// <summary>
/// Table5 控件。
/// </summary>
@@ -92,7 +94,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table5;
/// <summary>
/// lblProjectName 控件。
/// </summary>
@@ -101,7 +103,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblProjectName;
/// <summary>
/// Label1 控件。
/// </summary>
@@ -110,7 +112,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label1;
/// <summary>
/// txtPeriod 控件。
/// </summary>
@@ -119,7 +121,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtPeriod;
/// <summary>
/// RequiredFieldValidator1 控件。
/// </summary>
@@ -128,7 +130,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1;
/// <summary>
/// Label2 控件。
/// </summary>
@@ -137,7 +139,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label Label2;
/// <summary>
/// lblTital 控件。
/// </summary>
@@ -146,7 +148,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Label lblTital;
/// <summary>
/// Table2 控件。
/// </summary>
@@ -155,7 +157,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table2;
/// <summary>
/// txtStartDate 控件。
/// </summary>
@@ -164,7 +166,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtStartDate;
/// <summary>
/// txtEndDate 控件。
/// </summary>
@@ -173,7 +175,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txtEndDate;
/// <summary>
/// Table3 控件。
/// </summary>
@@ -182,7 +184,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table3;
/// <summary>
/// image1 控件。
/// </summary>
@@ -191,7 +193,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image1;
/// <summary>
/// btnAddThisWeekAndMonthContent 控件。
/// </summary>
@@ -200,7 +202,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddThisWeekAndMonthContent;
/// <summary>
/// gvThisWeekOrMonthContent 控件。
/// </summary>
@@ -209,7 +211,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvThisWeekOrMonthContent;
/// <summary>
/// Table4 控件。
/// </summary>
@@ -218,7 +220,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table4;
/// <summary>
/// image2 控件。
/// </summary>
@@ -227,7 +229,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image2;
/// <summary>
/// Table6 控件。
/// </summary>
@@ -236,7 +238,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table6;
/// <summary>
/// image3 控件。
/// </summary>
@@ -245,7 +247,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image3;
/// <summary>
/// btnAddRowMaterialProblem 控件。
/// </summary>
@@ -254,7 +256,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddRowMaterialProblem;
/// <summary>
/// gvRowMaterialProblem 控件。
/// </summary>
@@ -263,7 +265,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvRowMaterialProblem;
/// <summary>
/// Table7 控件。
/// </summary>
@@ -272,7 +274,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table7;
/// <summary>
/// image4 控件。
/// </summary>
@@ -281,7 +283,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image4;
/// <summary>
/// btnAddConstructionProblems 控件。
/// </summary>
@@ -290,7 +292,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnAddConstructionProblems;
/// <summary>
/// gvConstructionProblems 控件。
/// </summary>
@@ -299,7 +301,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionProblems;
/// <summary>
/// Table8 控件。
/// </summary>
@@ -308,7 +310,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table8;
/// <summary>
/// image5 控件。
/// </summary>
@@ -317,7 +319,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image5;
/// <summary>
/// Table9 控件。
/// </summary>
@@ -326,7 +328,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table9;
/// <summary>
/// image6 控件。
/// </summary>
@@ -335,7 +337,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image6;
/// <summary>
/// txt1 控件。
/// </summary>
@@ -344,7 +346,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt1;
/// <summary>
/// txt2 控件。
/// </summary>
@@ -353,7 +355,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt2;
/// <summary>
/// txt3 控件。
/// </summary>
@@ -362,7 +364,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt3;
/// <summary>
/// txt4 控件。
/// </summary>
@@ -371,7 +373,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt4;
/// <summary>
/// txt5 控件。
/// </summary>
@@ -380,7 +382,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt5;
/// <summary>
/// txt6 控件。
/// </summary>
@@ -389,7 +391,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt6;
/// <summary>
/// txt7 控件。
/// </summary>
@@ -398,7 +400,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt7;
/// <summary>
/// txt8 控件。
/// </summary>
@@ -407,7 +409,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt8;
/// <summary>
/// txt9 控件。
/// </summary>
@@ -416,7 +418,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.TextBox txt9;
/// <summary>
/// image7 控件。
/// </summary>
@@ -425,7 +427,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image7;
/// <summary>
/// gvTJ 控件。
/// </summary>
@@ -434,7 +436,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvTJ;
/// <summary>
/// gvSB 控件。
/// </summary>
@@ -443,7 +445,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvSB;
/// <summary>
/// gvGD 控件。
/// </summary>
@@ -452,7 +454,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvGD;
/// <summary>
/// gvDQ 控件。
/// </summary>
@@ -461,7 +463,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvDQ;
/// <summary>
/// gvYB 控件。
/// </summary>
@@ -470,7 +472,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvYB;
/// <summary>
/// gvFF 控件。
/// </summary>
@@ -479,7 +481,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvFF;
/// <summary>
/// gvXF 控件。
/// </summary>
@@ -488,7 +490,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvXF;
/// <summary>
/// image8 控件。
/// </summary>
@@ -497,7 +499,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image8;
/// <summary>
/// gvHJGLStatisc 控件。
/// </summary>
@@ -506,7 +508,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvHJGLStatisc;
/// <summary>
/// image9 控件。
/// </summary>
@@ -515,7 +517,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image9;
/// <summary>
/// gvNCRStatisc 控件。
/// </summary>
@@ -524,7 +526,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNCRStatisc;
/// <summary>
/// image10 控件。
/// </summary>
@@ -533,7 +535,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image10;
/// <summary>
/// gvCheckStatisc 控件。
/// </summary>
@@ -542,7 +544,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvCheckStatisc;
/// <summary>
/// image11 控件。
/// </summary>
@@ -551,7 +553,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image11;
/// <summary>
/// gvPassWelder 控件。
/// </summary>
@@ -560,7 +562,25 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvPassWelder;
/// <summary>
/// image13 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image13;
/// <summary>
/// gvConstructionStatistics 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvConstructionStatistics;
/// <summary>
/// Table10 控件。
/// </summary>
@@ -569,7 +589,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.HtmlControls.HtmlTable Table10;
/// <summary>
/// image12 控件。
/// </summary>
@@ -578,7 +598,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.Image image12;
/// <summary>
/// btnNextQualityControl 控件。
/// </summary>
@@ -587,7 +607,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.ImageButton btnNextQualityControl;
/// <summary>
/// gvNextQualityControl 控件。
/// </summary>
@@ -596,7 +616,7 @@ namespace FineUIPro.Web.CQMS.ManageReport {
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::System.Web.UI.WebControls.GridView gvNextQualityControl;
/// <summary>
/// ValidationSummary1 控件。
/// </summary>