diff --git a/DataBase/版本日志/SGGLDB_WH_2024-04-02.sql b/DataBase/版本日志/SGGLDB_WH_2024-04-02.sql new file mode 100644 index 00000000..2742231a --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_2024-04-02.sql @@ -0,0 +1,171 @@ +update Sys_Menu set IsUsed=0 where MenuId='a4f071a6-51cb-45b1-bbac-93a02f1cb98a' +update Sys_Menu set IsUsed=0 where MenuId='4a9df3ce-88fd-42a4-aac2-5a7b86edd578' +go + +insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +values('E7C8C938-661C-438F-852F-F0A4C285306B','շĵǼǼ¼','CQMS/Comprehensive/DataReceivingDoc.aspx',100,'4a0e62cb-ee50-4a14-80b7-377602e9902c','Menu_CQMS',0,1,1) +go + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('4591188A-5877-4751-B303-11126ABC8463','E7C8C938-661C-438F-852F-F0A4C285306B','',1) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('3BD831A3-7F32-4F5C-8AD0-83DF10BA6E05','E7C8C938-661C-438F-852F-F0A4C285306B','޸',2) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('EAC5D385-83D4-441E-A1F1-619C163241DD','E7C8C938-661C-438F-852F-F0A4C285306B','ɾ',3) + insert into Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex) + values('26758668-2253-4B3C-8EAE-F2E36BE87BBF','E7C8C938-661C-438F-852F-F0A4C285306B','',4) + go + + + +CREATE TABLE [dbo].[Comprehensive_DataReceivingDoc]( + [DataReceivingDocId] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [FileCode] [nvarchar](100) NULL, + [FileName] [nvarchar](150) NULL, + [ReceiveDate] [datetime] NULL, + [FileType] [nvarchar](50) NULL, + [CNProfessionalId] [nvarchar](50) NULL, + [SendUnit] [nvarchar](500) NULL, + [SendMan] [nvarchar](50) NULL, + [Copies] [int] NULL, + [DocumentHandler] [nvarchar](50) NULL, + [SendDate] [datetime] NULL, + [ReceiveUnit] [nvarchar](500) NULL, + [ReceiveMan] [nvarchar](50) NULL, + [IsReply] [bit] NULL, + [ReturnWuhuangDate] [datetime] NULL, + [RetrunWuhuangCopies] [int] NULL, + [IssueToUnit] [nvarchar](500) NULL, + [IssueCopies] [int] NULL, + [IssueUnitReceiver] [nvarchar](50) NULL, + [IsOnFile] [bit] NULL, + [CompileMan] [nvarchar](50) NULL, + [CompileDate] [datetime] NULL, + [Status] [nchar](2) NULL, + [AuditMan] [nvarchar](50) NULL, + CONSTRAINT [PK_Comprehensive_DataReceivingDoc] PRIMARY KEY CLUSTERED +( + [DataReceivingDocId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDoc] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_DataReceivingDoc_Base_CNProfessional] FOREIGN KEY([CNProfessionalId]) +REFERENCES [dbo].[Base_CNProfessional] ([CNProfessionalId]) +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDoc] CHECK CONSTRAINT [FK_Comprehensive_DataReceivingDoc_Base_CNProfessional] +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDoc] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_DataReceivingDoc_Base_Project] FOREIGN KEY([ProjectId]) +REFERENCES [dbo].[Base_Project] ([ProjectId]) +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDoc] CHECK CONSTRAINT [FK_Comprehensive_DataReceivingDoc_Base_Project] +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDoc] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_DataReceivingDoc_Sys_User] FOREIGN KEY([CompileMan]) +REFERENCES [dbo].[Sys_User] ([UserId]) +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDoc] CHECK CONSTRAINT [FK_Comprehensive_DataReceivingDoc_Sys_User] +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'DataReceivingDocId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'ProjectId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ļ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'FileCode' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ļ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'FileName' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'ReceiveDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ļ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'FileType' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'רҵ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'CNProfessionalId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'SendUnit' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'SendMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'Copies' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ļ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'DocumentHandler' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'SendDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'յλ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'ReceiveUnit' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'ReceiveMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƿظ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'IsReply' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'廷' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'ReturnWuhuangDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'廷' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'RetrunWuhuangCopies' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'·λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'IssueToUnit' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'·' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'IssueCopies' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'·λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'IssueUnitReceiver' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƿ浵' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'IsOnFile' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'CompileMan' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'CompileDate' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'״̬' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Comprehensive_DataReceivingDoc', @level2type=N'COLUMN',@level2name=N'Status' +GO + + +CREATE TABLE [dbo].[Comprehensive_DataReceivingDocApprove]( + [DataReceivingDocApproveId] [nvarchar](50) NOT NULL, + [DataReceivingDocId] [nvarchar](50) NULL, + [ApproveMan] [nvarchar](50) NULL, + [ApproveDate] [datetime] NULL, + [IsAgree] [bit] NULL, + [ApproveType] [varchar](2) NULL, + [ApproveIdea] [nvarchar](255) NULL, + CONSTRAINT [PK_Comprehensive_DataReceivingDocApprove] PRIMARY KEY CLUSTERED +( + [DataReceivingDocApproveId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDocApprove] WITH CHECK ADD CONSTRAINT [FK_Comprehensive_DataReceivingDocApprove_Comprehensive_DataReceivingDoc] FOREIGN KEY([DataReceivingDocId]) +REFERENCES [dbo].[Comprehensive_DataReceivingDoc] ([DataReceivingDocId]) +GO + +ALTER TABLE [dbo].[Comprehensive_DataReceivingDocApprove] CHECK CONSTRAINT [FK_Comprehensive_DataReceivingDocApprove_Comprehensive_DataReceivingDoc] +GO + +alter table Report_TextBoxContent add imageUrl nvarchar(100) +go + diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index 5d03a702..180e10e2 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -192,6 +192,8 @@ + + diff --git a/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocApproveService.cs b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocApproveService.cs new file mode 100644 index 00000000..58e87112 --- /dev/null +++ b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocApproveService.cs @@ -0,0 +1,82 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BLL +{ + /// + /// 资料收发文登记记录审核表 + /// + public class DataReceivingDocApproveService + { + /// + /// 根据资料收发文登记记录Id获取审核列表 + /// + /// + /// + public static List GetApproveListByDocId(string docId) + { + return (from x in Funs.DB.Comprehensive_DataReceivingDocApprove where x.DataReceivingDocId == docId select x).ToList(); + } + + public static Model.Comprehensive_DataReceivingDocApprove GetCurrentApprove(string dataReceivingDocId) + { + var q = from x in Funs.DB.Comprehensive_DataReceivingDocApprove + where x.DataReceivingDocId == dataReceivingDocId && x.ApproveType != "S" && x.ApproveDate == null + select x; + return q.FirstOrDefault(); + + } + + public static void EditApprove(Model.Comprehensive_DataReceivingDocApprove approve) + { + var db = Funs.DB; + Model.Comprehensive_DataReceivingDocApprove newApprove = new Model.Comprehensive_DataReceivingDocApprove(); + + if (string.IsNullOrWhiteSpace(approve.DataReceivingDocApproveId)) + { //新增 + newApprove.DataReceivingDocApproveId = SQLHelper.GetNewID(typeof(Model.Comprehensive_DataReceivingDocApprove)); + newApprove.DataReceivingDocId = approve.DataReceivingDocId; + newApprove.ApproveMan = approve.ApproveMan; + newApprove.ApproveDate = approve.ApproveDate; + newApprove.ApproveIdea = approve.ApproveIdea; + newApprove.IsAgree = approve.IsAgree; + newApprove.ApproveType = approve.ApproveType; + //newApprove.Edition = approve.Edition; + db.Comprehensive_DataReceivingDocApprove.InsertOnSubmit(newApprove); + db.SubmitChanges(); + } + else + { //修改 + Model.Comprehensive_DataReceivingDocApprove editApprove = db.Comprehensive_DataReceivingDocApprove.FirstOrDefault(e => e.DataReceivingDocApproveId == approve.DataReceivingDocApproveId); + if (editApprove != null) + { + editApprove.DataReceivingDocId = approve.DataReceivingDocId; + editApprove.ApproveMan = approve.ApproveMan; + editApprove.ApproveDate = approve.ApproveDate; + editApprove.ApproveIdea = approve.ApproveIdea; + editApprove.IsAgree = approve.IsAgree; + editApprove.ApproveType = approve.ApproveType; + //editApprove.Edition = approve.Edition; + db.SubmitChanges(); + } + } + } + + /// + /// 根据收发文Id删除审核信息 + /// + /// + public static void DeleteApproveByDocId(string docId) + { + var q = (from x in Funs.DB.Comprehensive_DataReceivingDocApprove where x.DataReceivingDocId == docId select x).ToList(); + if (q != null) + { + Funs.DB.Comprehensive_DataReceivingDocApprove.DeleteAllOnSubmit(q); + Funs.DB.SubmitChanges(); + } + } + } +} diff --git a/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs new file mode 100644 index 00000000..6068958e --- /dev/null +++ b/SGGL/BLL/CQMS/Comprehensive/DataReceivingDocService.cs @@ -0,0 +1,112 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace BLL +{ + /// + /// 资料收发文登记记录 + /// + public class DataReceivingDocService + { + /// + /// 根据主键获取资料收发文登记记录 + /// + /// + /// + public static Model.Comprehensive_DataReceivingDoc GetDataReceivingDocById(string dataReceivingDocId) + { + return Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(e => e.DataReceivingDocId == dataReceivingDocId); + } + + /// + /// 添加资料收发文登记记录 + /// + /// + public static void AddDataReceivingDoc(Model.Comprehensive_DataReceivingDoc doc) + { + Model.Comprehensive_DataReceivingDoc newDoc = new Model.Comprehensive_DataReceivingDoc + { + DataReceivingDocId = doc.DataReceivingDocId, + ProjectId = doc.ProjectId, + FileCode = doc.FileCode, + FileName = doc.FileName, + ReceiveDate = doc.ReceiveDate, + FileType = doc.FileType, + CNProfessionalId = doc.CNProfessionalId, + SendUnit = doc.SendUnit, + SendMan = doc.SendMan, + Copies = doc.Copies, + DocumentHandler = doc.DocumentHandler, + SendDate = doc.SendDate, + ReceiveUnit = doc.ReceiveUnit, + ReceiveMan = doc.ReceiveMan, + IsReply = doc.IsReply, + ReturnWuhuangDate = doc.ReturnWuhuangDate, + RetrunWuhuangCopies = doc.RetrunWuhuangCopies, + IssueToUnit = doc.IssueToUnit, + IssueCopies = doc.IssueCopies, + IssueUnitReceiver = doc.IssueUnitReceiver, + IsOnFile = doc.IsOnFile, + CompileMan = doc.CompileMan, + CompileDate = doc.CompileDate, + Status = doc.Status, + AuditMan = doc.AuditMan, + }; + Funs.DB.Comprehensive_DataReceivingDoc.InsertOnSubmit(newDoc); + Funs.DB.SubmitChanges(); + } + + /// + /// 修改资料收发文登记记录 + /// + /// + public static void UpdateDataReceivingDoc(Model.Comprehensive_DataReceivingDoc doc) + { + Model.Comprehensive_DataReceivingDoc newDoc = Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(e => e.DataReceivingDocId == doc.DataReceivingDocId); + if (newDoc != null) + { + newDoc.FileCode = doc.FileCode; + newDoc.FileName = doc.FileName; + newDoc.ReceiveDate = doc.ReceiveDate; + newDoc.FileType = doc.FileType; + newDoc.CNProfessionalId = doc.CNProfessionalId; + newDoc.SendUnit = doc.SendUnit; + newDoc.SendMan = doc.SendMan; + newDoc.Copies = doc.Copies; + newDoc.DocumentHandler = doc.DocumentHandler; + newDoc.SendDate = doc.SendDate; + newDoc.ReceiveUnit = doc.ReceiveUnit; + newDoc.ReceiveMan = doc.ReceiveMan; + newDoc.IsReply = doc.IsReply; + newDoc.ReturnWuhuangDate = doc.ReturnWuhuangDate; + newDoc.RetrunWuhuangCopies = doc.RetrunWuhuangCopies; + newDoc.IssueToUnit = doc.IssueToUnit; + newDoc.IssueCopies = doc.IssueCopies; + newDoc.IssueUnitReceiver = doc.IssueUnitReceiver; + newDoc.IsOnFile = doc.IsOnFile; + newDoc.CompileMan = doc.CompileMan; + newDoc.CompileDate = doc.CompileDate; + newDoc.Status = doc.Status; + newDoc.AuditMan = doc.AuditMan; + Funs.DB.SubmitChanges(); + } + } + + /// + /// 根据主键删除资料收发文登记记录 + /// + /// + public static void DeleteDataReceivingDocById(string docId) + { + Model.Comprehensive_DataReceivingDoc newDoc = Funs.DB.Comprehensive_DataReceivingDoc.FirstOrDefault(e => e.DataReceivingDocId == docId); + if (newDoc != null) + { + Funs.DB.Comprehensive_DataReceivingDoc.DeleteOnSubmit(newDoc); + Funs.DB.SubmitChanges(); + } + } + } +} \ No newline at end of file diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index 51434d29..8629a6f4 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -3829,6 +3829,11 @@ namespace BLL /// public const string DataDistributionMenuId = "4a9df3ce-88fd-42a4-aac2-5a7b86edd578"; + /// + /// 资料收发文登记记录 + /// + public const string DataReceivingDocMenuId = "E7C8C938-661C-438F-852F-F0A4C285306B"; + /// /// 图纸收发记录 /// diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx new file mode 100644 index 00000000..91f56299 --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx @@ -0,0 +1,184 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataReceivingDoc.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.DataReceivingDoc" %> + + + + + + + 资料收发文登记记录 + + +
+ + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.cs new file mode 100644 index 00000000..50a3c2be --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.cs @@ -0,0 +1,324 @@ +using BLL; +using System; +using System.Collections.Generic; +using System.Data; +using System.Data.SqlClient; +using System.Linq; + +namespace FineUIPro.Web.CQMS.Comprehensive +{ + public partial class DataReceivingDoc : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + GetButtonPower(); + BindGrid(); + } + } + + /// + /// 数据绑定 + /// + public void BindGrid() + { + string strSql = @"SELECT doc.DataReceivingDocId, + doc.ProjectId, + doc.FileCode, + doc.FileName, + doc.ReceiveDate, + doc.FileType, + doc.CNProfessionalId, + doc.SendUnit, + doc.SendMan, + doc.Copies, + doc.DocumentHandler, + doc.SendDate, + doc.ReceiveUnit, + doc.ReceiveMan, + (CASE WHEN doc.IsReply='True' THEN '是' ELSE '否' END) AS IsReply, + doc.ReturnWuhuangDate, + doc.RetrunWuhuangCopies, + doc.IssueToUnit, + doc.IssueCopies, + doc.IssueUnitReceiver, + (CASE WHEN doc.IsOnFile='True' THEN '是' ELSE '否' END) AS IsOnFile, + doc.CompileMan, + doc.CompileDate, + doc.Status, + cnp.ProfessionalName " + + @" FROM Comprehensive_DataReceivingDoc AS doc" + + @" LEFT JOIN Base_CNProfessional AS cnp ON cnp.CNProfessionalId = doc.CNProfessionalId" + + @" WHERE doc.ProjectId = @ProjectId"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId)); + + if (!string.IsNullOrEmpty(this.stxtFileCode.Text.Trim())) + { + strSql += " AND doc.FileCode LIKE @stxtFileCode"; + listStr.Add(new SqlParameter("@stxtFileCode", "%" + stxtFileCode.Text.Trim() + "%")); + } + if (!string.IsNullOrEmpty(this.stxtFileName.Text.Trim())) + { + strSql += " AND doc.FileName LIKE @stxtFileName"; + listStr.Add(new SqlParameter("@stxtFileName", "%" + stxtFileName.Text.Trim() + "%")); + } + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + #endregion + + #region 分页、排序 + /// + /// 分页下拉 + /// + /// + /// + protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e) + { + Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue); + BindGrid(); + } + + /// + /// 分页索引事件 + /// + /// + /// + protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e) + { + BindGrid(); + } + + /// + /// 排序 + /// + /// + /// + protected void Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + Grid1.SortDirection = e.SortDirection; + Grid1.SortField = e.SortField; + BindGrid(); + } + #endregion + + #region 查询 + /// + /// 查询 + /// + /// + /// + protected void btnSearch_Click(object sender, EventArgs e) + { + BindGrid(); + } + #endregion + + #region 关闭弹出窗口 + /// + /// 关闭弹出窗口 + /// + /// + /// + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + BindGrid(); + } + #endregion + + #region 增加 + /// + /// 新增按钮事件 + /// + /// + /// + protected void btnNew_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DataReceivingDocEdit.aspx", "编辑 - "))); + } + #endregion + + #region 编辑 + /// + /// 右键编辑 + /// + /// + /// + protected void btnMenuModify_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length == 0) + { + Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning); + return; + } + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DataReceivingDocEdit.aspx?DataReceivingDocId={0}", Grid1.SelectedRowID, "编辑 - "))); + } + + /// + /// Grid双击事件 + /// + /// + /// + protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e) + { + this.btnMenuModify_Click(sender, e); + } + #endregion + + #region 删除 + /// + /// 右键删除 + /// + /// + /// + protected void btnMenuDel_Click(object sender, EventArgs e) + { + if (Grid1.SelectedRowIndexArray.Length > 0) + { + foreach (int rowIndex in Grid1.SelectedRowIndexArray) + { + string rowID = Grid1.DataKeys[rowIndex][0].ToString(); + var dataReceivingDoc = BLL.DataReceivingDocService.GetDataReceivingDocById(rowID); + if (dataReceivingDoc != null) + { + BLL.DataReceivingDocApproveService.DeleteApproveByDocId(rowID); + BLL.DataReceivingDocService.DeleteDataReceivingDocById(rowID); + } + } + BindGrid(); + ShowNotify("删除数据成功!", MessageBoxIcon.Success); + } + } + #endregion + + #region 导入 + /// + /// 导入按钮 + /// + /// + /// + //protected void btnImport_Click(object sender, EventArgs e) + //{ + // PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("DataReceivingDocDataIn.aspx", "导入 - "))); + //} + #endregion + + #region 格式化字符串 + /// + /// 获取单位名称 + /// + /// + /// + protected string ConvertCarryUnit(object CarryUnitIds) + { + string CarryUnitName = string.Empty; + if (CarryUnitIds != null) + { + string[] Ids = CarryUnitIds.ToString().Split(','); + foreach (string t in Ids) + { + var type = BLL.UnitService.GetUnitByUnitId(t); + if (type != null) + { + CarryUnitName += type.UnitName + ","; + } + } + } + if (CarryUnitName != string.Empty) + { + return CarryUnitName.Substring(0, CarryUnitName.Length - 1); + } + else + { + return ""; + } + } + + /// + /// 状态 + /// + /// + /// + public static string ConvertState(object Status) + { + if (Status != null) + { + if (Status.ToString().Trim() == BLL.Const.Comprehensive_ReCompile) + { + return "重报"; + } + else if (Status.ToString().Trim() == BLL.Const.Comprehensive_ReJect) + { + return "驳回"; + } + else if (Status.ToString().Trim() == BLL.Const.Comprehensive_Compile) + { + return "编制"; + } + else if (Status.ToString().Trim() == BLL.Const.Comprehensive_Audit) + { + return "待审批"; + } + else if (Status.ToString().Trim() == BLL.Const.Comprehensive_Complete) + { + return "审批完成"; + } + } + return "编制"; + } + #endregion + + #region 获取按钮权限 + /// + /// 获取按钮权限 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == BLL.Const._Null) + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.DataReceivingDocMenuId); + if (buttonList.Count() > 0) + { + if (buttonList.Contains(BLL.Const.BtnAdd)) + { + this.btnNew.Hidden = false; + } + if (buttonList.Contains(BLL.Const.BtnModify)) + { + this.btnMenuModify.Hidden = false; + this.Grid1.EnableRowDoubleClickEvent = true; + } + else + { + this.Grid1.EnableRowDoubleClickEvent = false; + } + if (buttonList.Contains(BLL.Const.BtnDelete)) + { + this.btnMenuDel.Hidden = false; + } + //if (buttonList.Contains(BLL.Const.BtnSave)) + //{ + // this.btnImport.Hidden = false; + //} + } + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.designer.cs new file mode 100644 index 00000000..0da4ac7e --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDoc.aspx.designer.cs @@ -0,0 +1,222 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CQMS.Comprehensive { + + + public partial class DataReceivingDoc { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// Panel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel1; + + /// + /// Grid1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid Grid1; + + /// + /// ToolSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar ToolSearch; + + /// + /// stxtFileCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox stxtFileCode; + + /// + /// stxtFileName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox stxtFileName; + + /// + /// btnSearch 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSearch; + + /// + /// btnNew 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnNew; + + /// + /// lblPageIndex 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label lblPageIndex; + + /// + /// Label3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label3; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// Label2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label2; + + /// + /// txtStatus 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label txtStatus; + + /// + /// lbtnFileUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.LinkButton lbtnFileUrl; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + + /// + /// Window1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window1; + + /// + /// Window2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window Window2; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; + + /// + /// Menu1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Menu Menu1; + + /// + /// btnMenuModify 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuModify; + + /// + /// btnMenuDel 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.MenuButton btnMenuDel; + } +} diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx new file mode 100644 index 00000000..f6fea026 --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx @@ -0,0 +1,49 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataReceivingDocApprove.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.DataReceivingDocApprove" %> + + + + + + + 资料收发文登记记录审批列表 + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx.cs new file mode 100644 index 00000000..cfc57bc5 --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx.cs @@ -0,0 +1,72 @@ +using System; + +namespace FineUIPro.Web.CQMS.Comprehensive +{ + public partial class DataReceivingDocApprove : PageBase + { + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + string DataReceivingDocId = Request.Params["Id"]; + var list = BLL.DataReceivingDocApproveService.GetApproveListByDocId(DataReceivingDocId); + gvApprove.DataSource = list; + gvApprove.DataBind(); + + } + } + #endregion + + #region 格式化字符串 + public static string ConvertAgree(object IsAgree) + { + if (IsAgree != null) + { + if (IsAgree.ToString().Contains("True")) + { + return "同意"; + } + else if (IsAgree.ToString().Contains("False")) + { + return "不同意"; + } + } + return ""; + } + + public static string ConvertState(object state) + { + if (state != null) + { + if (state.ToString().Trim() == BLL.Const.Comprehensive_ReCompile) + { + return "重报"; + } + else if (state.ToString().Trim().Trim() == BLL.Const.Comprehensive_ReJect) + { + return "驳回"; + } + else if (state.ToString().Trim() == BLL.Const.Comprehensive_Compile) + { + return "编制"; + } + else if (state.ToString().Trim() == BLL.Const.Comprehensive_Audit) + { + return "待审批"; + } + else if (state.ToString().Trim() == BLL.Const.Comprehensive_Complete) + { + return "审批完成"; + } + } + return ""; + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx.designer.cs new file mode 100644 index 00000000..f2cd48c5 --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocApprove.aspx.designer.cs @@ -0,0 +1,78 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CQMS.Comprehensive { + + + public partial class DataReceivingDocApprove { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// PageManager1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.PageManager PageManager1; + + /// + /// SimpleForm1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// plApprove2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FormRow plApprove2; + + /// + /// gvApprove 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Grid gvApprove; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label1; + + /// + /// Label2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.WebControls.Label Label2; + } +} diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx new file mode 100644 index 00000000..bf9a3b48 --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx @@ -0,0 +1,171 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DataReceivingDocEdit.aspx.cs" Inherits="FineUIPro.Web.CQMS.Comprehensive.DataReceivingDocEdit" %> + + + + + + + 编辑资料收发文登记记录 + + +
+ + + + + + + + + + + + + + + + + + + + + + + <%----%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs new file mode 100644 index 00000000..7ecd4fdf --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.cs @@ -0,0 +1,544 @@ +using BLL; +using System; +using System.Linq; +using System.Web.UI.WebControls; + +namespace FineUIPro.Web.CQMS.Comprehensive +{ + public partial class DataReceivingDocEdit : PageBase + { + #region 定义变量 + /// + /// 主键 + /// + public string DataReceivingDocId + { + get + { + return (string)ViewState["DataReceivingDocId"]; + } + set + { + ViewState["DataReceivingDocId"] = value; + } + } + #endregion + + #region 加载专业工程师 + /// + /// 加载专业工程师 + /// + public void LoadAuditSelect() + { + var db = Funs.DB; + var userList = from x in db.Sys_User + join y in db.Project_ProjectUnit + on x.UnitId equals y.UnitId + join p in db.Project_ProjectUser + on x.UserId equals p.UserId + where y.UnitId == Const.UnitId_CWCEC && p.ProjectId == CurrUser.LoginProjectId && y.ProjectId == CurrUser.LoginProjectId + where p.RoleId.Contains(Const.ZBCNEngineer) + select new { UserId = x.UserId, UserName = x.UserName }; + drpAudit.DataValueField = "UserId"; + drpAudit.DataTextField = "UserName"; + this.drpAudit.DataSource = userList.ToList(); + this.drpAudit.DataBind(); + } + #endregion + + #region 禁止编辑 + /// + /// 禁止编辑 + /// + public void Readonly() + { + this.txtFileCode.Readonly = true; + this.txtFileName.Readonly = true; + this.txtReceiveDate.Readonly = true; + this.txtFileType.Readonly = true; + this.drpCNProfessionalId.Readonly = true; + //this.drpSendUnit.Readonly = true; + this.drpSendUnitId.Readonly = true; + this.txtCopies.Readonly = true; + this.txtSendMan.Readonly = true; + this.txtDocumentHandler.Readonly = true; + this.txtSendDate.Readonly = true; + this.drpReceiveUnit.Readonly = true; + this.txtReceiveMan.Readonly = true; + this.rblIsReply.Readonly = true; + this.txtReturnWuhuangDate.Readonly = true; + this.txtRetrunWuhuangCopies.Readonly = true; + this.drpIssueToUnit.Readonly = true; + this.txtIssueCopies.Readonly = true; + this.txtIssueUnitReceiver.Readonly = true; + this.rblIsOnFile.Readonly = true; + this.drpAudit.Readonly = true; + this.btnAttach.Enabled = false; + } + #endregion + + #region 加载 + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + GetButtonPower(); + BLL.UnitService.InitUnitDownList(this.drpSendUnitId, this.CurrUser.LoginProjectId, false);//发件单位 + BLL.UnitService.InitUnitDownList(this.drpReceiveUnit, this.CurrUser.LoginProjectId, false);//接收单位 + BLL.UnitService.InitUnitDownList(this.drpIssueToUnit, this.CurrUser.LoginProjectId, false);//下发至单位 + BLL.CNProfessionalService.InitCNProfessionalDownList(this.drpCNProfessionalId, true);//专业 + LoadAuditSelect(); + this.agree.Hidden = true; + this.options.Hidden = true; + + this.btnSave.Hidden = true; + this.btnSubmit.Hidden = true; + this.DataReceivingDocId = Request.Params["DataReceivingDocId"]; + Model.Comprehensive_DataReceivingDoc dataReceivingDoc = BLL.DataReceivingDocService.GetDataReceivingDocById(this.DataReceivingDocId); + if (dataReceivingDoc != null) + { + this.hdAttachUrl.Text = this.DataReceivingDocId; + this.txtFileCode.Text = dataReceivingDoc.FileCode; + this.txtFileName.Text = dataReceivingDoc.FileName; + this.txtReceiveDate.Text = dataReceivingDoc.ReceiveDate.HasValue ? string.Format("{0:yyyy-MM-dd}", dataReceivingDoc.ReceiveDate) : ""; + this.txtFileType.Text = dataReceivingDoc.FileType; + if (!string.IsNullOrEmpty(dataReceivingDoc.SendUnit)) + { + //this.drpSendUnit.SelectedValueArray = dataReceivingDoc.SendUnit.Split(','); + this.drpSendUnitId.SelectedValue = dataReceivingDoc.SendUnit; + } + if (!string.IsNullOrEmpty(dataReceivingDoc.CNProfessionalId)) + { + this.drpCNProfessionalId.SelectedValue = dataReceivingDoc.CNProfessionalId; + } + this.txtCopies.Text = dataReceivingDoc.Copies.HasValue ? dataReceivingDoc.Copies.ToString() : ""; + this.txtSendMan.Text = dataReceivingDoc.SendMan; + this.txtDocumentHandler.Text = dataReceivingDoc.DocumentHandler; + this.txtSendDate.Text = dataReceivingDoc.SendDate.HasValue ? string.Format("{0:yyyy-MM-dd}", dataReceivingDoc.SendDate) : ""; + if (!string.IsNullOrEmpty(dataReceivingDoc.ReceiveUnit)) + { + this.drpReceiveUnit.SelectedValueArray = dataReceivingDoc.ReceiveUnit.Split(','); + } + this.txtReceiveMan.Text = dataReceivingDoc.ReceiveMan; + if (dataReceivingDoc.IsReply == true) + { + this.rblIsReply.SelectedValue = "true"; + } + else + { + this.rblIsReply.SelectedValue = "false"; + } + this.txtReturnWuhuangDate.Text = dataReceivingDoc.ReturnWuhuangDate.HasValue ? string.Format("{0:yyyy-MM-dd}", dataReceivingDoc.ReturnWuhuangDate) : ""; + this.txtRetrunWuhuangCopies.Text = dataReceivingDoc.RetrunWuhuangCopies.HasValue ? dataReceivingDoc.RetrunWuhuangCopies.ToString() : ""; + if (!string.IsNullOrEmpty(dataReceivingDoc.IssueToUnit)) + { + this.drpIssueToUnit.SelectedValueArray = dataReceivingDoc.IssueToUnit.Split(','); + } + this.txtIssueCopies.Text = dataReceivingDoc.IssueCopies.HasValue ? dataReceivingDoc.IssueCopies.ToString() : ""; + this.txtIssueUnitReceiver.Text = dataReceivingDoc.IssueUnitReceiver; + if (dataReceivingDoc.IsOnFile == true) + { + this.rblIsOnFile.SelectedValue = "true"; + } + else + { + this.rblIsOnFile.SelectedValue = "false"; + } + + var currApprove = DataReceivingDocApproveService.GetCurrentApprove(dataReceivingDoc.DataReceivingDocId); + if (currApprove != null) + { //重新编制 编制人 可以 显示 提交 保存按钮 + this.drpAudit.SelectedValue = currApprove.ApproveMan; + if (currApprove.ApproveType == BLL.Const.Comprehensive_ReCompile && dataReceivingDoc.CompileMan == CurrUser.UserId) + { + this.btnSubmit.Hidden = false; + this.btnSave.Hidden = false; + }//审核状态 审核人 可以显示 提交 保存按钮 + else if (currApprove.ApproveType == BLL.Const.Comprehensive_Audit && currApprove.ApproveMan == CurrUser.UserId) + { + //审核状态不可编辑 + Readonly(); + + this.agree.Hidden = false; + this.options.Hidden = false; + this.btnSubmit.Hidden = false; + this.btnSave.Hidden = false; + } + }//没有当前审核人,已完成状态 或者 待提交状态 + else + { + if (dataReceivingDoc.Status == BLL.Const.Comprehensive_Compile && dataReceivingDoc.CompileMan == CurrUser.UserId) + { + this.btnSubmit.Hidden = false; + this.btnSave.Hidden = false; + } + } + } + else + { + this.btnSave.Hidden = false; + this.btnSubmit.Hidden = false; + } + } + } + #endregion + + #region 保存、提交 + /// + /// 保存按钮 + /// + /// + /// + protected void btnSave_Click(object sender, EventArgs e) + { + if (drpSendUnitId.SelectedValue==BLL.Const._Null) + { + Alert.ShowInTop("请选择发件单位!", MessageBoxIcon.Warning); + return; + } + if (drpCNProfessionalId.SelectedValue == BLL.Const._Null) + { + Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning); + return; + } + Model.Comprehensive_DataReceivingDoc dataReceivingDoc = new Model.Comprehensive_DataReceivingDoc(); + dataReceivingDoc.ProjectId = this.CurrUser.LoginProjectId; + dataReceivingDoc.FileCode = this.txtFileCode.Text.Trim(); + dataReceivingDoc.FileName = this.txtFileName.Text.Trim(); + dataReceivingDoc.ReceiveDate = Funs.GetNewDateTime(this.txtReceiveDate.Text.Trim()); + dataReceivingDoc.FileType = this.txtFileType.Text.Trim(); + dataReceivingDoc.CNProfessionalId = this.drpCNProfessionalId.SelectedValue; + //string unitIds = string.Empty; + //var unitList = this.drpSendUnit.SelectedValueArray; + //foreach (var item in unitList) + //{ + // unitIds += item + ","; + //} + //if (!string.IsNullOrEmpty(unitIds)) + //{ + // unitIds = unitIds.Substring(0, unitIds.LastIndexOf(",")); + //} + //dataReceivingDoc.SendUnit = unitIds; + dataReceivingDoc.SendUnit = this.drpSendUnitId.SelectedValue; + dataReceivingDoc.SendMan = this.txtSendMan.Text.Trim(); + dataReceivingDoc.Copies = Funs.GetNewInt(this.txtCopies.Text.Trim()); + dataReceivingDoc.DocumentHandler = this.txtDocumentHandler.Text.Trim(); + dataReceivingDoc.SendDate = Funs.GetNewDateTime(this.txtSendDate.Text); + string receivingUnits = string.Empty; + var receivingUnitList = this.drpReceiveUnit.SelectedValueArray; + foreach (var item in receivingUnitList) + { + receivingUnits += item + ","; + } + if (!string.IsNullOrEmpty(receivingUnits)) + { + receivingUnits = receivingUnits.Substring(0, receivingUnits.LastIndexOf(",")); + } + dataReceivingDoc.ReceiveUnit = receivingUnits; + dataReceivingDoc.ReceiveMan = this.txtReceiveMan.Text.Trim(); + dataReceivingDoc.IsReply = Convert.ToBoolean(this.rblIsReply.SelectedValue); + dataReceivingDoc.ReturnWuhuangDate = Funs.GetNewDateTime(this.txtReturnWuhuangDate.Text.Trim()); + dataReceivingDoc.RetrunWuhuangCopies = Funs.GetNewInt(this.txtRetrunWuhuangCopies.Text.Trim()); + string issueToUnits = string.Empty; + var issueToUnitLists = this.drpIssueToUnit.SelectedValueArray; + foreach (var item in issueToUnitLists) + { + issueToUnits += item + ","; + } + if (!string.IsNullOrEmpty(issueToUnits)) + { + issueToUnits = issueToUnits.Substring(0, issueToUnits.LastIndexOf(",")); + } + dataReceivingDoc.IssueToUnit = issueToUnits; + dataReceivingDoc.IssueCopies = Funs.GetNewInt(this.txtIssueCopies.Text.Trim()); + dataReceivingDoc.IssueUnitReceiver = this.txtIssueUnitReceiver.Text.Trim(); + dataReceivingDoc.IsOnFile = Convert.ToBoolean(this.rblIsOnFile.SelectedValue); + if (!string.IsNullOrEmpty(this.drpAudit.SelectedValue)) + { + dataReceivingDoc.AuditMan = drpAudit.SelectedValue; + } //审核人 + + if (string.IsNullOrEmpty(this.DataReceivingDocId)) + { + if (!string.IsNullOrEmpty(this.hdAttachUrl.Text)) + { + dataReceivingDoc.DataReceivingDocId = this.hdAttachUrl.Text; + } + else + { + dataReceivingDoc.DataReceivingDocId = SQLHelper.GetNewID(typeof(Model.Comprehensive_DataReceivingDoc)); + this.hdAttachUrl.Text = dataReceivingDoc.DataReceivingDocId; + } + var sour = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == dataReceivingDoc.DataReceivingDocId); + if (sour == null || string.IsNullOrEmpty(sour.AttachUrl)) + { + Alert.ShowInTop("请上传附件!", MessageBoxIcon.Warning); + return; + } + dataReceivingDoc.CompileMan = this.CurrUser.UserId; + dataReceivingDoc.CompileDate = DateTime.Now; + dataReceivingDoc.Status = BLL.Const.Comprehensive_Compile; + dataReceivingDoc.DataReceivingDocId = SQLHelper.GetNewID(typeof(Model.Comprehensive_DataReceivingDoc)); + BLL.DataReceivingDocService.AddDataReceivingDoc(dataReceivingDoc); + } + else + { + dataReceivingDoc.DataReceivingDocId = this.DataReceivingDocId; + var model = Funs.DB.Comprehensive_DataReceivingDoc.Where(u => u.DataReceivingDocId == this.DataReceivingDocId).FirstOrDefault(); + if (model != null) + { + dataReceivingDoc.Status = model.Status; + } + else + { + dataReceivingDoc.Status = BLL.Const.Comprehensive_Compile; + } + var sour = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == this.DataReceivingDocId); + if (sour == null || string.IsNullOrEmpty(sour.AttachUrl)) + { + Alert.ShowInTop("请上传附件!", MessageBoxIcon.Warning); + return; + } + BLL.DataReceivingDocService.UpdateDataReceivingDoc(dataReceivingDoc); + } + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + } + + + /// + /// 提交 + /// + /// + /// + protected void btnSubmit_Click(object sender, EventArgs e) + { + if (drpCNProfessionalId.SelectedValue == BLL.Const._Null) + { + Alert.ShowInTop("请选择专业!", MessageBoxIcon.Warning); + return; + } + Model.Comprehensive_DataReceivingDoc dataReceivingDoc = new Model.Comprehensive_DataReceivingDoc(); + dataReceivingDoc.ProjectId = this.CurrUser.LoginProjectId; + dataReceivingDoc.FileCode = this.txtFileCode.Text.Trim(); + dataReceivingDoc.FileName = this.txtFileName.Text.Trim(); + dataReceivingDoc.ReceiveDate = Funs.GetNewDateTime(this.txtReceiveDate.Text.Trim()); + dataReceivingDoc.FileType = this.txtFileType.Text.Trim(); + dataReceivingDoc.CNProfessionalId = this.drpCNProfessionalId.SelectedValue; + //string unitIds = string.Empty; + //var unitList = this.drpSendUnit.SelectedValueArray; + //foreach (var item in unitList) + //{ + // unitIds += item + ","; + //} + //if (!string.IsNullOrEmpty(unitIds)) + //{ + // unitIds = unitIds.Substring(0, unitIds.LastIndexOf(",")); + //} + dataReceivingDoc.SendUnit = drpSendUnitId.SelectedValue; + dataReceivingDoc.SendMan = this.txtSendMan.Text.Trim(); + dataReceivingDoc.Copies = Funs.GetNewInt(this.txtCopies.Text.Trim()); + dataReceivingDoc.DocumentHandler = this.txtDocumentHandler.Text.Trim(); + dataReceivingDoc.SendDate = Funs.GetNewDateTime(this.txtSendDate.Text); + string receivingUnits = string.Empty; + var receivingUnitList = this.drpReceiveUnit.SelectedValueArray; + foreach (var item in receivingUnitList) + { + receivingUnits += item + ","; + } + if (!string.IsNullOrEmpty(receivingUnits)) + { + receivingUnits = receivingUnits.Substring(0, receivingUnits.LastIndexOf(",")); + } + dataReceivingDoc.ReceiveUnit = receivingUnits; + dataReceivingDoc.ReceiveMan = this.txtReceiveMan.Text.Trim(); + dataReceivingDoc.IsReply = Convert.ToBoolean(this.rblIsReply.SelectedValue); + dataReceivingDoc.ReturnWuhuangDate = Funs.GetNewDateTime(this.txtReturnWuhuangDate.Text.Trim()); + dataReceivingDoc.RetrunWuhuangCopies = Funs.GetNewInt(this.txtRetrunWuhuangCopies.Text.Trim()); + string issueToUnits = string.Empty; + var issueToUnitLists = this.drpIssueToUnit.SelectedValueArray; + foreach (var item in issueToUnitLists) + { + issueToUnits += item + ","; + } + if (!string.IsNullOrEmpty(issueToUnits)) + { + issueToUnits = issueToUnits.Substring(0, issueToUnits.LastIndexOf(",")); + } + dataReceivingDoc.IssueToUnit = issueToUnits; + dataReceivingDoc.IssueCopies = Funs.GetNewInt(this.txtIssueCopies.Text.Trim()); + dataReceivingDoc.IssueUnitReceiver = this.txtIssueUnitReceiver.Text.Trim(); + dataReceivingDoc.IsOnFile = Convert.ToBoolean(this.rblIsOnFile.SelectedValue); + if (!string.IsNullOrEmpty(this.drpAudit.SelectedValue)) + { + dataReceivingDoc.AuditMan = drpAudit.SelectedValue; + } //审核人 + + if (string.IsNullOrEmpty(this.DataReceivingDocId)) + { + if (!string.IsNullOrEmpty(this.hdAttachUrl.Text)) + { + dataReceivingDoc.DataReceivingDocId = this.hdAttachUrl.Text; + } + else + { + dataReceivingDoc.DataReceivingDocId = SQLHelper.GetNewID(typeof(Model.Comprehensive_DataReceivingDoc)); + this.hdAttachUrl.Text = dataReceivingDoc.DataReceivingDocId; + } + var sour = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == dataReceivingDoc.DataReceivingDocId); + if (sour == null || string.IsNullOrEmpty(sour.AttachUrl)) + { + Alert.ShowInTop("请上传附件!", MessageBoxIcon.Warning); + return; + } + dataReceivingDoc.CompileMan = this.CurrUser.UserId; + dataReceivingDoc.CompileDate = DateTime.Now; + dataReceivingDoc.Status = BLL.Const.Comprehensive_Audit; + BLL.DataReceivingDocService.AddDataReceivingDoc(dataReceivingDoc); + } + else + { + dataReceivingDoc.DataReceivingDocId = this.DataReceivingDocId; + var sour = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == this.DataReceivingDocId); + if (sour == null || string.IsNullOrEmpty(sour.AttachUrl)) + { + Alert.ShowInTop("请上传附件!", MessageBoxIcon.Warning); + return; + } + var model = Funs.DB.Comprehensive_DataReceivingDoc.Where(u => u.DataReceivingDocId == this.DataReceivingDocId).FirstOrDefault(); + + if (model.Status == BLL.Const.Comprehensive_Compile)//编制状态提交变审核 + { + dataReceivingDoc.Status = BLL.Const.Comprehensive_Audit; + } + else if (model.Status == BLL.Const.Comprehensive_ReCompile)//重新编制状态提交变审核 + { + dataReceivingDoc.Status = BLL.Const.Comprehensive_Audit; + } + else //审核状态 提交 变 完成 或者 重新编制 + { + if (Convert.ToBoolean(rblIsAgree.SelectedValue)) + { + dataReceivingDoc.Status = BLL.Const.Comprehensive_Complete; + } + else + { + dataReceivingDoc.Status = BLL.Const.Comprehensive_ReCompile; + } + } + BLL.DataReceivingDocService.UpdateDataReceivingDoc(dataReceivingDoc); + } + #region 审核记录 + var currApprove = DataReceivingDocApproveService.GetCurrentApprove(dataReceivingDoc.DataReceivingDocId); + if (currApprove == null) //为获取到为 当前编制状态 直接提交 + { + var approve = new Model.Comprehensive_DataReceivingDocApprove(); + approve.DataReceivingDocId = dataReceivingDoc.DataReceivingDocId; + approve.ApproveMan = this.CurrUser.UserId; + approve.ApproveType = Const.Comprehensive_Compile; + approve.ApproveDate = DateTime.Now; + DataReceivingDocApproveService.EditApprove(approve); //新增编制记录 + + Model.Comprehensive_DataReceivingDocApprove newApprove = new Model.Comprehensive_DataReceivingDocApprove(); + newApprove.DataReceivingDocId = dataReceivingDoc.DataReceivingDocId; + newApprove.ApproveMan = this.drpAudit.SelectedValue; + newApprove.ApproveType = Const.InspectionManagement_Audit; + DataReceivingDocApproveService.EditApprove(newApprove); //新增专业工程师审核记录 + } + else if (currApprove.ApproveMan == CurrUser.UserId) + { + if (currApprove.ApproveType == BLL.Const.Comprehensive_ReCompile) + { + currApprove.ApproveDate = DateTime.Now; + DataReceivingDocApproveService.EditApprove(currApprove); //新增专业工程师审核记录 + Model.Comprehensive_DataReceivingDocApprove newApprove = new Model.Comprehensive_DataReceivingDocApprove(); + newApprove.DataReceivingDocId = dataReceivingDoc.DataReceivingDocId; + newApprove.ApproveMan = this.drpAudit.SelectedValue; + newApprove.ApproveType = Const.InspectionManagement_Audit; + DataReceivingDocApproveService.EditApprove(newApprove); //新增专业工程师审核记录 + } + else + { + currApprove.ApproveDate = DateTime.Now; //更新审核时间 + currApprove.IsAgree = Convert.ToBoolean(rblIsAgree.SelectedValue); + currApprove.ApproveIdea = this.txtidea.Text; + DataReceivingDocApproveService.EditApprove(currApprove); + + if (Convert.ToBoolean(rblIsAgree.SelectedValue)) //同意时 审批完成 + { + Model.Comprehensive_DataReceivingDocApprove reApprove = new Model.Comprehensive_DataReceivingDocApprove(); + reApprove.DataReceivingDocId = currApprove.DataReceivingDocId; + reApprove.ApproveDate = DateTime.Now.AddSeconds(10); + reApprove.ApproveMan = CurrUser.UserId; + reApprove.ApproveType = Const.Comprehensive_Complete; + reApprove.ApproveIdea = txtidea.Text; + DataReceivingDocApproveService.EditApprove(reApprove); + } + else + { + Model.Comprehensive_DataReceivingDocApprove reApprove = new Model.Comprehensive_DataReceivingDocApprove(); + reApprove.DataReceivingDocId = currApprove.DataReceivingDocId; + reApprove.ApproveMan = dataReceivingDoc.CompileMan; + reApprove.ApproveType = Const.Comprehensive_ReCompile; + DataReceivingDocApproveService.EditApprove(reApprove); + } + } + } + PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference()); + #endregion + } + #endregion + + #region 附件上传 + /// + /// 附件上传 + /// + /// + /// + protected void btnAttach_Click(object sender, EventArgs e) + { + if (string.IsNullOrEmpty(this.hdAttachUrl.Text)) //新增记录 + { + this.hdAttachUrl.Text = SQLHelper.GetNewID(typeof(Model.Comprehensive_DataReceivingDoc)); + } + var dataReceivingDoc = BLL.DataReceivingDocService.GetDataReceivingDocById(this.DataReceivingDocId); + + if (dataReceivingDoc == null || ((dataReceivingDoc.CompileMan == CurrUser.UserId && dataReceivingDoc.Status == BLL.Const.Comprehensive_Compile) || (dataReceivingDoc.CompileMan == CurrUser.UserId && dataReceivingDoc.Status == BLL.Const.Comprehensive_ReCompile))) + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/CQMS/DataReceivingDoc&menuId={1}", this.hdAttachUrl.Text, BLL.Const.DataReceivingDocMenuId))); + } + else + { + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/CQMS/DataReceivingDoc&menuId={1}", this.hdAttachUrl.Text, BLL.Const.DataReceivingDocMenuId))); + } + } + #endregion + + #region 获取按钮权限 + /// + /// 获取按钮权限 + /// + /// + /// + private void GetButtonPower() + { + if (Request.Params["value"] == BLL.Const._Null) + { + return; + } + var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.DataReceivingDocMenuId); + if (buttonList.Count > 0) + { + if (buttonList.Contains(BLL.Const.BtnSave)) + { + this.btnSave.Hidden = false; + } + } + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.designer.cs new file mode 100644 index 00000000..1334b075 --- /dev/null +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/DataReceivingDocEdit.aspx.designer.cs @@ -0,0 +1,384 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CQMS.Comprehensive { + + + public partial class DataReceivingDocEdit { + + /// + /// form1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlForm form1; + + /// + /// SimpleForm1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form SimpleForm1; + + /// + /// GroupPanel1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel GroupPanel1; + + /// + /// Form2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form2; + + /// + /// txtFileCode 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtFileCode; + + /// + /// txtFileName 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtFileName; + + /// + /// txtReceiveDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtReceiveDate; + + /// + /// txtFileType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtFileType; + + /// + /// drpCNProfessionalId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpCNProfessionalId; + + /// + /// drpSendUnitId 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpSendUnitId; + + /// + /// txtCopies 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.NumberBox txtCopies; + + /// + /// txtSendMan 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtSendMan; + + /// + /// txtDocumentHandler 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtDocumentHandler; + + /// + /// GroupPanel2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel GroupPanel2; + + /// + /// Form3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form3; + + /// + /// txtSendDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtSendDate; + + /// + /// drpReceiveUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpReceiveUnit; + + /// + /// txtReceiveMan 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtReceiveMan; + + /// + /// rblIsReply 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.RadioButtonList rblIsReply; + + /// + /// Label2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label2; + + /// + /// GroupPanel3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.GroupPanel GroupPanel3; + + /// + /// Form4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form4; + + /// + /// txtReturnWuhuangDate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DatePicker txtReturnWuhuangDate; + + /// + /// txtRetrunWuhuangCopies 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.NumberBox txtRetrunWuhuangCopies; + + /// + /// drpIssueToUnit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpIssueToUnit; + + /// + /// txtIssueCopies 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.NumberBox txtIssueCopies; + + /// + /// txtIssueUnitReceiver 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtIssueUnitReceiver; + + /// + /// rblIsOnFile 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.RadioButtonList rblIsOnFile; + + /// + /// Panel2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel2; + + /// + /// Label1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label1; + + /// + /// btnAttach 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnAttach; + + /// + /// drpAudit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList drpAudit; + + /// + /// agree 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FormRow agree; + + /// + /// rblIsAgree 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.RadioButtonList rblIsAgree; + + /// + /// options 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FormRow options; + + /// + /// txtidea 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextArea txtidea; + + /// + /// Toolbar1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar1; + + /// + /// hdAttachUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.HiddenField hdAttachUrl; + + /// + /// btnSave 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSave; + + /// + /// btnSubmit 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnSubmit; + + /// + /// WindowAtt 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Window WindowAtt; + } +} diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs index fc303876..dfabba58 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReport.aspx.cs @@ -1142,22 +1142,996 @@ namespace FineUIPro.Web.CQMS.ManageReportNew #endregion var reportItem = db.Report_CQMS_MonthReportItem.Where(x => x.ReportId == Id).OrderBy(x => x.ContentName).ToList(); + #region 9.计量器具报验管理情况 + var measuringInspection = reportItem.Where(x => x.ReType == "9").ToList(); + if (measuringInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 13; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0; + foreach (var item in measuringInspection) + { + //创建行 + Row row = new Row(doc); + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.FirstRow.Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.FirstRow.Cells[1].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks, doc, table.FirstRow.Cells[4].CellFormat.Width)); + table.Rows.Insert(numberIndex, row); + num1 += item.MonthsCount; + num2 += item.ProjectCount; + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.FirstRow.Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[4].CellFormat.Width)); + table.Rows.Insert(numberIndex, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion #region 10.现场质量共检数据 + #region 10-1 土建 + var TJInspection = reportItem.Where(x => x.ReType == "10-4").ToList(); + if (TJInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 14; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0, num4 = 0; + string num5 = string.Empty; + string num6 = string.Empty; + foreach (var item in TJInspection) + { + //创建行 + Row row = new Row(doc); + + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.Rows[0].Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.Rows[0].Cells[1].CellFormat.Width)); + // 合并第一行的前两个单元格 + table.Rows[0].Cells[0].CellFormat.VerticalMerge = CellMerge.First; + table.Rows[1].Cells[0].CellFormat.VerticalMerge = CellMerge.Previous; + + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsBackCount.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, row); + + num1 += item.MonthsCount; + num2 += item.MonthsBackCount; + num3 += item.ProjectCount; + num4 += item.TotalNoBackCount; + + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + if (num1 != 0)//被除数不能为零 + { + num5 = Math.Round((double)num3 / (double)num1 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num5 = "0%"; + } + if (num2 != 0)//被除数不能为零 + { + num6 = Math.Round((double)num4 / (double)num2 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num6 = "0%"; + } + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.Rows[0].Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.Rows[0].Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num5.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num6.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion + + #region 10-2 设备 + var SBInspection = reportItem.Where(x => x.ReType == "10-2").ToList(); + if (SBInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 15; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0, num4 = 0; + string num5 = string.Empty; + string num6 = string.Empty; + foreach (var item in SBInspection) + { + //创建行 + Row row = new Row(doc); + + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.Rows[0].Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.Rows[0].Cells[1].CellFormat.Width)); + // 合并第一行的前两个单元格 + table.Rows[0].Cells[0].CellFormat.VerticalMerge = CellMerge.First; + table.Rows[1].Cells[0].CellFormat.VerticalMerge = CellMerge.Previous; + + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsBackCount.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, row); + + num1 += item.MonthsCount; + num2 += item.MonthsBackCount; + num3 += item.ProjectCount; + num4 += item.TotalNoBackCount; + + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + if (num1 != 0)//被除数不能为零 + { + num5 = Math.Round((double)num3 / (double)num1 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num5 = "0%"; + } + if (num2 != 0)//被除数不能为零 + { + num6 = Math.Round((double)num4 / (double)num2 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num6 = "0%"; + } + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.Rows[0].Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.Rows[0].Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num5.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num6.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion + + #region 10-3 管道 + var GDInspection = reportItem.Where(x => x.ReType == "10-3").ToList(); + if (GDInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 16; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0, num4 = 0; + string num5 = string.Empty; + string num6 = string.Empty; + foreach (var item in GDInspection) + { + //创建行 + Row row = new Row(doc); + + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.Rows[0].Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.Rows[0].Cells[1].CellFormat.Width)); + // 合并第一行的前两个单元格 + table.Rows[0].Cells[0].CellFormat.VerticalMerge = CellMerge.First; + table.Rows[1].Cells[0].CellFormat.VerticalMerge = CellMerge.Previous; + + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsBackCount.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, row); + + num1 += item.MonthsCount; + num2 += item.MonthsBackCount; + num3 += item.ProjectCount; + num4 += item.TotalNoBackCount; + + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + if (num1 != 0)//被除数不能为零 + { + num5 = Math.Round((double)num3 / (double)num1 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num5 = "0%"; + } + if (num2 != 0)//被除数不能为零 + { + num6 = Math.Round((double)num4 / (double)num2 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num6 = "0%"; + } + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.Rows[0].Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.Rows[0].Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num5.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num6.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion + + #region 10-4 电气 + var DQInspection = reportItem.Where(x => x.ReType == "10-4").ToList(); + if (DQInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 17; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0, num4 = 0; + string num5 = string.Empty; + string num6 = string.Empty; + foreach (var item in DQInspection) + { + //创建行 + Row row = new Row(doc); + + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.Rows[0].Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.Rows[0].Cells[1].CellFormat.Width)); + // 合并第一行的前两个单元格 + table.Rows[0].Cells[0].CellFormat.VerticalMerge = CellMerge.First; + table.Rows[1].Cells[0].CellFormat.VerticalMerge = CellMerge.Previous; + + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsBackCount.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, row); + + num1 += item.MonthsCount; + num2 += item.MonthsBackCount; + num3 += item.ProjectCount; + num4 += item.TotalNoBackCount; + + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + if (num1 != 0)//被除数不能为零 + { + num5 = Math.Round((double)num3 / (double)num1 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num5 = "0%"; + } + if (num2 != 0)//被除数不能为零 + { + num6 = Math.Round((double)num4 / (double)num2 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num6 = "0%"; + } + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.Rows[0].Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.Rows[0].Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num5.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num6.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion + + #region 10-5.仪表 + var YBInspection = reportItem.Where(x => x.ReType == "10-5").ToList(); + if (YBInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 18; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0, num4 = 0; + string num5 = string.Empty; + string num6 = string.Empty; + foreach (var item in YBInspection) + { + //创建行 + Row row = new Row(doc); + + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.Rows[0].Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.Rows[0].Cells[1].CellFormat.Width)); + // 合并第一行的前两个单元格 + table.Rows[0].Cells[0].CellFormat.VerticalMerge = CellMerge.First; + table.Rows[1].Cells[0].CellFormat.VerticalMerge = CellMerge.Previous; + + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsBackCount.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, row); + + num1 += item.MonthsCount; + num2 += item.MonthsBackCount; + num3 += item.ProjectCount; + num4 += item.TotalNoBackCount; + + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + if (num1 != 0)//被除数不能为零 + { + num5 = Math.Round((double)num3 / (double)num1 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num5 = "0%"; + } + if (num2 != 0)//被除数不能为零 + { + num6 = Math.Round((double)num4 / (double)num2 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num6 = "0%"; + } + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.Rows[0].Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.Rows[0].Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num5.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num6.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion + + #region 10-6.防腐 + var FFInspection = reportItem.Where(x => x.ReType == "10-6").ToList(); + if (FFInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 19; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0, num4 = 0; + string num5 = string.Empty; + string num6 = string.Empty; + foreach (var item in FFInspection) + { + //创建行 + Row row = new Row(doc); + + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.Rows[0].Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.Rows[0].Cells[1].CellFormat.Width)); + // 合并第一行的前两个单元格 + table.Rows[0].Cells[0].CellFormat.VerticalMerge = CellMerge.First; + table.Rows[1].Cells[0].CellFormat.VerticalMerge = CellMerge.Previous; + + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsBackCount.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, row); + + num1 += item.MonthsCount; + num2 += item.MonthsBackCount; + num3 += item.ProjectCount; + num4 += item.TotalNoBackCount; + + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + if (num1 != 0)//被除数不能为零 + { + num5 = Math.Round((double)num3 / (double)num1 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num5 = "0%"; + } + if (num2 != 0)//被除数不能为零 + { + num6 = Math.Round((double)num4 / (double)num2 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num6 = "0%"; + } + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.Rows[0].Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.Rows[0].Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num5.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num6.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion + + #region 10-7.消防 + var XFInspection = reportItem.Where(x => x.ReType == "10-7").ToList(); + if (XFInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 20; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0, num4 = 0; + string num5 = string.Empty; + string num6 = string.Empty; + foreach (var item in XFInspection) + { + //创建行 + Row row = new Row(doc); + + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.Rows[0].Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.Rows[0].Cells[1].CellFormat.Width)); + // 合并第一行的前两个单元格 + table.Rows[0].Cells[0].CellFormat.VerticalMerge = CellMerge.First; + table.Rows[1].Cells[0].CellFormat.VerticalMerge = CellMerge.Previous; + + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsBackCount.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, row); + + num1 += item.MonthsCount; + num2 += item.MonthsBackCount; + num3 += item.ProjectCount; + num4 += item.TotalNoBackCount; + + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + if (num1 != 0)//被除数不能为零 + { + num5 = Math.Round((double)num3 / (double)num1 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num5 = "0%"; + } + if (num2 != 0)//被除数不能为零 + { + num6 = Math.Round((double)num4 / (double)num2 * 100, 2) + "%";//保留两位小数、后四舍五入 + } + else + { + num6 = "0%"; + } + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.Rows[0].Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.Rows[0].Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.Rows[1].Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.Rows[1].Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.Rows[1].Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.Rows[1].Cells[5].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num5.ToString(), doc, table.Rows[1].Cells[6].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num6.ToString(), doc, table.Rows[1].Cells[7].CellFormat.Width)); + + table.Rows.Insert(numberIndex + 1, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion + + #region 10.总数 + var InspectionDataInspection = reportItem.Where(x => x.ReType == "10").ToList(); + if (InspectionDataInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 21; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0; + foreach (var item in InspectionDataInspection) + { + //创建行 + Row row = new Row(doc); + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.FirstRow.Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.FirstRow.Cells[1].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks, doc, table.FirstRow.Cells[4].CellFormat.Width)); + table.Rows.Insert(numberIndex, row); + num1 += item.MonthsCount; + num2 += item.ProjectCount; + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.FirstRow.Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[4].CellFormat.Width)); + table.Rows.Insert(numberIndex, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion #endregion #region 11.压力管道监检情况 + var PressureInspection = reportItem.Where(x => x.ReType == "11").ToList(); + if (PressureInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 22; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0; + foreach (var item in PressureInspection) + { + //创建行 + Row row = new Row(doc); + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.FirstRow.Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.FirstRow.Cells[1].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.FirstRow.Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks, doc, table.FirstRow.Cells[5].CellFormat.Width)); + table.Rows.Insert(numberIndex, row); + num1 += item.MonthsCount; + num2 += item.ProjectCount; + num3 += item.TotalNoBackCount; + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.FirstRow.Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.FirstRow.Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[5].CellFormat.Width)); + table.Rows.Insert(numberIndex, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } #endregion #region 12.管道试压包管理情况 + var PipingInspection = reportItem.Where(x => x.ReType == "12").ToList(); + if (PipingInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 23; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0; + foreach (var item in PipingInspection) + { + //创建行 + Row row = new Row(doc); + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.FirstRow.Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.FirstRow.Cells[1].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.FirstRow.Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks, doc, table.FirstRow.Cells[5].CellFormat.Width)); + table.Rows.Insert(numberIndex, row); + num3 += item.TotalNoBackCount; + num1 += item.MonthsCount; + num2 += item.ProjectCount; + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.FirstRow.Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.FirstRow.Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[5].CellFormat.Width)); + table.Rows.Insert(numberIndex, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } #endregion #region 13.特种设备监检情况 + var SpecialInspection = reportItem.Where(x => x.ReType == "13").ToList(); + if (SpecialInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 24; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0; + foreach (var item in SpecialInspection) + { + //创建行 + Row row = new Row(doc); + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.FirstRow.Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.FirstRow.Cells[1].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.FirstRow.Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.Remarks, doc, table.FirstRow.Cells[5].CellFormat.Width)); + table.Rows.Insert(numberIndex, row); + num1 += item.MonthsCount; + num2 += item.ProjectCount; + num3 += item.TotalNoBackCount; + numberIndex += 1; + } + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.FirstRow.Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.FirstRow.Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[4].CellFormat.Width)); + table.Rows.Insert(numberIndex, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } + #endregion #region 14.NCR管理情况 + var NcrManagementInspection = reportItem.Where(x => x.ReType == "14").ToList(); + if (NcrManagementInspection.Count > 0) + { + isYm = true; + //whileIndex += 1; + whileIndex = 25; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + //跳过页眉的表头 + while (isYm) + { + if (table.Range.Text.Substring(0, 2) != "序号") + { + whileIndex += 1; + table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, whileIndex, true); + } + else + { + isYm = false; + } + } + numberIndex = 1; + int? num1 = 0, num2 = 0, num3 = 0; + string num4 = string.Empty; + foreach (var item in NcrManagementInspection) + { + //创建行 + Row row = new Row(doc); + row.Cells.Add(CreateCell(numberIndex.ToString(), doc, table.FirstRow.Cells[0].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ContentName, doc, table.FirstRow.Cells[1].CellFormat.Width)); + row.Cells.Add(CreateCell(item.MonthsCount.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + row.Cells.Add(CreateCell(item.ProjectCount.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + row.Cells.Add(CreateCell(item.TotalNoBackCount.HasValue ? item.TotalNoBackCount.ToString() : "0", doc, table.FirstRow.Cells[4].CellFormat.Width)); + row.Cells.Add(CreateCell(item.RectificationRate.ToString(), doc, table.FirstRow.Cells[5].CellFormat.Width)); + table.Rows.Insert(numberIndex, row); + num1 += item.MonthsCount; + num2 += item.ProjectCount; + num3 += item.TotalNoBackCount; + numberIndex += 1; + } + + if (num2 != 0)//被除数不能为零 + { + num4 = Math.Round((double)num2 / (double)num3 * 100, 2) + "%";//保留两位小数、后四舍五3 + } + else + { + num4 = "0%"; + } + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + //创建合计 + Row rowhj = new Row(doc); + rowhj.Cells.Add(CreateCell("", doc, table.FirstRow.Cells[0].CellFormat.Width)); + rowhj.Cells.Add(CreateCell("合计", doc, table.FirstRow.Cells[1].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num1.ToString(), doc, table.FirstRow.Cells[2].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num2.ToString(), doc, table.FirstRow.Cells[3].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num3.ToString(), doc, table.FirstRow.Cells[4].CellFormat.Width)); + rowhj.Cells.Add(CreateCell(num4.ToString(), doc, table.FirstRow.Cells[5].CellFormat.Width)); + table.Rows.Insert(numberIndex, rowhj); + + //自动设置表格样式 + table.AutoFit(AutoFitBehavior.FixedColumnWidths); + } #endregion #region 15.质量巡检情况 diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx index fdd017fc..4aecf2d6 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx @@ -30,6 +30,17 @@ font-weight: bold; color: red; } + + .photo { + height: 300px; + line-height: 300px; + overflow: hidden; + } + + .photo img { + height: 300px; + vertical-align: middle; + } @@ -837,7 +848,7 @@ - + @@ -1790,6 +1801,122 @@ + + <%--23.施工照片--%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs index 2172f693..9cfc5393 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs @@ -187,13 +187,25 @@ namespace FineUIPro.Web.CQMS.ManageReportNew txtAre21.Text = txtReportList.FirstOrDefault(x => x.ContentType == "21").ContentText; txtAre22.Text = txtReportList.FirstOrDefault(x => x.ContentType == "22").ContentText; txtAre8.Text = txtReportList.FirstOrDefault(x => x.ContentType == "8").ContentText; - + + imgPhoto.ImageUrl = txtReportList.FirstOrDefault(x => x.ContentType == "23-1").ImageUrl; + txtPhotoContent1.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-1").ContentText; + imgPhoto2.ImageUrl = txtReportList.FirstOrDefault(x => x.ContentType == "23-2").ImageUrl; + txtPhotoContent2.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-2").ContentText; + imgPhoto3.ImageUrl = txtReportList.FirstOrDefault(x => x.ContentType == "23-3").ImageUrl; + txtPhotoContent3.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-3").ContentText; + imgPhoto4.ImageUrl = txtReportList.FirstOrDefault(x => x.ContentType == "23-4").ImageUrl; + txtPhotoContent4.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-4").ContentText; + imgPhoto5.ImageUrl = txtReportList.FirstOrDefault(x => x.ContentType == "23-5").ImageUrl; + txtPhotoContent5.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-5").ContentText; + imgPhoto6.ImageUrl = txtReportList.FirstOrDefault(x => x.ContentType == "23-6").ImageUrl; + txtPhotoContent6.Text = txtReportList.FirstOrDefault(x => x.ContentType == "23-6").ContentText; #endregion //加载所有grid lodAllGrid("1"); - + } else { @@ -1124,123 +1136,123 @@ namespace FineUIPro.Web.CQMS.ManageReportNew c.MonthRate, c.TotalRate }; - if (query.ToList().Count > 0) { + if (query.ToList().Count > 0) { //加载工艺管道 var gygdModel = query.FirstOrDefault(x => x.ProfessionalName == "工艺管道"); - var model = new Model.ProcessControl_NondestructiveTest_New(); - model.Id = Guid.NewGuid().ToString(); - model.CreateMan = item.UnitName;//用作存储施工单位名称 - model.ProfessionalName = "工艺管道"; + var model = new Model.ProcessControl_NondestructiveTest_New(); + model.Id = Guid.NewGuid().ToString(); + model.CreateMan = item.UnitName;//用作存储施工单位名称 + model.ProfessionalName = "工艺管道"; - if (gygdModel != null) - { - model.MonthQuantity = gygdModel.MonthQuantity; - model.TotalQuantity = gygdModel.TotalQuantity; - model.MonthRate = gygdModel.MonthRate + "%"; - model.TotalRate = gygdModel.TotalRate + "%"; - #region 小计和合计 + if (gygdModel != null) + { + model.MonthQuantity = gygdModel.MonthQuantity; + model.TotalQuantity = gygdModel.TotalQuantity; + model.MonthRate = gygdModel.MonthRate + "%"; + model.TotalRate = gygdModel.TotalRate + "%"; + #region 小计和合计 + //小计 + num0 += gygdModel.MonthQuantity; + num1 += gygdModel.TotalQuantity; + + //合计 + totalNum0 += gygdModel.MonthQuantity; + totalNum1 += gygdModel.TotalQuantity; + + #endregion + list.Add(model); + } + else + { + model.MonthQuantity = 0; + model.TotalQuantity = 0; + model.MonthRate = "0%"; + model.TotalRate = "0%"; + list.Add(model); + } + + + + + //地管 + gygdModel = query.FirstOrDefault(x => x.ProfessionalName == "地管"); + model = new Model.ProcessControl_NondestructiveTest_New(); + model.Id = Guid.NewGuid().ToString(); + model.CreateMan = item.UnitName;//用作存储施工单位名称 + model.ProfessionalName = "地管"; + + if (gygdModel != null) + { + model.MonthQuantity = gygdModel.MonthQuantity; + model.TotalQuantity = gygdModel.TotalQuantity; + model.MonthRate = gygdModel.MonthRate + "%"; + model.TotalRate = gygdModel.TotalRate + "%"; + #region 小计和合计 + //小计 + num0 += gygdModel.MonthQuantity; + num1 += gygdModel.TotalQuantity; + + //合计 + totalNum0 += gygdModel.MonthQuantity; + totalNum1 += gygdModel.TotalQuantity; + + #endregion + list.Add(model); + } + else + { + model.MonthQuantity = 0; + model.TotalQuantity = 0; + model.MonthRate = "0%"; + model.TotalRate = "0%"; + list.Add(model); + } + + + //非标 + gygdModel = query.FirstOrDefault(x => x.ProfessionalName == "非标"); + model = new Model.ProcessControl_NondestructiveTest_New(); + model.Id = Guid.NewGuid().ToString(); + model.CreateMan = item.UnitName;//用作存储施工单位名称 + model.ProfessionalName = "非标"; + + if (gygdModel != null) + { + model.MonthQuantity = gygdModel.MonthQuantity; + model.TotalQuantity = gygdModel.TotalQuantity; + model.MonthRate = gygdModel.MonthRate + "%"; + model.TotalRate = gygdModel.TotalRate + "%"; + #region 小计和合计 + //小计 + num0 += gygdModel.MonthQuantity; + num1 += gygdModel.TotalQuantity; + + //合计 + totalNum0 += gygdModel.MonthQuantity; + totalNum1 += gygdModel.TotalQuantity; + + #endregion + list.Add(model); + } + else + { + model.MonthQuantity = 0; + model.TotalQuantity = 0; + model.MonthRate = "0%"; + model.TotalRate = "0%"; + list.Add(model); + } //小计 - num0 += gygdModel.MonthQuantity; - num1 += gygdModel.TotalQuantity; - - //合计 - totalNum0 += gygdModel.MonthQuantity; - totalNum1 += gygdModel.TotalQuantity; - - #endregion + model = new Model.ProcessControl_NondestructiveTest_New(); + model.Id = Guid.NewGuid().ToString(); + model.CreateMan = item.UnitName;//用作存储施工单位名称 + model.ProfessionalName = "小计"; + model.MonthQuantity = num0; + model.TotalQuantity = num1; + model.MonthRate = ""; + model.TotalRate = ""; list.Add(model); } - else - { - model.MonthQuantity = 0; - model.TotalQuantity = 0; - model.MonthRate = "0%"; - model.TotalRate = "0%"; - list.Add(model); - } - - - - - //地管 - gygdModel = query.FirstOrDefault(x => x.ProfessionalName == "地管"); - model = new Model.ProcessControl_NondestructiveTest_New(); - model.Id = Guid.NewGuid().ToString(); - model.CreateMan = item.UnitName;//用作存储施工单位名称 - model.ProfessionalName = "地管"; - - if (gygdModel != null) - { - model.MonthQuantity = gygdModel.MonthQuantity; - model.TotalQuantity = gygdModel.TotalQuantity; - model.MonthRate = gygdModel.MonthRate + "%"; - model.TotalRate = gygdModel.TotalRate + "%"; - #region 小计和合计 - //小计 - num0 += gygdModel.MonthQuantity; - num1 += gygdModel.TotalQuantity; - - //合计 - totalNum0 += gygdModel.MonthQuantity; - totalNum1 += gygdModel.TotalQuantity; - - #endregion - list.Add(model); - } - else - { - model.MonthQuantity = 0; - model.TotalQuantity = 0; - model.MonthRate = "0%"; - model.TotalRate = "0%"; - list.Add(model); - } - - - //非标 - gygdModel = query.FirstOrDefault(x => x.ProfessionalName == "非标"); - model = new Model.ProcessControl_NondestructiveTest_New(); - model.Id = Guid.NewGuid().ToString(); - model.CreateMan = item.UnitName;//用作存储施工单位名称 - model.ProfessionalName = "非标"; - - if (gygdModel != null) - { - model.MonthQuantity = gygdModel.MonthQuantity; - model.TotalQuantity = gygdModel.TotalQuantity; - model.MonthRate = gygdModel.MonthRate + "%"; - model.TotalRate = gygdModel.TotalRate + "%"; - #region 小计和合计 - //小计 - num0 += gygdModel.MonthQuantity; - num1 += gygdModel.TotalQuantity; - - //合计 - totalNum0 += gygdModel.MonthQuantity; - totalNum1 += gygdModel.TotalQuantity; - - #endregion - list.Add(model); - } - else - { - model.MonthQuantity = 0; - model.TotalQuantity = 0; - model.MonthRate = "0%"; - model.TotalRate = "0%"; - list.Add(model); - } - //小计 - model = new Model.ProcessControl_NondestructiveTest_New(); - model.Id = Guid.NewGuid().ToString(); - model.CreateMan = item.UnitName;//用作存储施工单位名称 - model.ProfessionalName = "小计"; - model.MonthQuantity = num0; - model.TotalQuantity = num1; - model.MonthRate = ""; - model.TotalRate = ""; - list.Add(model); - } } Grid10.DataSource = list; @@ -2263,29 +2275,32 @@ namespace FineUIPro.Web.CQMS.ManageReportNew select new { x.UnitId, y.UnitName }; foreach (var item in units) { - //var query = from c in db.Check_CheckControl - // join u in db.Base_Unit on c.UnitId equals u.UnitId into unitJoin - // from u in unitJoin.DefaultIfEmpty() - // where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId - // select new - // { - // c.CheckDate, - // c.ProjectId, - // u.UnitId, - // u.UnitName - // }; - //var AllList = query.ToList();//项目数 + var query = from c in db.Comprehensive_DataReceivingDoc + join u in db.Base_Unit on c.SendUnit equals u.UnitId into unitJoin + from u in unitJoin.DefaultIfEmpty() + where c.ProjectId == this.CurrUser.LoginProjectId && c.SendUnit == item.UnitId + select new + { + c.ReceiveDate, + c.ProjectId, + c.IsReply, + c.RetrunWuhuangCopies, + u.UnitId, + u.UnitName + }; + var AllList = query.ToList();//项目数 //本月数 - //var monethCount = query.Where(x => (x.CheckDate >= Convert.ToDateTime(startDate) && x.CheckDate <= Convert.ToDateTime(endDate))); - //var yzCount = 0;//本月业主/ 监理返回数量 - //var NoBackCount = 0;//累计未返回数量 + var monethCount = query.Where(x => (x.ReceiveDate >= Convert.ToDateTime(startDate) && x.ReceiveDate <= Convert.ToDateTime(endDate))); + var yzCount = query.Where(x => x.IsReply == true && x.RetrunWuhuangCopies != null && (x.ReceiveDate >= Convert.ToDateTime(startDate) && x.ReceiveDate <= Convert.ToDateTime(endDate)));//本月业主/ 监理返回数量 + int totalReturnCount = query.Where(x => x.IsReply == true && x.RetrunWuhuangCopies != null).Count();//总的已返回数量 + var NoBackCount = AllList.Count() - totalReturnCount;//累计未返回数量 Model.Report_CQMS_MonthReportItem model = new Model.Report_CQMS_MonthReportItem(); model.Id = Guid.NewGuid().ToString(); model.ContentName = item.UnitName; - //model.MonthsCount = monethCount.Count(); - //model.ProjectCount = AllList.Count(); - //model.MonthsBackCount =; - //model.TotalNoBackCount =; + model.MonthsCount = monethCount.Count(); + model.ProjectCount = AllList.Count(); + model.MonthsBackCount = yzCount.Count(); + model.TotalNoBackCount = NoBackCount; model.ReportId = ReportId; //如果是修改,查询表中数据 if (objType == "1") @@ -2298,10 +2313,10 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } list.Add(model); - //Quantity1Sum += monethCount.Count(); - //Quantity2Sum += AllList.Count(); - //Quantity3Sum += yzCount.Count(); - //Quantity4Sum += NoBackCount.Count(); + Quantity1Sum += monethCount.Count(); + Quantity2Sum += AllList.Count(); + Quantity3Sum += yzCount.Count(); + Quantity4Sum += NoBackCount; i++; } gvFileReport.DataSource = list; @@ -2481,6 +2496,137 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion + #region 23.施工照片 + protected void filePhoto_FileSelected(object sender, EventArgs e) + { + if (filePhoto.HasFile) + { + string fileName = filePhoto.ShortFileName; + if (!ValidateFileType(fileName)) + { + // 清空文件上传控件 + filePhoto.Reset(); + ShowNotify("无效的文件类型!"); + return; + } + fileName = fileName.Replace(":", "_").Replace(" ", "_").Replace("\\", "_").Replace("/", "_"); + fileName = DateTime.Now.Ticks.ToString() + "_" + fileName; + + filePhoto.SaveAs(Server.MapPath("~/upload/" + fileName)); + + imgPhoto.ImageUrl = "~/upload/" + fileName; + + // 清空文件上传组件(上传后要记着清空,否则点击提交表单时会再次上传!!) + filePhoto.Reset(); + } + + if (filePhoto2.HasFile) + { + string fileName = filePhoto2.ShortFileName; + if (!ValidateFileType(fileName)) + { + // 清空文件上传控件 + filePhoto2.Reset(); + ShowNotify("无效的文件类型!"); + return; + } + fileName = fileName.Replace(":", "_").Replace(" ", "_").Replace("\\", "_").Replace("/", "_"); + fileName = DateTime.Now.Ticks.ToString() + "_" + fileName; + + filePhoto2.SaveAs(Server.MapPath("~/upload/" + fileName)); + + imgPhoto2.ImageUrl = "~/upload/" + fileName; + + // 清空文件上传组件(上传后要记着清空,否则点击提交表单时会再次上传!!) + filePhoto2.Reset(); + } + + if (filePhoto3.HasFile) + { + string fileName = filePhoto3.ShortFileName; + if (!ValidateFileType(fileName)) + { + // 清空文件上传控件 + filePhoto3.Reset(); + ShowNotify("无效的文件类型!"); + return; + } + fileName = fileName.Replace(":", "_").Replace(" ", "_").Replace("\\", "_").Replace("/", "_"); + fileName = DateTime.Now.Ticks.ToString() + "_" + fileName; + + filePhoto3.SaveAs(Server.MapPath("~/upload/" + fileName)); + + imgPhoto3.ImageUrl = "~/upload/" + fileName; + + // 清空文件上传组件(上传后要记着清空,否则点击提交表单时会再次上传!!) + filePhoto3.Reset(); + } + + if (filePhoto4.HasFile) + { + string fileName = filePhoto4.ShortFileName; + if (!ValidateFileType(fileName)) + { + // 清空文件上传控件 + filePhoto4.Reset(); + ShowNotify("无效的文件类型!"); + return; + } + fileName = fileName.Replace(":", "_").Replace(" ", "_").Replace("\\", "_").Replace("/", "_"); + fileName = DateTime.Now.Ticks.ToString() + "_" + fileName; + + filePhoto4.SaveAs(Server.MapPath("~/upload/" + fileName)); + + imgPhoto4.ImageUrl = "~/upload/" + fileName; + + // 清空文件上传组件(上传后要记着清空,否则点击提交表单时会再次上传!!) + filePhoto4.Reset(); + } + + if (filePhoto5.HasFile) + { + string fileName = filePhoto5.ShortFileName; + if (!ValidateFileType(fileName)) + { + // 清空文件上传控件 + filePhoto5.Reset(); + ShowNotify("无效的文件类型!"); + return; + } + fileName = fileName.Replace(":", "_").Replace(" ", "_").Replace("\\", "_").Replace("/", "_"); + fileName = DateTime.Now.Ticks.ToString() + "_" + fileName; + + filePhoto5.SaveAs(Server.MapPath("~/upload/" + fileName)); + + imgPhoto5.ImageUrl = "~/upload/" + fileName; + + // 清空文件上传组件(上传后要记着清空,否则点击提交表单时会再次上传!!) + filePhoto5.Reset(); + } + + if (filePhoto6.HasFile) + { + string fileName = filePhoto6.ShortFileName; + if (!ValidateFileType(fileName)) + { + // 清空文件上传控件 + filePhoto6.Reset(); + ShowNotify("无效的文件类型!"); + return; + } + fileName = fileName.Replace(":", "_").Replace(" ", "_").Replace("\\", "_").Replace("/", "_"); + fileName = DateTime.Now.Ticks.ToString() + "_" + fileName; + + filePhoto6.SaveAs(Server.MapPath("~/upload/" + fileName)); + + imgPhoto6.ImageUrl = "~/upload/" + fileName; + + // 清空文件上传组件(上传后要记着清空,否则点击提交表单时会再次上传!!) + filePhoto6.Reset(); + } + } + #endregion + #region 保存 /// /// 保存按钮 @@ -2587,6 +2733,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew //保存19.下月质量控制重点 saveNextQualityControl(); + //保存23.施工照片 + saveImages(); + //保存文本框 saveTxtContent(); #endregion @@ -2672,6 +2821,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion + #region 保存施工方案及检验试验计划审批情况 /// /// 3.1保存一般施工方案审批情况 /// @@ -2774,7 +2924,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew Funs.DB.SubmitChanges(); } } + #endregion + #region 保存4.设计交底管理情况 /// /// 保存设计交底管理情况 /// @@ -2808,7 +2960,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew Funs.DB.SubmitChanges(); } } + #endregion + #region 保存图纸会审 /// /// 保存图纸会审 /// @@ -2842,7 +2996,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew Funs.DB.SubmitChanges(); } } + #endregion + #region 保存设备材料报验管理情况 /// /// 保存设备材料报验管理情况 /// @@ -2877,7 +3033,9 @@ namespace FineUIPro.Web.CQMS.ManageReportNew Funs.DB.SubmitChanges(); } } + #endregion + #region 保存文本框内容 /// /// 保存文本框内容 /// @@ -2938,6 +3096,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew Funs.DB.Report_TextBoxContent.InsertAllOnSubmit(txtContentList); Funs.DB.SubmitChanges(); } + #endregion #region 9.计量器具报验管理情况 void saveMeasuringInspection() @@ -3124,11 +3283,11 @@ namespace FineUIPro.Web.CQMS.ManageReportNew { ReportId = ReportId, ReType = "14", - ContentName = values.Value("ContentName"), - MonthsCount = values.Value("MonthsCount"), - ProjectCount = values.Value("ProjectCount"), - //RectificationRate = values.Value("RectificationRate"), - Remarks = values.Value("Remarks") + ContentName = values.Value("WorkName"), + MonthsCount = values.Value("CurrentPeriodOkNum"), + ProjectCount = values.Value("OKNum"), + TotalNoBackCount = values.Value("CheckNum"), + RectificationRate = values.Value("OKRate"), }; if (gvNcrManagementInspection.Rows[rowIndex].DataKeys.Length > 0) { @@ -3232,10 +3391,10 @@ namespace FineUIPro.Web.CQMS.ManageReportNew ReportId = ReportId, ReType = "3", ContentName = values.Value("ContentName"), - //MonthsCount = Funs.GetNewInt(values.Value("MonthsCount").ToString()), - //ProjectCount = Funs.GetNewInt(values.Value("ProjectCount").ToString()), - //MonthsBackCount = Funs.GetNewInt(values.Value("MonthsBackCount").ToString()), - //TotalNoBackCount = Funs.GetNewInt(values.Value("TotalNoBackCount").ToString()) + MonthsCount = Funs.GetNewInt(values.Value("MonthsCount").ToString()), + ProjectCount = Funs.GetNewInt(values.Value("ProjectCount").ToString()), + MonthsBackCount = Funs.GetNewInt(values.Value("MonthsBackCount").ToString()), + TotalNoBackCount = Funs.GetNewInt(values.Value("TotalNoBackCount").ToString()) }; if (gvFileReport.Rows[rowIndex].DataKeys.Length > 0) { @@ -3351,10 +3510,63 @@ namespace FineUIPro.Web.CQMS.ManageReportNew } #endregion + #region 23.施工照片 + void saveImages() + { + var ImageLists = new List(); + var imgage1 = new Model.Report_TextBoxContent(); + imgage1.Id = Guid.NewGuid().ToString(); + imgage1.ReportId = ReportId; + imgage1.ContentType = "23-1"; + imgage1.ContentText = txtPhotoContent1.Text; + imgage1.ImageUrl = imgPhoto.ImageUrl; + ImageLists.Add(imgage1); + + var imgage2 = new Model.Report_TextBoxContent(); + imgage2.Id = Guid.NewGuid().ToString(); + imgage2.ReportId = ReportId; + imgage2.ContentType = "23-2"; + imgage2.ContentText = txtPhotoContent2.Text; + imgage2.ImageUrl = imgPhoto2.ImageUrl; + ImageLists.Add(imgage2); + + var imgage3 = new Model.Report_TextBoxContent(); + imgage3.Id = Guid.NewGuid().ToString(); + imgage3.ReportId = ReportId; + imgage3.ContentType = "23-3"; + imgage3.ContentText = txtPhotoContent3.Text; + imgage3.ImageUrl = imgPhoto3.ImageUrl; + ImageLists.Add(imgage3); + + var imgage4 = new Model.Report_TextBoxContent(); + imgage4.Id = Guid.NewGuid().ToString(); + imgage4.ReportId = ReportId; + imgage4.ContentType = "23-4"; + imgage4.ContentText = txtPhotoContent4.Text; + imgage4.ImageUrl = imgPhoto4.ImageUrl; + ImageLists.Add(imgage4); + + var imgage5 = new Model.Report_TextBoxContent(); + imgage5.Id = Guid.NewGuid().ToString(); + imgage5.ReportId = ReportId; + imgage5.ContentType = "23-5"; + imgage5.ContentText = txtPhotoContent2.Text; + imgage5.ImageUrl = imgPhoto5.ImageUrl; + ImageLists.Add(imgage5); + + var imgage6 = new Model.Report_TextBoxContent(); + imgage6.Id = Guid.NewGuid().ToString(); + imgage6.ReportId = ReportId; + imgage6.ContentType = "23-6"; + imgage6.ContentText = txtPhotoContent6.Text; + imgage6.ImageUrl = imgPhoto6.ImageUrl; + ImageLists.Add(imgage6); + + Funs.DB.Report_TextBoxContent.InsertAllOnSubmit(ImageLists); + Funs.DB.SubmitChanges(); + } #endregion - - - + #endregion } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.designer.cs index 444f0423..c278b4a3 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.designer.cs @@ -7,13 +7,11 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web.CQMS.ManageReportNew -{ - - - public partial class MonthReportEdit - { - +namespace FineUIPro.Web.CQMS.ManageReportNew { + + + public partial class MonthReportEdit { + /// /// form1 控件。 /// @@ -22,7 +20,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -31,7 +29,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// ContentPanel1 控件。 /// @@ -40,7 +38,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel ContentPanel1; - + /// /// Table1 控件。 /// @@ -49,7 +47,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlTable Table1; - + /// /// tabbtn 控件。 /// @@ -58,7 +56,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlTable tabbtn; - + /// /// image15 控件。 /// @@ -67,7 +65,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Image image15; - + /// /// Button2 控件。 /// @@ -76,7 +74,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button Button2; - + /// /// Table5 控件。 /// @@ -85,7 +83,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlTable Table5; - + /// /// lblProjectName 控件。 /// @@ -94,7 +92,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblProjectName; - + /// /// Label1 控件。 /// @@ -103,7 +101,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label Label1; - + /// /// txtPeriod 控件。 /// @@ -112,7 +110,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.TextBox txtPeriod; - + /// /// RequiredFieldValidator1 控件。 /// @@ -121,7 +119,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.RequiredFieldValidator RequiredFieldValidator1; - + /// /// Label2 控件。 /// @@ -130,7 +128,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label Label2; - + /// /// lblTital 控件。 /// @@ -139,7 +137,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.Label lblTital; - + /// /// Table2 控件。 /// @@ -148,7 +146,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlTable Table2; - + /// /// txtStartDate 控件。 /// @@ -157,7 +155,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtStartDate; - + /// /// Label3 控件。 /// @@ -166,7 +164,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label Label3; - + /// /// txtEndDate 控件。 /// @@ -175,7 +173,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DatePicker txtEndDate; - + /// /// Panel4 控件。 /// @@ -184,7 +182,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel4; - + /// /// Toolbar2 控件。 /// @@ -193,7 +191,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar2; - + /// /// Button3 控件。 /// @@ -202,7 +200,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button Button3; - + /// /// Form5 控件。 /// @@ -211,7 +209,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form5; - + /// /// Grid1 控件。 /// @@ -220,7 +218,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid1; - + /// /// txtProStage 控件。 /// @@ -229,7 +227,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProStage; - + /// /// txtProDescribe 控件。 /// @@ -238,7 +236,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProDescribe; - + /// /// txtTargetValue 控件。 /// @@ -247,7 +245,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtTargetValue; - + /// /// txtMonthPer 控件。 /// @@ -256,7 +254,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtMonthPer; - + /// /// txtRemarks 控件。 /// @@ -265,7 +263,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtRemarks; - + /// /// Panel5 控件。 /// @@ -274,7 +272,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel5; - + /// /// Panel6 控件。 /// @@ -283,7 +281,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel6; - + /// /// Form6 控件。 /// @@ -292,7 +290,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form6; - + /// /// txtAre0 控件。 /// @@ -301,7 +299,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtAre0; - + /// /// Panel7 控件。 /// @@ -310,7 +308,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel7; - + /// /// Form7 控件。 /// @@ -319,7 +317,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form7; - + /// /// txtAre1 控件。 /// @@ -328,7 +326,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtAre1; - + /// /// Panel8 控件。 /// @@ -337,7 +335,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel8; - + /// /// Form8 控件。 /// @@ -346,7 +344,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form8; - + /// /// txtAre2 控件。 /// @@ -355,7 +353,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtAre2; - + /// /// Panel9 控件。 /// @@ -364,7 +362,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel9; - + /// /// Panel10 控件。 /// @@ -373,7 +371,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel10; - + /// /// Form9 控件。 /// @@ -382,7 +380,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form9; - + /// /// Grid2 控件。 /// @@ -391,7 +389,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid2; - + /// /// TextBox5 控件。 /// @@ -400,7 +398,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox5; - + /// /// Panel11 控件。 /// @@ -409,7 +407,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel11; - + /// /// Form10 控件。 /// @@ -418,7 +416,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form10; - + /// /// Grid3 控件。 /// @@ -427,7 +425,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid3; - + /// /// TextBox1 控件。 /// @@ -436,7 +434,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox1; - + /// /// Panel12 控件。 /// @@ -445,7 +443,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel12; - + /// /// Form11 控件。 /// @@ -454,7 +452,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form11; - + /// /// Grid4 控件。 /// @@ -463,7 +461,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid4; - + /// /// TextBox2 控件。 /// @@ -472,7 +470,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox2; - + /// /// Panel13 控件。 /// @@ -481,7 +479,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel13; - + /// /// Form12 控件。 /// @@ -490,7 +488,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form12; - + /// /// Grid5 控件。 /// @@ -499,7 +497,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid5; - + /// /// TextBox3 控件。 /// @@ -508,7 +506,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox3; - + /// /// Panel14 控件。 /// @@ -517,7 +515,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel14; - + /// /// Form13 控件。 /// @@ -526,7 +524,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form13; - + /// /// Grid6 控件。 /// @@ -535,7 +533,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid6; - + /// /// TextBox4 控件。 /// @@ -544,7 +542,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox4; - + /// /// Panel15 控件。 /// @@ -553,7 +551,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel15; - + /// /// Form14 控件。 /// @@ -562,7 +560,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form14; - + /// /// Grid7 控件。 /// @@ -571,7 +569,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid7; - + /// /// Panel16 控件。 /// @@ -580,7 +578,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel16; - + /// /// Panel17 控件。 /// @@ -589,7 +587,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel17; - + /// /// Form15 控件。 /// @@ -598,7 +596,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form15; - + /// /// Grid8 控件。 /// @@ -607,7 +605,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid8; - + /// /// Panel18 控件。 /// @@ -616,7 +614,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel18; - + /// /// Toolbar3 控件。 /// @@ -625,7 +623,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar3; - + /// /// Button4 控件。 /// @@ -634,7 +632,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button Button4; - + /// /// Form16 控件。 /// @@ -643,7 +641,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form16; - + /// /// Grid9 控件。 /// @@ -652,7 +650,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid9; - + /// /// drpUnitIdGrid9 控件。 /// @@ -661,7 +659,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpUnitIdGrid9; - + /// /// TextBox7 控件。 /// @@ -670,7 +668,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.NumberBox TextBox7; - + /// /// TextBox8 控件。 /// @@ -679,7 +677,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.NumberBox TextBox8; - + /// /// TextBox10 控件。 /// @@ -688,7 +686,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox10; - + /// /// Panel19 控件。 /// @@ -697,7 +695,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel19; - + /// /// Form17 控件。 /// @@ -706,7 +704,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form17; - + /// /// Grid10 控件。 /// @@ -715,7 +713,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid10; - + /// /// Panel20 控件。 /// @@ -724,7 +722,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel20; - + /// /// Form18 控件。 /// @@ -733,7 +731,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form18; - + /// /// Grid11 控件。 /// @@ -742,7 +740,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid Grid11; - + /// /// TextBox6 控件。 /// @@ -751,7 +749,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox6; - + /// /// Form19 控件。 /// @@ -760,7 +758,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form19; - + /// /// txtAre8 控件。 /// @@ -769,7 +767,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtAre8; - + /// /// Pnl9 控件。 /// @@ -778,7 +776,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Pnl9; - + /// /// Form26 控件。 /// @@ -787,7 +785,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form26; - + /// /// gvMeasuringInspection 控件。 /// @@ -796,7 +794,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvMeasuringInspection; - + /// /// TextBox14 控件。 /// @@ -805,7 +803,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox14; - + /// /// Pnl10 控件。 /// @@ -814,7 +812,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Pnl10; - + /// /// Form27 控件。 /// @@ -823,7 +821,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form27; - + /// /// gvTj 控件。 /// @@ -832,7 +830,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvTj; - + /// /// GvSb 控件。 /// @@ -841,7 +839,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid GvSb; - + /// /// GvGD 控件。 /// @@ -850,7 +848,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid GvGD; - + /// /// GvDq 控件。 /// @@ -859,7 +857,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid GvDq; - + /// /// GvYb 控件。 /// @@ -868,7 +866,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid GvYb; - + /// /// GvFf 控件。 /// @@ -877,7 +875,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid GvFf; - + /// /// GvXf 控件。 /// @@ -886,7 +884,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid GvXf; - + /// /// gvInspectionDataInspection 控件。 /// @@ -895,7 +893,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvInspectionDataInspection; - + /// /// TextBox15 控件。 /// @@ -904,7 +902,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox15; - + /// /// Pnl11 控件。 /// @@ -913,7 +911,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Pnl11; - + /// /// Form28 控件。 /// @@ -922,7 +920,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form28; - + /// /// gvPressureInspection 控件。 /// @@ -931,7 +929,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvPressureInspection; - + /// /// TextBox16 控件。 /// @@ -940,7 +938,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox16; - + /// /// Pnl12 控件。 /// @@ -949,7 +947,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Pnl12; - + /// /// Form29 控件。 /// @@ -958,7 +956,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form29; - + /// /// gvPipingInspection 控件。 /// @@ -967,7 +965,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvPipingInspection; - + /// /// TextBox17 控件。 /// @@ -976,7 +974,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox17; - + /// /// TextBox18 控件。 /// @@ -985,7 +983,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox18; - + /// /// Pnl13 控件。 /// @@ -994,7 +992,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Pnl13; - + /// /// Form30 控件。 /// @@ -1003,7 +1001,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form30; - + /// /// gvSpecialInspection 控件。 /// @@ -1012,7 +1010,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvSpecialInspection; - + /// /// TextBox19 控件。 /// @@ -1021,7 +1019,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox19; - + /// /// TextBox20 控件。 /// @@ -1030,7 +1028,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox20; - + /// /// Pnl14 控件。 /// @@ -1039,7 +1037,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Pnl14; - + /// /// Form31 控件。 /// @@ -1048,7 +1046,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form31; - + /// /// gvNcrManagementInspection 控件。 /// @@ -1057,7 +1055,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvNcrManagementInspection; - + /// /// Panel21 控件。 /// @@ -1066,7 +1064,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel21; - + /// /// Form20 控件。 /// @@ -1075,7 +1073,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form20; - + /// /// gvQualityInspection 控件。 /// @@ -1084,7 +1082,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvQualityInspection; - + /// /// TextBox11 控件。 /// @@ -1093,7 +1091,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox11; - + /// /// Panel22 控件。 /// @@ -1102,7 +1100,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel22; - + /// /// Form21 控件。 /// @@ -1111,7 +1109,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form21; - + /// /// gvSpecialCheck 控件。 /// @@ -1120,7 +1118,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvSpecialCheck; - + /// /// TextBox12 控件。 /// @@ -1129,7 +1127,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox12; - + /// /// Panel23 控件。 /// @@ -1138,7 +1136,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel23; - + /// /// Form22 控件。 /// @@ -1147,7 +1145,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form22; - + /// /// gvFileReport 控件。 /// @@ -1156,7 +1154,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvFileReport; - + /// /// Panel24 控件。 /// @@ -1165,7 +1163,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel24; - + /// /// Panel25 控件。 /// @@ -1174,7 +1172,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel25; - + /// /// Toolbar5 控件。 /// @@ -1183,7 +1181,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar5; - + /// /// btnRowMaterialProblem 控件。 /// @@ -1192,7 +1190,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnRowMaterialProblem; - + /// /// Form23 控件。 /// @@ -1201,7 +1199,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form23; - + /// /// gvRowMaterialProblem 控件。 /// @@ -1210,7 +1208,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvRowMaterialProblem; - + /// /// txtUnitId 控件。 /// @@ -1219,7 +1217,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtUnitId; - + /// /// txtProblemDesrioption 控件。 /// @@ -1228,7 +1226,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProblemDesrioption; - + /// /// txtTreatmentMeasures 控件。 /// @@ -1237,7 +1235,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtTreatmentMeasures; - + /// /// txtProcessingResults 控件。 /// @@ -1246,7 +1244,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProcessingResults; - + /// /// txtRemark 控件。 /// @@ -1255,7 +1253,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtRemark; - + /// /// Panel26 控件。 /// @@ -1264,7 +1262,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel26; - + /// /// Toolbar6 控件。 /// @@ -1273,7 +1271,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar6; - + /// /// btnAddConstructionProblems 控件。 /// @@ -1282,7 +1280,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAddConstructionProblems; - + /// /// Form24 控件。 /// @@ -1291,7 +1289,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form24; - + /// /// gvConstructionProblems 控件。 /// @@ -1300,7 +1298,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvConstructionProblems; - + /// /// drpUnitId 控件。 /// @@ -1309,7 +1307,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpUnitId; - + /// /// txtProblemDesrioption2 控件。 /// @@ -1318,7 +1316,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProblemDesrioption2; - + /// /// txtTreatmentMeasures2 控件。 /// @@ -1327,7 +1325,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtTreatmentMeasures2; - + /// /// txtProcessingResults2 控件。 /// @@ -1336,7 +1334,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtProcessingResults2; - + /// /// txtRemark2 控件。 /// @@ -1345,7 +1343,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox txtRemark2; - + /// /// Panel27 控件。 /// @@ -1354,7 +1352,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel27; - + /// /// Toolbar7 控件。 /// @@ -1363,7 +1361,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar7; - + /// /// btnAddNextControl 控件。 /// @@ -1372,7 +1370,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnAddNextControl; - + /// /// Form25 控件。 /// @@ -1381,7 +1379,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form25; - + /// /// gvNextQualityControl 控件。 /// @@ -1390,7 +1388,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Grid gvNextQualityControl; - + /// /// TextBox13 控件。 /// @@ -1399,7 +1397,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextBox TextBox13; - + /// /// Panel3 控件。 /// @@ -1408,7 +1406,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel3; - + /// /// Form3 控件。 /// @@ -1417,7 +1415,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form3; - + /// /// txtAre20 控件。 /// @@ -1426,7 +1424,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtAre20; - + /// /// Panel1 控件。 /// @@ -1435,7 +1433,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// Form2 控件。 /// @@ -1444,7 +1442,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form2; - + /// /// txtAre21 控件。 /// @@ -1453,7 +1451,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtAre21; - + /// /// Panel2 控件。 /// @@ -1462,7 +1460,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel2; - + /// /// Form4 控件。 /// @@ -1471,7 +1469,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Form Form4; - + /// /// txtAre22 控件。 /// @@ -1480,7 +1478,349 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TextArea txtAre22; - + + /// + /// Panel28 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Panel Panel28; + + /// + /// Form32 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Form Form32; + + /// + /// imgPhoto 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Image imgPhoto; + + /// + /// imgPhoto2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Image imgPhoto2; + + /// + /// Label7 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label7; + + /// + /// filePhoto 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FileUpload filePhoto; + + /// + /// Label8 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label8; + + /// + /// filePhoto2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FileUpload filePhoto2; + + /// + /// Label9 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label9; + + /// + /// Label4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label4; + + /// + /// txtPhotoContent1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPhotoContent1; + + /// + /// Label5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label5; + + /// + /// txtPhotoContent2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPhotoContent2; + + /// + /// Label6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label6; + + /// + /// imgPhoto3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Image imgPhoto3; + + /// + /// imgPhoto4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Image imgPhoto4; + + /// + /// Label10 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label10; + + /// + /// filePhoto3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FileUpload filePhoto3; + + /// + /// Label11 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label11; + + /// + /// filePhoto4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FileUpload filePhoto4; + + /// + /// Label12 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label12; + + /// + /// Label13 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label13; + + /// + /// txtPhotoContent3 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPhotoContent3; + + /// + /// Label14 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label14; + + /// + /// txtPhotoContent4 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPhotoContent4; + + /// + /// Label15 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label15; + + /// + /// imgPhoto5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Image imgPhoto5; + + /// + /// imgPhoto6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Image imgPhoto6; + + /// + /// Label16 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label16; + + /// + /// filePhoto5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FileUpload filePhoto5; + + /// + /// Label17 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label17; + + /// + /// filePhoto6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.FileUpload filePhoto6; + + /// + /// Label18 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label18; + + /// + /// Label19 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label19; + + /// + /// txtPhotoContent5 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPhotoContent5; + + /// + /// Label20 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label20; + + /// + /// txtPhotoContent6 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.TextBox txtPhotoContent6; + + /// + /// Label21 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Label Label21; + /// /// Toolbar1 控件。 /// @@ -1489,7 +1829,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Toolbar Toolbar1; - + /// /// hdCheckControlCode 控件。 /// @@ -1498,7 +1838,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.HiddenField hdCheckControlCode; - + /// /// ToolbarFill1 控件。 /// @@ -1507,7 +1847,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ToolbarFill ToolbarFill1; - + /// /// Button1 控件。 /// @@ -1516,7 +1856,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button Button1; - + /// /// hdId 控件。 /// @@ -1525,7 +1865,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.HiddenField hdId; - + /// /// hdAttachUrl 控件。 /// @@ -1534,7 +1874,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.HiddenField hdAttachUrl; - + /// /// ValidationSummary1 控件。 /// @@ -1543,7 +1883,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.ValidationSummary ValidationSummary1; - + /// /// hidReportId 控件。 /// diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index f3d8cb12..0b301999 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -1,192 +1,330 @@ 错误信息开始=====> -错误类型:DivideByZeroException -错误信息:尝试除以零。 +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via 错误堆栈: - 在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.loadQualityInspection(String objType) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 2128 - 在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.lodAllGrid(String objType) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 271 - 在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.Page_Load(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 218 + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204 + 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 +出错时间:04/03/2024 17:51:45 +出错时间:04/03/2024 17:51:46 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228 + 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 +出错时间:04/03/2024 17:51:46 +出错时间:04/03/2024 17:51:46 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220 + 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 +出错时间:04/03/2024 17:51:46 +出错时间:04/03/2024 17:51:46 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020 + 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 +出错时间:04/03/2024 17:51:46 +出错时间:04/03/2024 17:51:46 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204 + 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 +出错时间:04/03/2024 19:51:41 +出错时间:04/03/2024 19:51:41 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228 + 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 +出错时间:04/03/2024 19:51:41 +出错时间:04/03/2024 19:51:41 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220 + 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 +出错时间:04/03/2024 19:51:42 +出错时间:04/03/2024 19:51:42 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020 + 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 +出错时间:04/03/2024 19:51:42 +出错时间:04/03/2024 19:51:42 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204 + 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 +出错时间:04/03/2024 21:51:41 +出错时间:04/03/2024 21:51:42 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228 + 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 +出错时间:04/03/2024 21:51:42 +出错时间:04/03/2024 21:51:42 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220 + 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 +出错时间:04/03/2024 21:51:42 +出错时间:04/03/2024 21:51:42 + + +错误信息开始=====> +错误类型:ArgumentException +错误信息:提供的 URI 方案“http”无效,应为“https”。 +参数名: via +错误堆栈: + 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) + 在 System.ServiceModel.ChannelFactory`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannel() + 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() + 在 System.ServiceModel.ClientBase`1.get_Channel() + 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020 + 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 +出错时间:04/03/2024 21:51:42 +出错时间:04/03/2024 21:51:42 + + +错误信息开始=====> +错误类型:NullReferenceException +错误信息:未将对象引用设置到对象的实例。 +错误堆栈: + 在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.Page_Load(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 193 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) 在 System.EventHandler.Invoke(Object sender, EventArgs e) 在 System.Web.UI.Control.OnLoad(EventArgs e) 在 System.Web.UI.Control.LoadRecursive() 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:04/01/2024 10:31:03 -出错文件:http://localhost:8579/CQMS/ManageReportNew/MonthReportEdit.aspx +出错时间:04/03/2024 23:11:43 +出错文件:http://localhost:8579/CQMS/ManageReportNew/MonthReportEdit.aspx?reportId=a5209a38-af66-4082-90ab-2585e44c3760 IP地址:::1 操作人员:JT -出错时间:04/01/2024 10:31:03 - - -错误信息开始=====> -错误类型:ChangeConflictException -错误信息:找不到行或行已更改。 -错误堆栈: - 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) - 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) - 在 System.Data.Linq.DataContext.SubmitChanges() - 在 BLL.UserService.UpdateLastUserInfo(String userId, String LastMenuType, Boolean LastIsOffice, String LastProjectId) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SysManage\UserService.cs:行号 95 - 在 FineUIPro.Web.indexProject.MenuSwitchMethod(String type) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\indexProject.aspx.cs:行号 727 - 在 FineUIPro.Web.indexProject.Page_Load(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\indexProject.aspx.cs:行号 315 - 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) - 在 System.EventHandler.Invoke(Object sender, EventArgs e) - 在 System.Web.UI.Control.OnLoad(EventArgs e) - 在 System.Web.UI.Control.LoadRecursive() - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:04/01/2024 10:37:35 -出错文件:http://localhost:8579/indexProject.aspx?projectId=a7f692aa-4bd5-4fb3-87f8-ba1ab8f94cc2 -IP地址:::1 -操作人员:JT - -出错时间:04/01/2024 10:37:35 - - -错误信息开始=====> -错误类型:DivideByZeroException -错误信息:尝试除以零。 -错误堆栈: - 在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.loadQualityInspection(String objType) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 2153 - 在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.lodAllGrid(String objType) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 271 - 在 FineUIPro.Web.CQMS.ManageReportNew.MonthReportEdit.Page_Load(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ManageReportNew\MonthReportEdit.aspx.cs:行号 218 - 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) - 在 System.EventHandler.Invoke(Object sender, EventArgs e) - 在 System.Web.UI.Control.OnLoad(EventArgs e) - 在 System.Web.UI.Control.LoadRecursive() - 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) -出错时间:04/01/2024 10:38:20 -出错文件:http://localhost:8579/CQMS/ManageReportNew/MonthReportEdit.aspx -IP地址:::1 -操作人员:JT - -出错时间:04/01/2024 10:38:20 - - -错误信息开始=====> -错误类型:HttpParseException -错误信息:基类包括字段“txtProcessName”,但其类型(FineUIPro.TextArea)与控件(FineUIPro.TextBox)的类型不兼容。 -错误堆栈: - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildFieldDeclaration(ControlBuilder builder) - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) - 在 System.Web.Compilation.BaseTemplateCodeDomTreeGenerator.BuildSourceDataTreeFromBuilder(ControlBuilder builder, Boolean fInTemplate, Boolean topLevelControlInTemplate, PropertyEntry pse) - 在 System.Web.Compilation.TemplateControlCodeDomTreeGenerator.BuildMiscClassMembers() - 在 System.Web.Compilation.PageCodeDomTreeGenerator.BuildMiscClassMembers() - 在 System.Web.Compilation.BaseCodeDomTreeGenerator.BuildSourceDataTree() - 在 System.Web.Compilation.BaseCodeDomTreeGenerator.GetCodeDomTree(CodeDomProvider codeDomProvider, StringResourceBuilder stringResourceBuilder, VirtualPath virtualPath) - 在 System.Web.Compilation.BaseTemplateBuildProvider.GenerateCode(AssemblyBuilder assemblyBuilder) - 在 System.Web.Compilation.AssemblyBuilder.AddBuildProvider(BuildProvider buildProvider) -出错时间:03/28/2024 15:18:32 -出错文件:http://localhost:8579/Personal/TestRunMonthSummaryEdit.aspx?TestRunMonthSummaryId=85881239-5093-461d-b96f-863374ea0928 -IP地址:::1 - -出错时间:03/28/2024 15:18:32 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14204 - 在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181 -出错时间:03/29/2024 12:56:24 -出错时间:03/29/2024 12:56:24 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14228 - 在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046 -出错时间:03/29/2024 12:56:24 -出错时间:03/29/2024 12:56:24 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14220 - 在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942 -出错时间:03/29/2024 12:56:24 -出错时间:03/29/2024 12:56:24 - - -错误信息开始=====> -错误类型:ArgumentException -错误信息:提供的 URI 方案“http”无效,应为“https”。 -参数名: via -错误堆栈: - 在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via) - 在 System.ServiceModel.ChannelFactory`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannel() - 在 System.ServiceModel.ClientBase`1.CreateChannelInternal() - 在 System.ServiceModel.ClientBase`1.get_Channel() - 在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 14020 - 在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884 -出错时间:03/29/2024 12:56:24 -出错时间:03/29/2024 12:56:24 +出错时间:04/03/2024 23:11:43 diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011039575019).doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011039575019).doc new file mode 100644 index 00000000..91466f81 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011039575019).doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011042564287).doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011042564287).doc new file mode 100644 index 00000000..91466f81 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011042564287).doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011045503043).doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011045503043).doc new file mode 100644 index 00000000..91466f81 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011045503043).doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011056108040).doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011056108040).doc new file mode 100644 index 00000000..91466f81 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011056108040).doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011057317078).doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011057317078).doc new file mode 100644 index 00000000..91466f81 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011057317078).doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011100589539).doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011100589539).doc new file mode 100644 index 00000000..91466f81 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011100589539).doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011109132272).doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011109132272).doc new file mode 100644 index 00000000..91466f81 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报(202404011109132272).doc differ diff --git a/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报.doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报.doc index 1623d1f4..91466f81 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/项目质量月报1.doc b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报1.doc new file mode 100644 index 00000000..1623d1f4 Binary files /dev/null and b/SGGL/FineUIPro.Web/File/Word/CQMS/项目质量月报1.doc differ diff --git a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288166741559_A-施工开车交叉期间动火作业许可证.doc b/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288166741559_A-施工开车交叉期间动火作业许可证.doc deleted file mode 100644 index b656a042..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288166741559_A-施工开车交叉期间动火作业许可证.doc and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288324694000_B-施工开车交叉期间盲板抽堵作业许可证.docx b/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288324694000_B-施工开车交叉期间盲板抽堵作业许可证.docx deleted file mode 100644 index 6eb35aaa..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288324694000_B-施工开车交叉期间盲板抽堵作业许可证.docx and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288411617856_C-施工开车交叉期间受限空间作业许可证.doc b/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288411617856_C-施工开车交叉期间受限空间作业许可证.doc deleted file mode 100644 index 54868768..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288411617856_C-施工开车交叉期间受限空间作业许可证.doc and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288491179908_D-施工开车区域作业许可证(非特殊作业).doc b/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288491179908_D-施工开车区域作业许可证(非特殊作业).doc deleted file mode 100644 index b8386f1e..00000000 Binary files a/SGGL/FineUIPro.Web/FileUpload/TestRun/DriverHse/TestRunLicenseType/2024-03/638452288491179908_D-施工开车区域作业许可证(非特殊作业).doc and /dev/null differ diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 2ce3ba23..b8fdde4f 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -423,6 +423,9 @@ + + + @@ -7308,6 +7311,27 @@ DataReceivingDataIn.aspx + + DataReceivingDoc.aspx + ASPXCodeBehind + + + DataReceivingDoc.aspx + + + DataReceivingDocApprove.aspx + ASPXCodeBehind + + + DataReceivingDocApprove.aspx + + + DataReceivingDocEdit.aspx + ASPXCodeBehind + + + DataReceivingDocEdit.aspx + DataReceivingEdit.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user index 63ca13cc..9e91deff 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj.user @@ -1,7 +1,7 @@  - Release|Any CPU + Debug|Any CPU true false diff --git a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml index 528fef75..afed86eb 100644 --- a/SGGL/FineUIPro.Web/common/Menu_CQMS.xml +++ b/SGGL/FineUIPro.Web/common/Menu_CQMS.xml @@ -18,8 +18,7 @@ - - + diff --git a/SGGL/FineUIPro.Web/common/Menu_TestRun.xml b/SGGL/FineUIPro.Web/common/Menu_TestRun.xml index ef07bfad..9ef71725 100644 --- a/SGGL/FineUIPro.Web/common/Menu_TestRun.xml +++ b/SGGL/FineUIPro.Web/common/Menu_TestRun.xml @@ -95,7 +95,15 @@ - + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml index 3ddcd7cf..ed44c8fe 100644 --- a/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml +++ b/SGGL/FineUIPro.Web/common/Menu_ZHGL.xml @@ -83,11 +83,4 @@ -<<<<<<< HEAD -======= - - - - ->>>>>>> 0ae4143492852fa438a0c21d967acf7271ee604e \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/res/images/R-C.png b/SGGL/FineUIPro.Web/res/images/R-C.png new file mode 100644 index 00000000..1b209022 Binary files /dev/null and b/SGGL/FineUIPro.Web/res/images/R-C.png differ diff --git a/SGGL/FineUIPro.Web/upload/638477563446633497_CNCEC.png b/SGGL/FineUIPro.Web/upload/638477563446633497_CNCEC.png new file mode 100644 index 00000000..6fbda87d Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477563446633497_CNCEC.png differ diff --git a/SGGL/FineUIPro.Web/upload/638477565746229142_CNCEC.png b/SGGL/FineUIPro.Web/upload/638477565746229142_CNCEC.png new file mode 100644 index 00000000..6fbda87d Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477565746229142_CNCEC.png differ diff --git a/SGGL/FineUIPro.Web/upload/638477565876130600_CWCEC.bmp b/SGGL/FineUIPro.Web/upload/638477565876130600_CWCEC.bmp new file mode 100644 index 00000000..a296b06a Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477565876130600_CWCEC.bmp differ diff --git a/SGGL/FineUIPro.Web/upload/638477813954628977_CNCEC.png b/SGGL/FineUIPro.Web/upload/638477813954628977_CNCEC.png new file mode 100644 index 00000000..6fbda87d Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477813954628977_CNCEC.png differ diff --git a/SGGL/FineUIPro.Web/upload/638477828055143739_CNCEC.png b/SGGL/FineUIPro.Web/upload/638477828055143739_CNCEC.png new file mode 100644 index 00000000..6fbda87d Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477828055143739_CNCEC.png differ diff --git a/SGGL/FineUIPro.Web/upload/638477828134774856_SEDIN.gif b/SGGL/FineUIPro.Web/upload/638477828134774856_SEDIN.gif new file mode 100644 index 00000000..426e3c3c Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477828134774856_SEDIN.gif differ diff --git a/SGGL/FineUIPro.Web/upload/638477828219469853_TCC-.gif b/SGGL/FineUIPro.Web/upload/638477828219469853_TCC-.gif new file mode 100644 index 00000000..3c6edfda Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477828219469853_TCC-.gif differ diff --git a/SGGL/FineUIPro.Web/upload/638477828337479184_二维码图片.png b/SGGL/FineUIPro.Web/upload/638477828337479184_二维码图片.png new file mode 100644 index 00000000..d92042cd Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477828337479184_二维码图片.png differ diff --git a/SGGL/FineUIPro.Web/upload/638477842725788245_CNCEC.png b/SGGL/FineUIPro.Web/upload/638477842725788245_CNCEC.png new file mode 100644 index 00000000..6fbda87d Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477842725788245_CNCEC.png differ diff --git a/SGGL/FineUIPro.Web/upload/638477844558037755_CNCEC.png b/SGGL/FineUIPro.Web/upload/638477844558037755_CNCEC.png new file mode 100644 index 00000000..6fbda87d Binary files /dev/null and b/SGGL/FineUIPro.Web/upload/638477844558037755_CNCEC.png differ diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 97b44741..3d014c9a 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -521,6 +521,12 @@ namespace Model partial void InsertComprehensive_DataReceivingApprove(Comprehensive_DataReceivingApprove instance); partial void UpdateComprehensive_DataReceivingApprove(Comprehensive_DataReceivingApprove instance); partial void DeleteComprehensive_DataReceivingApprove(Comprehensive_DataReceivingApprove instance); + partial void InsertComprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc instance); + partial void UpdateComprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc instance); + partial void DeleteComprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc instance); + partial void InsertComprehensive_DataReceivingDocApprove(Comprehensive_DataReceivingDocApprove instance); + partial void UpdateComprehensive_DataReceivingDocApprove(Comprehensive_DataReceivingDocApprove instance); + partial void DeleteComprehensive_DataReceivingDocApprove(Comprehensive_DataReceivingDocApprove instance); partial void InsertComprehensive_DesignChangeOrder(Comprehensive_DesignChangeOrder instance); partial void UpdateComprehensive_DesignChangeOrder(Comprehensive_DesignChangeOrder instance); partial void DeleteComprehensive_DesignChangeOrder(Comprehensive_DesignChangeOrder instance); @@ -1445,6 +1451,9 @@ namespace Model partial void InsertManager_Month_CheckC(Manager_Month_CheckC instance); partial void UpdateManager_Month_CheckC(Manager_Month_CheckC instance); partial void DeleteManager_Month_CheckC(Manager_Month_CheckC instance); + partial void InsertManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance); + partial void UpdateManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance); + partial void DeleteManager_Month_ComplianceObligations(Manager_Month_ComplianceObligations instance); partial void InsertManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance); partial void UpdateManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance); partial void DeleteManager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC instance); @@ -2003,6 +2012,9 @@ namespace Model partial void InsertReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance); partial void UpdateReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance); partial void DeleteReport_CQMS_MonthReportItem(Report_CQMS_MonthReportItem instance); + partial void InsertReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance); + partial void UpdateReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance); + partial void DeleteReport_CQMS_ProblemHandle(Report_CQMS_ProblemHandle instance); partial void InsertReport_CqmsTarget(Report_CqmsTarget instance); partial void UpdateReport_CqmsTarget(Report_CqmsTarget instance); partial void DeleteReport_CqmsTarget(Report_CqmsTarget instance); @@ -3971,6 +3983,22 @@ namespace Model } } + public System.Data.Linq.Table Comprehensive_DataReceivingDoc + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table Comprehensive_DataReceivingDocApprove + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Comprehensive_DesignChangeOrder { get @@ -6443,6 +6471,14 @@ namespace Model } } + public System.Data.Linq.Table Manager_Month_ComplianceObligations + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Manager_Month_ComplianceObligationsC { get @@ -7931,6 +7967,14 @@ namespace Model } } + public System.Data.Linq.Table Report_CQMS_ProblemHandle + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Report_CqmsTarget { get @@ -18628,6 +18672,8 @@ namespace Model private EntitySet _Comprehensive_DataDistribution; + private EntitySet _Comprehensive_DataReceivingDoc; + private EntitySet _Comprehensive_DesignChangeOrder; private EntitySet _Comprehensive_GeneralPlanApproval; @@ -18671,6 +18717,7 @@ namespace Model this._Comprehensive_InspectionMachine = new EntitySet(new Action(this.attach_Comprehensive_InspectionMachine), new Action(this.detach_Comprehensive_InspectionMachine)); this._Base_DesignProfessional = new EntitySet(new Action(this.attach_Base_DesignProfessional), new Action(this.detach_Base_DesignProfessional)); this._Comprehensive_DataDistribution = new EntitySet(new Action(this.attach_Comprehensive_DataDistribution), new Action(this.detach_Comprehensive_DataDistribution)); + this._Comprehensive_DataReceivingDoc = new EntitySet(new Action(this.attach_Comprehensive_DataReceivingDoc), new Action(this.detach_Comprehensive_DataReceivingDoc)); this._Comprehensive_DesignChangeOrder = new EntitySet(new Action(this.attach_Comprehensive_DesignChangeOrder), new Action(this.detach_Comprehensive_DesignChangeOrder)); this._Comprehensive_GeneralPlanApproval = new EntitySet(new Action(this.attach_Comprehensive_GeneralPlanApproval), new Action(this.detach_Comprehensive_GeneralPlanApproval)); this._Comprehensive_InspectionEquipment = new EntitySet(new Action(this.attach_Comprehensive_InspectionEquipment), new Action(this.detach_Comprehensive_InspectionEquipment)); @@ -18805,6 +18852,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDoc_Base_CNProfessional", Storage="_Comprehensive_DataReceivingDoc", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")] + public EntitySet Comprehensive_DataReceivingDoc + { + get + { + return this._Comprehensive_DataReceivingDoc; + } + set + { + this._Comprehensive_DataReceivingDoc.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignChangeOrder_Base_CNProfessional", Storage="_Comprehensive_DesignChangeOrder", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", DeleteRule="NO ACTION")] public EntitySet Comprehensive_DesignChangeOrder { @@ -19017,6 +19077,18 @@ namespace Model entity.Base_CNProfessional = null; } + private void attach_Comprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc entity) + { + this.SendPropertyChanging(); + entity.Base_CNProfessional = this; + } + + private void detach_Comprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc entity) + { + this.SendPropertyChanging(); + entity.Base_CNProfessional = null; + } + private void attach_Comprehensive_DesignChangeOrder(Comprehensive_DesignChangeOrder entity) { this.SendPropertyChanging(); @@ -21408,8 +21480,6 @@ namespace Model private string _CodeRule; - private EntitySet _Doc_DocManage; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -21426,7 +21496,6 @@ namespace Model public Base_DocType() { - this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage)); OnCreated(); } @@ -21510,19 +21579,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Doc_DocManage", ThisKey="DocTypeId", OtherKey="DocTypeId", DeleteRule="NO ACTION")] - public EntitySet Doc_DocManage - { - get - { - return this._Doc_DocManage; - } - set - { - this._Doc_DocManage.Assign(value); - } - } - public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -21542,18 +21598,6 @@ namespace Model this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } - - private void attach_Doc_DocManage(Doc_DocManage entity) - { - this.SendPropertyChanging(); - entity.Base_DocType = this; - } - - private void detach_Doc_DocManage(Doc_DocManage entity) - { - this.SendPropertyChanging(); - entity.Base_DocType = null; - } } [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Base_EmergencyType")] @@ -25943,6 +25987,8 @@ namespace Model private EntitySet _Comprehensive_DataReceiving; + private EntitySet _Comprehensive_DataReceivingDoc; + private EntitySet _Comprehensive_DesignChangeOrder; private EntitySet _Comprehensive_DesignDetails; @@ -26574,6 +26620,7 @@ namespace Model this._InformationProject_ConstructionStandardIdentify = new EntitySet(new Action(this.attach_InformationProject_ConstructionStandardIdentify), new Action(this.detach_InformationProject_ConstructionStandardIdentify)); this._Comprehensive_DataDistribution = new EntitySet(new Action(this.attach_Comprehensive_DataDistribution), new Action(this.detach_Comprehensive_DataDistribution)); this._Comprehensive_DataReceiving = new EntitySet(new Action(this.attach_Comprehensive_DataReceiving), new Action(this.detach_Comprehensive_DataReceiving)); + this._Comprehensive_DataReceivingDoc = new EntitySet(new Action(this.attach_Comprehensive_DataReceivingDoc), new Action(this.detach_Comprehensive_DataReceivingDoc)); this._Comprehensive_DesignChangeOrder = new EntitySet(new Action(this.attach_Comprehensive_DesignChangeOrder), new Action(this.detach_Comprehensive_DesignChangeOrder)); this._Comprehensive_DesignDetails = new EntitySet(new Action(this.attach_Comprehensive_DesignDetails), new Action(this.detach_Comprehensive_DesignDetails)); this._Comprehensive_DesignDrawings = new EntitySet(new Action(this.attach_Comprehensive_DesignDrawings), new Action(this.detach_Comprehensive_DesignDrawings)); @@ -28311,6 +28358,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDoc_Base_Project", Storage="_Comprehensive_DataReceivingDoc", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] + public EntitySet Comprehensive_DataReceivingDoc + { + get + { + return this._Comprehensive_DataReceivingDoc; + } + set + { + this._Comprehensive_DataReceivingDoc.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignChangeOrder_Base_Project", Storage="_Comprehensive_DesignChangeOrder", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] public EntitySet Comprehensive_DesignChangeOrder { @@ -32106,6 +32166,18 @@ namespace Model entity.Base_Project = null; } + private void attach_Comprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc entity) + { + this.SendPropertyChanging(); + entity.Base_Project = this; + } + + private void detach_Comprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc entity) + { + this.SendPropertyChanging(); + entity.Base_Project = null; + } + private void attach_Comprehensive_DesignChangeOrder(Comprehensive_DesignChangeOrder entity) { this.SendPropertyChanging(); @@ -88624,6 +88696,1042 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Comprehensive_DataReceivingDoc")] + public partial class Comprehensive_DataReceivingDoc : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _DataReceivingDocId; + + private string _ProjectId; + + private string _FileCode; + + private string _FileName; + + private System.Nullable _ReceiveDate; + + private string _FileType; + + private string _CNProfessionalId; + + private string _SendUnit; + + private string _SendMan; + + private System.Nullable _Copies; + + private string _DocumentHandler; + + private System.Nullable _SendDate; + + private string _ReceiveUnit; + + private string _ReceiveMan; + + private System.Nullable _IsReply; + + private System.Nullable _ReturnWuhuangDate; + + private System.Nullable _RetrunWuhuangCopies; + + private string _IssueToUnit; + + private System.Nullable _IssueCopies; + + private string _IssueUnitReceiver; + + private System.Nullable _IsOnFile; + + private string _CompileMan; + + private System.Nullable _CompileDate; + + private string _Status; + + private string _AuditMan; + + private EntityRef _Base_CNProfessional; + + private EntityRef _Base_Project; + + private EntityRef _Sys_User; + + private EntitySet _Comprehensive_DataReceivingDocApprove; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnDataReceivingDocIdChanging(string value); + partial void OnDataReceivingDocIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnFileCodeChanging(string value); + partial void OnFileCodeChanged(); + partial void OnFileNameChanging(string value); + partial void OnFileNameChanged(); + partial void OnReceiveDateChanging(System.Nullable value); + partial void OnReceiveDateChanged(); + partial void OnFileTypeChanging(string value); + partial void OnFileTypeChanged(); + partial void OnCNProfessionalIdChanging(string value); + partial void OnCNProfessionalIdChanged(); + partial void OnSendUnitChanging(string value); + partial void OnSendUnitChanged(); + partial void OnSendManChanging(string value); + partial void OnSendManChanged(); + partial void OnCopiesChanging(System.Nullable value); + partial void OnCopiesChanged(); + partial void OnDocumentHandlerChanging(string value); + partial void OnDocumentHandlerChanged(); + partial void OnSendDateChanging(System.Nullable value); + partial void OnSendDateChanged(); + partial void OnReceiveUnitChanging(string value); + partial void OnReceiveUnitChanged(); + partial void OnReceiveManChanging(string value); + partial void OnReceiveManChanged(); + partial void OnIsReplyChanging(System.Nullable value); + partial void OnIsReplyChanged(); + partial void OnReturnWuhuangDateChanging(System.Nullable value); + partial void OnReturnWuhuangDateChanged(); + partial void OnRetrunWuhuangCopiesChanging(System.Nullable value); + partial void OnRetrunWuhuangCopiesChanged(); + partial void OnIssueToUnitChanging(string value); + partial void OnIssueToUnitChanged(); + partial void OnIssueCopiesChanging(System.Nullable value); + partial void OnIssueCopiesChanged(); + partial void OnIssueUnitReceiverChanging(string value); + partial void OnIssueUnitReceiverChanged(); + partial void OnIsOnFileChanging(System.Nullable value); + partial void OnIsOnFileChanged(); + partial void OnCompileManChanging(string value); + partial void OnCompileManChanged(); + partial void OnCompileDateChanging(System.Nullable value); + partial void OnCompileDateChanged(); + partial void OnStatusChanging(string value); + partial void OnStatusChanged(); + partial void OnAuditManChanging(string value); + partial void OnAuditManChanged(); + #endregion + + public Comprehensive_DataReceivingDoc() + { + this._Base_CNProfessional = default(EntityRef); + this._Base_Project = default(EntityRef); + this._Sys_User = default(EntityRef); + this._Comprehensive_DataReceivingDocApprove = new EntitySet(new Action(this.attach_Comprehensive_DataReceivingDocApprove), new Action(this.detach_Comprehensive_DataReceivingDocApprove)); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DataReceivingDocId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string DataReceivingDocId + { + get + { + return this._DataReceivingDocId; + } + set + { + if ((this._DataReceivingDocId != value)) + { + this.OnDataReceivingDocIdChanging(value); + this.SendPropertyChanging(); + this._DataReceivingDocId = value; + this.SendPropertyChanged("DataReceivingDocId"); + this.OnDataReceivingDocIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + if (this._Base_Project.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileCode", DbType="NVarChar(100)")] + public string FileCode + { + get + { + return this._FileCode; + } + set + { + if ((this._FileCode != value)) + { + this.OnFileCodeChanging(value); + this.SendPropertyChanging(); + this._FileCode = value; + this.SendPropertyChanged("FileCode"); + this.OnFileCodeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileName", DbType="NVarChar(150)")] + public string FileName + { + get + { + return this._FileName; + } + set + { + if ((this._FileName != value)) + { + this.OnFileNameChanging(value); + this.SendPropertyChanging(); + this._FileName = value; + this.SendPropertyChanged("FileName"); + this.OnFileNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveDate", DbType="DateTime")] + public System.Nullable ReceiveDate + { + get + { + return this._ReceiveDate; + } + set + { + if ((this._ReceiveDate != value)) + { + this.OnReceiveDateChanging(value); + this.SendPropertyChanging(); + this._ReceiveDate = value; + this.SendPropertyChanged("ReceiveDate"); + this.OnReceiveDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FileType", DbType="NVarChar(50)")] + public string FileType + { + get + { + return this._FileType; + } + set + { + if ((this._FileType != value)) + { + this.OnFileTypeChanging(value); + this.SendPropertyChanging(); + this._FileType = value; + this.SendPropertyChanged("FileType"); + this.OnFileTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CNProfessionalId", DbType="NVarChar(50)")] + public string CNProfessionalId + { + get + { + return this._CNProfessionalId; + } + set + { + if ((this._CNProfessionalId != value)) + { + if (this._Base_CNProfessional.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCNProfessionalIdChanging(value); + this.SendPropertyChanging(); + this._CNProfessionalId = value; + this.SendPropertyChanged("CNProfessionalId"); + this.OnCNProfessionalIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SendUnit", DbType="NVarChar(500)")] + public string SendUnit + { + get + { + return this._SendUnit; + } + set + { + if ((this._SendUnit != value)) + { + this.OnSendUnitChanging(value); + this.SendPropertyChanging(); + this._SendUnit = value; + this.SendPropertyChanged("SendUnit"); + this.OnSendUnitChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SendMan", DbType="NVarChar(50)")] + public string SendMan + { + get + { + return this._SendMan; + } + set + { + if ((this._SendMan != value)) + { + this.OnSendManChanging(value); + this.SendPropertyChanging(); + this._SendMan = value; + this.SendPropertyChanged("SendMan"); + this.OnSendManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Copies", DbType="Int")] + public System.Nullable Copies + { + get + { + return this._Copies; + } + set + { + if ((this._Copies != value)) + { + this.OnCopiesChanging(value); + this.SendPropertyChanging(); + this._Copies = value; + this.SendPropertyChanged("Copies"); + this.OnCopiesChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DocumentHandler", DbType="NVarChar(50)")] + public string DocumentHandler + { + get + { + return this._DocumentHandler; + } + set + { + if ((this._DocumentHandler != value)) + { + this.OnDocumentHandlerChanging(value); + this.SendPropertyChanging(); + this._DocumentHandler = value; + this.SendPropertyChanged("DocumentHandler"); + this.OnDocumentHandlerChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SendDate", DbType="DateTime")] + public System.Nullable SendDate + { + get + { + return this._SendDate; + } + set + { + if ((this._SendDate != value)) + { + this.OnSendDateChanging(value); + this.SendPropertyChanging(); + this._SendDate = value; + this.SendPropertyChanged("SendDate"); + this.OnSendDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveUnit", DbType="NVarChar(500)")] + public string ReceiveUnit + { + get + { + return this._ReceiveUnit; + } + set + { + if ((this._ReceiveUnit != value)) + { + this.OnReceiveUnitChanging(value); + this.SendPropertyChanging(); + this._ReceiveUnit = value; + this.SendPropertyChanged("ReceiveUnit"); + this.OnReceiveUnitChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReceiveMan", DbType="NVarChar(50)")] + public string ReceiveMan + { + get + { + return this._ReceiveMan; + } + set + { + if ((this._ReceiveMan != value)) + { + this.OnReceiveManChanging(value); + this.SendPropertyChanging(); + this._ReceiveMan = value; + this.SendPropertyChanged("ReceiveMan"); + this.OnReceiveManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsReply", DbType="Bit")] + public System.Nullable IsReply + { + get + { + return this._IsReply; + } + set + { + if ((this._IsReply != value)) + { + this.OnIsReplyChanging(value); + this.SendPropertyChanging(); + this._IsReply = value; + this.SendPropertyChanged("IsReply"); + this.OnIsReplyChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReturnWuhuangDate", DbType="DateTime")] + public System.Nullable ReturnWuhuangDate + { + get + { + return this._ReturnWuhuangDate; + } + set + { + if ((this._ReturnWuhuangDate != value)) + { + this.OnReturnWuhuangDateChanging(value); + this.SendPropertyChanging(); + this._ReturnWuhuangDate = value; + this.SendPropertyChanged("ReturnWuhuangDate"); + this.OnReturnWuhuangDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RetrunWuhuangCopies", DbType="Int")] + public System.Nullable RetrunWuhuangCopies + { + get + { + return this._RetrunWuhuangCopies; + } + set + { + if ((this._RetrunWuhuangCopies != value)) + { + this.OnRetrunWuhuangCopiesChanging(value); + this.SendPropertyChanging(); + this._RetrunWuhuangCopies = value; + this.SendPropertyChanged("RetrunWuhuangCopies"); + this.OnRetrunWuhuangCopiesChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueToUnit", DbType="NVarChar(500)")] + public string IssueToUnit + { + get + { + return this._IssueToUnit; + } + set + { + if ((this._IssueToUnit != value)) + { + this.OnIssueToUnitChanging(value); + this.SendPropertyChanging(); + this._IssueToUnit = value; + this.SendPropertyChanged("IssueToUnit"); + this.OnIssueToUnitChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueCopies", DbType="Int")] + public System.Nullable IssueCopies + { + get + { + return this._IssueCopies; + } + set + { + if ((this._IssueCopies != value)) + { + this.OnIssueCopiesChanging(value); + this.SendPropertyChanging(); + this._IssueCopies = value; + this.SendPropertyChanged("IssueCopies"); + this.OnIssueCopiesChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IssueUnitReceiver", DbType="NVarChar(50)")] + public string IssueUnitReceiver + { + get + { + return this._IssueUnitReceiver; + } + set + { + if ((this._IssueUnitReceiver != value)) + { + this.OnIssueUnitReceiverChanging(value); + this.SendPropertyChanging(); + this._IssueUnitReceiver = value; + this.SendPropertyChanged("IssueUnitReceiver"); + this.OnIssueUnitReceiverChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOnFile", DbType="Bit")] + public System.Nullable IsOnFile + { + get + { + return this._IsOnFile; + } + set + { + if ((this._IsOnFile != value)) + { + this.OnIsOnFileChanging(value); + this.SendPropertyChanging(); + this._IsOnFile = value; + this.SendPropertyChanged("IsOnFile"); + this.OnIsOnFileChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")] + public string CompileMan + { + get + { + return this._CompileMan; + } + set + { + if ((this._CompileMan != value)) + { + if (this._Sys_User.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnCompileManChanging(value); + this.SendPropertyChanging(); + this._CompileMan = value; + this.SendPropertyChanged("CompileMan"); + this.OnCompileManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")] + public System.Nullable CompileDate + { + get + { + return this._CompileDate; + } + set + { + if ((this._CompileDate != value)) + { + this.OnCompileDateChanging(value); + this.SendPropertyChanging(); + this._CompileDate = value; + this.SendPropertyChanged("CompileDate"); + this.OnCompileDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="NChar(2)")] + public string Status + { + get + { + return this._Status; + } + set + { + if ((this._Status != value)) + { + this.OnStatusChanging(value); + this.SendPropertyChanging(); + this._Status = value; + this.SendPropertyChanged("Status"); + this.OnStatusChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuditMan", DbType="NVarChar(50)")] + public string AuditMan + { + get + { + return this._AuditMan; + } + set + { + if ((this._AuditMan != value)) + { + this.OnAuditManChanging(value); + this.SendPropertyChanging(); + this._AuditMan = value; + this.SendPropertyChanged("AuditMan"); + this.OnAuditManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDoc_Base_CNProfessional", Storage="_Base_CNProfessional", ThisKey="CNProfessionalId", OtherKey="CNProfessionalId", IsForeignKey=true)] + public Base_CNProfessional Base_CNProfessional + { + get + { + return this._Base_CNProfessional.Entity; + } + set + { + Base_CNProfessional previousValue = this._Base_CNProfessional.Entity; + if (((previousValue != value) + || (this._Base_CNProfessional.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_CNProfessional.Entity = null; + previousValue.Comprehensive_DataReceivingDoc.Remove(this); + } + this._Base_CNProfessional.Entity = value; + if ((value != null)) + { + value.Comprehensive_DataReceivingDoc.Add(this); + this._CNProfessionalId = value.CNProfessionalId; + } + else + { + this._CNProfessionalId = default(string); + } + this.SendPropertyChanged("Base_CNProfessional"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDoc_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] + public Base_Project Base_Project + { + get + { + return this._Base_Project.Entity; + } + set + { + Base_Project previousValue = this._Base_Project.Entity; + if (((previousValue != value) + || (this._Base_Project.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Base_Project.Entity = null; + previousValue.Comprehensive_DataReceivingDoc.Remove(this); + } + this._Base_Project.Entity = value; + if ((value != null)) + { + value.Comprehensive_DataReceivingDoc.Add(this); + this._ProjectId = value.ProjectId; + } + else + { + this._ProjectId = default(string); + } + this.SendPropertyChanged("Base_Project"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDoc_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)] + public Sys_User Sys_User + { + get + { + return this._Sys_User.Entity; + } + set + { + Sys_User previousValue = this._Sys_User.Entity; + if (((previousValue != value) + || (this._Sys_User.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Sys_User.Entity = null; + previousValue.Comprehensive_DataReceivingDoc.Remove(this); + } + this._Sys_User.Entity = value; + if ((value != null)) + { + value.Comprehensive_DataReceivingDoc.Add(this); + this._CompileMan = value.UserId; + } + else + { + this._CompileMan = default(string); + } + this.SendPropertyChanged("Sys_User"); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDocApprove_Comprehensive_DataReceivingDoc", Storage="_Comprehensive_DataReceivingDocApprove", ThisKey="DataReceivingDocId", OtherKey="DataReceivingDocId", DeleteRule="NO ACTION")] + public EntitySet Comprehensive_DataReceivingDocApprove + { + get + { + return this._Comprehensive_DataReceivingDocApprove; + } + set + { + this._Comprehensive_DataReceivingDocApprove.Assign(value); + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + + private void attach_Comprehensive_DataReceivingDocApprove(Comprehensive_DataReceivingDocApprove entity) + { + this.SendPropertyChanging(); + entity.Comprehensive_DataReceivingDoc = this; + } + + private void detach_Comprehensive_DataReceivingDocApprove(Comprehensive_DataReceivingDocApprove entity) + { + this.SendPropertyChanging(); + entity.Comprehensive_DataReceivingDoc = null; + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Comprehensive_DataReceivingDocApprove")] + public partial class Comprehensive_DataReceivingDocApprove : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _DataReceivingDocApproveId; + + private string _DataReceivingDocId; + + private string _ApproveMan; + + private System.Nullable _ApproveDate; + + private System.Nullable _IsAgree; + + private string _ApproveType; + + private string _ApproveIdea; + + private EntityRef _Comprehensive_DataReceivingDoc; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnDataReceivingDocApproveIdChanging(string value); + partial void OnDataReceivingDocApproveIdChanged(); + partial void OnDataReceivingDocIdChanging(string value); + partial void OnDataReceivingDocIdChanged(); + partial void OnApproveManChanging(string value); + partial void OnApproveManChanged(); + partial void OnApproveDateChanging(System.Nullable value); + partial void OnApproveDateChanged(); + partial void OnIsAgreeChanging(System.Nullable value); + partial void OnIsAgreeChanged(); + partial void OnApproveTypeChanging(string value); + partial void OnApproveTypeChanged(); + partial void OnApproveIdeaChanging(string value); + partial void OnApproveIdeaChanged(); + #endregion + + public Comprehensive_DataReceivingDocApprove() + { + this._Comprehensive_DataReceivingDoc = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DataReceivingDocApproveId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string DataReceivingDocApproveId + { + get + { + return this._DataReceivingDocApproveId; + } + set + { + if ((this._DataReceivingDocApproveId != value)) + { + this.OnDataReceivingDocApproveIdChanging(value); + this.SendPropertyChanging(); + this._DataReceivingDocApproveId = value; + this.SendPropertyChanged("DataReceivingDocApproveId"); + this.OnDataReceivingDocApproveIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DataReceivingDocId", DbType="NVarChar(50)")] + public string DataReceivingDocId + { + get + { + return this._DataReceivingDocId; + } + set + { + if ((this._DataReceivingDocId != value)) + { + if (this._Comprehensive_DataReceivingDoc.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnDataReceivingDocIdChanging(value); + this.SendPropertyChanging(); + this._DataReceivingDocId = value; + this.SendPropertyChanged("DataReceivingDocId"); + this.OnDataReceivingDocIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")] + public string ApproveMan + { + get + { + return this._ApproveMan; + } + set + { + if ((this._ApproveMan != value)) + { + this.OnApproveManChanging(value); + this.SendPropertyChanging(); + this._ApproveMan = value; + this.SendPropertyChanged("ApproveMan"); + this.OnApproveManChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveDate", DbType="DateTime")] + public System.Nullable ApproveDate + { + get + { + return this._ApproveDate; + } + set + { + if ((this._ApproveDate != value)) + { + this.OnApproveDateChanging(value); + this.SendPropertyChanging(); + this._ApproveDate = value; + this.SendPropertyChanged("ApproveDate"); + this.OnApproveDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsAgree", DbType="Bit")] + public System.Nullable IsAgree + { + get + { + return this._IsAgree; + } + set + { + if ((this._IsAgree != value)) + { + this.OnIsAgreeChanging(value); + this.SendPropertyChanging(); + this._IsAgree = value; + this.SendPropertyChanged("IsAgree"); + this.OnIsAgreeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="VarChar(2)")] + public string ApproveType + { + get + { + return this._ApproveType; + } + set + { + if ((this._ApproveType != value)) + { + this.OnApproveTypeChanging(value); + this.SendPropertyChanging(); + this._ApproveType = value; + this.SendPropertyChanged("ApproveType"); + this.OnApproveTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveIdea", DbType="NVarChar(255)")] + public string ApproveIdea + { + get + { + return this._ApproveIdea; + } + set + { + if ((this._ApproveIdea != value)) + { + this.OnApproveIdeaChanging(value); + this.SendPropertyChanging(); + this._ApproveIdea = value; + this.SendPropertyChanged("ApproveIdea"); + this.OnApproveIdeaChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDocApprove_Comprehensive_DataReceivingDoc", Storage="_Comprehensive_DataReceivingDoc", ThisKey="DataReceivingDocId", OtherKey="DataReceivingDocId", IsForeignKey=true)] + public Comprehensive_DataReceivingDoc Comprehensive_DataReceivingDoc + { + get + { + return this._Comprehensive_DataReceivingDoc.Entity; + } + set + { + Comprehensive_DataReceivingDoc previousValue = this._Comprehensive_DataReceivingDoc.Entity; + if (((previousValue != value) + || (this._Comprehensive_DataReceivingDoc.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Comprehensive_DataReceivingDoc.Entity = null; + previousValue.Comprehensive_DataReceivingDocApprove.Remove(this); + } + this._Comprehensive_DataReceivingDoc.Entity = value; + if ((value != null)) + { + value.Comprehensive_DataReceivingDocApprove.Add(this); + this._DataReceivingDocId = value.DataReceivingDocId; + } + else + { + this._DataReceivingDocId = default(string); + } + this.SendPropertyChanged("Comprehensive_DataReceivingDoc"); + } + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Comprehensive_DesignChangeOrder")] public partial class Comprehensive_DesignChangeOrder : INotifyPropertyChanging, INotifyPropertyChanged { @@ -96142,10 +97250,10 @@ namespace Model private string _AuditMan; - private string _Problem; - private string _Measure; + private string _Problem; + private EntityRef _Sys_User; private EntityRef _Base_CNProfessional; @@ -96192,10 +97300,10 @@ namespace Model partial void OnStatusChanged(); partial void OnAuditManChanging(string value); partial void OnAuditManChanged(); - partial void OnProblemChanging(string value); - partial void OnProblemChanged(); partial void OnMeasureChanging(string value); partial void OnMeasureChanged(); + partial void OnProblemChanging(string value); + partial void OnProblemChanged(); #endregion public Comprehensive_NCRManagement() @@ -96563,27 +97671,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Problem", DbType="VarChar(50)")] - public string Problem - { - get - { - return this._Problem; - } - set - { - if ((this._Problem != value)) - { - this.OnProblemChanging(value); - this.SendPropertyChanging(); - this._Problem = value; - this.SendPropertyChanged("Problem"); - this.OnProblemChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measure", DbType="VarChar(100)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Measure", DbType="VarChar(500)")] public string Measure { get @@ -96603,6 +97691,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Problem", DbType="VarChar(100)")] + public string Problem + { + get + { + return this._Problem; + } + set + { + if ((this._Problem != value)) + { + this.OnProblemChanging(value); + this.SendPropertyChanging(); + this._Problem = value; + this.SendPropertyChanged("Problem"); + this.OnProblemChanged(); + } + } + } + [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 { @@ -118437,8 +119545,6 @@ namespace Model private EntityRef _Base_CNProfessional; - private EntityRef _Base_DocType; - private EntityRef _Base_Project; private EntityRef _Base_Unit; @@ -118490,7 +119596,6 @@ namespace Model public Doc_DocManage() { this._Base_CNProfessional = default(EntityRef); - this._Base_DocType = default(EntityRef); this._Base_Project = default(EntityRef); this._Base_Unit = default(EntityRef); this._Sys_User = default(EntityRef); @@ -118569,10 +119674,6 @@ namespace Model { if ((this._DocTypeId != value)) { - if (this._Base_DocType.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnDocTypeIdChanging(value); this.SendPropertyChanging(); this._DocTypeId = value; @@ -118892,40 +119993,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_DocType", Storage="_Base_DocType", ThisKey="DocTypeId", OtherKey="DocTypeId", IsForeignKey=true)] - public Base_DocType Base_DocType - { - get - { - return this._Base_DocType.Entity; - } - set - { - Base_DocType previousValue = this._Base_DocType.Entity; - if (((previousValue != value) - || (this._Base_DocType.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Base_DocType.Entity = null; - previousValue.Doc_DocManage.Remove(this); - } - this._Base_DocType.Entity = value; - if ((value != null)) - { - value.Doc_DocManage.Add(this); - this._DocTypeId = value.DocTypeId; - } - else - { - this._DocTypeId = default(string); - } - this.SendPropertyChanged("Base_DocType"); - } - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManage_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)] public Base_Project Base_Project { @@ -119096,8 +120163,6 @@ namespace Model private EntityRef _Doc_DocManage; - private EntityRef _Sys_User; - #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -119121,7 +120186,6 @@ namespace Model public Doc_DocManageApprove() { this._Doc_DocManage = default(EntityRef); - this._Sys_User = default(EntityRef); OnCreated(); } @@ -119169,7 +120233,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveMan", DbType="NVarChar(500)")] public string ApproveMan { get @@ -119180,10 +120244,6 @@ namespace Model { if ((this._ApproveMan != value)) { - if (this._Sys_User.HasLoadedOrAssignedValue) - { - throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); - } this.OnApproveManChanging(value); this.SendPropertyChanging(); this._ApproveMan = value; @@ -119307,40 +120367,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManageApprove_Sys_User", Storage="_Sys_User", ThisKey="ApproveMan", OtherKey="UserId", IsForeignKey=true)] - public Sys_User Sys_User - { - get - { - return this._Sys_User.Entity; - } - set - { - Sys_User previousValue = this._Sys_User.Entity; - if (((previousValue != value) - || (this._Sys_User.HasLoadedOrAssignedValue == false))) - { - this.SendPropertyChanging(); - if ((previousValue != null)) - { - this._Sys_User.Entity = null; - previousValue.Doc_DocManageApprove.Remove(this); - } - this._Sys_User.Entity = value; - if ((value != null)) - { - value.Doc_DocManageApprove.Add(this); - this._ApproveMan = value.UserId; - } - else - { - this._ApproveMan = default(string); - } - this.SendPropertyChanged("Sys_User"); - } - } - } - public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -232857,6 +233883,229 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Manager_Month_ComplianceObligations")] + public partial class Manager_Month_ComplianceObligations : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _ComplianceObligationsId; + + private string _MonthReportId; + + private string _InformationContent; + + private string _ResponseMeasures; + + private string _ImplementationStatus; + + private string _EvaluationConclusion; + + private EntityRef _Manager_MonthReportC; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnComplianceObligationsIdChanging(string value); + partial void OnComplianceObligationsIdChanged(); + partial void OnMonthReportIdChanging(string value); + partial void OnMonthReportIdChanged(); + partial void OnInformationContentChanging(string value); + partial void OnInformationContentChanged(); + partial void OnResponseMeasuresChanging(string value); + partial void OnResponseMeasuresChanged(); + partial void OnImplementationStatusChanging(string value); + partial void OnImplementationStatusChanged(); + partial void OnEvaluationConclusionChanging(string value); + partial void OnEvaluationConclusionChanged(); + #endregion + + public Manager_Month_ComplianceObligations() + { + this._Manager_MonthReportC = default(EntityRef); + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ComplianceObligationsId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string ComplianceObligationsId + { + get + { + return this._ComplianceObligationsId; + } + set + { + if ((this._ComplianceObligationsId != value)) + { + this.OnComplianceObligationsIdChanging(value); + this.SendPropertyChanging(); + this._ComplianceObligationsId = value; + this.SendPropertyChanged("ComplianceObligationsId"); + this.OnComplianceObligationsIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MonthReportId", DbType="NVarChar(50)")] + public string MonthReportId + { + get + { + return this._MonthReportId; + } + set + { + if ((this._MonthReportId != value)) + { + if (this._Manager_MonthReportC.HasLoadedOrAssignedValue) + { + throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); + } + this.OnMonthReportIdChanging(value); + this.SendPropertyChanging(); + this._MonthReportId = value; + this.SendPropertyChanged("MonthReportId"); + this.OnMonthReportIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InformationContent", DbType="NVarChar(500)")] + public string InformationContent + { + get + { + return this._InformationContent; + } + set + { + if ((this._InformationContent != value)) + { + this.OnInformationContentChanging(value); + this.SendPropertyChanging(); + this._InformationContent = value; + this.SendPropertyChanged("InformationContent"); + this.OnInformationContentChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponseMeasures", DbType="NVarChar(500)")] + public string ResponseMeasures + { + get + { + return this._ResponseMeasures; + } + set + { + if ((this._ResponseMeasures != value)) + { + this.OnResponseMeasuresChanging(value); + this.SendPropertyChanging(); + this._ResponseMeasures = value; + this.SendPropertyChanged("ResponseMeasures"); + this.OnResponseMeasuresChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ImplementationStatus", DbType="NVarChar(500)")] + public string ImplementationStatus + { + get + { + return this._ImplementationStatus; + } + set + { + if ((this._ImplementationStatus != value)) + { + this.OnImplementationStatusChanging(value); + this.SendPropertyChanging(); + this._ImplementationStatus = value; + this.SendPropertyChanged("ImplementationStatus"); + this.OnImplementationStatusChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EvaluationConclusion", DbType="NVarChar(50)")] + public string EvaluationConclusion + { + get + { + return this._EvaluationConclusion; + } + set + { + if ((this._EvaluationConclusion != value)) + { + this.OnEvaluationConclusionChanging(value); + this.SendPropertyChanging(); + this._EvaluationConclusion = value; + this.SendPropertyChanged("EvaluationConclusion"); + this.OnEvaluationConclusionChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_MonthReportC", ThisKey="MonthReportId", OtherKey="MonthReportId", IsForeignKey=true)] + public Manager_MonthReportC Manager_MonthReportC + { + get + { + return this._Manager_MonthReportC.Entity; + } + set + { + Manager_MonthReportC previousValue = this._Manager_MonthReportC.Entity; + if (((previousValue != value) + || (this._Manager_MonthReportC.HasLoadedOrAssignedValue == false))) + { + this.SendPropertyChanging(); + if ((previousValue != null)) + { + this._Manager_MonthReportC.Entity = null; + previousValue.Manager_Month_ComplianceObligations.Remove(this); + } + this._Manager_MonthReportC.Entity = value; + if ((value != null)) + { + value.Manager_Month_ComplianceObligations.Add(this); + this._MonthReportId = value.MonthReportId; + } + else + { + this._MonthReportId = default(string); + } + this.SendPropertyChanged("Manager_MonthReportC"); + } + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Manager_Month_ComplianceObligationsC")] public partial class Manager_Month_ComplianceObligationsC : INotifyPropertyChanging, INotifyPropertyChanged { @@ -239056,6 +240305,8 @@ namespace Model private EntitySet _Manager_Month_CheckC; + private EntitySet _Manager_Month_ComplianceObligations; + private EntitySet _Manager_Month_ComplianceObligationsC; private EntitySet _Manager_Month_CostInvestmentPlanC; @@ -239328,6 +240579,7 @@ namespace Model this._Manager_Month_ActivitiesC = new EntitySet(new Action(this.attach_Manager_Month_ActivitiesC), new Action(this.detach_Manager_Month_ActivitiesC)); this._Manager_Month_ActivityDesC = new EntitySet(new Action(this.attach_Manager_Month_ActivityDesC), new Action(this.detach_Manager_Month_ActivityDesC)); this._Manager_Month_CheckC = new EntitySet(new Action(this.attach_Manager_Month_CheckC), new Action(this.detach_Manager_Month_CheckC)); + this._Manager_Month_ComplianceObligations = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligations), new Action(this.detach_Manager_Month_ComplianceObligations)); this._Manager_Month_ComplianceObligationsC = new EntitySet(new Action(this.attach_Manager_Month_ComplianceObligationsC), new Action(this.detach_Manager_Month_ComplianceObligationsC)); this._Manager_Month_CostInvestmentPlanC = new EntitySet(new Action(this.attach_Manager_Month_CostInvestmentPlanC), new Action(this.detach_Manager_Month_CostInvestmentPlanC)); this._Manager_Month_EmergencyExercisesC = new EntitySet(new Action(this.attach_Manager_Month_EmergencyExercisesC), new Action(this.detach_Manager_Month_EmergencyExercisesC)); @@ -241508,6 +242760,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligations_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligations", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")] + public EntitySet Manager_Month_ComplianceObligations + { + get + { + return this._Manager_Month_ComplianceObligations; + } + set + { + this._Manager_Month_ComplianceObligations.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Manager_Month_ComplianceObligationsC_Manager_MonthReportC", Storage="_Manager_Month_ComplianceObligationsC", ThisKey="MonthReportId", OtherKey="MonthReportId", DeleteRule="NO ACTION")] public EntitySet Manager_Month_ComplianceObligationsC { @@ -242089,6 +243354,18 @@ namespace Model entity.Manager_MonthReportC = null; } + private void attach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity) + { + this.SendPropertyChanging(); + entity.Manager_MonthReportC = this; + } + + private void detach_Manager_Month_ComplianceObligations(Manager_Month_ComplianceObligations entity) + { + this.SendPropertyChanging(); + entity.Manager_MonthReportC = null; + } + private void attach_Manager_Month_ComplianceObligationsC(Manager_Month_ComplianceObligationsC entity) { this.SendPropertyChanging(); @@ -270433,7 +271710,7 @@ namespace Model private System.Nullable _ProblemType; - private string _SubInspectId; + private string _QuestionTechnologyId; private string _TermItemId; @@ -270447,18 +271724,20 @@ namespace Model private string _InspectUser; - private string _HandleUser; - private string _ApproveUser; - private System.Nullable _AdjustCompleteTime; - private System.Nullable _ApproveState; private string _AddUser; private System.Nullable _AddTime; + private string _HandleUser; + + private System.Nullable _AdjustCompleteTime; + + private string _SubInspectId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -270475,8 +271754,8 @@ namespace Model partial void OnConstructionUnitChanged(); partial void OnProblemTypeChanging(System.Nullable value); partial void OnProblemTypeChanged(); - partial void OnSubInspectIdChanging(string value); - partial void OnSubInspectIdChanged(); + partial void OnQuestionTechnologyIdChanging(string value); + partial void OnQuestionTechnologyIdChanged(); partial void OnTermItemIdChanging(string value); partial void OnTermItemIdChanged(); partial void OnWorkPackIdChanging(string value); @@ -270489,18 +271768,20 @@ namespace Model partial void OnRectifyTimeChanged(); partial void OnInspectUserChanging(string value); partial void OnInspectUserChanged(); - partial void OnHandleUserChanging(string value); - partial void OnHandleUserChanged(); partial void OnApproveUserChanging(string value); partial void OnApproveUserChanged(); - partial void OnAdjustCompleteTimeChanging(System.Nullable value); - partial void OnAdjustCompleteTimeChanged(); partial void OnApproveStateChanging(System.Nullable value); partial void OnApproveStateChanged(); partial void OnAddUserChanging(string value); partial void OnAddUserChanged(); partial void OnAddTimeChanging(System.Nullable value); partial void OnAddTimeChanged(); + partial void OnHandleUserChanging(string value); + partial void OnHandleUserChanged(); + partial void OnAdjustCompleteTimeChanging(System.Nullable value); + partial void OnAdjustCompleteTimeChanged(); + partial void OnSubInspectIdChanging(string value); + partial void OnSubInspectIdChanged(); #endregion public PreRun_InspectTailTerm() @@ -270628,22 +271909,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="VarChar(50)")] - public string SubInspectId + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_QuestionTechnologyId", DbType="VarChar(50)")] + public string QuestionTechnologyId { get { - return this._SubInspectId; + return this._QuestionTechnologyId; } set { - if ((this._SubInspectId != value)) + if ((this._QuestionTechnologyId != value)) { - this.OnSubInspectIdChanging(value); + this.OnQuestionTechnologyIdChanging(value); this.SendPropertyChanging(); - this._SubInspectId = value; - this.SendPropertyChanged("SubInspectId"); - this.OnSubInspectIdChanged(); + this._QuestionTechnologyId = value; + this.SendPropertyChanged("QuestionTechnologyId"); + this.OnQuestionTechnologyIdChanged(); } } } @@ -270768,26 +272049,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")] - public string HandleUser - { - get - { - return this._HandleUser; - } - set - { - if ((this._HandleUser != value)) - { - this.OnHandleUserChanging(value); - this.SendPropertyChanging(); - this._HandleUser = value; - this.SendPropertyChanged("HandleUser"); - this.OnHandleUserChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveUser", DbType="VarChar(50)")] public string ApproveUser { @@ -270808,26 +272069,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")] - public System.Nullable AdjustCompleteTime - { - get - { - return this._AdjustCompleteTime; - } - set - { - if ((this._AdjustCompleteTime != value)) - { - this.OnAdjustCompleteTimeChanging(value); - this.SendPropertyChanging(); - this._AdjustCompleteTime = value; - this.SendPropertyChanged("AdjustCompleteTime"); - this.OnAdjustCompleteTimeChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")] public System.Nullable ApproveState { @@ -270888,6 +272129,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandleUser", DbType="VarChar(50)")] + public string HandleUser + { + get + { + return this._HandleUser; + } + set + { + if ((this._HandleUser != value)) + { + this.OnHandleUserChanging(value); + this.SendPropertyChanging(); + this._HandleUser = value; + this.SendPropertyChanged("HandleUser"); + this.OnHandleUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AdjustCompleteTime", DbType="DateTime")] + public System.Nullable AdjustCompleteTime + { + get + { + return this._AdjustCompleteTime; + } + set + { + if ((this._AdjustCompleteTime != value)) + { + this.OnAdjustCompleteTimeChanging(value); + this.SendPropertyChanging(); + this._AdjustCompleteTime = value; + this.SendPropertyChanged("AdjustCompleteTime"); + this.OnAdjustCompleteTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubInspectId", DbType="NVarChar(50)")] + public string SubInspectId + { + get + { + return this._SubInspectId; + } + set + { + if ((this._SubInspectId != value)) + { + this.OnSubInspectIdChanging(value); + this.SendPropertyChanging(); + this._SubInspectId = value; + this.SendPropertyChanged("SubInspectId"); + this.OnSubInspectIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -270929,14 +272230,14 @@ namespace Model private string _ApproveUser; - private System.Nullable _ApproveType; - private System.Nullable _ApproveState; private string _AddUser; private System.Nullable _AddTime; + private System.Nullable _ApproveType; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -270955,14 +272256,14 @@ namespace Model partial void OnApproveTimeChanged(); partial void OnApproveUserChanging(string value); partial void OnApproveUserChanged(); - partial void OnApproveTypeChanging(System.Nullable value); - partial void OnApproveTypeChanged(); partial void OnApproveStateChanging(System.Nullable value); partial void OnApproveStateChanged(); partial void OnAddUserChanging(string value); partial void OnAddUserChanged(); partial void OnAddTimeChanging(System.Nullable value); partial void OnAddTimeChanged(); + partial void OnApproveTypeChanging(System.Nullable value); + partial void OnApproveTypeChanged(); #endregion public PreRun_InspectTermApproveRecords() @@ -271110,26 +272411,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")] - public System.Nullable ApproveType - { - get - { - return this._ApproveType; - } - set - { - if ((this._ApproveType != value)) - { - this.OnApproveTypeChanging(value); - this.SendPropertyChanging(); - this._ApproveType = value; - this.SendPropertyChanged("ApproveType"); - this.OnApproveTypeChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveState", DbType="Int")] public System.Nullable ApproveState { @@ -271190,6 +272471,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ApproveType", DbType="Int")] + public System.Nullable ApproveType + { + get + { + return this._ApproveType; + } + set + { + if ((this._ApproveType != value)) + { + this.OnApproveTypeChanging(value); + this.SendPropertyChanging(); + this._ApproveType = value; + this.SendPropertyChanged("ApproveType"); + this.OnApproveTypeChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -272122,7 +273423,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string Remark { get @@ -272245,6 +273546,12 @@ namespace Model private string _InspectResult; + private System.Nullable _InspectTime; + + private string _AddUser; + + private System.Nullable _AddTime; + private string _Subcontractor; private string _Contractor; @@ -272253,6 +273560,12 @@ namespace Model private string _Owner; + private System.Nullable _IsUnifyWanderAbout; + + private System.Nullable _UnifyWanderAboutData; + + private string _UnifyWanderAboutOpinion; + private System.Nullable _InspectionIsAllPass; private System.Nullable _SubcontractorIsAllPass; @@ -272263,9 +273576,7 @@ namespace Model private System.Nullable _OwnerIsAllPass; - private System.Nullable _WorkPackType; - - private string _PropertyTechnologyId; + private System.Nullable _WanderIsComplete; private System.Nullable _SubcontractorAllPassData; @@ -272275,35 +273586,25 @@ namespace Model private System.Nullable _OwnerAllPassData; - private System.Nullable _WanderIsComplete; - private System.Nullable _WanderCompleteData; + private System.Nullable _WorkPackType; + private System.Nullable _IsSiteImplement; - private string _SiteImplementUser; - - private System.Nullable _SiteImplementConfirmData; - - private System.Nullable _RecordUploadData; - private System.Nullable _InspectIsClose; - private string _InspectIsCloseUser; - private System.Nullable _InspectCloseData; - private System.Nullable _IsUnifyWanderAbout; + private string _InspectIsCloseUser; - private System.Nullable _UnifyWanderAboutData; + private string _PropertyTechnologyId; - private string _UnifyWanderAboutOpinion; + private System.Nullable _RecordUploadData; - private System.Nullable _InspectTime; + private System.Nullable _SiteImplementConfirmData; - private string _AddUser; - - private System.Nullable _AddTime; + private string _SiteImplementUser; #region 可扩展性方法定义 partial void OnLoaded(); @@ -272325,6 +273626,12 @@ namespace Model partial void OnWorkPackIdChanged(); partial void OnInspectResultChanging(string value); partial void OnInspectResultChanged(); + partial void OnInspectTimeChanging(System.Nullable value); + partial void OnInspectTimeChanged(); + partial void OnAddUserChanging(string value); + partial void OnAddUserChanged(); + partial void OnAddTimeChanging(System.Nullable value); + partial void OnAddTimeChanged(); partial void OnSubcontractorChanging(string value); partial void OnSubcontractorChanged(); partial void OnContractorChanging(string value); @@ -272333,6 +273640,12 @@ namespace Model partial void OnSupervisionChanged(); partial void OnOwnerChanging(string value); partial void OnOwnerChanged(); + partial void OnIsUnifyWanderAboutChanging(System.Nullable value); + partial void OnIsUnifyWanderAboutChanged(); + partial void OnUnifyWanderAboutDataChanging(System.Nullable value); + partial void OnUnifyWanderAboutDataChanged(); + partial void OnUnifyWanderAboutOpinionChanging(string value); + partial void OnUnifyWanderAboutOpinionChanged(); partial void OnInspectionIsAllPassChanging(System.Nullable value); partial void OnInspectionIsAllPassChanged(); partial void OnSubcontractorIsAllPassChanging(System.Nullable value); @@ -272343,10 +273656,8 @@ namespace Model partial void OnSupervisionIsAllPassChanged(); partial void OnOwnerIsAllPassChanging(System.Nullable value); partial void OnOwnerIsAllPassChanged(); - partial void OnWorkPackTypeChanging(System.Nullable value); - partial void OnWorkPackTypeChanged(); - partial void OnPropertyTechnologyIdChanging(string value); - partial void OnPropertyTechnologyIdChanged(); + partial void OnWanderIsCompleteChanging(System.Nullable value); + partial void OnWanderIsCompleteChanged(); partial void OnSubcontractorAllPassDataChanging(System.Nullable value); partial void OnSubcontractorAllPassDataChanged(); partial void OnContractorAllPassDataChanging(System.Nullable value); @@ -272355,36 +273666,26 @@ namespace Model partial void OnSupervisionAllPassDataChanged(); partial void OnOwnerAllPassDataChanging(System.Nullable value); partial void OnOwnerAllPassDataChanged(); - partial void OnWanderIsCompleteChanging(System.Nullable value); - partial void OnWanderIsCompleteChanged(); partial void OnWanderCompleteDataChanging(System.Nullable value); partial void OnWanderCompleteDataChanged(); + partial void OnWorkPackTypeChanging(System.Nullable value); + partial void OnWorkPackTypeChanged(); partial void OnIsSiteImplementChanging(System.Nullable value); partial void OnIsSiteImplementChanged(); - partial void OnSiteImplementUserChanging(string value); - partial void OnSiteImplementUserChanged(); - partial void OnSiteImplementConfirmDataChanging(System.Nullable value); - partial void OnSiteImplementConfirmDataChanged(); - partial void OnRecordUploadDataChanging(System.Nullable value); - partial void OnRecordUploadDataChanged(); partial void OnInspectIsCloseChanging(System.Nullable value); partial void OnInspectIsCloseChanged(); - partial void OnInspectIsCloseUserChanging(string value); - partial void OnInspectIsCloseUserChanged(); partial void OnInspectCloseDataChanging(System.Nullable value); partial void OnInspectCloseDataChanged(); - partial void OnIsUnifyWanderAboutChanging(System.Nullable value); - partial void OnIsUnifyWanderAboutChanged(); - partial void OnUnifyWanderAboutDataChanging(System.Nullable value); - partial void OnUnifyWanderAboutDataChanged(); - partial void OnUnifyWanderAboutOpinionChanging(string value); - partial void OnUnifyWanderAboutOpinionChanged(); - partial void OnInspectTimeChanging(System.Nullable value); - partial void OnInspectTimeChanged(); - partial void OnAddUserChanging(string value); - partial void OnAddUserChanged(); - partial void OnAddTimeChanging(System.Nullable value); - partial void OnAddTimeChanged(); + partial void OnInspectIsCloseUserChanging(string value); + partial void OnInspectIsCloseUserChanged(); + partial void OnPropertyTechnologyIdChanging(string value); + partial void OnPropertyTechnologyIdChanged(); + partial void OnRecordUploadDataChanging(System.Nullable value); + partial void OnRecordUploadDataChanged(); + partial void OnSiteImplementConfirmDataChanging(System.Nullable value); + partial void OnSiteImplementConfirmDataChanged(); + partial void OnSiteImplementUserChanging(string value); + partial void OnSiteImplementUserChanged(); #endregion public PreRun_SubInspectTerm() @@ -272552,6 +273853,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")] + public System.Nullable InspectTime + { + get + { + return this._InspectTime; + } + set + { + if ((this._InspectTime != value)) + { + this.OnInspectTimeChanging(value); + this.SendPropertyChanging(); + this._InspectTime = value; + this.SendPropertyChanged("InspectTime"); + this.OnInspectTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] + public string AddUser + { + get + { + return this._AddUser; + } + set + { + if ((this._AddUser != value)) + { + this.OnAddUserChanging(value); + this.SendPropertyChanging(); + this._AddUser = value; + this.SendPropertyChanged("AddUser"); + this.OnAddUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] + public System.Nullable AddTime + { + get + { + return this._AddTime; + } + set + { + if ((this._AddTime != value)) + { + this.OnAddTimeChanging(value); + this.SendPropertyChanging(); + this._AddTime = value; + this.SendPropertyChanged("AddTime"); + this.OnAddTimeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Subcontractor", DbType="VarChar(50)")] public string Subcontractor { @@ -272632,6 +273993,66 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUnifyWanderAbout", DbType="Int")] + public System.Nullable IsUnifyWanderAbout + { + get + { + return this._IsUnifyWanderAbout; + } + set + { + if ((this._IsUnifyWanderAbout != value)) + { + this.OnIsUnifyWanderAboutChanging(value); + this.SendPropertyChanging(); + this._IsUnifyWanderAbout = value; + this.SendPropertyChanged("IsUnifyWanderAbout"); + this.OnIsUnifyWanderAboutChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutData", DbType="DateTime")] + public System.Nullable UnifyWanderAboutData + { + get + { + return this._UnifyWanderAboutData; + } + set + { + if ((this._UnifyWanderAboutData != value)) + { + this.OnUnifyWanderAboutDataChanging(value); + this.SendPropertyChanging(); + this._UnifyWanderAboutData = value; + this.SendPropertyChanged("UnifyWanderAboutData"); + this.OnUnifyWanderAboutDataChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutOpinion", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string UnifyWanderAboutOpinion + { + get + { + return this._UnifyWanderAboutOpinion; + } + set + { + if ((this._UnifyWanderAboutOpinion != value)) + { + this.OnUnifyWanderAboutOpinionChanging(value); + this.SendPropertyChanging(); + this._UnifyWanderAboutOpinion = value; + this.SendPropertyChanged("UnifyWanderAboutOpinion"); + this.OnUnifyWanderAboutOpinionChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectionIsAllPass", DbType="Int")] public System.Nullable InspectionIsAllPass { @@ -272732,42 +274153,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] - public System.Nullable WorkPackType + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")] + public System.Nullable WanderIsComplete { get { - return this._WorkPackType; + return this._WanderIsComplete; } set { - if ((this._WorkPackType != value)) + if ((this._WanderIsComplete != value)) { - this.OnWorkPackTypeChanging(value); + this.OnWanderIsCompleteChanging(value); this.SendPropertyChanging(); - this._WorkPackType = value; - this.SendPropertyChanged("WorkPackType"); - this.OnWorkPackTypeChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string PropertyTechnologyId - { - get - { - return this._PropertyTechnologyId; - } - set - { - if ((this._PropertyTechnologyId != value)) - { - this.OnPropertyTechnologyIdChanging(value); - this.SendPropertyChanging(); - this._PropertyTechnologyId = value; - this.SendPropertyChanged("PropertyTechnologyId"); - this.OnPropertyTechnologyIdChanged(); + this._WanderIsComplete = value; + this.SendPropertyChanged("WanderIsComplete"); + this.OnWanderIsCompleteChanged(); } } } @@ -272852,26 +274253,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderIsComplete", DbType="Int")] - public System.Nullable WanderIsComplete - { - get - { - return this._WanderIsComplete; - } - set - { - if ((this._WanderIsComplete != value)) - { - this.OnWanderIsCompleteChanging(value); - this.SendPropertyChanging(); - this._WanderIsComplete = value; - this.SendPropertyChanged("WanderIsComplete"); - this.OnWanderIsCompleteChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WanderCompleteData", DbType="DateTime")] public System.Nullable WanderCompleteData { @@ -272892,6 +274273,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] + public System.Nullable WorkPackType + { + get + { + return this._WorkPackType; + } + set + { + if ((this._WorkPackType != value)) + { + this.OnWorkPackTypeChanging(value); + this.SendPropertyChanging(); + this._WorkPackType = value; + this.SendPropertyChanged("WorkPackType"); + this.OnWorkPackTypeChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsSiteImplement", DbType="Int")] public System.Nullable IsSiteImplement { @@ -272912,66 +274313,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="VarChar(50)")] - public string SiteImplementUser - { - get - { - return this._SiteImplementUser; - } - set - { - if ((this._SiteImplementUser != value)) - { - this.OnSiteImplementUserChanging(value); - this.SendPropertyChanging(); - this._SiteImplementUser = value; - this.SendPropertyChanged("SiteImplementUser"); - this.OnSiteImplementUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")] - public System.Nullable SiteImplementConfirmData - { - get - { - return this._SiteImplementConfirmData; - } - set - { - if ((this._SiteImplementConfirmData != value)) - { - this.OnSiteImplementConfirmDataChanging(value); - this.SendPropertyChanging(); - this._SiteImplementConfirmData = value; - this.SendPropertyChanged("SiteImplementConfirmData"); - this.OnSiteImplementConfirmDataChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")] - public System.Nullable RecordUploadData - { - get - { - return this._RecordUploadData; - } - set - { - if ((this._RecordUploadData != value)) - { - this.OnRecordUploadDataChanging(value); - this.SendPropertyChanging(); - this._RecordUploadData = value; - this.SendPropertyChanged("RecordUploadData"); - this.OnRecordUploadDataChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsClose", DbType="Int")] public System.Nullable InspectIsClose { @@ -272992,26 +274333,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="VarChar(50)")] - public string InspectIsCloseUser - { - get - { - return this._InspectIsCloseUser; - } - set - { - if ((this._InspectIsCloseUser != value)) - { - this.OnInspectIsCloseUserChanging(value); - this.SendPropertyChanging(); - this._InspectIsCloseUser = value; - this.SendPropertyChanged("InspectIsCloseUser"); - this.OnInspectIsCloseUserChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectCloseData", DbType="DateTime")] public System.Nullable InspectCloseData { @@ -273032,122 +274353,102 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsUnifyWanderAbout", DbType="Int")] - public System.Nullable IsUnifyWanderAbout + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectIsCloseUser", DbType="NVarChar(50)")] + public string InspectIsCloseUser { get { - return this._IsUnifyWanderAbout; + return this._InspectIsCloseUser; } set { - if ((this._IsUnifyWanderAbout != value)) + if ((this._InspectIsCloseUser != value)) { - this.OnIsUnifyWanderAboutChanging(value); + this.OnInspectIsCloseUserChanging(value); this.SendPropertyChanging(); - this._IsUnifyWanderAbout = value; - this.SendPropertyChanged("IsUnifyWanderAbout"); - this.OnIsUnifyWanderAboutChanged(); + this._InspectIsCloseUser = value; + this.SendPropertyChanged("InspectIsCloseUser"); + this.OnInspectIsCloseUserChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutData", DbType="DateTime")] - public System.Nullable UnifyWanderAboutData + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="NVarChar(500)")] + public string PropertyTechnologyId { get { - return this._UnifyWanderAboutData; + return this._PropertyTechnologyId; } set { - if ((this._UnifyWanderAboutData != value)) + if ((this._PropertyTechnologyId != value)) { - this.OnUnifyWanderAboutDataChanging(value); + this.OnPropertyTechnologyIdChanging(value); this.SendPropertyChanging(); - this._UnifyWanderAboutData = value; - this.SendPropertyChanged("UnifyWanderAboutData"); - this.OnUnifyWanderAboutDataChanged(); + this._PropertyTechnologyId = value; + this.SendPropertyChanged("PropertyTechnologyId"); + this.OnPropertyTechnologyIdChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnifyWanderAboutOpinion", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] - public string UnifyWanderAboutOpinion + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RecordUploadData", DbType="DateTime")] + public System.Nullable RecordUploadData { get { - return this._UnifyWanderAboutOpinion; + return this._RecordUploadData; } set { - if ((this._UnifyWanderAboutOpinion != value)) + if ((this._RecordUploadData != value)) { - this.OnUnifyWanderAboutOpinionChanging(value); + this.OnRecordUploadDataChanging(value); this.SendPropertyChanging(); - this._UnifyWanderAboutOpinion = value; - this.SendPropertyChanged("UnifyWanderAboutOpinion"); - this.OnUnifyWanderAboutOpinionChanged(); + this._RecordUploadData = value; + this.SendPropertyChanged("RecordUploadData"); + this.OnRecordUploadDataChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InspectTime", DbType="DateTime")] - public System.Nullable InspectTime + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementConfirmData", DbType="DateTime")] + public System.Nullable SiteImplementConfirmData { get { - return this._InspectTime; + return this._SiteImplementConfirmData; } set { - if ((this._InspectTime != value)) + if ((this._SiteImplementConfirmData != value)) { - this.OnInspectTimeChanging(value); + this.OnSiteImplementConfirmDataChanging(value); this.SendPropertyChanging(); - this._InspectTime = value; - this.SendPropertyChanged("InspectTime"); - this.OnInspectTimeChanged(); + this._SiteImplementConfirmData = value; + this.SendPropertyChanged("SiteImplementConfirmData"); + this.OnSiteImplementConfirmDataChanged(); } } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] - public string AddUser + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SiteImplementUser", DbType="NVarChar(50)")] + public string SiteImplementUser { get { - return this._AddUser; + return this._SiteImplementUser; } set { - if ((this._AddUser != value)) + if ((this._SiteImplementUser != value)) { - this.OnAddUserChanging(value); + this.OnSiteImplementUserChanging(value); this.SendPropertyChanging(); - this._AddUser = value; - this.SendPropertyChanged("AddUser"); - this.OnAddUserChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] - public System.Nullable AddTime - { - get - { - return this._AddTime; - } - set - { - if ((this._AddTime != value)) - { - this.OnAddTimeChanging(value); - this.SendPropertyChanging(); - this._AddTime = value; - this.SendPropertyChanged("AddTime"); - this.OnAddTimeChanged(); + this._SiteImplementUser = value; + this.SendPropertyChanged("SiteImplementUser"); + this.OnSiteImplementUserChanged(); } } } @@ -273215,22 +274516,6 @@ namespace Model private string _Owner; - private System.Nullable _SubcontractorIsPass; - - private System.Nullable _ContractorIsPass; - - private System.Nullable _SupervisionIsPass; - - private System.Nullable _OwnerIsPass; - - private string _SubcontractorRemark; - - private string _ContractorRemark; - - private string _SupervisionRemark; - - private string _OwnerRemark; - private System.Nullable _WorkPackType; private string _PropertyTechnologyId; @@ -273243,6 +274528,22 @@ namespace Model private System.Nullable _Sort; + private string _SubcontractorRemark; + + private string _ContractorRemark; + + private string _SupervisionRemark; + + private string _OwnerRemark; + + private System.Nullable _SubcontractorIsPass; + + private System.Nullable _ContractorIsPass; + + private System.Nullable _SupervisionIsPass; + + private System.Nullable _OwnerIsPass; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -273283,22 +274584,6 @@ namespace Model partial void OnSupervisionChanged(); partial void OnOwnerChanging(string value); partial void OnOwnerChanged(); - partial void OnSubcontractorIsPassChanging(System.Nullable value); - partial void OnSubcontractorIsPassChanged(); - partial void OnContractorIsPassChanging(System.Nullable value); - partial void OnContractorIsPassChanged(); - partial void OnSupervisionIsPassChanging(System.Nullable value); - partial void OnSupervisionIsPassChanged(); - partial void OnOwnerIsPassChanging(System.Nullable value); - partial void OnOwnerIsPassChanged(); - partial void OnSubcontractorRemarkChanging(string value); - partial void OnSubcontractorRemarkChanged(); - partial void OnContractorRemarkChanging(string value); - partial void OnContractorRemarkChanged(); - partial void OnSupervisionRemarkChanging(string value); - partial void OnSupervisionRemarkChanged(); - partial void OnOwnerRemarkChanging(string value); - partial void OnOwnerRemarkChanged(); partial void OnWorkPackTypeChanging(System.Nullable value); partial void OnWorkPackTypeChanged(); partial void OnPropertyTechnologyIdChanging(string value); @@ -273311,6 +274596,22 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); + partial void OnSubcontractorRemarkChanging(string value); + partial void OnSubcontractorRemarkChanged(); + partial void OnContractorRemarkChanging(string value); + partial void OnContractorRemarkChanged(); + partial void OnSupervisionRemarkChanging(string value); + partial void OnSupervisionRemarkChanged(); + partial void OnOwnerRemarkChanging(string value); + partial void OnOwnerRemarkChanged(); + partial void OnSubcontractorIsPassChanging(System.Nullable value); + partial void OnSubcontractorIsPassChanged(); + partial void OnContractorIsPassChanging(System.Nullable value); + partial void OnContractorIsPassChanged(); + partial void OnSupervisionIsPassChanging(System.Nullable value); + partial void OnSupervisionIsPassChanged(); + partial void OnOwnerIsPassChanging(System.Nullable value); + partial void OnOwnerIsPassChanged(); #endregion public PreRun_SubInspectTermItem() @@ -273678,166 +274979,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsPass", DbType="Int")] - public System.Nullable SubcontractorIsPass - { - get - { - return this._SubcontractorIsPass; - } - set - { - if ((this._SubcontractorIsPass != value)) - { - this.OnSubcontractorIsPassChanging(value); - this.SendPropertyChanging(); - this._SubcontractorIsPass = value; - this.SendPropertyChanged("SubcontractorIsPass"); - this.OnSubcontractorIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorIsPass", DbType="Int")] - public System.Nullable ContractorIsPass - { - get - { - return this._ContractorIsPass; - } - set - { - if ((this._ContractorIsPass != value)) - { - this.OnContractorIsPassChanging(value); - this.SendPropertyChanging(); - this._ContractorIsPass = value; - this.SendPropertyChanged("ContractorIsPass"); - this.OnContractorIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionIsPass", DbType="Int")] - public System.Nullable SupervisionIsPass - { - get - { - return this._SupervisionIsPass; - } - set - { - if ((this._SupervisionIsPass != value)) - { - this.OnSupervisionIsPassChanging(value); - this.SendPropertyChanging(); - this._SupervisionIsPass = value; - this.SendPropertyChanged("SupervisionIsPass"); - this.OnSupervisionIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerIsPass", DbType="Int")] - public System.Nullable OwnerIsPass - { - get - { - return this._OwnerIsPass; - } - set - { - if ((this._OwnerIsPass != value)) - { - this.OnOwnerIsPassChanging(value); - this.SendPropertyChanging(); - this._OwnerIsPass = value; - this.SendPropertyChanged("OwnerIsPass"); - this.OnOwnerIsPassChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorRemark", DbType="VarChar(1000)")] - public string SubcontractorRemark - { - get - { - return this._SubcontractorRemark; - } - set - { - if ((this._SubcontractorRemark != value)) - { - this.OnSubcontractorRemarkChanging(value); - this.SendPropertyChanging(); - this._SubcontractorRemark = value; - this.SendPropertyChanged("SubcontractorRemark"); - this.OnSubcontractorRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorRemark", DbType="VarChar(1000)")] - public string ContractorRemark - { - get - { - return this._ContractorRemark; - } - set - { - if ((this._ContractorRemark != value)) - { - this.OnContractorRemarkChanging(value); - this.SendPropertyChanging(); - this._ContractorRemark = value; - this.SendPropertyChanged("ContractorRemark"); - this.OnContractorRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionRemark", DbType="VarChar(1000)")] - public string SupervisionRemark - { - get - { - return this._SupervisionRemark; - } - set - { - if ((this._SupervisionRemark != value)) - { - this.OnSupervisionRemarkChanging(value); - this.SendPropertyChanging(); - this._SupervisionRemark = value; - this.SendPropertyChanged("SupervisionRemark"); - this.OnSupervisionRemarkChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerRemark", DbType="VarChar(1000)")] - public string OwnerRemark - { - get - { - return this._OwnerRemark; - } - set - { - if ((this._OwnerRemark != value)) - { - this.OnOwnerRemarkChanging(value); - this.SendPropertyChanging(); - this._OwnerRemark = value; - this.SendPropertyChanged("OwnerRemark"); - this.OnOwnerRemarkChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WorkPackType", DbType="Int")] public System.Nullable WorkPackType { @@ -273858,7 +274999,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PropertyTechnologyId", DbType="VarChar(50)")] public string PropertyTechnologyId { get @@ -273958,6 +275099,166 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorRemark", DbType="VarChar(1000)")] + public string SubcontractorRemark + { + get + { + return this._SubcontractorRemark; + } + set + { + if ((this._SubcontractorRemark != value)) + { + this.OnSubcontractorRemarkChanging(value); + this.SendPropertyChanging(); + this._SubcontractorRemark = value; + this.SendPropertyChanged("SubcontractorRemark"); + this.OnSubcontractorRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorRemark", DbType="VarChar(1000)")] + public string ContractorRemark + { + get + { + return this._ContractorRemark; + } + set + { + if ((this._ContractorRemark != value)) + { + this.OnContractorRemarkChanging(value); + this.SendPropertyChanging(); + this._ContractorRemark = value; + this.SendPropertyChanged("ContractorRemark"); + this.OnContractorRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionRemark", DbType="VarChar(1000)")] + public string SupervisionRemark + { + get + { + return this._SupervisionRemark; + } + set + { + if ((this._SupervisionRemark != value)) + { + this.OnSupervisionRemarkChanging(value); + this.SendPropertyChanging(); + this._SupervisionRemark = value; + this.SendPropertyChanged("SupervisionRemark"); + this.OnSupervisionRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerRemark", DbType="VarChar(1000)")] + public string OwnerRemark + { + get + { + return this._OwnerRemark; + } + set + { + if ((this._OwnerRemark != value)) + { + this.OnOwnerRemarkChanging(value); + this.SendPropertyChanging(); + this._OwnerRemark = value; + this.SendPropertyChanged("OwnerRemark"); + this.OnOwnerRemarkChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubcontractorIsPass", DbType="Int")] + public System.Nullable SubcontractorIsPass + { + get + { + return this._SubcontractorIsPass; + } + set + { + if ((this._SubcontractorIsPass != value)) + { + this.OnSubcontractorIsPassChanging(value); + this.SendPropertyChanging(); + this._SubcontractorIsPass = value; + this.SendPropertyChanged("SubcontractorIsPass"); + this.OnSubcontractorIsPassChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContractorIsPass", DbType="Int")] + public System.Nullable ContractorIsPass + { + get + { + return this._ContractorIsPass; + } + set + { + if ((this._ContractorIsPass != value)) + { + this.OnContractorIsPassChanging(value); + this.SendPropertyChanging(); + this._ContractorIsPass = value; + this.SendPropertyChanged("ContractorIsPass"); + this.OnContractorIsPassChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SupervisionIsPass", DbType="Int")] + public System.Nullable SupervisionIsPass + { + get + { + return this._SupervisionIsPass; + } + set + { + if ((this._SupervisionIsPass != value)) + { + this.OnSupervisionIsPassChanging(value); + this.SendPropertyChanging(); + this._SupervisionIsPass = value; + this.SendPropertyChanged("SupervisionIsPass"); + this.OnSupervisionIsPassChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OwnerIsPass", DbType="Int")] + public System.Nullable OwnerIsPass + { + get + { + return this._OwnerIsPass; + } + set + { + if ((this._OwnerIsPass != value)) + { + this.OnOwnerIsPassChanging(value); + this.SendPropertyChanging(); + this._OwnerIsPass = value; + this.SendPropertyChanged("OwnerIsPass"); + this.OnOwnerIsPassChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -274959,8 +276260,6 @@ namespace Model private string _RestrictCondition; - private System.Nullable _ResponsibilityProposeSatate; - private System.Nullable _ResponsibilityConfirm; private System.Nullable _ProposeConfirm; @@ -274971,11 +276270,9 @@ namespace Model private System.Nullable _OwnerConfirm; - private System.Nullable _ProposeConfirmData; - private System.Nullable _ResponsibilityConfirmData; - private System.Nullable _ProposeHandleData; + private System.Nullable _ProposeConfirmData; private System.Nullable _GeneraConfirmData; @@ -274991,6 +276288,10 @@ namespace Model private System.Nullable _Sort; + private System.Nullable _ResponsibilityProposeSatate; + + private System.Nullable _ProposeHandleData; + private string _FourDecisionCode; #region 可扩展性方法定义 @@ -275027,8 +276328,6 @@ namespace Model partial void OnRealityDestructionTimeChanged(); partial void OnRestrictConditionChanging(string value); partial void OnRestrictConditionChanged(); - partial void OnResponsibilityProposeSatateChanging(System.Nullable value); - partial void OnResponsibilityProposeSatateChanged(); partial void OnResponsibilityConfirmChanging(System.Nullable value); partial void OnResponsibilityConfirmChanged(); partial void OnProposeConfirmChanging(System.Nullable value); @@ -275039,12 +276338,10 @@ namespace Model partial void OnSupervisionConfirmChanged(); partial void OnOwnerConfirmChanging(System.Nullable value); partial void OnOwnerConfirmChanged(); - partial void OnProposeConfirmDataChanging(System.Nullable value); - partial void OnProposeConfirmDataChanged(); partial void OnResponsibilityConfirmDataChanging(System.Nullable value); partial void OnResponsibilityConfirmDataChanged(); - partial void OnProposeHandleDataChanging(System.Nullable value); - partial void OnProposeHandleDataChanged(); + partial void OnProposeConfirmDataChanging(System.Nullable value); + partial void OnProposeConfirmDataChanged(); partial void OnGeneraConfirmDataChanging(System.Nullable value); partial void OnGeneraConfirmDataChanged(); partial void OnSupervisionConfirmDataChanging(System.Nullable value); @@ -275059,6 +276356,10 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); + partial void OnResponsibilityProposeSatateChanging(System.Nullable value); + partial void OnResponsibilityProposeSatateChanged(); + partial void OnProposeHandleDataChanging(System.Nullable value); + partial void OnProposeHandleDataChanged(); partial void OnFourDecisionCodeChanging(string value); partial void OnFourDecisionCodeChanged(); #endregion @@ -275368,26 +276669,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")] - public System.Nullable ResponsibilityProposeSatate - { - get - { - return this._ResponsibilityProposeSatate; - } - set - { - if ((this._ResponsibilityProposeSatate != value)) - { - this.OnResponsibilityProposeSatateChanging(value); - this.SendPropertyChanging(); - this._ResponsibilityProposeSatate = value; - this.SendPropertyChanged("ResponsibilityProposeSatate"); - this.OnResponsibilityProposeSatateChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirm", DbType="Int")] public System.Nullable ResponsibilityConfirm { @@ -275488,26 +276769,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")] - public System.Nullable ProposeConfirmData - { - get - { - return this._ProposeConfirmData; - } - set - { - if ((this._ProposeConfirmData != value)) - { - this.OnProposeConfirmDataChanging(value); - this.SendPropertyChanging(); - this._ProposeConfirmData = value; - this.SendPropertyChanged("ProposeConfirmData"); - this.OnProposeConfirmDataChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityConfirmData", DbType="DateTime")] public System.Nullable ResponsibilityConfirmData { @@ -275528,22 +276789,22 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")] - public System.Nullable ProposeHandleData + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeConfirmData", DbType="DateTime")] + public System.Nullable ProposeConfirmData { get { - return this._ProposeHandleData; + return this._ProposeConfirmData; } set { - if ((this._ProposeHandleData != value)) + if ((this._ProposeConfirmData != value)) { - this.OnProposeHandleDataChanging(value); + this.OnProposeConfirmDataChanging(value); this.SendPropertyChanging(); - this._ProposeHandleData = value; - this.SendPropertyChanged("ProposeHandleData"); - this.OnProposeHandleDataChanged(); + this._ProposeConfirmData = value; + this.SendPropertyChanged("ProposeConfirmData"); + this.OnProposeConfirmDataChanged(); } } } @@ -275688,6 +276949,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ResponsibilityProposeSatate", DbType="Int")] + public System.Nullable ResponsibilityProposeSatate + { + get + { + return this._ResponsibilityProposeSatate; + } + set + { + if ((this._ResponsibilityProposeSatate != value)) + { + this.OnResponsibilityProposeSatateChanging(value); + this.SendPropertyChanging(); + this._ResponsibilityProposeSatate = value; + this.SendPropertyChanged("ResponsibilityProposeSatate"); + this.OnResponsibilityProposeSatateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProposeHandleData", DbType="DateTime")] + public System.Nullable ProposeHandleData + { + get + { + return this._ProposeHandleData; + } + set + { + if ((this._ProposeHandleData != value)) + { + this.OnProposeHandleDataChanging(value); + this.SendPropertyChanging(); + this._ProposeHandleData = value; + this.SendPropertyChanged("ProposeHandleData"); + this.OnProposeHandleDataChanged(); + } + } + } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_FourDecisionCode", DbType="VarChar(20)")] public string FourDecisionCode { @@ -276400,7 +277701,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] public string Remark { get @@ -311261,6 +312562,164 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CQMS_ProblemHandle")] + public partial class Report_CQMS_ProblemHandle : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ReportId; + + private string _ReType; + + private string _UnitName; + + private string _ProblemDes; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnReportIdChanging(string value); + partial void OnReportIdChanged(); + partial void OnReTypeChanging(string value); + partial void OnReTypeChanged(); + partial void OnUnitNameChanging(string value); + partial void OnUnitNameChanged(); + partial void OnProblemDesChanging(string value); + partial void OnProblemDesChanged(); + #endregion + + public Report_CQMS_ProblemHandle() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReportId", DbType="NVarChar(50)")] + public string ReportId + { + get + { + return this._ReportId; + } + set + { + if ((this._ReportId != value)) + { + this.OnReportIdChanging(value); + this.SendPropertyChanging(); + this._ReportId = value; + this.SendPropertyChanged("ReportId"); + this.OnReportIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReType", DbType="NChar(20)")] + public string ReType + { + get + { + return this._ReType; + } + set + { + if ((this._ReType != value)) + { + this.OnReTypeChanging(value); + this.SendPropertyChanging(); + this._ReType = value; + this.SendPropertyChanged("ReType"); + this.OnReTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitName", DbType="NVarChar(100)")] + public string UnitName + { + get + { + return this._UnitName; + } + set + { + if ((this._UnitName != value)) + { + this.OnUnitNameChanging(value); + this.SendPropertyChanging(); + this._UnitName = value; + this.SendPropertyChanged("UnitName"); + this.OnUnitNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProblemDes", DbType="NVarChar(100)")] + public string ProblemDes + { + get + { + return this._ProblemDes; + } + set + { + if ((this._ProblemDes != value)) + { + this.OnProblemDesChanging(value); + this.SendPropertyChanging(); + this._ProblemDes = value; + this.SendPropertyChanged("ProblemDes"); + this.OnProblemDesChanged(); + } + } + } + + public event PropertyChangingEventHandler PropertyChanging; + + public event PropertyChangedEventHandler PropertyChanged; + + protected virtual void SendPropertyChanging() + { + if ((this.PropertyChanging != null)) + { + this.PropertyChanging(this, emptyChangingEventArgs); + } + } + + protected virtual void SendPropertyChanged(String propertyName) + { + if ((this.PropertyChanged != null)) + { + this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Report_CqmsTarget")] public partial class Report_CqmsTarget : INotifyPropertyChanging, INotifyPropertyChanged { @@ -311955,6 +313414,8 @@ namespace Model private string _ContentText; + private string _ImageUrl; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -311967,6 +313428,8 @@ namespace Model partial void OnContentTypeChanged(); partial void OnContentTextChanging(string value); partial void OnContentTextChanged(); + partial void OnImageUrlChanging(string value); + partial void OnImageUrlChanged(); #endregion public Report_TextBoxContent() @@ -312054,6 +313517,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="imageUrl", Storage="_ImageUrl", DbType="NVarChar(100)")] + public string ImageUrl + { + get + { + return this._ImageUrl; + } + set + { + if ((this._ImageUrl != value)) + { + this.OnImageUrlChanging(value); + this.SendPropertyChanging(); + this._ImageUrl = value; + this.SendPropertyChanged("ImageUrl"); + this.OnImageUrlChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -345088,6 +346571,8 @@ namespace Model private EntitySet _Comprehensive_DataReceiving; + private EntitySet _Comprehensive_DataReceivingDoc; + private EntitySet _Comprehensive_DesignChangeOrder; private EntitySet _Comprehensive_DesignDetails; @@ -345118,8 +346603,6 @@ namespace Model private EntitySet _Doc_DocManage; - private EntitySet _Doc_DocManageApprove; - private EntitySet _Driver_DriverProgress; private EntitySet _Driver_DriverReport; @@ -345816,6 +347299,7 @@ namespace Model this._Check_ViolationPerson = new EntitySet(new Action(this.attach_Check_ViolationPerson), new Action(this.detach_Check_ViolationPerson)); this._Comprehensive_DataDistribution = new EntitySet(new Action(this.attach_Comprehensive_DataDistribution), new Action(this.detach_Comprehensive_DataDistribution)); this._Comprehensive_DataReceiving = new EntitySet(new Action(this.attach_Comprehensive_DataReceiving), new Action(this.detach_Comprehensive_DataReceiving)); + this._Comprehensive_DataReceivingDoc = new EntitySet(new Action(this.attach_Comprehensive_DataReceivingDoc), new Action(this.detach_Comprehensive_DataReceivingDoc)); this._Comprehensive_DesignChangeOrder = new EntitySet(new Action(this.attach_Comprehensive_DesignChangeOrder), new Action(this.detach_Comprehensive_DesignChangeOrder)); this._Comprehensive_DesignDetails = new EntitySet(new Action(this.attach_Comprehensive_DesignDetails), new Action(this.detach_Comprehensive_DesignDetails)); this._Comprehensive_InspectionPerson = new EntitySet(new Action(this.attach_Comprehensive_InspectionPerson), new Action(this.detach_Comprehensive_InspectionPerson)); @@ -345831,7 +347315,6 @@ namespace Model this._DataBase_File = new EntitySet(new Action(this.attach_DataBase_File), new Action(this.detach_DataBase_File)); this._DataBase_StartWorkReport = new EntitySet(new Action(this.attach_DataBase_StartWorkReport), new Action(this.detach_DataBase_StartWorkReport)); this._Doc_DocManage = new EntitySet(new Action(this.attach_Doc_DocManage), new Action(this.detach_Doc_DocManage)); - this._Doc_DocManageApprove = new EntitySet(new Action(this.attach_Doc_DocManageApprove), new Action(this.detach_Doc_DocManageApprove)); this._Driver_DriverProgress = new EntitySet(new Action(this.attach_Driver_DriverProgress), new Action(this.detach_Driver_DriverProgress)); this._Driver_DriverReport = new EntitySet(new Action(this.attach_Driver_DriverReport), new Action(this.detach_Driver_DriverReport)); this._Driver_DriverScheme = new EntitySet(new Action(this.attach_Driver_DriverScheme), new Action(this.detach_Driver_DriverScheme)); @@ -348014,6 +349497,19 @@ namespace Model } } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DataReceivingDoc_Sys_User", Storage="_Comprehensive_DataReceivingDoc", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] + public EntitySet Comprehensive_DataReceivingDoc + { + get + { + return this._Comprehensive_DataReceivingDoc; + } + set + { + this._Comprehensive_DataReceivingDoc.Assign(value); + } + } + [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Comprehensive_DesignChangeOrder_Sys_User", Storage="_Comprehensive_DesignChangeOrder", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] public EntitySet Comprehensive_DesignChangeOrder { @@ -348209,19 +349705,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Doc_DocManageApprove_Sys_User", Storage="_Doc_DocManageApprove", ThisKey="UserId", OtherKey="ApproveMan", DeleteRule="NO ACTION")] - public EntitySet Doc_DocManageApprove - { - get - { - return this._Doc_DocManageApprove; - } - set - { - this._Doc_DocManageApprove.Assign(value); - } - } - [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Driver_DriverProgress_Sys_User", Storage="_Driver_DriverProgress", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")] public EntitySet Driver_DriverProgress { @@ -352509,6 +353992,18 @@ namespace Model entity.Sys_User = null; } + private void attach_Comprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc entity) + { + this.SendPropertyChanging(); + entity.Sys_User = this; + } + + private void detach_Comprehensive_DataReceivingDoc(Comprehensive_DataReceivingDoc entity) + { + this.SendPropertyChanging(); + entity.Sys_User = null; + } + private void attach_Comprehensive_DesignChangeOrder(Comprehensive_DesignChangeOrder entity) { this.SendPropertyChanging(); @@ -352689,18 +354184,6 @@ namespace Model entity.Sys_User = null; } - private void attach_Doc_DocManageApprove(Doc_DocManageApprove entity) - { - this.SendPropertyChanging(); - entity.Sys_User = this; - } - - private void detach_Doc_DocManageApprove(Doc_DocManageApprove entity) - { - this.SendPropertyChanging(); - entity.Sys_User = null; - } - private void attach_Driver_DriverProgress(Driver_DriverProgress entity) { this.SendPropertyChanging(); diff --git a/SGGL/WebAPI/WebAPI.csproj.user b/SGGL/WebAPI/WebAPI.csproj.user index bd497c6b..5fe155da 100644 --- a/SGGL/WebAPI/WebAPI.csproj.user +++ b/SGGL/WebAPI/WebAPI.csproj.user @@ -1,7 +1,7 @@  - Release|Any CPU + Debug|Any CPU true