diff --git a/DataBase/版本日志/SUBQHSE_V2026-01-16-xiaj(现场质量问题台账).sql b/DataBase/版本日志/SUBQHSE_V2026-01-16-xiaj(现场质量问题台账).sql new file mode 100644 index 00000000..245ac0df --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2026-01-16-xiaj(现场质量问题台账).sql @@ -0,0 +1,44 @@ + + + + + +--ֳ̨ + +/******************************************************************************* + +ֳ̨޸ +1˵ƵNCR = ֳ̨ +2ͬʷ +3ֶΣֳԴĿǰʵʩչ״ + +*******************************************************************************/ + +update Sys_Menu set MenuName='ֳ̨' where MenuName='NCR' + +go + +update Sys_Menu set MenuName='ֳ̨ͳ' where MenuName='NCRͳ' + +go + + +--ʷݴԭ״̬ǰ油䣺ʩ- +update Comprehensive_NCRManagement +set Problem=REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(Problem, 'Ʒλ', 'ʩ-Ʒλ'), 'ʩ', 'ʩ-ʩ'), 'Ҫʩ', 'ʩ-Ҫʩ'), '', 'ʩ-'), 'ȱ', 'ʩ-ȱ'), '̼ලλ', 'ʩ-̼ලλ') +where Problem is not null and Problem not like '%ʩ-%' + +go + + + +--ֶΣֳԴĿǰʵʩչ״ +IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'Comprehensive_NCRManagement' AND COLUMN_NAME = 'Source') +BEGIN + ALTER TABLE Comprehensive_NCRManagement ADD Source nvarchar(100); + ALTER TABLE Comprehensive_NCRManagement ADD ProgressStatus nvarchar(100); + EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ֳԴ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_NCRManagement', @level2type=N'COLUMN',@level2name=N'Source' + EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ŀǰʵʩչ״' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_NCRManagement', @level2type=N'COLUMN',@level2name=N'ProgressStatus' +END +GO + diff --git a/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs b/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs index ab6f1e80..ac597017 100644 --- a/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs +++ b/SGGL/BLL/CQMS/Comprehensive/NCRManagementService.cs @@ -7,7 +7,7 @@ using System.Collections; namespace BLL { /// - /// NCR管理 + /// 现场质量问题台账 /// public static class NCRManagementService { @@ -84,7 +84,7 @@ namespace BLL } /// - /// 根据主键获取NCR管理 + /// 根据主键获取现场质量问题台账 /// /// /// @@ -94,7 +94,7 @@ namespace BLL } /// - /// 添加NCR管理 + /// 添加现场质量问题台账 /// /// public static void AddNCRManagement(Model.Comprehensive_NCRManagement nCRManagement) @@ -120,6 +120,8 @@ namespace BLL newNCRManagement.Status = nCRManagement.Status; newNCRManagement.Problem = nCRManagement.Problem; newNCRManagement.Measure = nCRManagement.Measure; + newNCRManagement.Source = nCRManagement.Source; + newNCRManagement.ProgressStatus = nCRManagement.ProgressStatus; newNCRManagement.RemarkCode = nCRManagement.RemarkCode; newNCRManagement.Supervisor = nCRManagement.Supervisor; db.Comprehensive_NCRManagement.InsertOnSubmit(newNCRManagement); @@ -127,7 +129,7 @@ namespace BLL } /// - /// 修改NCR管理 + /// 修改现场质量问题台账 /// /// public static void UpdateNCRManagement(Model.Comprehensive_NCRManagement nCRManagement) @@ -153,6 +155,8 @@ namespace BLL newNCRManagement.Status = nCRManagement.Status; newNCRManagement.Problem = nCRManagement.Problem; newNCRManagement.Measure = nCRManagement.Measure; + newNCRManagement.Source = nCRManagement.Source; + newNCRManagement.ProgressStatus = nCRManagement.ProgressStatus; newNCRManagement.RemarkCode = nCRManagement.RemarkCode; newNCRManagement.Supervisor = nCRManagement.Supervisor; db.SubmitChanges(); @@ -160,7 +164,7 @@ namespace BLL } /// - /// 根据主键删除NCR管理 + /// 根据主键删除现场质量问题台账 /// /// public static void DeleteNCRManagement(string nCRManagementId) diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index 901ff015..9ca3f0f7 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -3290,9 +3290,10 @@ namespace BLL /// public const string TechnologyUrl = "File\\Excel\\TestRun\\设备一览表.xlsx"; /// - /// NCR管理导入模版文件原始的虚拟路径 + /// 现场质量问题台账导入模版文件原始的虚拟路径 /// public const string NCRManagementDataInUrl = "File\\Excel\\DataIn\\NCR管理导入模板.xls"; + public const string NCRManagementDataInUrlOld = "File\\Excel\\DataIn\\现场质量问题台账导入模板.xls"; /// /// WBS导入模版文件原始的虚拟路径 /// @@ -4224,7 +4225,7 @@ namespace BLL public const string Inspection_Test_PlanMenuId = "A70EA41D-0B45-4753-AC77-BF28DA066402"; /// - /// NCR管理 + /// 现场质量问题台账 /// public const string NCRManagementMenuId = "7e628f48-385f-4d52-8063-d0f812514316"; diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx index 326dfbe2..20f2c8da 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx @@ -5,7 +5,7 @@ - NCR管理 + 现场质量问题台账
@@ -13,7 +13,7 @@ - - + + + + + + + + + + + + + + + + @@ -50,10 +65,13 @@ + + - @@ -81,6 +99,9 @@ + + @@ -98,17 +119,17 @@ - <%-- + <%-- --%> - <%----%> - + <%----%> + - + @@ -129,15 +150,15 @@ - - diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs index ffe8538a..03b177da 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs @@ -30,7 +30,7 @@ namespace FineUIPro.Web.Comprehensive public void BindGrid() { string strSql = @"select C.NCRManagementId, C.ProjectId, C.SendUnit, C.NCRCode, C.Contents,C.ReasonAnalysis,C.Problem,C.Measure,C.IssuedDate, C.ReceiveUnit,C.Status, - C.ClosedDate, C.CompleteDate, C.ResponsibleMan, C.AttachUrl, C.ImplementationFrontState,C.Supervisor, + C.ClosedDate, C.CompleteDate, C.ResponsibleMan, C.AttachUrl, C.ImplementationFrontState,C.Supervisor,C.Source,C.ProgressStatus, C.CompileMan, C.UnitWorkId,CN.ProfessionalName,C.CNProfessionalId,u.UnitName,C.RemarkCode,su.UserName as SupervisorName from Comprehensive_NCRManagement C left join Base_CNProfessional CN on C.CNProfessionalId=CN.CNProfessionalId @@ -49,6 +49,11 @@ namespace FineUIPro.Web.Comprehensive strSql += " AND C.CNProfessionalId =@CNProfessionalId"; listStr.Add(new SqlParameter("@CNProfessionalId", drpProfessionalId.SelectedValue)); } + if (!string.IsNullOrWhiteSpace(this.ddlSource.SelectedValue)) + { + strSql += " AND C.Source =@Source"; + listStr.Add(new SqlParameter("@Source", this.ddlSource.SelectedValue)); + } if (!string.IsNullOrEmpty(this.txtNCRCode.Text.Trim())) { strSql += " AND C.NCRCode LIKE @NCRCode"; @@ -62,6 +67,7 @@ namespace FineUIPro.Web.Comprehensive Grid1.DataSource = table; Grid1.DataBind(); } + #endregion #region 分页、排序 @@ -392,7 +398,7 @@ namespace FineUIPro.Web.Comprehensive if (lists != null) { string projectName = BLL.ProjectService.GetShortNameByProjectId(this.CurrUser.LoginProjectId); - newUrl = uploadfilepath.Replace("NCR管理导入模板", "NCR管理(" + projectName.Replace("/", "") + DateTime.Now.ToString("yyyyMMdd") + ")"); + newUrl = uploadfilepath.Replace("现场质量问题台账导入模板", "现场质量问题台账(" + projectName.Replace("/", "") + DateTime.Now.ToString("yyyyMMdd") + ")"); if (File.Exists(newUrl)) { File.Delete(newUrl); @@ -438,6 +444,10 @@ namespace FineUIPro.Web.Comprehensive cell = row.CreateCell(1); cell.CellStyle = cellStyle; + cell.SetCellValue(item.Source);//现场质量问题来源 + + cell = row.CreateCell(2); + cell.CellStyle = cellStyle; string proName = string.Empty; var cnp = BLL.CNProfessionalService.GetCNProfessional(item.CNProfessionalId); if (cnp != null) @@ -446,11 +456,11 @@ namespace FineUIPro.Web.Comprehensive } cell.SetCellValue(proName);//专业 - cell = row.CreateCell(2); + cell = row.CreateCell(3); cell.CellStyle = cellStyle; cell.SetCellValue(item.NCRCode);//NCR单号 - cell = row.CreateCell(3); + cell = row.CreateCell(4); cell.CellStyle = cellStyle; string unitWorkName = string.Empty; if (!string.IsNullOrEmpty(item.UnitWorkId)) @@ -459,27 +469,27 @@ namespace FineUIPro.Web.Comprehensive } cell.SetCellValue(unitWorkName);//单位工程 - cell = row.CreateCell(4); + cell = row.CreateCell(5); cell.CellStyle = cellStyle; cell.SetCellValue(item.Contents);//主要内容 - cell = row.CreateCell(5); + cell = row.CreateCell(6); cell.CellStyle = cellStyle; cell.SetCellValue(item.Problem);//问题类别 - cell = row.CreateCell(6); + cell = row.CreateCell(7); cell.CellStyle = cellStyle; cell.SetCellValue(item.ReasonAnalysis);//问题原因分析 - cell = row.CreateCell(7); + cell = row.CreateCell(8); cell.CellStyle = cellStyle; cell.SetCellValue(item.Measure);//改进措施 - cell = row.CreateCell(8); + cell = row.CreateCell(9); cell.CellStyle = cellStyle; cell.SetCellValue(item.IssuedDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.IssuedDate) : "");//下发日期 - cell = row.CreateCell(9); + cell = row.CreateCell(10); cell.CellStyle = cellStyle; string receiveUnitName = string.Empty; if (!string.IsNullOrEmpty(item.ReceiveUnit)) @@ -488,7 +498,11 @@ namespace FineUIPro.Web.Comprehensive } cell.SetCellValue(receiveUnitName);//接收单位 - cell = row.CreateCell(10); + cell = row.CreateCell(11); + cell.CellStyle = cellStyle; + cell.SetCellValue(item.ProgressStatus);//目前实施进展状况 + + cell = row.CreateCell(12); cell.CellStyle = cellStyle; string state = string.Empty; if (!string.IsNullOrEmpty(item.ImplementationFrontState)) @@ -497,19 +511,19 @@ namespace FineUIPro.Web.Comprehensive } cell.SetCellValue(state);//实施状态 - cell = row.CreateCell(11); + cell = row.CreateCell(13); cell.CellStyle = cellStyle; cell.SetCellValue(item.ClosedDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.ClosedDate) : "");//要求封闭日期 - cell = row.CreateCell(12); + cell = row.CreateCell(14); cell.CellStyle = cellStyle; cell.SetCellValue(item.CompleteDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.CompleteDate) : "");//完成日期 - cell = row.CreateCell(13); + cell = row.CreateCell(15); cell.CellStyle = cellStyle; cell.SetCellValue(item.ResponsibleMan);//责任人 - cell = row.CreateCell(14); + cell = row.CreateCell(16); cell.CellStyle = cellStyle; string supervisorName = string.Empty; if (!string.IsNullOrEmpty(item.Supervisor)) @@ -518,7 +532,7 @@ namespace FineUIPro.Web.Comprehensive } cell.SetCellValue(supervisorName);//监督人 - cell = row.CreateCell(15); + cell = row.CreateCell(17); cell.CellStyle = cellStyle; cell.SetCellValue(item.RemarkCode.HasValue ? item.RemarkCode.ToString() : "");//标志编号 diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.designer.cs index cf2a31a3..2e5ff943 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.Comprehensive { - - - public partial class NCRManagement { - +namespace FineUIPro.Web.Comprehensive +{ + + + public partial class NCRManagement + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// Grid1 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// ToolSearch 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar ToolSearch; - + /// /// sdrpUnitId 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList sdrpUnitId; - + /// /// drpProfessionalId 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpProfessionalId; - + /// /// txtNCRCode 控件。 /// @@ -83,7 +85,16 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtNCRCode; - + + /// + /// ddlSource 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlSource; + /// /// btnSearch 控件。 /// @@ -92,7 +103,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnSearch; - + /// /// btnNew 控件。 /// @@ -101,7 +112,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnNew; - + /// /// btnImport 控件。 /// @@ -110,7 +121,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnImport; - + /// /// btnOut 控件。 /// @@ -119,7 +130,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnOut; - + /// /// lblPageIndex 控件。 /// @@ -128,7 +139,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblPageIndex; - + /// /// Label2 控件。 /// @@ -137,7 +148,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label Label2; - + /// /// Label3 控件。 /// @@ -146,7 +157,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label Label3; - + /// /// Label1 控件。 /// @@ -155,7 +166,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label Label1; - + /// /// lbtnFileUrl 控件。 /// @@ -164,7 +175,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.LinkButton lbtnFileUrl; - + /// /// ToolbarText1 控件。 /// @@ -173,7 +184,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarText ToolbarText1; - + /// /// ddlPageSize 控件。 /// @@ -182,7 +193,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList ddlPageSize; - + /// /// Window1 控件。 /// @@ -191,7 +202,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window1; - + /// /// Window2 控件。 /// @@ -200,7 +211,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window2; - + /// /// WindowAtt 控件。 /// @@ -209,7 +220,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window WindowAtt; - + /// /// Menu1 控件。 /// @@ -218,7 +229,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Menu Menu1; - + /// /// btnMenuModify 控件。 /// @@ -227,7 +238,7 @@ namespace FineUIPro.Web.Comprehensive { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnMenuModify; - + /// /// btnMenuDel 控件。 /// diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx index f1144861..a05fe39b 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx @@ -81,50 +81,56 @@ - - + + + - - - - - - - - - + + - - - - diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx.cs index e9ee7ae9..ed21fd8b 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNew.aspx.cs @@ -249,6 +249,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive newDataInTemp.Value14 = ds.Tables[0].Rows[i][13].ToString(); newDataInTemp.Value15 = ds.Tables[0].Rows[i][14].ToString(); newDataInTemp.Value16 = ds.Tables[0].Rows[i][15].ToString(); + newDataInTemp.Value17 = ds.Tables[0].Rows[i][16].ToString(); + newDataInTemp.Value18 = ds.Tables[0].Rows[i][17].ToString(); BLL.Sys_CQMS_DataInTempService.AddDataInTemp(newDataInTemp); } @@ -277,7 +279,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive { Response.ClearContent(); string filename = Funs.GetNewFileName(); - Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("NCR管理" + filename, System.Text.Encoding.UTF8) + ".xls"); + Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("现场质量问题台账" + filename, System.Text.Encoding.UTF8) + ".xls"); Response.ContentType = "application/excel"; Response.ContentEncoding = System.Text.Encoding.UTF8; Response.Write(GetGridTableHtml(Grid1)); @@ -340,6 +342,31 @@ namespace FineUIPro.Web.CQMS.Comprehensive int i = 0; int ir = dataInTemp.Count(); string erreMessage = ""; + //问题来源 + List lstSource = new List(); + lstSource.Add("NCR-业主下发"); + lstSource.Add("NCR-监理下发"); + lstSource.Add("NCR-五环发布"); + lstSource.Add("监理通知单"); + lstSource.Add("信函"); + lstSource.Add("施工联系单"); + lstSource.Add("施工签证"); + lstSource.Add("关键事项"); + lstSource.Add("设计变更单"); + lstSource.Add("技术核定单"); + lstSource.Add("开箱检验问题清单"); + lstSource.Add("其它"); + //问题类别 + List lstProblem = new List(); + lstProblem.Add("设计问题"); + lstProblem.Add("采购问题"); + lstProblem.Add("施工管理问题-过程监督不到位"); + lstProblem.Add("施工管理问题-质量缺陷"); + lstProblem.Add("施工管理问题-质量管理问题"); + lstProblem.Add("施工管理问题-不按设计要求施工"); + lstProblem.Add("施工管理问题-不按程序施工"); + lstProblem.Add("施工管理问题-成品保护不到位"); + lstProblem.Add("其它"); foreach (var tempData in dataInTemp) { if (tempData != null) @@ -367,10 +394,25 @@ namespace FineUIPro.Web.CQMS.Comprehensive } if (!string.IsNullOrEmpty(tempData.Value2)) { - var cn = cns.Where(x => x.ProfessionalName == tempData.Value2).FirstOrDefault(); + if (!lstSource.Contains(tempData.Value2)) + { + errInfo += "问题来源[" + tempData.Value2 + "]错误;"; + } + else + { + Ins.Source = tempData.Value2; + } + } + else + { + errInfo += "问题来源为必填项;"; + } + if (!string.IsNullOrEmpty(tempData.Value3)) + { + var cn = cns.Where(x => x.ProfessionalName == tempData.Value3).FirstOrDefault(); if (cn == null) { - errInfo += "专业名称[" + tempData.Value2 + "]不存在;"; + errInfo += "专业名称[" + tempData.Value3 + "]不存在;"; } else { @@ -381,18 +423,18 @@ namespace FineUIPro.Web.CQMS.Comprehensive { errInfo += "专业名称为必填项;"; } - if (!string.IsNullOrEmpty(tempData.Value3)) + if (!string.IsNullOrEmpty(tempData.Value4)) { - Ins.NCRCode = tempData.Value3; + Ins.NCRCode = tempData.Value4; } else { - errInfo += "NCR单号为必填项;"; + errInfo += "文件编号为必填项;"; } - if (!string.IsNullOrEmpty(tempData.Value4)) + if (!string.IsNullOrEmpty(tempData.Value5)) { string unitIds = string.Empty; - string[] reunit = tempData.Value4.Split(','); + string[] reunit = tempData.Value5.Split(','); foreach (string unitWork in reunit) { var u = unitWorks.Where(x => x.UnitWorkName == unitWork.Trim()).FirstOrDefault(); @@ -412,17 +454,22 @@ namespace FineUIPro.Web.CQMS.Comprehensive } Ins.UnitWorkId = unitIds; } - if (!string.IsNullOrEmpty(tempData.Value5))//主要内容 + if (!string.IsNullOrEmpty(tempData.Value6))//主要内容 { - Ins.Contents = tempData.Value5; + Ins.Contents = tempData.Value6; } - if (!string.IsNullOrEmpty(tempData.Value6.Trim())) + if (!string.IsNullOrEmpty(tempData.Value7.Trim())) { - string[] strs = tempData.Value6.Trim().Split(','); + string[] strs = tempData.Value7.Trim().Split(','); bool b = true; foreach (var item in strs) { - if (item != "过程监督不到位" && item != "质量缺陷" && item != "质量管理问题" && item != "不按设计要求施工" && item != "不按程序施工" && item != "成品保护不到位") + //if (item != "施工管理问题-过程监督不到位" && item != "施工管理问题-质量缺陷" && item != "施工管理问题-质量管理问题" && item != "施工管理问题-不按设计要求施工" && item != "施工管理问题-不按程序施工" && item != "施工管理问题-成品保护不到位") + //{ + // errInfo += "问题类别[" + item + "]错误;"; + // b = false; + //} + if (!lstProblem.Contains(item)) { errInfo += "问题类别[" + item + "]错误;"; b = false; @@ -430,36 +477,36 @@ namespace FineUIPro.Web.CQMS.Comprehensive } if (b) { - Ins.Problem = tempData.Value6.Trim(); + Ins.Problem = tempData.Value7.Trim(); } } - if (!string.IsNullOrEmpty(tempData.Value7.Trim()))//问题原因分析 + if (!string.IsNullOrEmpty(tempData.Value8.Trim()))//问题原因分析 { - Ins.ReasonAnalysis = tempData.Value7.Trim(); + Ins.ReasonAnalysis = tempData.Value8.Trim(); } - if (!string.IsNullOrEmpty(tempData.Value8.Trim()))//改进措施 + if (!string.IsNullOrEmpty(tempData.Value9.Trim()))//改进措施 { - Ins.Measure = tempData.Value8.Trim(); + Ins.Measure = tempData.Value9.Trim(); } - if (!string.IsNullOrEmpty(tempData.Value9.Trim())) + if (!string.IsNullOrEmpty(tempData.Value10.Trim())) { try { - Ins.IssuedDate = Funs.GetNewDateTime(tempData.Value9.Trim()); + Ins.IssuedDate = Funs.GetNewDateTime(tempData.Value10.Trim()); if (Ins.IssuedDate == null) { - errInfo += "下发日期[" + tempData.Value9.Trim() + "]错误;"; + errInfo += "下发日期[" + tempData.Value10.Trim() + "]错误;"; } } catch (Exception) { - errInfo += "下发日期[" + tempData.Value9.Trim() + "]错误;"; + errInfo += "下发日期[" + tempData.Value10.Trim() + "]错误;"; } } - if (!string.IsNullOrEmpty(tempData.Value10.Trim())) + if (!string.IsNullOrEmpty(tempData.Value11.Trim())) { string unitIds = string.Empty; - string[] reunit = tempData.Value10.Split(','); + string[] reunit = tempData.Value11.Split(','); foreach (string unitName in reunit) { var u = units.Where(x => x.UnitName == unitName.Trim()).FirstOrDefault(); @@ -478,54 +525,58 @@ namespace FineUIPro.Web.CQMS.Comprehensive } Ins.ReceiveUnit = unitIds; } - if (!string.IsNullOrEmpty(tempData.Value11.Trim())) + if (!string.IsNullOrEmpty(tempData.Value12.Trim()))//目前实施进展状况 { - if (tempData.Value11.Trim() != "整改中" && tempData.Value11.Trim() != "已闭合") + Ins.ProgressStatus = tempData.Value12.Trim(); + } + if (!string.IsNullOrEmpty(tempData.Value13.Trim())) + { + if (tempData.Value13.Trim() != "整改中" && tempData.Value13.Trim() != "已闭合") { - errInfo += "实时状态[" + tempData.Value11.Trim() + "]错误;"; + errInfo += "实时状态[" + tempData.Value13.Trim() + "]错误;"; } else { - Ins.ImplementationFrontState = tempData.Value11.Trim(); + Ins.ImplementationFrontState = tempData.Value13.Trim(); } } - if (!string.IsNullOrEmpty(tempData.Value12)) + if (!string.IsNullOrEmpty(tempData.Value14)) { try { - Ins.ClosedDate = Funs.GetNewDateTime(tempData.Value12); + Ins.ClosedDate = Funs.GetNewDateTime(tempData.Value14); if (Ins.ClosedDate == null) { - errInfo += "要求关闭日期[" + tempData.Value12.Trim() + "]错误;"; + errInfo += "要求关闭日期[" + tempData.Value14.Trim() + "]错误;"; } } catch (Exception) { - errInfo += "要求关闭日期[" + tempData.Value12.Trim() + "]错误;"; + errInfo += "要求关闭日期[" + tempData.Value14.Trim() + "]错误;"; } } - if (!string.IsNullOrEmpty(tempData.Value13)) + if (!string.IsNullOrEmpty(tempData.Value15)) { try { - Ins.CompleteDate = Funs.GetNewDateTime(tempData.Value13); + Ins.CompleteDate = Funs.GetNewDateTime(tempData.Value15); if (Ins.CompleteDate == null) { - errInfo += "完成日期[" + tempData.Value13.Trim() + "]错误;"; + errInfo += "完成日期[" + tempData.Value15.Trim() + "]错误;"; } } catch (Exception) { - errInfo += "完成日期[" + tempData.Value13.Trim() + "]错误;"; + errInfo += "完成日期[" + tempData.Value15.Trim() + "]错误;"; } } - if (!string.IsNullOrEmpty(tempData.Value14.Trim()))//责任人 + if (!string.IsNullOrEmpty(tempData.Value16.Trim()))//责任人 { - Ins.ResponsibleMan = tempData.Value14.Trim(); + Ins.ResponsibleMan = tempData.Value16.Trim(); } - if (!string.IsNullOrEmpty(tempData.Value15.Trim()))//监督人 + if (!string.IsNullOrEmpty(tempData.Value17.Trim()))//监督人 { - string[] strs = tempData.Value15.Trim().Split(','); + string[] strs = tempData.Value17.Trim().Split(','); bool b = true; string supervisor = string.Empty; foreach (var item in strs) @@ -549,15 +600,15 @@ namespace FineUIPro.Web.CQMS.Comprehensive } } } - if (!string.IsNullOrEmpty(tempData.Value16)) + if (!string.IsNullOrEmpty(tempData.Value18)) { try { - Ins.RemarkCode = Convert.ToInt32(tempData.Value16); + Ins.RemarkCode = Convert.ToInt32(tempData.Value18); } catch (Exception) { - errInfo += "标志编号[" + tempData.Value16 + "]格式错误;"; + errInfo += "标志编号[" + tempData.Value18 + "]格式错误;"; } } else @@ -569,7 +620,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive Ins.ProjectId = LoginProjectId; Ins.Status = BLL.Const.Comprehensive_Compile; Ins.CompileMan = this.CurrUser.UserId; - var isExitISOValue = oldViewInfos.FirstOrDefault(x => x.RemarkCode == Funs.GetNewIntOrZero(tempData.Value16)); + var isExitISOValue = oldViewInfos.FirstOrDefault(x => x.RemarkCode == Funs.GetNewIntOrZero(tempData.Value18)); if (isExitISOValue != null) ///已存在 { Ins.NCRManagementId = isExitISOValue.NCRManagementId; diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx index bbf16171..07c831b7 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx @@ -27,47 +27,55 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.cs index 23609f9c..1af4edfe 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.cs @@ -58,6 +58,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive this.txtValue14.Text = dataInTemp.Value14; this.txtValue15.Text = dataInTemp.Value15; this.txtValue16.Text = dataInTemp.Value16; + this.txtValue17.Text = dataInTemp.Value17; + this.txtValue18.Text = dataInTemp.Value18; this.lbErrCout.Text = dataInTemp.ToopValue; } @@ -257,6 +259,30 @@ namespace FineUIPro.Web.CQMS.Comprehensive } } } + if (dataInTemp.Value17 != this.txtValue17.Text.Trim()) + { + var tempValue17 = allDataInTemp.Where(x => x.Value17 == dataInTemp.Value17 || (x.Value17 == null && dataInTemp.Value17 == null)); + if (tempValue17 != null) + { + foreach (var item in tempValue17) + { + item.Value17 = this.txtValue17.Text.Trim(); + Funs.DB.SubmitChanges(); + } + } + } + if (dataInTemp.Value18 != this.txtValue18.Text.Trim()) + { + var tempValue18 = allDataInTemp.Where(x => x.Value18 == dataInTemp.Value18 || (x.Value18 == null && dataInTemp.Value18 == null)); + if (tempValue18 != null) + { + foreach (var item in tempValue18) + { + item.Value18 = this.txtValue18.Text.Trim(); + Funs.DB.SubmitChanges(); + } + } + } var toopValue = allDataInTemp.Where(x => x.ToopValue == dataInTemp.ToopValue); if (toopValue != null) { @@ -290,6 +316,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive newDataInTemp.Value14 = this.txtValue14.Text.Trim(); newDataInTemp.Value15 = this.txtValue15.Text.Trim(); newDataInTemp.Value16 = this.txtValue16.Text.Trim(); + newDataInTemp.Value17 = this.txtValue17.Text.Trim(); + newDataInTemp.Value18 = this.txtValue18.Text.Trim(); if (!string.IsNullOrEmpty(this.TempId)) { newDataInTemp.TempId = this.TempId; diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.designer.cs index 2ad9148c..a7036ea5 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementDataInNewEdit.aspx.designer.cs @@ -212,6 +212,24 @@ namespace FineUIPro.Web.CQMS.Comprehensive /// protected global::FineUIPro.TextBox txtValue16; + /// + /// txtValue17 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtValue17; + + /// + /// txtValue18 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtValue18; + /// /// ckAll 控件。 /// diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx index 9599b352..1a718a8f 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx @@ -21,23 +21,52 @@ - - - + + - - - - - - - + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + <%-- + + + + --%> + @@ -68,11 +97,8 @@ - - - - - + + diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs index 116d9730..59c0f0e5 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.cs @@ -83,6 +83,11 @@ namespace FineUIPro.Web.CQMS.Comprehensive string[] strs = nCRManagement.Problem.Split(','); this.ddlProblem.SelectedValueArray = strs; } + if (nCRManagement.Source != null) + { + this.ddlSource.SelectedValue = nCRManagement.Source; + } + this.txtProgressStatus.Text = nCRManagement.ProgressStatus; this.txtMeasure.Text = nCRManagement.Measure; this.txtRemarkCode.Text = nCRManagement.RemarkCode.HasValue ? nCRManagement.RemarkCode.ToString() : ""; @@ -172,7 +177,10 @@ namespace FineUIPro.Web.CQMS.Comprehensive this.drpUnitWorkIds.Readonly = true; //this.drpAudit.Readonly = true; this.ddlProblem.Readonly = true; + this.ddlSource.Readonly = true; + this.txtProgressStatus.Readonly = true; //this.btnAttach.Enabled = false; + this.txtMeasure.Readonly = true; this.txtRemarkCode.Readonly = true; this.drpSupervisor.Readonly = true; } @@ -263,6 +271,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive nCRManagement.Measure = this.txtMeasure.Text.Trim(); #endregion + nCRManagement.Source = this.ddlSource.SelectedValue; + nCRManagement.ProgressStatus = this.txtProgressStatus.Text.Trim(); if (!string.IsNullOrEmpty(this.txtIssuedDate.Text)) { nCRManagement.IssuedDate = Convert.ToDateTime(this.txtIssuedDate.Text); diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.designer.cs index a020e400..1b5819ec 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagementEdit.aspx.designer.cs @@ -69,13 +69,13 @@ namespace FineUIPro.Web.CQMS.Comprehensive protected global::FineUIPro.TextBox txtNCRCode; /// - /// txtIssuedDate 控件。 + /// txtRemarkCode 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DatePicker txtIssuedDate; + protected global::FineUIPro.NumberBox txtRemarkCode; /// /// ddlProblem 控件。 @@ -87,13 +87,31 @@ namespace FineUIPro.Web.CQMS.Comprehensive protected global::FineUIPro.DropDownList ddlProblem; /// - /// txtRemarkCode 控件。 + /// ddlImplementationFrontState 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.NumberBox txtRemarkCode; + protected global::FineUIPro.DropDownList ddlImplementationFrontState; + + /// + /// ddlSource 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlSource; + + /// + /// txtProgressStatus 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtProgressStatus; /// /// txtContents 控件。 @@ -150,13 +168,13 @@ namespace FineUIPro.Web.CQMS.Comprehensive protected global::FineUIPro.DropDownList drpSupervisor; /// - /// ddlImplementationFrontState 控件。 + /// txtIssuedDate 控件。 /// /// /// 自动生成的字段。 /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// - protected global::FineUIPro.DropDownList ddlImplementationFrontState; + protected global::FineUIPro.DatePicker txtIssuedDate; /// /// txtResponsibleMan 控件。 diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs index 4a76134f..8549c0fb 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs @@ -2649,7 +2649,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew */ #endregion - #region 14.NCR管理情况 + #region 14.现场质量问题台账情况 var NcrManagementInspection = reportItem.Where(x => x.ReType == "14").ToList(); if (NcrManagementInspection.Count > 0) { diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx index ddca4b79..68418353 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx @@ -1540,8 +1540,8 @@ --%> - <%--14.NCR管理情况--%> - + diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs index e575e23e..cc6b96a8 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs @@ -2747,7 +2747,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew //loadPipingInspection(objType); //加载13.特种设备监检情况 //loadSpecialInspection(objType); - ////加载14.NCR管理情况 + ////加载14.现场质量问题台账情况 //loadNcrManagementInspection(objType); //加载15.质量巡检情况 @@ -4799,9 +4799,9 @@ from View_MonthReport_InspectionManagement a with(nolock) */ #endregion - #region 14.NCR管理情况 gvNcrManagementInspection方法 + #region 14.现场质量问题台账情况 gvNcrManagementInspection方法 /// - /// NCR管理情况 + /// 现场质量问题台账情况 /// void loadNcrManagementInspection(string objType) { @@ -5809,7 +5809,7 @@ from View_MonthReport_InspectionManagement a with(nolock) savePipingInspection(); ////保存13.特种设备监检情况 //saveSpecialInspection(); - //保存14.NCR管理情况 + //保存14.现场质量问题台账情况 saveNcrManagementInspection(); //保存15.质量巡检情况 @@ -6805,7 +6805,7 @@ from View_MonthReport_InspectionManagement a with(nolock) */ #endregion - #region 14.NCR管理情况 + #region 14.现场质量问题台账情况 void saveNcrManagementInspection() { List detailLists = new List(); diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx index 95d35968..e1fa78b6 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx @@ -797,8 +797,8 @@ - <%--14.NCR管理情况--%> - + diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx.cs index 3c2105bc..80b6c00c 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit.aspx.cs @@ -325,7 +325,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew savePipingInspection(); //保存13.特种设备监检情况 saveSpecialInspection(); - //保存14.NCR管理情况 + //保存14.现场质量问题台账情况 saveNcrManagementInspection(); //保存15.质量巡检情况 @@ -456,7 +456,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew loadPipingInspection(objType); //加载13.特种设备监检情况 loadSpecialInspection(objType); - ////加载14.NCR管理情况 + ////加载14.现场质量问题台账情况 loadNcrManagementInspection(objType); //加载15.质量巡检情况 @@ -1086,9 +1086,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion - #region 14.NCR管理情况 gvNcrManagementInspection方法 + #region 14.现场质量问题台账情况 gvNcrManagementInspection方法 /// - /// NCR管理情况 + /// 现场质量问题台账情况 /// void loadNcrManagementInspection(string objType) { @@ -1984,7 +1984,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion - #region 14.NCR管理情况 + #region 14.现场质量问题台账情况 void saveNcrManagementInspection() { List detailLists = new List(); diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx index d84ba15b..d7666dbe 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx @@ -1355,8 +1355,8 @@ - <%--14.NCR管理情况--%> - + diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx.cs index 6c384c99..ae57af50 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportNewEdit2.aspx.cs @@ -263,7 +263,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew loadPipingInspection(objType); //加载13.特种设备监检情况 loadSpecialInspection(objType); - ////加载14.NCR管理情况 + ////加载14.现场质量问题台账情况 loadNcrManagementInspection(); //加载15.质量巡检情况 @@ -1998,9 +1998,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion - #region 14.NCR管理情况 gvNcrManagementInspection方法 + #region 14.现场质量问题台账情况 gvNcrManagementInspection方法 /// - /// NCR管理情况 + /// 现场质量问题台账情况 /// void loadNcrManagementInspection() { @@ -2584,7 +2584,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew savePipingInspection(); //保存13.特种设备监检情况 saveSpecialInspection(); - //保存14.NCR管理情况 + //保存14.现场质量问题台账情况 saveNcrManagementInspection(); //保存15.质量巡检情况 @@ -3124,7 +3124,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion - #region 14.NCR管理情况 + #region 14.现场质量问题台账情况 void saveNcrManagementInspection() { List detailLists = new List(); diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReport.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReport.aspx.cs index a223fc50..2fb67d66 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReport.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReport.aspx.cs @@ -2613,7 +2613,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion - #region 14.NCR管理情况 + #region 14.现场质量问题台账情况 var NcrManagementInspection = reportItem.Where(x => x.ReType == "14").ToList(); if (NcrManagementInspection.Count > 0) { diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx index b01244d2..b48d05d2 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx @@ -1524,8 +1524,8 @@ - <%--14.NCR管理情况--%> - + diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs index 382de83e..905512cf 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs @@ -2717,7 +2717,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew // loadPipingInspection(objType); //加载13.特种设备监检情况 // loadSpecialInspection(objType); - ////加载14.NCR管理情况 + ////加载14.现场质量问题台账情况 // loadNcrManagementInspection(objType); //加载15.质量巡检情况 @@ -4752,9 +4752,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion - #region 14.NCR管理情况 gvNcrManagementInspection方法 + #region 14.现场质量问题台账情况 gvNcrManagementInspection方法 /// - /// NCR管理情况 + /// 现场质量问题台账情况 /// void loadNcrManagementInspection(string objType) { @@ -5741,7 +5741,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew savePipingInspection(); //保存13.特种设备监检情况 saveSpecialInspection(); - //保存14.NCR管理情况 + //保存14.现场质量问题台账情况 saveNcrManagementInspection(); //保存15.质量巡检情况 @@ -6733,7 +6733,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion - #region 14.NCR管理情况 + #region 14.现场质量问题台账情况 void saveNcrManagementInspection() { List detailLists = new List(); diff --git a/SGGL/FineUIPro.Web/File/Excel/DataIn/现场质量问题台账导入模板.xls b/SGGL/FineUIPro.Web/File/Excel/DataIn/现场质量问题台账导入模板.xls new file mode 100644 index 00000000..1a610c1d Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Excel/DataIn/现场质量问题台账导入模板.xls differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量周报.doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量周报.doc index 521e9fe3..6d16b33b 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量周报.doc and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量周报.doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报.doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报.doc index 970f67b6..44128304 100644 Binary files a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报.doc and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报.doc differ diff --git a/SGGL/FineUIPro.Web/ZHGL/CQMSData/CQMSCheckData.aspx b/SGGL/FineUIPro.Web/ZHGL/CQMSData/CQMSCheckData.aspx index 28c3c721..d97b9225 100644 --- a/SGGL/FineUIPro.Web/ZHGL/CQMSData/CQMSCheckData.aspx +++ b/SGGL/FineUIPro.Web/ZHGL/CQMSData/CQMSCheckData.aspx @@ -101,7 +101,7 @@ - + diff --git a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml index 69279670..55bdd245 100644 --- a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml +++ b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml @@ -27,7 +27,7 @@ - + @@ -46,7 +46,7 @@ - + diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 75e0bcbe..1b4fc535 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -100851,6 +100851,10 @@ namespace Model private string _ReasonAnalysis; + private string _Source; + + private string _ProgressStatus; + private EntityRef _Sys_User; private EntityRef _Base_CNProfessional; @@ -100907,6 +100911,10 @@ namespace Model partial void OnSupervisorChanged(); partial void OnReasonAnalysisChanging(string value); partial void OnReasonAnalysisChanged(); + partial void OnSourceChanging(string value); + partial void OnSourceChanged(); + partial void OnProgressStatusChanging(string value); + partial void OnProgressStatusChanged(); #endregion public Comprehensive_NCRManagement() @@ -101374,6 +101382,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Source", DbType="NVarChar(100)")] + public string Source + { + get + { + return this._Source; + } + set + { + if ((this._Source != value)) + { + this.OnSourceChanging(value); + this.SendPropertyChanging(); + this._Source = value; + this.SendPropertyChanged("Source"); + this.OnSourceChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProgressStatus", DbType="NVarChar(100)")] + public string ProgressStatus + { + get + { + return this._ProgressStatus; + } + set + { + if ((this._ProgressStatus != value)) + { + this.OnProgressStatusChanging(value); + this.SendPropertyChanging(); + this._ProgressStatus = value; + this.SendPropertyChanged("ProgressStatus"); + this.OnProgressStatusChanged(); + } + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="Comprehensive_NCRManagement_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] public Sys_User Sys_User { diff --git a/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user b/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user index 627b67b7..5a3982cf 100644 --- a/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user +++ b/SGGL/WebAPI/Properties/PublishProfiles/FolderProfile.pubxml.user @@ -6,7 +6,7 @@ <_PublishTargetUrl>G:\发布\五环WebApi - True|2025-12-24T11:02:35.3684081Z||;True|2025-12-18T09:29:13.2909255+08:00||;True|2025-11-25T10:18:00.9729814+08:00||;True|2025-11-25T10:14:14.6947178+08:00||;True|2025-11-25T10:06:29.1167142+08:00||;True|2025-11-25T09:25:18.3566779+08:00||;True|2025-11-24T16:07:37.5433070+08:00||;True|2025-11-19T19:50:54.0090859+08:00||;True|2025-11-19T19:29:28.5861506+08:00||;True|2025-11-19T19:14:02.6887533+08:00||;True|2025-11-19T19:08:28.7856694+08:00||;True|2025-11-17T14:41:29.0529618+08:00||;True|2025-11-17T12:28:22.9224307+08:00||;True|2025-11-17T11:17:50.1481769+08:00||;True|2025-11-07T14:46:56.1446809+08:00||;True|2025-11-05T09:32:06.4998794+08:00||;True|2025-11-04T16:39:28.2175670+08:00||;True|2025-11-04T16:39:02.3610432+08:00||;True|2025-11-04T15:44:06.1295264+08:00||;True|2025-10-31T16:41:11.6570385+08:00||;True|2025-10-30T15:58:05.2014433+08:00||;True|2025-10-29T16:22:27.7866967+08:00||;True|2025-10-29T11:19:32.1187038+08:00||;True|2025-10-24T15:59:19.4176668+08:00||;True|2025-10-23T10:17:32.2384443+08:00||;True|2025-10-23T10:09:35.0601937+08:00||;True|2025-10-23T09:59:27.2018799+08:00||;True|2025-09-29T15:39:36.8617347+08:00||;True|2025-09-29T11:28:10.9193152+08:00||;True|2025-09-29T10:59:58.2893583+08:00||;True|2025-09-23T16:56:39.6344263+08:00||;True|2025-09-23T16:44:57.4175593+08:00||;True|2025-09-23T16:44:35.0478492+08:00||;True|2025-09-23T16:06:50.5843534+08:00||;True|2025-09-22T20:54:35.9805610+08:00||;True|2025-09-22T20:45:58.7044128+08:00||;True|2025-09-22T20:40:46.7449595+08:00||;True|2025-09-22T15:14:22.9602725+08:00||;True|2025-09-22T15:08:27.5989706+08:00||;True|2025-09-22T14:54:19.5237685+08:00||;True|2025-09-18T09:53:17.9300539+08:00||;True|2025-09-16T19:11:12.4383069+08:00||;True|2025-09-02T11:14:00.9580707+08:00||;True|2025-09-02T10:52:20.0445598+08:00||;True|2025-08-29T17:56:01.6245615+08:00||;True|2025-08-29T17:55:41.2802685+08:00||;True|2025-08-09T21:27:40.2103961+08:00||;True|2025-08-06T15:31:52.1166645+08:00||;True|2025-08-04T18:56:13.9675910+08:00||;True|2025-07-23T11:12:18.0134770+08:00||;True|2025-07-23T10:36:09.9990536+08:00||;True|2025-07-23T10:35:51.8814789+08:00||;True|2025-07-21T17:46:45.4620710+08:00||;True|2025-07-21T17:40:43.9871097+08:00||;True|2025-07-21T17:29:11.9275869+08:00||;True|2025-07-21T17:05:21.7763763+08:00||;True|2025-07-18T17:55:59.4892329+08:00||;True|2025-07-18T11:08:56.2628896+08:00||;True|2025-07-18T10:53:44.2534260+08:00||;True|2025-07-18T10:27:52.6751668+08:00||;True|2025-07-18T10:03:09.1785776+08:00||;True|2025-07-18T10:02:38.1252107+08:00||;True|2025-07-17T18:19:07.5837609+08:00||;True|2025-07-17T15:40:11.9126705+08:00||;True|2025-07-11T17:54:03.0298703+08:00||;True|2025-07-11T16:19:50.3283029+08:00||;True|2025-07-11T15:49:22.5920473+08:00||;True|2025-07-02T14:39:27.0436873+08:00||;True|2025-07-02T11:18:29.1208369+08:00||;True|2025-07-01T15:52:16.6767496+08:00||;True|2025-07-01T10:14:59.0471052+08:00||;True|2025-06-28T11:40:36.0544739+08:00||;True|2025-06-27T15:10:24.4628086+08:00||;True|2025-06-27T10:31:14.8332810+08:00||;True|2025-06-27T10:13:13.3022394+08:00||;True|2025-06-26T23:51:04.1304509+08:00||;True|2025-06-26T23:34:06.4223762+08:00||;True|2025-06-26T22:42:08.9018138+08:00||;True|2025-06-26T22:16:01.8954571+08:00||;True|2025-06-26T21:19:42.2638204+08:00||;True|2025-06-25T23:22:39.7267591+08:00||;True|2025-06-25T23:19:33.2378458+08:00||;True|2025-06-25T22:18:16.2863303+08:00||;True|2025-06-25T22:10:29.2540175+08:00||;True|2025-06-25T22:00:58.5212166+08:00||;True|2025-06-25T22:00:31.2531214+08:00||;True|2025-06-25T18:33:01.5770030+08:00||;True|2025-06-25T17:47:33.7779622+08:00||;True|2025-06-25T17:40:26.9905954+08:00||;True|2025-06-20T11:24:58.4099232+08:00||;True|2025-06-19T16:42:45.2358810+08:00||;True|2025-06-16T19:28:10.6447738+08:00||;True|2025-06-12T11:00:02.3559090+08:00||;True|2025-06-12T10:40:29.0324520+08:00||;True|2025-06-04T23:24:01.0324973+08:00||;True|2025-06-04T18:39:41.7304136+08:00||;True|2025-06-04T11:23:17.3803405+08:00||;True|2025-06-04T11:04:32.4212196+08:00||;True|2025-05-26T19:19:09.7246357+08:00||;True|2025-05-26T19:16:39.1283077+08:00||; + True|2026-01-19T06:30:45.4370000Z||;True|2025-12-24T19:02:35.3684081+08:00||;True|2025-12-18T09:29:13.2909255+08:00||;True|2025-11-25T10:18:00.9729814+08:00||;True|2025-11-25T10:14:14.6947178+08:00||;True|2025-11-25T10:06:29.1167142+08:00||;True|2025-11-25T09:25:18.3566779+08:00||;True|2025-11-24T16:07:37.5433070+08:00||;True|2025-11-19T19:50:54.0090859+08:00||;True|2025-11-19T19:29:28.5861506+08:00||;True|2025-11-19T19:14:02.6887533+08:00||;True|2025-11-19T19:08:28.7856694+08:00||;True|2025-11-17T14:41:29.0529618+08:00||;True|2025-11-17T12:28:22.9224307+08:00||;True|2025-11-17T11:17:50.1481769+08:00||;True|2025-11-07T14:46:56.1446809+08:00||;True|2025-11-05T09:32:06.4998794+08:00||;True|2025-11-04T16:39:28.2175670+08:00||;True|2025-11-04T16:39:02.3610432+08:00||;True|2025-11-04T15:44:06.1295264+08:00||;True|2025-10-31T16:41:11.6570385+08:00||;True|2025-10-30T15:58:05.2014433+08:00||;True|2025-10-29T16:22:27.7866967+08:00||;True|2025-10-29T11:19:32.1187038+08:00||;True|2025-10-24T15:59:19.4176668+08:00||;True|2025-10-23T10:17:32.2384443+08:00||;True|2025-10-23T10:09:35.0601937+08:00||;True|2025-10-23T09:59:27.2018799+08:00||;True|2025-09-29T15:39:36.8617347+08:00||;True|2025-09-29T11:28:10.9193152+08:00||;True|2025-09-29T10:59:58.2893583+08:00||;True|2025-09-23T16:56:39.6344263+08:00||;True|2025-09-23T16:44:57.4175593+08:00||;True|2025-09-23T16:44:35.0478492+08:00||;True|2025-09-23T16:06:50.5843534+08:00||;True|2025-09-22T20:54:35.9805610+08:00||;True|2025-09-22T20:45:58.7044128+08:00||;True|2025-09-22T20:40:46.7449595+08:00||;True|2025-09-22T15:14:22.9602725+08:00||;True|2025-09-22T15:08:27.5989706+08:00||;True|2025-09-22T14:54:19.5237685+08:00||;True|2025-09-18T09:53:17.9300539+08:00||;True|2025-09-16T19:11:12.4383069+08:00||;True|2025-09-02T11:14:00.9580707+08:00||;True|2025-09-02T10:52:20.0445598+08:00||;True|2025-08-29T17:56:01.6245615+08:00||;True|2025-08-29T17:55:41.2802685+08:00||;True|2025-08-09T21:27:40.2103961+08:00||;True|2025-08-06T15:31:52.1166645+08:00||;True|2025-08-04T18:56:13.9675910+08:00||;True|2025-07-23T11:12:18.0134770+08:00||;True|2025-07-23T10:36:09.9990536+08:00||;True|2025-07-23T10:35:51.8814789+08:00||;True|2025-07-21T17:46:45.4620710+08:00||;True|2025-07-21T17:40:43.9871097+08:00||;True|2025-07-21T17:29:11.9275869+08:00||;True|2025-07-21T17:05:21.7763763+08:00||;True|2025-07-18T17:55:59.4892329+08:00||;True|2025-07-18T11:08:56.2628896+08:00||;True|2025-07-18T10:53:44.2534260+08:00||;True|2025-07-18T10:27:52.6751668+08:00||;True|2025-07-18T10:03:09.1785776+08:00||;True|2025-07-18T10:02:38.1252107+08:00||;True|2025-07-17T18:19:07.5837609+08:00||;True|2025-07-17T15:40:11.9126705+08:00||;True|2025-07-11T17:54:03.0298703+08:00||;True|2025-07-11T16:19:50.3283029+08:00||;True|2025-07-11T15:49:22.5920473+08:00||;True|2025-07-02T14:39:27.0436873+08:00||;True|2025-07-02T11:18:29.1208369+08:00||;True|2025-07-01T15:52:16.6767496+08:00||;True|2025-07-01T10:14:59.0471052+08:00||;True|2025-06-28T11:40:36.0544739+08:00||;True|2025-06-27T15:10:24.4628086+08:00||;True|2025-06-27T10:31:14.8332810+08:00||;True|2025-06-27T10:13:13.3022394+08:00||;True|2025-06-26T23:51:04.1304509+08:00||;True|2025-06-26T23:34:06.4223762+08:00||;True|2025-06-26T22:42:08.9018138+08:00||;True|2025-06-26T22:16:01.8954571+08:00||;True|2025-06-26T21:19:42.2638204+08:00||;True|2025-06-25T23:22:39.7267591+08:00||;True|2025-06-25T23:19:33.2378458+08:00||;True|2025-06-25T22:18:16.2863303+08:00||;True|2025-06-25T22:10:29.2540175+08:00||;True|2025-06-25T22:00:58.5212166+08:00||;True|2025-06-25T22:00:31.2531214+08:00||;True|2025-06-25T18:33:01.5770030+08:00||;True|2025-06-25T17:47:33.7779622+08:00||;True|2025-06-25T17:40:26.9905954+08:00||;True|2025-06-20T11:24:58.4099232+08:00||;True|2025-06-19T16:42:45.2358810+08:00||;True|2025-06-16T19:28:10.6447738+08:00||;True|2025-06-12T11:00:02.3559090+08:00||;True|2025-06-12T10:40:29.0324520+08:00||;True|2025-06-04T23:24:01.0324973+08:00||;True|2025-06-04T18:39:41.7304136+08:00||;True|2025-06-04T11:23:17.3803405+08:00||;True|2025-06-04T11:04:32.4212196+08:00||;True|2025-05-26T19:19:09.7246357+08:00||; @@ -86,22 +86,22 @@ 10/28/2024 14:02:50 - 01/07/2026 10:21:13 + 01/19/2026 14:30:43 - 01/07/2026 10:21:13 + 01/19/2026 14:30:43 12/06/2024 20:13:58 - 01/07/2026 10:20:54 + 01/19/2026 14:30:21 12/26/2024 09:46:52 - 01/07/2026 10:20:54 + 01/19/2026 14:30:21 12/18/2020 05:32:28 @@ -128,13 +128,13 @@ 07/25/2012 19:48:56 - 01/07/2026 10:20:48 + 01/19/2026 14:30:13 - 01/07/2026 10:20:48 + 01/19/2026 14:30:13 - 12/09/2025 18:19:15 + 01/14/2026 20:19:17 03/18/2021 04:03:36 @@ -332,7 +332,7 @@ 04/15/2020 06:49:20 - 12/09/2025 18:19:15 + 01/14/2026 20:19:17 02/19/2020 18:05:18 @@ -347,7 +347,7 @@ 02/19/2020 18:05:16 - 12/09/2025 18:19:15 + 01/14/2026 20:19:17 11/28/2018 20:58:44 @@ -389,13 +389,13 @@ 02/09/2013 00:42:28 - 01/07/2026 10:20:55 + 01/19/2026 14:30:22 - 01/07/2026 10:20:55 + 01/19/2026 14:30:22 - 01/07/2026 10:20:55 + 01/19/2026 14:30:22 01/23/2014 21:57:34 @@ -479,7 +479,7 @@ 10/28/2024 14:02:50 - 01/07/2026 10:20:56 + 01/19/2026 14:30:23 10/28/2024 14:02:50 diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index cbae34bb..d38a848b 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@ - Debug|Any CPU + Release|Any CPU true