督查台账上报
This commit is contained in:
parent
e8f73350eb
commit
dfe154dd56
|
|
@ -0,0 +1,29 @@
|
||||||
|
|
||||||
|
/*************督查大队:重点工程项目质量专项整治行动开展情况台账**************/
|
||||||
|
CREATE VIEW [dbo].[View_DCGLKeyProjectRectificationSituationLedger]
|
||||||
|
AS
|
||||||
|
SELECT
|
||||||
|
Report.Id,
|
||||||
|
Report.UnitId,
|
||||||
|
Report.Year,
|
||||||
|
U.UnitName,
|
||||||
|
Report.ReportDate,
|
||||||
|
Report.UpState,
|
||||||
|
Report.DutyPerson,
|
||||||
|
Report.HandleState,
|
||||||
|
Report.HandleMan,
|
||||||
|
Report.HasPlan,
|
||||||
|
Report.PlanDate,
|
||||||
|
Report.HasWorkTeam,
|
||||||
|
Report.TeamDate,
|
||||||
|
Report.KeyProjectNum,
|
||||||
|
Report.Remark,
|
||||||
|
Report.CompileDate,
|
||||||
|
Report.CompileMan,
|
||||||
|
Report.CompileManName,
|
||||||
|
US.UserName
|
||||||
|
FROM dbo.DCGL_Report_KeyProjectRectificationSituationLedger AS Report
|
||||||
|
LEFT JOIN Base_Unit AS U ON U.UnitId=Report.UnitId
|
||||||
|
LEFT JOIN Sys_User AS US ON US.UserId=Report.HandleMan
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -0,0 +1,175 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--菜单:重点工程项目质量专项整治行动开展情况台账
|
||||||
|
IF NOT EXISTS (SELECT * FROM Sys_Menu WHERE MenuId = '35BA8E89-4575-4A3F-9C22-98B323E67DA1')
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO dbo.Sys_Menu (MenuId, MenuName,Url, SortIndex, SuperMenu, MenuType, IsOffice, IsEnd, IsUsed)
|
||||||
|
VALUES (N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'重点工程项目质量专项整治行动开展情况台账', N'ZHGL/Information/DCGLKeyProjectRectificationSituationLedger.aspx', 40, N'8B9C0F42-D36F-4798-94AB-F56723E8B714', N'Menu_ZHGL', 1,1, 1);
|
||||||
|
END
|
||||||
|
GO
|
||||||
|
IF NOT EXISTS (SELECT * FROM Sys_ButtonToMenu WHERE MenuId = '35BA8E89-4575-4A3F-9C22-98B323E67DA1')
|
||||||
|
BEGIN
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'DCAC5651-BBCD-4F4E-9CBA-C9E8B609A083', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'增加', 1);
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'696B1530-6589-4CA7-8A22-F6CF1326CC50', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'修改', 2);
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'8C3DA868-D97D-4FAB-9CB9-7E45493C5DF1', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'删除', 3);
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'633BBC47-09C3-44EB-A31E-4258F221444E', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'保存', 4);
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'78FE11AA-3F4C-47C5-86ED-D25C4632312C', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'保存并上报', 5);
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'DC074886-CBA2-441D-B32B-08CAD84EC8E1', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'提交', 6);
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'7D1F9150-5836-40D0-8205-B8676B588E1D', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'导入', 7);
|
||||||
|
INSERT INTO [dbo].[Sys_ButtonToMenu] ([ButtonToMenuId], [MenuId], [ButtonName], [SortIndex])
|
||||||
|
VALUES (N'8AFB0A0C-57E8-4AE8-8D7C-226A40AE272E', N'35BA8E89-4575-4A3F-9C22-98B323E67DA1', N'打印', 8);
|
||||||
|
END
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
--督查大队:重点工程项目质量专项整治行动开展情况台账
|
||||||
|
IF NOT EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'DCGL_Report_KeyProjectRectificationSituationLedger') AND type = N'U')
|
||||||
|
BEGIN
|
||||||
|
CREATE TABLE [dbo].[DCGL_Report_KeyProjectRectificationSituationLedger](
|
||||||
|
[Id] [nvarchar](50) NOT NULL,
|
||||||
|
[UnitId] [nvarchar](50) NULL,
|
||||||
|
[Year] [Int] NOT NULL,
|
||||||
|
[ReportDate] [datetime] NULL,
|
||||||
|
[DutyPerson] [nvarchar](50) NULL,
|
||||||
|
[UpState] [char](1) NULL,
|
||||||
|
[HandleState] [char](1) NULL,
|
||||||
|
[HandleMan] [nvarchar](50) NULL,
|
||||||
|
[HasPlan] [bit] NOT NULL,
|
||||||
|
[PlanDate] [datetime] NULL,
|
||||||
|
[HasWorkTeam] [bit] NOT NULL,
|
||||||
|
[TeamDate] [datetime] NULL,
|
||||||
|
[KeyProjectNum] [int] NOT NULL,
|
||||||
|
[StockCompanyKeyProjectCheckNum] [int] NOT NULL,
|
||||||
|
[StockCompanyKeyProjectProblemNum] [int] NOT NULL,
|
||||||
|
[StockCompanyKeyProjectProblemRectifiedNum] [int] NOT NULL,
|
||||||
|
[StockCompanyOtherProjectCheckNum] [int] NOT NULL,
|
||||||
|
[StockCompanyOtherProjectProblemNum] [int] NOT NULL,
|
||||||
|
[StockCompanyOtherProjectProblemRectifiedNum] [int] NOT NULL,
|
||||||
|
[BranchCompanyKeyProjectCheckNum] [int] NOT NULL,
|
||||||
|
[BranchCompanyKeyProjectProblemNum] [int] NOT NULL,
|
||||||
|
[BranchCompanyKeyProjectProblemRectifiedNum] [int] NOT NULL,
|
||||||
|
[BranchCompanyOtherProjectCheckNum] [int] NOT NULL,
|
||||||
|
[BranchCompanyOtherProjectProblemNum] [int] NOT NULL,
|
||||||
|
[BranchCompanyOtherProjectProblemRectifiedNum] [int] NOT NULL,
|
||||||
|
[ProjectSelfCheckNum] [int] NOT NULL,
|
||||||
|
[ProjectSelfCheckProblemNum] [int] NOT NULL,
|
||||||
|
[ProjectSelfCheckProblemRectifiedNum] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemNumType1] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemRectifiedNumType1] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemNumType2] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemRectifiedNumType2] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemNumType3] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemRectifiedNumType3] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemNumType4] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemRectifiedNumType4] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemNumType5] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemRectifiedNumType5] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemNumType6] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemRectifiedNumType6] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemNumType7] [int] NOT NULL,
|
||||||
|
[KeyProjectProblemRectifiedNumType7] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemNumType1] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemRectifiedNumType1] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemNumType2] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemRectifiedNumType2] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemNumType3] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemRectifiedNumType3] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemNumType4] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemRectifiedNumType4] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemNumType5] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemRectifiedNumType5] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemNumType6] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemRectifiedNumType6] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemNumType7] [int] NOT NULL,
|
||||||
|
[OtherProjectProblemRectifiedNumType7] [int] NOT NULL,
|
||||||
|
[Remark] [nvarchar](500) NULL,
|
||||||
|
[CompileMan] [nvarchar](50) NOT NULL,
|
||||||
|
[CompileManName] [nvarchar](50) NULL,
|
||||||
|
[CompileDate] [datetime] NOT NULL,
|
||||||
|
CONSTRAINT [PK_DCGL_Report_KeyProjectRectificationSituationLedger] PRIMARY KEY CLUSTERED
|
||||||
|
(
|
||||||
|
[Id] ASC
|
||||||
|
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
|
||||||
|
) ON [PRIMARY]
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'Id'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上报单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'UnitId'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'年份' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'Year'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'责任单位上报时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'ReportDate'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'负责人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'DutyPerson'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上报状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'UpState'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流程状态' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'HandleState'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流程处理人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'HandleMan'
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否制定自查整治方案' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'HasPlan'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'制定整治方案时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'PlanDate'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否成立工作专班' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'HasWorkTeam'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'成立工作专班时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'TeamDate'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'在建国家重点工程项目数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectNum'
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'股份公司层级-国家重点工程项目-检查项目个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'StockCompanyKeyProjectCheckNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'股份公司层级-国家重点工程项目-问题个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'StockCompanyKeyProjectProblemNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'股份公司层级-国家重点工程项目-已整改个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'StockCompanyKeyProjectProblemRectifiedNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'股份公司层级-其他工程项目-检查项目个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'StockCompanyOtherProjectCheckNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'股份公司层级-其他工程项目-问题个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'StockCompanyOtherProjectProblemNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'股份公司层级-其他工程项目-已整改个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'StockCompanyOtherProjectProblemRectifiedNum'
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'二三级公司层级-国家重点工程项目-检查项目个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'BranchCompanyKeyProjectCheckNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'二三级公司层级-国家重点工程项目-问题个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'BranchCompanyKeyProjectProblemNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'二三级公司层级-国家重点工程项目-已整改个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'BranchCompanyKeyProjectProblemRectifiedNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'二三级公司层级-其他工程项目-检查项目个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'BranchCompanyOtherProjectCheckNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'二三级公司层级-其他工程项目-问题个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'BranchCompanyOtherProjectProblemNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'二三级公司层级-其他工程项目-已整改个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'BranchCompanyOtherProjectProblemRectifiedNum'
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目层级自查-自查项目个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'ProjectSelfCheckNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目层级自查-问题个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'ProjectSelfCheckProblemNum'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目层级自查-已整改个数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'ProjectSelfCheckProblemRectifiedNum'
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-设计变更管控-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemNumType1'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-设计变更管控-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemRectifiedNumType1'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-建筑材料管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemNumType2'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-建筑材料管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemRectifiedNumType2'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-施工过程质量管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemNumType3'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-施工过程质量管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemRectifiedNumType3'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-工程资料管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemNumType4'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-工程资料管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemRectifiedNumType4'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-分包分供管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemNumType5'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-分包分供管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemRectifiedNumType5'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-工程实体质量-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemNumType6'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-工程实体质量-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemRectifiedNumType6'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-培训和作业人员能力-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemNumType7'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-国家重点工程项目-培训和作业人员能力-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'KeyProjectProblemRectifiedNumType7'
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-设计变更管控-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemNumType1'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-设计变更管控-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemRectifiedNumType1'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-建筑材料管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemNumType2'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-建筑材料管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemRectifiedNumType2'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-施工过程质量管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemNumType3'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-施工过程质量管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemRectifiedNumType3'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-工程资料管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemNumType4'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-工程资料管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemRectifiedNumType4'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-分包分供管理-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemNumType5'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-分包分供管理-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemRectifiedNumType5'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-工程实体质量-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemNumType6'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-工程实体质量-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemRectifiedNumType6'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-培训和作业人员能力-问题数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemNumType7'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'突出质量问题-其他工程项目-培训和作业人员能力-整改完成数量' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'OtherProjectProblemRectifiedNumType7'
|
||||||
|
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'备注' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'Remark'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'CompileManName'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
||||||
|
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'督查大队:重点工程项目质量专项整治行动开展情况台账' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'DCGL_Report_KeyProjectRectificationSituationLedger'
|
||||||
|
END
|
||||||
|
|
||||||
|
GO
|
||||||
|
|
||||||
|
|
@ -876,6 +876,7 @@
|
||||||
<Compile Include="ZHGL\Information\AccidentCauseReportService.cs" />
|
<Compile Include="ZHGL\Information\AccidentCauseReportService.cs" />
|
||||||
<Compile Include="ZHGL\Information\ActionWorkLedgerItemService.cs" />
|
<Compile Include="ZHGL\Information\ActionWorkLedgerItemService.cs" />
|
||||||
<Compile Include="ZHGL\Information\ActionWorkLedgerService.cs" />
|
<Compile Include="ZHGL\Information\ActionWorkLedgerService.cs" />
|
||||||
|
<Compile Include="ZHGL\Information\DCGL_KeyProjectRectificationSituationLedgerService.cs" />
|
||||||
<Compile Include="ZHGL\Information\EPSummaryReportService.cs" />
|
<Compile Include="ZHGL\Information\EPSummaryReportService.cs" />
|
||||||
<Compile Include="ZHGL\Information\QualityWorkSummaryReportService.cs" />
|
<Compile Include="ZHGL\Information\QualityWorkSummaryReportService.cs" />
|
||||||
<Compile Include="ZHGL\Information\QuarterlyProjectQualityService.cs" />
|
<Compile Include="ZHGL\Information\QuarterlyProjectQualityService.cs" />
|
||||||
|
|
|
||||||
|
|
@ -1397,6 +1397,12 @@ namespace BLL
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region 安全报表(集团)
|
#region 安全报表(集团)
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 重点工程项目质量专项整治行动开展情况台账
|
||||||
|
/// </summary>
|
||||||
|
public const string DCGLKeyProjectRectificationSituationLedgerMenuId = "35BA8E89-4575-4A3F-9C22-98B323E67DA1";
|
||||||
|
|
||||||
#region 安全信息上报
|
#region 安全信息上报
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 百万工时安全统计月报表
|
/// 百万工时安全统计月报表
|
||||||
|
|
|
||||||
|
|
@ -3,19 +3,19 @@
|
||||||
using Apache.NMS.ActiveMQ.Commands;
|
using Apache.NMS.ActiveMQ.Commands;
|
||||||
using BLL.CNCECHSSEService;
|
using BLL.CNCECHSSEService;
|
||||||
using Newtonsoft.Json;
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
using NPOI.POIFS.Crypt.Dsig;
|
using NPOI.POIFS.Crypt.Dsig;
|
||||||
|
using RestSharp;
|
||||||
using System;
|
using System;
|
||||||
|
using System.Collections;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Data;
|
using System.Data;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using System.Net;
|
||||||
//using System.Net.Http.Headers;
|
//using System.Net.Http.Headers;
|
||||||
//using System.Net.Http;
|
//using System.Net.Http;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using RestSharp;
|
|
||||||
using System.Net;
|
|
||||||
using System.Collections;
|
|
||||||
using Newtonsoft.Json.Linq;
|
|
||||||
|
|
||||||
public static class CNCECHSSEWebService
|
public static class CNCECHSSEWebService
|
||||||
{
|
{
|
||||||
|
|
@ -81,6 +81,76 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
#region 上报数据到集团
|
#region 上报数据到集团
|
||||||
|
|
||||||
|
#region 督查大队:重点工程项目质量专项整治行动开展情况台账上报
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 督查大队:重点工程项目质量专项整治行动开展情况台账上报
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Id"></param>
|
||||||
|
/// <param name="CurrUser"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static string UpKeyProjectRectificationSituationLedger(string Id, Model.Sys_User CurrUser)
|
||||||
|
{
|
||||||
|
string code = "0";
|
||||||
|
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var upReport = from x in db.DCGL_Report_KeyProjectRectificationSituationLedger
|
||||||
|
where x.Id == Id
|
||||||
|
select x;
|
||||||
|
|
||||||
|
code = UpApiKeyProjectRectificationSituationLedger(upReport).ToString();
|
||||||
|
if (code == "1")
|
||||||
|
{
|
||||||
|
foreach (var item in upReport.Select(p => p.Id))
|
||||||
|
{
|
||||||
|
var report = db.DCGL_Report_KeyProjectRectificationSituationLedger.FirstOrDefault(e => e.Id == item);
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
report.UpState = BLL.Const.UpState_3;
|
||||||
|
report.ReportDate = DateTime.Now;
|
||||||
|
db.SubmitChanges();
|
||||||
|
////更新 当前人要处理的意见
|
||||||
|
ProjectDataFlowSetService.CloseFlowOperate(Const.DCGLKeyProjectRectificationSituationLedgerMenuId, item, string.Empty);
|
||||||
|
// //更新催报信息
|
||||||
|
//UrgeReportService.SetComplete(report.UnitId, Const.ReportType_1, report.Year.ToString());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
LogService.AddSys_Log(CurrUser, "【重点工程项目质量专项整治行动开展情况台账】上传到服务器" + upReport.Count().ToString() + "条数据;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
LogService.AddSys_Log(CurrUser, "【重点工程项目质量专项整治行动开展情况台账】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
ErrLogInfo.WriteLog("【重点工程项目质量专项整治行动开展情况台账】上传到服务器", ex);
|
||||||
|
LogService.AddSys_Log(CurrUser, "【重点工程项目质量专项整治行动开展情况台账】上传到服务器失败;", null, BLL.Const.MillionsMonthlyReportMenuId, BLL.Const.BtnUploadResources);
|
||||||
|
}
|
||||||
|
return code;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 重点工程项目质量专项整治行动开展情况台账
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="upReport">主表</param>
|
||||||
|
/// <param name="upReportItem">明细表</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
private static int UpApiKeyProjectRectificationSituationLedger(IQueryable<Model.DCGL_Report_KeyProjectRectificationSituationLedger> upReport)
|
||||||
|
{
|
||||||
|
string baseurl = "/api/InformationData/SaveKeyProjectRectificationSituationLedger";
|
||||||
|
var resultJsonReport = JsonConvert.SerializeObject(upReport.FirstOrDefault());
|
||||||
|
resultJsonReport = "{\"InformationDataItems\":[" + (resultJsonReport).Replace("}{", ",") + "]}";
|
||||||
|
var responeData = BLL.ServerService.PushCNCEC(resultJsonReport, baseurl);
|
||||||
|
return responeData.code;
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region 百万工时上报
|
#region 百万工时上报
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 百万工时上报
|
/// 百万工时上报
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,215 @@
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
|
||||||
|
namespace BLL
|
||||||
|
{
|
||||||
|
public static class DCGL_KeyProjectRectificationSituationLedgerService
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// 重点工程项目质量专项整治行动开展情况台账
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Id">重点工程项目质量专项整治行动开展情况台账Id</param>
|
||||||
|
/// <returns>重点工程项目质量专项整治行动开展情况台账</returns>
|
||||||
|
public static Model.DCGL_Report_KeyProjectRectificationSituationLedger GetKeyProjectRectificationSituationLedgerById(string Id)
|
||||||
|
{
|
||||||
|
return Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger.FirstOrDefault(e => e.Id == Id);
|
||||||
|
}
|
||||||
|
|
||||||
|
///// <summary>
|
||||||
|
///// 重点工程项目质量专项整治行动开展情况台账
|
||||||
|
///// </summary>
|
||||||
|
///// <param name="unitId">单位Id</param>
|
||||||
|
///// <param name = "year" > 年度 </ param >
|
||||||
|
///// <param name="month">月份</param>
|
||||||
|
///// <returns>重点工程项目质量专项整治行动开展情况台账</returns>
|
||||||
|
//public static Model.DCGL_Report_KeyProjectRectificationSituationLedger GetKeyProjectRectificationSituationLedgerByUnitIdAndYearAndMonth(string unitId, int year, int month)
|
||||||
|
//{
|
||||||
|
// return Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger.FirstOrDefault(e => e.UnitId == unitId && e.Month == month && e.Year == year);
|
||||||
|
//}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据单位Id获取重点工程项目质量专项整治行动开展情况台账集合
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="UnitId">单位Id</param>
|
||||||
|
/// <returns>重点工程项目质量专项整治行动开展情况台账集合</returns>
|
||||||
|
public static List<Model.View_Information_MillionsMonthlyReport> GetMillionsMonthlyReportsByUnitId(string UnitId)
|
||||||
|
{
|
||||||
|
return (from x in Funs.DB.View_Information_MillionsMonthlyReport where x.UnitId == UnitId orderby x.FillingDate descending select x).ToList();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 增加重点工程项目质量专项整治行动开展情况台账
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="model">重点工程项目质量专项整治行动开展情况台账实体</param>
|
||||||
|
public static void AddKeyProjectRectificationSituationLedger(Model.DCGL_Report_KeyProjectRectificationSituationLedger model)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger newModel = new Model.DCGL_Report_KeyProjectRectificationSituationLedger
|
||||||
|
{
|
||||||
|
Id = model.Id,
|
||||||
|
UnitId = model.UnitId,
|
||||||
|
Year = model.Year,
|
||||||
|
UpState = model.UpState,
|
||||||
|
HandleState = model.HandleState,
|
||||||
|
HandleMan = model.HandleMan,
|
||||||
|
DutyPerson = model.DutyPerson,
|
||||||
|
CompileDate = model.CompileDate,
|
||||||
|
CompileMan = model.CompileMan,
|
||||||
|
CompileManName = model.CompileManName,
|
||||||
|
};
|
||||||
|
newModel.HasPlan = model.HasPlan;
|
||||||
|
newModel.PlanDate = model.PlanDate;
|
||||||
|
newModel.HasWorkTeam = model.HasWorkTeam;
|
||||||
|
newModel.TeamDate = model.TeamDate;
|
||||||
|
newModel.KeyProjectNum = model.KeyProjectNum;
|
||||||
|
newModel.Remark = model.Remark;
|
||||||
|
newModel.ReportDate = model.ReportDate;
|
||||||
|
|
||||||
|
newModel.StockCompanyKeyProjectCheckNum = model.StockCompanyKeyProjectCheckNum;
|
||||||
|
newModel.StockCompanyKeyProjectProblemNum = model.StockCompanyKeyProjectProblemNum;
|
||||||
|
newModel.StockCompanyKeyProjectProblemRectifiedNum = model.StockCompanyKeyProjectProblemRectifiedNum;
|
||||||
|
newModel.StockCompanyOtherProjectCheckNum = model.StockCompanyOtherProjectCheckNum;
|
||||||
|
newModel.StockCompanyOtherProjectProblemNum = model.StockCompanyOtherProjectProblemNum;
|
||||||
|
newModel.StockCompanyOtherProjectProblemRectifiedNum = model.StockCompanyOtherProjectProblemRectifiedNum;
|
||||||
|
newModel.BranchCompanyKeyProjectCheckNum = model.BranchCompanyKeyProjectCheckNum;
|
||||||
|
newModel.BranchCompanyKeyProjectProblemNum = model.BranchCompanyKeyProjectProblemNum;
|
||||||
|
newModel.BranchCompanyKeyProjectProblemRectifiedNum = model.BranchCompanyKeyProjectProblemRectifiedNum;
|
||||||
|
newModel.BranchCompanyOtherProjectCheckNum = model.BranchCompanyOtherProjectCheckNum;
|
||||||
|
newModel.BranchCompanyOtherProjectProblemNum = model.BranchCompanyOtherProjectProblemNum;
|
||||||
|
newModel.BranchCompanyOtherProjectProblemRectifiedNum = model.BranchCompanyOtherProjectProblemRectifiedNum;
|
||||||
|
newModel.ProjectSelfCheckNum = model.ProjectSelfCheckNum;
|
||||||
|
newModel.ProjectSelfCheckProblemNum = model.ProjectSelfCheckProblemNum;
|
||||||
|
newModel.ProjectSelfCheckProblemRectifiedNum = model.ProjectSelfCheckProblemRectifiedNum;
|
||||||
|
|
||||||
|
newModel.KeyProjectProblemNumType1 = model.KeyProjectProblemNumType1;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType1 = model.KeyProjectProblemRectifiedNumType1;
|
||||||
|
newModel.KeyProjectProblemNumType2 = model.KeyProjectProblemNumType2;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType2 = model.KeyProjectProblemRectifiedNumType2;
|
||||||
|
newModel.KeyProjectProblemNumType3 = model.KeyProjectProblemNumType3;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType3 = model.KeyProjectProblemRectifiedNumType3;
|
||||||
|
newModel.KeyProjectProblemNumType4 = model.KeyProjectProblemNumType4;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType4 = model.KeyProjectProblemRectifiedNumType4;
|
||||||
|
newModel.KeyProjectProblemNumType5 = model.KeyProjectProblemNumType5;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType5 = model.KeyProjectProblemRectifiedNumType5;
|
||||||
|
newModel.KeyProjectProblemNumType6 = model.KeyProjectProblemNumType6;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType6 = model.KeyProjectProblemRectifiedNumType6;
|
||||||
|
newModel.KeyProjectProblemNumType7 = model.KeyProjectProblemNumType7;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType7 = model.KeyProjectProblemRectifiedNumType7;
|
||||||
|
|
||||||
|
newModel.OtherProjectProblemNumType1 = model.OtherProjectProblemNumType1;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType1 = model.OtherProjectProblemRectifiedNumType1;
|
||||||
|
newModel.OtherProjectProblemNumType2 = model.OtherProjectProblemNumType2;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType2 = model.OtherProjectProblemRectifiedNumType2;
|
||||||
|
newModel.OtherProjectProblemNumType3 = model.OtherProjectProblemNumType3;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType3 = model.OtherProjectProblemRectifiedNumType3;
|
||||||
|
newModel.OtherProjectProblemNumType4 = model.OtherProjectProblemNumType4;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType4 = model.OtherProjectProblemRectifiedNumType4;
|
||||||
|
newModel.OtherProjectProblemNumType5 = model.OtherProjectProblemNumType5;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType5 = model.OtherProjectProblemRectifiedNumType5;
|
||||||
|
newModel.OtherProjectProblemNumType6 = model.OtherProjectProblemNumType6;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType6 = model.OtherProjectProblemRectifiedNumType6;
|
||||||
|
newModel.OtherProjectProblemNumType7 = model.OtherProjectProblemNumType7;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType7 = model.OtherProjectProblemRectifiedNumType7;
|
||||||
|
Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger.InsertOnSubmit(newModel);
|
||||||
|
Funs.DB.SubmitChanges();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 修改重点工程项目质量专项整治行动开展情况台账
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="model">重点工程项目质量专项整治行动开展情况台账实体</param>
|
||||||
|
public static void UpdateKeyProjectRectificationSituationLedger(Model.DCGL_Report_KeyProjectRectificationSituationLedger model)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger newModel = Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger.FirstOrDefault(e => e.Id == model.Id);
|
||||||
|
if (newModel != null)
|
||||||
|
{
|
||||||
|
newModel.UnitId = model.UnitId;
|
||||||
|
newModel.Year = model.Year;
|
||||||
|
newModel.UpState = model.UpState;
|
||||||
|
newModel.HandleState = model.HandleState;
|
||||||
|
newModel.HandleMan = model.HandleMan;
|
||||||
|
newModel.DutyPerson = model.DutyPerson;
|
||||||
|
newModel.ReportDate = model.ReportDate;
|
||||||
|
newModel.CompileDate = model.CompileDate;
|
||||||
|
|
||||||
|
newModel.HasPlan = model.HasPlan;
|
||||||
|
newModel.PlanDate = model.PlanDate;
|
||||||
|
newModel.HasWorkTeam = model.HasWorkTeam;
|
||||||
|
newModel.TeamDate = model.TeamDate;
|
||||||
|
newModel.KeyProjectNum = model.KeyProjectNum;
|
||||||
|
newModel.Remark = model.Remark;
|
||||||
|
|
||||||
|
newModel.StockCompanyKeyProjectCheckNum = model.StockCompanyKeyProjectCheckNum;
|
||||||
|
newModel.StockCompanyKeyProjectProblemNum = model.StockCompanyKeyProjectProblemNum;
|
||||||
|
newModel.StockCompanyKeyProjectProblemRectifiedNum = model.StockCompanyKeyProjectProblemRectifiedNum;
|
||||||
|
newModel.StockCompanyOtherProjectCheckNum = model.StockCompanyOtherProjectCheckNum;
|
||||||
|
newModel.StockCompanyOtherProjectProblemNum = model.StockCompanyOtherProjectProblemNum;
|
||||||
|
newModel.StockCompanyOtherProjectProblemRectifiedNum = model.StockCompanyOtherProjectProblemRectifiedNum;
|
||||||
|
newModel.BranchCompanyKeyProjectCheckNum = model.BranchCompanyKeyProjectCheckNum;
|
||||||
|
newModel.BranchCompanyKeyProjectProblemNum = model.BranchCompanyKeyProjectProblemNum;
|
||||||
|
newModel.BranchCompanyKeyProjectProblemRectifiedNum = model.BranchCompanyKeyProjectProblemRectifiedNum;
|
||||||
|
newModel.BranchCompanyOtherProjectCheckNum = model.BranchCompanyOtherProjectCheckNum;
|
||||||
|
newModel.BranchCompanyOtherProjectProblemNum = model.BranchCompanyOtherProjectProblemNum;
|
||||||
|
newModel.BranchCompanyOtherProjectProblemRectifiedNum = model.BranchCompanyOtherProjectProblemRectifiedNum;
|
||||||
|
newModel.ProjectSelfCheckNum = model.ProjectSelfCheckNum;
|
||||||
|
newModel.ProjectSelfCheckProblemNum = model.ProjectSelfCheckProblemNum;
|
||||||
|
newModel.ProjectSelfCheckProblemRectifiedNum = model.ProjectSelfCheckProblemRectifiedNum;
|
||||||
|
|
||||||
|
newModel.KeyProjectProblemNumType1 = model.KeyProjectProblemNumType1;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType1 = model.KeyProjectProblemRectifiedNumType1;
|
||||||
|
newModel.KeyProjectProblemNumType2 = model.KeyProjectProblemNumType2;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType2 = model.KeyProjectProblemRectifiedNumType2;
|
||||||
|
newModel.KeyProjectProblemNumType3 = model.KeyProjectProblemNumType3;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType3 = model.KeyProjectProblemRectifiedNumType3;
|
||||||
|
newModel.KeyProjectProblemNumType4 = model.KeyProjectProblemNumType4;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType4 = model.KeyProjectProblemRectifiedNumType4;
|
||||||
|
newModel.KeyProjectProblemNumType5 = model.KeyProjectProblemNumType5;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType5 = model.KeyProjectProblemRectifiedNumType5;
|
||||||
|
newModel.KeyProjectProblemNumType6 = model.KeyProjectProblemNumType6;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType6 = model.KeyProjectProblemRectifiedNumType6;
|
||||||
|
newModel.KeyProjectProblemNumType7 = model.KeyProjectProblemNumType7;
|
||||||
|
newModel.KeyProjectProblemRectifiedNumType7 = model.KeyProjectProblemRectifiedNumType7;
|
||||||
|
|
||||||
|
newModel.OtherProjectProblemNumType1 = model.OtherProjectProblemNumType1;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType1 = model.OtherProjectProblemRectifiedNumType1;
|
||||||
|
newModel.OtherProjectProblemNumType2 = model.OtherProjectProblemNumType2;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType2 = model.OtherProjectProblemRectifiedNumType2;
|
||||||
|
newModel.OtherProjectProblemNumType3 = model.OtherProjectProblemNumType3;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType3 = model.OtherProjectProblemRectifiedNumType3;
|
||||||
|
newModel.OtherProjectProblemNumType4 = model.OtherProjectProblemNumType4;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType4 = model.OtherProjectProblemRectifiedNumType4;
|
||||||
|
newModel.OtherProjectProblemNumType5 = model.OtherProjectProblemNumType5;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType5 = model.OtherProjectProblemRectifiedNumType5;
|
||||||
|
newModel.OtherProjectProblemNumType6 = model.OtherProjectProblemNumType6;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType6 = model.OtherProjectProblemRectifiedNumType6;
|
||||||
|
newModel.OtherProjectProblemNumType7 = model.OtherProjectProblemNumType7;
|
||||||
|
newModel.OtherProjectProblemRectifiedNumType7 = model.OtherProjectProblemRectifiedNumType7;
|
||||||
|
|
||||||
|
Funs.DB.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据Id获取数据
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Id"></param>
|
||||||
|
public static void DeleteKeyProjectRectificationSituationLedgerById(string Id)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger newModel = Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger.FirstOrDefault(e => e.Id == Id);
|
||||||
|
if (newModel != null)
|
||||||
|
{
|
||||||
|
Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger.DeleteOnSubmit(newModel);
|
||||||
|
Funs.DB.SubmitChanges();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 根据报表单位,报表时间判断是否存在
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Id">Id</param>
|
||||||
|
/// <returns></returns>
|
||||||
|
public static Model.DCGL_Report_KeyProjectRectificationSituationLedger GetKeyProjectRectificationSituationLedgerByUnitIdDate(string unitId, int year)
|
||||||
|
{
|
||||||
|
return Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger.FirstOrDefault(e => e.UnitId == unitId && e.Year == year);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -2329,6 +2329,8 @@
|
||||||
<Content Include="ZHGL\Information\AnalyseResource.aspx" />
|
<Content Include="ZHGL\Information\AnalyseResource.aspx" />
|
||||||
<Content Include="ZHGL\Information\AnalyseSafeAccident.aspx" />
|
<Content Include="ZHGL\Information\AnalyseSafeAccident.aspx" />
|
||||||
<Content Include="ZHGL\Information\AnalyseWorkTimeCost.aspx" />
|
<Content Include="ZHGL\Information\AnalyseWorkTimeCost.aspx" />
|
||||||
|
<Content Include="ZHGL\Information\DCGLKeyProjectRectificationSituationLedger.aspx" />
|
||||||
|
<Content Include="ZHGL\Information\DCGLKeyProjectRectificationSituationLedgerSave.aspx" />
|
||||||
<Content Include="ZHGL\Information\DrillConductedQuarterlyReport.aspx" />
|
<Content Include="ZHGL\Information\DrillConductedQuarterlyReport.aspx" />
|
||||||
<Content Include="ZHGL\Information\DrillConductedQuarterlyReportAdd.aspx" />
|
<Content Include="ZHGL\Information\DrillConductedQuarterlyReportAdd.aspx" />
|
||||||
<Content Include="ZHGL\Information\DrillPlanHalfYearReport.aspx" />
|
<Content Include="ZHGL\Information\DrillPlanHalfYearReport.aspx" />
|
||||||
|
|
@ -19591,6 +19593,20 @@
|
||||||
<Compile Include="ZHGL\Information\AnalyseWorkTimeCost.aspx.designer.cs">
|
<Compile Include="ZHGL\Information\AnalyseWorkTimeCost.aspx.designer.cs">
|
||||||
<DependentUpon>AnalyseWorkTimeCost.aspx</DependentUpon>
|
<DependentUpon>AnalyseWorkTimeCost.aspx</DependentUpon>
|
||||||
</Compile>
|
</Compile>
|
||||||
|
<Compile Include="ZHGL\Information\DCGLKeyProjectRectificationSituationLedger.aspx.cs">
|
||||||
|
<DependentUpon>DCGLKeyProjectRectificationSituationLedger.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ZHGL\Information\DCGLKeyProjectRectificationSituationLedger.aspx.designer.cs">
|
||||||
|
<DependentUpon>DCGLKeyProjectRectificationSituationLedger.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ZHGL\Information\DCGLKeyProjectRectificationSituationLedgerSave.aspx.cs">
|
||||||
|
<DependentUpon>DCGLKeyProjectRectificationSituationLedgerSave.aspx</DependentUpon>
|
||||||
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="ZHGL\Information\DCGLKeyProjectRectificationSituationLedgerSave.aspx.designer.cs">
|
||||||
|
<DependentUpon>DCGLKeyProjectRectificationSituationLedgerSave.aspx</DependentUpon>
|
||||||
|
</Compile>
|
||||||
<Compile Include="ZHGL\Information\DrillConductedQuarterlyReport.aspx.cs">
|
<Compile Include="ZHGL\Information\DrillConductedQuarterlyReport.aspx.cs">
|
||||||
<DependentUpon>DrillConductedQuarterlyReport.aspx</DependentUpon>
|
<DependentUpon>DrillConductedQuarterlyReport.aspx</DependentUpon>
|
||||||
<SubType>ASPXCodeBehind</SubType>
|
<SubType>ASPXCodeBehind</SubType>
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,411 @@
|
||||||
|
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DCGLKeyProjectRectificationSituationLedger.aspx.cs" Inherits="FineUIPro.Web.ZHGL.Information.DCGLKeyProjectRectificationSituationLedger" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head runat="server">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title>重点工程项目质量专项整治行动开展情况台账</title>
|
||||||
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||||
|
<style>
|
||||||
|
.f-grid-row .f-grid-cell-inner {
|
||||||
|
white-space: normal;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
|
||||||
|
.f-grid-colheader-text {
|
||||||
|
white-space: normal;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<f:PageManager ID="PageManager1" runat="server" AutoSizePanelID="RegionPanel1" />
|
||||||
|
<f:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server" Margin="5px">
|
||||||
|
<Regions>
|
||||||
|
<f:Region ID="Region2" ShowBorder="false" ShowHeader="false" Position="Center" Layout="VBox"
|
||||||
|
BoxConfigAlign="Stretch" BoxConfigPosition="Left" runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="True" AutoScroll="true" BodyPadding="10px"
|
||||||
|
EnableCollapse="true" runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Right" runat="server">
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpUnit" AutoPostBack="true" EnableSimulateTree="true" runat="server"
|
||||||
|
Width="320px" LabelWidth="80px" Label="填报企业" EnableEdit="true" ForceSelection="false"
|
||||||
|
OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:DropDownList ID="drpYear" AutoPostBack="true" EnableSimulateTree="true" runat="server"
|
||||||
|
Width="150px" LabelWidth="50px" Label="年度" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||||
|
</f:DropDownList>
|
||||||
|
<%--<f:DropDownList ID="drpMonth" AutoPostBack="true" EnableSimulateTree="true" runat="server"
|
||||||
|
Width="150px" LabelWidth="50px" Label="月份" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||||
|
</f:DropDownList>--%>
|
||||||
|
<%--<f:DropDownList ID="drpYear" AutoPostBack="true" EnableSimulateTree="true" runat="server"
|
||||||
|
Width="150px" LabelWidth="50px" Label="年度" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:DropDownList ID="drpMonth" AutoPostBack="true" EnableSimulateTree="true" runat="server"
|
||||||
|
Width="150px" LabelWidth="50px" Label="月份" OnSelectedIndexChanged="drpUnit_SelectedIndexChanged">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:Button ID="BtnBulletLeft" ToolTip="前一个月" Text="前一个月" Icon="BulletLeft" runat="server" EnablePostBack="true"
|
||||||
|
OnClick="BtnBulletLeft_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="BtnBulletRight" ToolTip="后一个月" Text="后一个月" Icon="BulletRight" runat="server" EnablePostBack="true"
|
||||||
|
OnClick="BulletRight_Click">
|
||||||
|
</f:Button>--%>
|
||||||
|
<f:Button ID="BtnBulletLeft" ToolTip="上一年" Text="上一年" Icon="BulletLeft" runat="server" EnablePostBack="true"
|
||||||
|
OnClick="BtnBulletLeft_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="BtnBulletRight" ToolTip="下一年" Text="下一年" Icon="BulletRight" runat="server" EnablePostBack="true"
|
||||||
|
OnClick="BulletRight_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||||
|
</f:ToolbarFill>
|
||||||
|
<%--<f:Button ID="btnSee" ToolTip="查看审批流程" Text="查看审批流程" Icon="Find" runat="server" OnClick="btnSee_Click">
|
||||||
|
</f:Button>--%>
|
||||||
|
<f:Button ID="btnNew" ToolTip="新增" Text="新增" Icon="Add" Hidden="true" runat="server" OnClick="btnNew_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnEdit" ToolTip="编辑" Text="编辑" Icon="Pencil" Hidden="true" runat="server" OnClick="btnEdit_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnDelete" ToolTip="删除" Text="删除" Icon="Delete" Hidden="true" ConfirmText="确定删除当前数据?"
|
||||||
|
OnClick="btnDelete_Click" runat="server">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnAudit1" ToolTip="审核" Text="审核" Icon="Pencil" Hidden="true" runat="server"
|
||||||
|
OnClick="btnAudit1_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnAudit2" ToolTip="审批" Text="审批" Icon="Pencil" Hidden="true" runat="server"
|
||||||
|
OnClick="btnAudit2_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnUpdata" ToolTip="上报" Text="上报" Icon="PageSave" Hidden="true" runat="server"
|
||||||
|
OnClick="btnUpdata_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnImport" ToolTip="导入" Text="导入" Icon="ApplicationGet" Hidden="true" runat="server"
|
||||||
|
OnClick="btnImport_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出" Icon="FolderUp"
|
||||||
|
EnableAjax="false" DisableControlBeforePostBack="false">
|
||||||
|
</f:Button>
|
||||||
|
<%--<f:Button ID="btnView" ToolTip="查看未报项目" Text="查看未报项目" Icon="MagifierZoomOut" runat="server"
|
||||||
|
OnClick="btnView_Click">
|
||||||
|
</f:Button>--%>
|
||||||
|
<%--<f:Button ID="btnPrint" ToolTip="打印" Text="打印" Icon="Printer" Hidden="true" runat="server"
|
||||||
|
OnClick="btnPrint_Click">
|
||||||
|
</f:Button>--%>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:Label runat="server" ID="lbUnitName" Hidden="true">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtCompileDate">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtDutyPerson">
|
||||||
|
</f:Label>
|
||||||
|
<%--<f:Label runat="server" ID="txtReportDate" Label="上报日期">
|
||||||
|
</f:Label>--%>
|
||||||
|
<f:Label runat="server" ID="txtHandleMan">
|
||||||
|
</f:Label>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<%--<f:FormRow ColumnWidths="20% 19% 23% 19% 19%">
|
||||||
|
<Items>
|
||||||
|
<f:Label runat="server" ID="txtHasPlan" Label="是否制定自查整治方案" LabelWidth="160px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtPlanDate" Label="制定日期" LabelWidth="120px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtHasWorkTeam" Label="是否成立工作专班" LabelWidth="160px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtTeamDate" Label="成立日期" LabelWidth="120px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtKeyProjectNum" Label="在建国家重点工程项目数量" LabelWidth="200px">
|
||||||
|
</f:Label>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>--%>
|
||||||
|
<f:FormRow ColumnWidths="20% 19% 23% 19% 19%">
|
||||||
|
<Items>
|
||||||
|
<f:Label runat="server" ID="txtHasPlan" LabelWidth="160px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtPlanDate" LabelWidth="120px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtHasWorkTeam" LabelWidth="160px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtTeamDate" LabelWidth="120px">
|
||||||
|
</f:Label>
|
||||||
|
<f:Label runat="server" ID="txtKeyProjectNum" LabelWidth="200px">
|
||||||
|
</f:Label>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
|
||||||
|
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" EnableCollapse="true" runat="server"
|
||||||
|
BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true" ForceFit="true"
|
||||||
|
SortField="Id" ClicksToEdit="1" DataIDField="Id"
|
||||||
|
EnableColumnLines="true">
|
||||||
|
<Columns>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="股份公司层级检查情况" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="国家重点工程项目" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="StockCompanyKeyProjectCheckNum" DataField="StockCompanyKeyProjectCheckNum"
|
||||||
|
FieldType="String" HeaderText="检查项目个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="StockCompanyKeyProjectProblemNum" DataField="StockCompanyKeyProjectProblemNum"
|
||||||
|
FieldType="String" HeaderText="问题个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="StockCompanyKeyProjectProblemRectifiedNum" DataField="StockCompanyKeyProjectProblemRectifiedNum"
|
||||||
|
FieldType="String" HeaderText="已整改个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="其他工程项目" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="StockCompanyOtherProjectCheckNum" DataField="StockCompanyOtherProjectCheckNum"
|
||||||
|
FieldType="String" HeaderText="检查项目个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="StockCompanyOtherProjectProblemNum" DataField="StockCompanyOtherProjectProblemNum"
|
||||||
|
FieldType="String" HeaderText="问题个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="StockCompanyOtherProjectProblemRectifiedNum" DataField="StockCompanyOtherProjectProblemRectifiedNum"
|
||||||
|
FieldType="String" HeaderText="已整改个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="二、三级公司层级检查情况" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="国家重点工程项目" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="BranchCompanyKeyProjectCheckNum" DataField="BranchCompanyKeyProjectCheckNum"
|
||||||
|
FieldType="String" HeaderText="检查项目个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="BranchCompanyKeyProjectProblemNum" DataField="BranchCompanyKeyProjectProblemNum"
|
||||||
|
FieldType="String" HeaderText="问题个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="BranchCompanyKeyProjectProblemRectifiedNum" DataField="BranchCompanyKeyProjectProblemRectifiedNum"
|
||||||
|
FieldType="String" HeaderText="已整改个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="其他工程项目" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="BranchCompanyOtherProjectCheckNum" DataField="BranchCompanyOtherProjectCheckNum"
|
||||||
|
FieldType="String" HeaderText="检查项目个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="BranchCompanyOtherProjectProblemNum" DataField="BranchCompanyOtherProjectProblemNum"
|
||||||
|
FieldType="String" HeaderText="问题个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="BranchCompanyOtherProjectProblemRectifiedNum" DataField="BranchCompanyOtherProjectProblemRectifiedNum"
|
||||||
|
FieldType="String" HeaderText="已整改个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="项目层级自查情况" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="ProjectSelfCheckNum" DataField="ProjectSelfCheckNum"
|
||||||
|
FieldType="String" HeaderText="自查项目个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="ProjectSelfCheckProblemNum" DataField="ProjectSelfCheckProblemNum"
|
||||||
|
FieldType="String" HeaderText="问题个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="ProjectSelfCheckProblemRectifiedNum" DataField="ProjectSelfCheckProblemRectifiedNum"
|
||||||
|
FieldType="String" HeaderText="已整改个数" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:RenderField Width="180px" ColumnID="Remark" DataField="Remark" FieldType="String"
|
||||||
|
HeaderText="备注" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:Grid>
|
||||||
|
<f:Grid ID="Grid2" ShowBorder="true" ShowHeader="true" TitleAlign="Center" Title="突出质量问题" EnableCollapse="true" runat="server"
|
||||||
|
BoxFlex="1" DataKeyNames="Id" AllowCellEditing="true" ForceFit="true"
|
||||||
|
SortField="Id" ClicksToEdit="1" DataIDField="Id"
|
||||||
|
EnableColumnLines="true">
|
||||||
|
<Columns>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="国家重点工程项目" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="设计变更管控" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemNumType1" DataField="KeyProjectProblemNumType1"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemRectifiedNumType1" DataField="KeyProjectProblemRectifiedNumType1"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="建筑材料管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemNumType2" DataField="KeyProjectProblemNumType2"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemRectifiedNumType2" DataField="KeyProjectProblemRectifiedNumType2"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="施工过程质量管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemNumType3" DataField="KeyProjectProblemNumType3"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemRectifiedNumType3" DataField="KeyProjectProblemRectifiedNumType3"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="工程资料管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemNumType4" DataField="KeyProjectProblemNumType4"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemRectifiedNumType4" DataField="KeyProjectProblemRectifiedNumType4"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="分包分供管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemNumType5" DataField="KeyProjectProblemNumType5"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemRectifiedNumType5" DataField="KeyProjectProblemRectifiedNumType5"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="工程实体质量" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemNumType6" DataField="KeyProjectProblemNumType6"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemRectifiedNumType6" DataField="KeyProjectProblemRectifiedNumType6"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="培训和作业人员能力" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemNumType7" DataField="KeyProjectProblemNumType7"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="KeyProjectProblemRectifiedNumType7" DataField="KeyProjectProblemRectifiedNumType7"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="其他工程项目" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="设计变更管控" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemNumType1" DataField="OtherProjectProblemNumType1"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemRectifiedNumType1" DataField="OtherProjectProblemRectifiedNumType1"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="建筑材料管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemNumType2" DataField="OtherProjectProblemNumType2"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemRectifiedNumType2" DataField="OtherProjectProblemRectifiedNumType2"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="施工过程质量管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemNumType3" DataField="OtherProjectProblemNumType3"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemRectifiedNumType3" DataField="OtherProjectProblemRectifiedNumType3"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="工程资料管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemNumType4" DataField="OtherProjectProblemNumType4"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemRectifiedNumType4" DataField="OtherProjectProblemRectifiedNumType4"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="分包分供管理" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemNumType5" DataField="OtherProjectProblemNumType5"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemRectifiedNumType5" DataField="OtherProjectProblemRectifiedNumType5"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="工程实体质量" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemNumType6" DataField="OtherProjectProblemNumType6"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemRectifiedNumType6" DataField="OtherProjectProblemRectifiedNumType6"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
<f:GroupField EnableLock="true" HeaderText="培训和作业人员能力" TextAlign="Center">
|
||||||
|
<Columns>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemNumType7" DataField="OtherProjectProblemNumType7"
|
||||||
|
FieldType="String" HeaderText="数量(个)" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
<f:RenderField Width="100px" ColumnID="OtherProjectProblemRectifiedNumType7" DataField="OtherProjectProblemRectifiedNumType7"
|
||||||
|
FieldType="String" HeaderText="整改完成数量" HeaderTextAlign="Center" TextAlign="Center">
|
||||||
|
</f:RenderField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
</Columns>
|
||||||
|
</f:GroupField>
|
||||||
|
</Columns>
|
||||||
|
</f:Grid>
|
||||||
|
</Items>
|
||||||
|
</f:Region>
|
||||||
|
</Regions>
|
||||||
|
</f:RegionPanel>
|
||||||
|
<f:Window ID="Window1" runat="server" Hidden="true"
|
||||||
|
IsModal="false" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window1_Close"
|
||||||
|
Title="编辑重点工程项目质量专项整治行动开展情况台账" CloseAction="HidePostBack" EnableIFrame="true" Height="720px"
|
||||||
|
Width="1280px">
|
||||||
|
</f:Window>
|
||||||
|
<f:Window ID="Window2" runat="server" Hidden="true"
|
||||||
|
IsModal="false" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window2_Close"
|
||||||
|
Title="导入重点工程项目质量专项整治行动开展情况台账" CloseAction="HidePostBack" EnableIFrame="true" Height="650px"
|
||||||
|
Width="1200px">
|
||||||
|
</f:Window>
|
||||||
|
<f:Window ID="Window4" Title="查看审核信息" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||||
|
Target="Self" EnableResize="true" runat="server" IsModal="true" OnClose="Window4_Close"
|
||||||
|
Height="650px" Width="1200px">
|
||||||
|
</f:Window>
|
||||||
|
<f:Window ID="Window5" runat="server" IconUrl="~/res/images/16/11.png" Hidden="true"
|
||||||
|
IsModal="false" Target="Parent" EnableMaximize="true" EnableResize="true" Title="打印重点工程项目质量专项整治行动开展情况台账"
|
||||||
|
CloseAction="HidePostBack" EnableIFrame="true" Height="650px" Width="1200px">
|
||||||
|
</f:Window>
|
||||||
|
</form>
|
||||||
|
<script>
|
||||||
|
function onGridDataLoad(event) {
|
||||||
|
this.mergeColumns(['Affiliation']);
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
@ -0,0 +1,730 @@
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Configuration;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using BLL;
|
||||||
|
using AspNet = System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.ZHGL.Information
|
||||||
|
{
|
||||||
|
public partial class DCGLKeyProjectRectificationSituationLedger : PageBase
|
||||||
|
{
|
||||||
|
#region 加载页面
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!IsPostBack)
|
||||||
|
{
|
||||||
|
//BLL.ConstValue.InitConstValueDropDownList(this.drpMonth, ConstValue.Group_0009, false);
|
||||||
|
BLL.ConstValue.InitConstValueDropDownList(this.drpYear, ConstValue.Group_0008, false);
|
||||||
|
this.drpUnit.DataTextField = "UnitName";
|
||||||
|
drpUnit.DataValueField = "UnitId";
|
||||||
|
drpUnit.DataSource = BLL.UnitService.GetThisUnitDropDownList();
|
||||||
|
drpUnit.DataBind();
|
||||||
|
this.drpUnit.Readonly = true;
|
||||||
|
////取上个报表时间
|
||||||
|
DateTime showDate = System.DateTime.Now.AddYears(-1);
|
||||||
|
//DateTime showDate = System.DateTime.Now.AddMonths(-1);
|
||||||
|
//drpMonth.SelectedValue = showDate.Month.ToString();
|
||||||
|
drpYear.SelectedValue = showDate.Year.ToString();
|
||||||
|
GetValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 获取记录值
|
||||||
|
private void GetValue()
|
||||||
|
{
|
||||||
|
this.GetButtonPower();
|
||||||
|
int year = Funs.GetNewIntOrZero(drpYear.SelectedValue);
|
||||||
|
//int month = Funs.GetNewIntOrZero(drpMonth.SelectedValue);
|
||||||
|
Model.View_DCGLKeyProjectRectificationSituationLedger report = Funs.DB.View_DCGLKeyProjectRectificationSituationLedger.FirstOrDefault(e => e.UnitId == drpUnit.SelectedValue && e.Year == year);
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
string upState = string.Empty;
|
||||||
|
if (report.UpState == BLL.Const.UpState_3)
|
||||||
|
{
|
||||||
|
upState = "(已上报)";
|
||||||
|
this.btnUpdata.Hidden = true;
|
||||||
|
this.btnDelete.Hidden = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
upState = "(未上报)";
|
||||||
|
}
|
||||||
|
this.SimpleForm1.Title = "重点工程项目质量专项整治行动开展情况台账" + upState;
|
||||||
|
this.lbUnitName.Text = "填报企业:" + report.UnitName;
|
||||||
|
if (report.CompileDate != null)
|
||||||
|
{
|
||||||
|
this.txtCompileDate.Text = "填报日期:" + string.Format("{0:yyyy-MM-dd}", report.CompileDate);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.txtCompileDate.Text = "填报日期:";
|
||||||
|
}
|
||||||
|
this.txtDutyPerson.Text = "负责人:" + report.DutyPerson;
|
||||||
|
if (report.HandleState == BLL.Const.HandleState_1 || report.UpState == BLL.Const.UpState_3)
|
||||||
|
{
|
||||||
|
this.txtHandleMan.Hidden = true;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.txtHandleMan.Hidden = false;
|
||||||
|
this.txtHandleMan.Text = "下一步办理人:" + report.UserName;
|
||||||
|
}
|
||||||
|
this.txtKeyProjectNum.Text = "在建国家重点工程项目数量:" + report.KeyProjectNum.ToString();
|
||||||
|
this.txtHasPlan.Text = "是否制定自查整治方案:" + (report.HasPlan ? "是" : "否");
|
||||||
|
this.txtPlanDate.Text = "制定日期:" + (report.PlanDate != null ? ((DateTime)report.PlanDate).ToString("yyyy-MM-dd") : "");
|
||||||
|
this.txtHasWorkTeam.Text = "是否成立工作专班:" + (report.HasWorkTeam ? "是" : "否");
|
||||||
|
this.txtTeamDate.Text = "成立日期:" + (report.TeamDate != null ? ((DateTime)report.TeamDate).ToString("yyyy-MM-dd") : "");
|
||||||
|
|
||||||
|
var items = (from x in Funs.DB.DCGL_Report_KeyProjectRectificationSituationLedger
|
||||||
|
where x.Id == report.Id
|
||||||
|
select x);
|
||||||
|
Grid1.DataSource = items;
|
||||||
|
Grid1.DataBind();
|
||||||
|
|
||||||
|
Grid2.DataSource = items;
|
||||||
|
Grid2.DataBind();
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
SetEmpty();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private void SetEmpty()
|
||||||
|
{
|
||||||
|
this.SimpleForm1.Title = string.Empty;
|
||||||
|
this.lbUnitName.Text = "填报企业:";
|
||||||
|
this.txtCompileDate.Text = "填报日期:";
|
||||||
|
this.txtDutyPerson.Text = "负责人:";
|
||||||
|
this.txtHasPlan.Text = "是否制定自查整治方案:";
|
||||||
|
this.txtPlanDate.Text = "制定日期:";
|
||||||
|
this.txtHasWorkTeam.Text = "是否成立工作专班:";
|
||||||
|
this.txtTeamDate.Text = "成立日期:";
|
||||||
|
this.txtKeyProjectNum.Text = "在建国家重点工程项目数量:";
|
||||||
|
//this.txtHandleMan.Text = string.Empty;
|
||||||
|
this.Grid1.DataSource = null;
|
||||||
|
this.Grid1.DataBind();
|
||||||
|
this.Grid2.DataSource = null;
|
||||||
|
this.Grid2.DataBind();
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 月份向前/向后
|
||||||
|
/// <summary>
|
||||||
|
/// 前一个月
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void BtnBulletLeft_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SetMonthChange("-");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 后一个月
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void BulletRight_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
SetMonthChange("+");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 月份加减变化
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="type"></param>
|
||||||
|
private void SetMonthChange(string type)
|
||||||
|
{
|
||||||
|
//DateTime? nowDate = Funs.GetNewDateTime(this.drpYear.SelectedValue + "-" + this.drpMonth.SelectedValue);
|
||||||
|
DateTime? nowDate = Funs.GetNewDateTime(this.drpYear.SelectedValue + "-01-01");
|
||||||
|
if (nowDate.HasValue)
|
||||||
|
{
|
||||||
|
DateTime showDate = new DateTime();
|
||||||
|
if (type == "+")
|
||||||
|
{
|
||||||
|
showDate = nowDate.Value.AddYears(1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
showDate = nowDate.Value.AddYears(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
this.drpYear.SelectedValue = showDate.Year.ToString();
|
||||||
|
//drpMonth.SelectedValue = showDate.Month.ToString();
|
||||||
|
///值变化
|
||||||
|
GetValue();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 关闭弹出窗口
|
||||||
|
/// <summary>
|
||||||
|
/// 关闭窗口
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||||
|
{
|
||||||
|
GetValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 关闭导入弹出窗口
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Window2_Close(object sender, WindowCloseEventArgs e)
|
||||||
|
{
|
||||||
|
GetValue();
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 关闭查看审批信息弹出窗口
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Window4_Close(object sender, WindowCloseEventArgs e)
|
||||||
|
{
|
||||||
|
GetValue();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 排序
|
||||||
|
/// <summary>
|
||||||
|
/// 排序
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||||
|
{
|
||||||
|
Grid1.SortDirection = e.SortDirection;
|
||||||
|
Grid1.SortField = e.SortField;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 获取按钮权限
|
||||||
|
/// <summary>
|
||||||
|
/// 获取按钮权限
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="button"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
private void GetButtonPower()
|
||||||
|
{
|
||||||
|
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.DCGLKeyProjectRectificationSituationLedgerMenuId);
|
||||||
|
if (buttonList.Count() > 0)
|
||||||
|
{
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||||
|
{
|
||||||
|
this.btnNew.Hidden = false;
|
||||||
|
}
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnModify))
|
||||||
|
{
|
||||||
|
this.btnEdit.Hidden = false;
|
||||||
|
}
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnDelete))
|
||||||
|
{
|
||||||
|
this.btnDelete.Hidden = false;
|
||||||
|
}
|
||||||
|
//if (buttonList.Contains(BLL.Const.BtnIn))
|
||||||
|
//{
|
||||||
|
// this.btnImport.Hidden = false;
|
||||||
|
//}
|
||||||
|
//if (buttonList.Contains(BLL.Const.BtnPrint))
|
||||||
|
//{
|
||||||
|
// this.btnPrint.Hidden = false;
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
|
||||||
|
var getReport = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
this.btnAudit1.Hidden = true;
|
||||||
|
this.btnAudit2.Hidden = true;
|
||||||
|
this.btnUpdata.Hidden = true;
|
||||||
|
if (getReport != null)
|
||||||
|
{
|
||||||
|
this.btnNew.Hidden = true;
|
||||||
|
if (getReport.HandleMan == this.CurrUser.UserId)//当前人是下一步办理入
|
||||||
|
{
|
||||||
|
if (getReport.HandleState == BLL.Const.HandleState_2)
|
||||||
|
{
|
||||||
|
this.btnAudit1.Hidden = false;
|
||||||
|
this.btnEdit.Hidden = true;
|
||||||
|
}
|
||||||
|
else if (getReport.HandleState == BLL.Const.HandleState_3)
|
||||||
|
{
|
||||||
|
this.btnAudit2.Hidden = false;
|
||||||
|
this.btnEdit.Hidden = true;
|
||||||
|
}
|
||||||
|
else if (getReport.HandleState == BLL.Const.HandleState_4)
|
||||||
|
{
|
||||||
|
this.btnUpdata.Hidden = false;
|
||||||
|
this.btnEdit.Hidden = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 增加、修改、审核、审批、上报、删除
|
||||||
|
/// <summary>
|
||||||
|
/// 增加
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnNew_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DCGLKeyProjectRectificationSituationLedgerSave.aspx?UnitId={0}&&Year={1}", this.CurrUser.UnitId, this.drpYear.SelectedValue), "重点工程项目质量专项整治行动开展情况台账"));
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 修改
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnEdit_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DCGLKeyProjectRectificationSituationLedgerSave.aspx?Id={0}", report.Id, "编辑 - ")));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("所选时间无报表记录!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 审核
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnAudit1_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DCGLKeyProjectRectificationSituationLedgerSave.aspx?Id={0}", report.Id, "编辑 - ")));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("所选时间无报表记录!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 审批
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnAudit2_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DCGLKeyProjectRectificationSituationLedgerSave.aspx?Id={0}", report.Id, "编辑 - ")));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("所选时间无报表记录!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 上报
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnUpdata_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("DCGLKeyProjectRectificationSituationLedgerSave.aspx?Id={0}", report.Id, "编辑 - ")));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("所选时间无报表记录!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 删除
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnDelete_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, report.Year.ToString(), report.Id, BLL.Const.DCGLKeyProjectRectificationSituationLedgerMenuId, BLL.Const.BtnDelete);
|
||||||
|
BLL.ProjectDataFlowSetService.DeleteFlowSetByDataId(report.Id);
|
||||||
|
BLL.DCGL_KeyProjectRectificationSituationLedgerService.DeleteKeyProjectRectificationSituationLedgerById(report.Id);
|
||||||
|
|
||||||
|
//SetEmpty();
|
||||||
|
this.btnNew.Hidden = false;
|
||||||
|
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("所选时间无报表记录!");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 格式化字符串
|
||||||
|
/// <summary>
|
||||||
|
/// 把时间转换为文字形式
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="state"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected string ConvertCompileDate(object CompileDate)
|
||||||
|
{
|
||||||
|
if (CompileDate != null)
|
||||||
|
{
|
||||||
|
return string.Format("{0:yyyy-MM-dd}", CompileDate);
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 把时间转换为文字形式
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="state"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
protected string ConvertDate(object Id)
|
||||||
|
{
|
||||||
|
if (Id != null)
|
||||||
|
{
|
||||||
|
Model.Information_MillionsMonthlyReport report = BLL.MillionsMonthlyReportService.GetMillionsMonthlyReportByMillionsMonthlyReportId(Id.ToString());
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
return report.Year + "年" + report.Month + "月";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return "";
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 单位下拉选择事件
|
||||||
|
/// <summary>
|
||||||
|
/// 单位下拉框联动事件
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void drpUnit_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
var units = BLL.UnitService.GetUnitDropDownList();
|
||||||
|
if (units != null && !string.IsNullOrEmpty(this.drpUnit.SelectedText))
|
||||||
|
{
|
||||||
|
var unit = units.FirstOrDefault(x => x.UnitName == this.drpUnit.SelectedText);
|
||||||
|
if (unit != null)
|
||||||
|
{
|
||||||
|
drpUnit.SelectedValue = unit.UnitId;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
GetValue();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 导入
|
||||||
|
/// <summary>
|
||||||
|
/// 导入按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnImport_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window2.GetShowReference(String.Format("../DataIn/MillionsMonthlyReportImport.aspx", "导入 - ")));
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 打印
|
||||||
|
/// <summary>
|
||||||
|
/// 打印
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnPrint_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window5.GetShowReference(String.Format("../../ReportPrint/ExReportPrint.aspx?reportId={0}&&replaceParameter={1}&&varValue={2}", Const.DCGLKeyProjectRectificationSituationLedgerMenuId, report.Id, "", "打印 - ")));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 月份向前/向后
|
||||||
|
///// <summary>
|
||||||
|
///// 前一个月
|
||||||
|
///// </summary>
|
||||||
|
///// <param name="sender"></param>
|
||||||
|
///// <param name="e"></param>
|
||||||
|
//protected void BtnBulletLeft_Click(object sender, EventArgs e)
|
||||||
|
//{
|
||||||
|
// SetMonthChange("-");
|
||||||
|
//}
|
||||||
|
|
||||||
|
///// <summary>
|
||||||
|
///// 后一个月
|
||||||
|
///// </summary>
|
||||||
|
///// <param name="sender"></param>
|
||||||
|
///// <param name="e"></param>
|
||||||
|
//protected void BulletRight_Click(object sender, EventArgs e)
|
||||||
|
//{
|
||||||
|
// SetMonthChange("+");
|
||||||
|
//}
|
||||||
|
|
||||||
|
///// <summary>
|
||||||
|
///// 月份加减变化
|
||||||
|
///// </summary>
|
||||||
|
///// <param name="type"></param>
|
||||||
|
//private void SetMonthChange(string type)
|
||||||
|
//{
|
||||||
|
// DateTime? nowDate = Funs.GetNewDateTime(this.drpYear.SelectedValue + "-" + this.drpMonth.SelectedValue);
|
||||||
|
// if (nowDate.HasValue)
|
||||||
|
// {
|
||||||
|
// DateTime showDate = new DateTime();
|
||||||
|
// if (type == "+")
|
||||||
|
// {
|
||||||
|
// showDate = nowDate.Value.AddMonths(1);
|
||||||
|
// }
|
||||||
|
// else
|
||||||
|
// {
|
||||||
|
// showDate = nowDate.Value.AddMonths(-1);
|
||||||
|
// }
|
||||||
|
|
||||||
|
// this.drpYear.SelectedValue = showDate.Year.ToString();
|
||||||
|
// drpMonth.SelectedValue = showDate.Month.ToString();
|
||||||
|
// ///值变化
|
||||||
|
// GetValue();
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 查看审批信息
|
||||||
|
/// <summary>
|
||||||
|
/// 查看审批信息
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnSee_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window4.GetShowReference(String.Format("ReportAuditSee.aspx?Id={0}", report.Id, "查看 - ")));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("所选月份无记录!", MessageBoxIcon.Warning);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 导出按钮
|
||||||
|
/// 导出按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnOut_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Response.ClearContent();
|
||||||
|
string filename = Funs.GetNewFileName();
|
||||||
|
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("重点工程项目质量专项整治行动开展情况台账" + filename, System.Text.Encoding.UTF8) + ".xls");
|
||||||
|
Response.ContentType = "application/excel";
|
||||||
|
Response.ContentEncoding = System.Text.Encoding.UTF8;
|
||||||
|
Response.Write(GetGridTableHtml(Grid1));
|
||||||
|
Response.End();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 导出方法
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="grid"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
private string GetGridTableHtml(Grid grid)
|
||||||
|
{
|
||||||
|
StringBuilder sb = new StringBuilder();
|
||||||
|
MultiHeaderTable mht = new MultiHeaderTable();
|
||||||
|
mht.ResolveMultiHeaderTable(Grid1.Columns);
|
||||||
|
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||||
|
sb.Append("<table cellspacing=\"0\" rules=\"all\" border=\"1\" style=\"border-collapse:collapse;\">");
|
||||||
|
foreach (List<object[]> rows in mht.MultiTable)
|
||||||
|
{
|
||||||
|
sb.Append("<tr>");
|
||||||
|
foreach (object[] cell in rows)
|
||||||
|
{
|
||||||
|
int rowspan = Convert.ToInt32(cell[0]);
|
||||||
|
int colspan = Convert.ToInt32(cell[1]);
|
||||||
|
GridColumn column = cell[2] as GridColumn;
|
||||||
|
|
||||||
|
sb.AppendFormat("<th{0}{1}{2}>{3}</th>",
|
||||||
|
rowspan != 1 ? " rowspan=\"" + rowspan + "\"" : "",
|
||||||
|
colspan != 1 ? " colspan=\"" + colspan + "\"" : "",
|
||||||
|
colspan != 1 ? " style=\"text-align:center;\"" : "",
|
||||||
|
column.HeaderText);
|
||||||
|
}
|
||||||
|
sb.Append("</tr>");
|
||||||
|
}
|
||||||
|
foreach (GridRow row in grid.Rows)
|
||||||
|
{
|
||||||
|
sb.Append("<tr>");
|
||||||
|
foreach (GridColumn column in mht.Columns)
|
||||||
|
{
|
||||||
|
string html = row.Values[column.ColumnIndex].ToString();
|
||||||
|
if (column.ColumnID == "tfNumber")
|
||||||
|
{
|
||||||
|
html = (row.FindControl("lblNumber") as AspNet.Label).Text;
|
||||||
|
}
|
||||||
|
sb.AppendFormat("<td>{0}</td>", html);
|
||||||
|
}
|
||||||
|
sb.Append("</tr>");
|
||||||
|
}
|
||||||
|
sb.Append("</table>");
|
||||||
|
return sb.ToString();
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 多表头处理
|
||||||
|
/// <summary>
|
||||||
|
/// 多表头处理
|
||||||
|
/// </summary>
|
||||||
|
public class MultiHeaderTable
|
||||||
|
{
|
||||||
|
// 包含 rowspan,colspan 的多表头,方便生成 HTML 的 table 标签
|
||||||
|
public List<List<object[]>> MultiTable = new List<List<object[]>>();
|
||||||
|
// 最终渲染的列数组
|
||||||
|
public List<GridColumn> Columns = new List<GridColumn>();
|
||||||
|
public void ResolveMultiHeaderTable(GridColumnCollection columns)
|
||||||
|
{
|
||||||
|
List<object[]> row = new List<object[]>();
|
||||||
|
foreach (GridColumn column in columns)
|
||||||
|
{
|
||||||
|
object[] cell = new object[4];
|
||||||
|
cell[0] = 1; // rowspan
|
||||||
|
cell[1] = 1; // colspan
|
||||||
|
cell[2] = column;
|
||||||
|
cell[3] = null;
|
||||||
|
row.Add(cell);
|
||||||
|
}
|
||||||
|
ResolveMultiTable(row, 0);
|
||||||
|
ResolveColumns(row);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ResolveColumns(List<object[]> row)
|
||||||
|
{
|
||||||
|
foreach (object[] cell in row)
|
||||||
|
{
|
||||||
|
GroupField groupField = cell[2] as GroupField;
|
||||||
|
if (groupField != null && groupField.Columns.Count > 0)
|
||||||
|
{
|
||||||
|
List<object[]> subrow = new List<object[]>();
|
||||||
|
foreach (GridColumn column in groupField.Columns)
|
||||||
|
{
|
||||||
|
subrow.Add(new object[]
|
||||||
|
{
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
column,
|
||||||
|
groupField
|
||||||
|
});
|
||||||
|
}
|
||||||
|
ResolveColumns(subrow);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Columns.Add(cell[2] as GridColumn);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void ResolveMultiTable(List<object[]> row, int level)
|
||||||
|
{
|
||||||
|
List<object[]> nextrow = new List<object[]>();
|
||||||
|
|
||||||
|
foreach (object[] cell in row)
|
||||||
|
{
|
||||||
|
GroupField groupField = cell[2] as GroupField;
|
||||||
|
if (groupField != null && groupField.Columns.Count > 0)
|
||||||
|
{
|
||||||
|
// 如果当前列包含子列,则更改当前列的 colspan,以及增加父列(向上递归)的colspan
|
||||||
|
cell[1] = Convert.ToInt32(groupField.Columns.Count);
|
||||||
|
PlusColspan(level - 1, cell[3] as GridColumn, groupField.Columns.Count - 1);
|
||||||
|
|
||||||
|
foreach (GridColumn column in groupField.Columns)
|
||||||
|
{
|
||||||
|
nextrow.Add(new object[]
|
||||||
|
{
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
column,
|
||||||
|
groupField
|
||||||
|
});
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
MultiTable.Add(row);
|
||||||
|
// 如果当前下一行,则增加上一行(向上递归)中没有子列的列的 rowspan
|
||||||
|
if (nextrow.Count > 0)
|
||||||
|
{
|
||||||
|
PlusRowspan(level);
|
||||||
|
ResolveMultiTable(nextrow, level + 1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
private void PlusRowspan(int level)
|
||||||
|
{
|
||||||
|
if (level < 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
foreach (object[] cells in MultiTable[level])
|
||||||
|
{
|
||||||
|
GroupField groupField = cells[2] as GroupField;
|
||||||
|
if (groupField != null && groupField.Columns.Count > 0)
|
||||||
|
{
|
||||||
|
// ...
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
cells[0] = Convert.ToInt32(cells[0]) + 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
PlusRowspan(level - 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void PlusColspan(int level, GridColumn parent, int plusCount)
|
||||||
|
{
|
||||||
|
if (level < 0)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
foreach (object[] cells in MultiTable[level])
|
||||||
|
{
|
||||||
|
GridColumn column = cells[2] as GridColumn;
|
||||||
|
if (column == parent)
|
||||||
|
{
|
||||||
|
cells[1] = Convert.ToInt32(cells[1]) + plusCount;
|
||||||
|
|
||||||
|
PlusColspan(level - 1, cells[3] as GridColumn, plusCount);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
323
SGGL/FineUIPro.Web/ZHGL/Information/DCGLKeyProjectRectificationSituationLedger.aspx.designer.cs
generated
Normal file
323
SGGL/FineUIPro.Web/ZHGL/Information/DCGLKeyProjectRectificationSituationLedger.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,323 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.ZHGL.Information
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public partial class DCGLKeyProjectRectificationSituationLedger
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// RegionPanel1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.RegionPanel RegionPanel1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Region2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Region Region2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// SimpleForm1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form SimpleForm1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpUnit 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpUnit;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpYear 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpYear;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// BtnBulletLeft 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button BtnBulletLeft;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// BtnBulletRight 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button BtnBulletRight;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// ToolbarFill1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnNew 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnNew;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnEdit 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnEdit;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnDelete 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnDelete;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnAudit1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnAudit1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnAudit2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnAudit2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnUpdata 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnUpdata;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnImport 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnImport;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnOut 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnOut;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// lbUnitName 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label lbUnitName;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtCompileDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtCompileDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtDutyPerson 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtDutyPerson;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtHandleMan 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtHandleMan;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtHasPlan 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtHasPlan;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtPlanDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtPlanDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtHasWorkTeam 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtHasWorkTeam;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtTeamDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtTeamDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label txtKeyProjectNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Grid1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Grid Grid1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Grid2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Grid Grid2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,404 @@
|
||||||
|
<%@ Page Language="C#" AutoEventWireup="true" Async="true" CodeBehind="DCGLKeyProjectRectificationSituationLedgerSave.aspx.cs" Inherits="FineUIPro.Web.ZHGL.Information.DCGLKeyProjectRectificationSituationLedgerSave" %>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
|
||||||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||||
|
<head runat="server">
|
||||||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||||
|
<title></title>
|
||||||
|
<link href="../../res/css/common.css" rel="stylesheet" type="text/css" />
|
||||||
|
<style>
|
||||||
|
.f-grid-row .f-grid-cell-inner {
|
||||||
|
white-space: normal;
|
||||||
|
word-break: break-all;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<form id="form1" runat="server">
|
||||||
|
<f:PageManager ID="PageManager1" AutoSizePanelID="SimpleForm1" runat="server" />
|
||||||
|
<f:Form ID="SimpleForm1" ShowBorder="false" ShowHeader="false" AutoScroll="true"
|
||||||
|
Layout="VBox" BodyPadding="10px" runat="server" RedStarPosition="BeforeText"
|
||||||
|
LabelAlign="Right">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:DropDownList ID="drpYear" AutoPostBack="true" EnableSimulateTree="true" Required="true"
|
||||||
|
ShowRedStar="true" runat="server" Label="年度">
|
||||||
|
</f:DropDownList>
|
||||||
|
<%--<f:DropDownList ID="drpMonth" AutoPostBack="true" EnableSimulateTree="true" Required="true"
|
||||||
|
ShowRedStar="true" runat="server" Label="月份" OnSelectedIndexChanged="drpDate_SelectedIndexChanged">
|
||||||
|
</f:DropDownList>--%>
|
||||||
|
<f:DropDownList ID="drpUnit" AutoPostBack="true" EnableSimulateTree="true" runat="server"
|
||||||
|
Label="填报企业" FocusOnPageLoad="true">
|
||||||
|
</f:DropDownList>
|
||||||
|
<f:DatePicker runat="server" Label="填报日期" ID="txtCompileDate">
|
||||||
|
</f:DatePicker>
|
||||||
|
<f:TextBox runat="server" Label="负责人" MaxLength="50" ID="txtDutyPerson">
|
||||||
|
</f:TextBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:RadioButtonList ID="rblHasPlan" runat="server" Label="是否制定自查整治方案" LabelWidth="180px" Required="true" ShowRedStar="true">
|
||||||
|
</f:RadioButtonList>
|
||||||
|
<f:DatePicker runat="server" Label="制定方案日期" ID="txtPlanDate" LabelWidth="150px">
|
||||||
|
</f:DatePicker>
|
||||||
|
<f:NumberBox ID="txtKeyProjectNum" runat="server" Label="在建国家重点工程项目数量" LabelWidth="200px" LabelAlign="Right" NoDecimal="false"
|
||||||
|
NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:RadioButtonList ID="rblHasWorkTeam" runat="server" Label="是否成立工作专班" LabelWidth="180px" Required="true" ShowRedStar="true">
|
||||||
|
</f:RadioButtonList>
|
||||||
|
<f:DatePicker runat="server" Label="成立专班日期" ID="txtTeamDate" LabelWidth="150px">
|
||||||
|
</f:DatePicker>
|
||||||
|
<f:Label runat="server" ID="Label1">
|
||||||
|
</f:Label>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:TextArea ID="txtRemark" runat="server" Label="备注说明" LabelAlign="right" Height="100px" MaxLength="150" EmptyText="不超过150字">
|
||||||
|
</f:TextArea>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:Panel ID="Panel1" Title="" BodyPadding="5px" runat="server" ShowHeader="false" EnableCollapse="True" AutoScroll="true">
|
||||||
|
<Items>
|
||||||
|
<f:GroupPanel runat="server" Title="股份公司层级检查情况" BodyPadding="5px" ID="GroupPanel1" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:GroupPanel ID="GroupPanel7" Title="国家重点工程项目" runat="server" EnableCollapse="true">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="Form2" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtStockCompanyKeyProjectCheckNum" runat="server" Label="检查项目个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtStockCompanyKeyProjectProblemNum" runat="server" Label="问题个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtStockCompanyKeyProjectProblemRectifiedNum" runat="server" Label="已整改个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
<f:GroupPanel runat="server" Title="其他工程项目" BodyPadding="5px" ID="GroupPanel2" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="Form3" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtStockCompanyOtherProjectCheckNum" runat="server" Label="检查项目个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtStockCompanyOtherProjectProblemNum" runat="server" Label="问题个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtStockCompanyOtherProjectProblemRectifiedNum" runat="server" Label="已整改个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
<f:GroupPanel runat="server" Title="二、三级公司层级检查情况" BodyPadding="5px" ID="GroupPanel3" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:GroupPanel runat="server" Title="国家重点工程项目" BodyPadding="5px" ID="GroupPanel4" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="Form4" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtBranchCompanyKeyProjectCheckNum" runat="server" Label="检查项目个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtBranchCompanyKeyProjectProblemNum" runat="server" Label="问题个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtBranchCompanyKeyProjectProblemRectifiedNum" runat="server" Label="已整改个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
<f:GroupPanel runat="server" Title="其他工程项目" BodyPadding="5px" ID="GroupPanel8" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="Form8" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtBranchCompanyOtherProjectCheckNum" runat="server" Label="检查项目个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtBranchCompanyOtherProjectProblemNum" runat="server" Label="问题个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtBranchCompanyOtherProjectProblemRectifiedNum" runat="server" Label="已整改个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
<f:GroupPanel runat="server" Title="项目层级自查情况" BodyPadding="5px" ID="GroupPanel5" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="Form6" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtProjectSelfCheckNum" runat="server" Label="自查项目个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtProjectSelfCheckProblemNum" runat="server" Label="问题个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtProjectSelfCheckProblemRectifiedNum" runat="server" Label="已整改个数" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
<f:GroupPanel runat="server" Title="突出质量问题" BodyPadding="5px" ID="GroupPanel6" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:GroupPanel runat="server" Title="国家重点工程项目" BodyPadding="5px" ID="GroupPanel9" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="Form5" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemNumType1" runat="server" Label="设计变更管控问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemRectifiedNumType1" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemNumType2" runat="server" Label="建筑材料管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemRectifiedNumType2" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemNumType3" runat="server" Label="施工过程质量管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemRectifiedNumType3" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemNumType4" runat="server" Label="工程资料管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemRectifiedNumType4" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemNumType5" runat="server" Label="分包分供管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemRectifiedNumType5" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemNumType6" runat="server" Label="工程实体质量问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemRectifiedNumType6" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemNumType7" runat="server" Label="培训和作业人员能力问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtKeyProjectProblemRectifiedNumType7" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
<f:GroupPanel runat="server" Title="其他工程项目" BodyPadding="5px" ID="GroupPanel10" EnableCollapse="True"
|
||||||
|
Collapsed="false">
|
||||||
|
<Items>
|
||||||
|
<f:Form ID="Form7" ShowBorder="false" ShowHeader="false" runat="server">
|
||||||
|
<Rows>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemNumType1" runat="server" Label="设计变更管控问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemRectifiedNumType1" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemNumType2" runat="server" Label="建筑材料管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemRectifiedNumType2" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemNumType3" runat="server" Label="施工过程质量管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemRectifiedNumType3" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemNumType4" runat="server" Label="工程资料管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemRectifiedNumType4" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemNumType5" runat="server" Label="分包分供管理问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemRectifiedNumType5" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemNumType6" runat="server" Label="工程实体质量问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemRectifiedNumType6" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
<f:FormRow>
|
||||||
|
<Items>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemNumType7" runat="server" Label="培训和作业人员能力问题数量" LabelWidth="220px" LabelAlign="Right" NoDecimal="false" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
<f:NumberBox ID="txtOtherProjectProblemRectifiedNumType7" runat="server" Label="已整改数量" LabelWidth="120px" LabelAlign="Right" NoDecimal="true" NoNegative="true" EmptyText="0">
|
||||||
|
</f:NumberBox>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
</f:Form>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
</Items>
|
||||||
|
</f:GroupPanel>
|
||||||
|
</Items>
|
||||||
|
</f:Panel>
|
||||||
|
</Items>
|
||||||
|
</f:FormRow>
|
||||||
|
</Rows>
|
||||||
|
<Toolbars>
|
||||||
|
<f:Toolbar ID="Toolbar1" Position="Top" ToolbarAlign="Right" runat="server">
|
||||||
|
<Items>
|
||||||
|
<%--<f:Button ID="btnCopy" Icon="Database" runat="server" ToolTip="复制上月数据" Text="复制上月数据"
|
||||||
|
ValidateForms="SimpleForm1" OnClick="btnCopy_Click" Hidden="true">
|
||||||
|
</f:Button>--%>
|
||||||
|
<f:ToolbarFill runat="server"></f:ToolbarFill>
|
||||||
|
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Hidden="true" Text="保存"
|
||||||
|
ValidateForms="SimpleForm1" OnClick="btnSave_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnSubmit" Icon="SystemSaveNew" runat="server" Hidden="true" ToolTip="提交" Text="提交"
|
||||||
|
ValidateForms="SimpleForm1" OnClick="btnSubmit_Click">
|
||||||
|
</f:Button>
|
||||||
|
<f:Button ID="btnUpdata" Icon="PageSave" runat="server" Hidden="true" ConfirmText="确定上报?" Text="上报"
|
||||||
|
ToolTip="上报" ValidateForms="SimpleForm1" OnClick="btnUpdata_Click">
|
||||||
|
</f:Button>
|
||||||
|
</Items>
|
||||||
|
</f:Toolbar>
|
||||||
|
</Toolbars>
|
||||||
|
</f:Form>
|
||||||
|
<f:Window ID="Window1" IconUrl="~/res/images/16/11.png" runat="server" Hidden="true"
|
||||||
|
IsModal="false" Target="Parent" EnableMaximize="true" EnableResize="true" OnClose="Window1_Close"
|
||||||
|
Title="办理流程" CloseAction="HidePostBack" EnableIFrame="true" Height="560px" Width="1000px">
|
||||||
|
</f:Window>
|
||||||
|
</form>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
<script type="text/javascript">
|
||||||
|
<%-- // 存储已绑定事件的下拉框ID,避免重复绑定
|
||||||
|
var boundDrpIds = [];
|
||||||
|
var grid1ClientID = '<%= Grid1.ClientID %>';
|
||||||
|
// Grid 单元格点击事件(核心:纯DOM解析,不依赖事件参数)
|
||||||
|
function onGridBeforeEdit(e) {
|
||||||
|
// 1. 解析点击的单元格DOM,获取行索引和列ID
|
||||||
|
var cellDom = $(e.target).closest(".f-grid-cell"); // 找到单元格DOM
|
||||||
|
if (!cellDom.length) return;
|
||||||
|
// 2. 获取行索引(从行DOM的属性中解析)
|
||||||
|
var rowDom = cellDom.closest(".f-grid-row");
|
||||||
|
var rowIndex = rowDom.attr("data-rowid"); // 行索引
|
||||||
|
if (rowIndex === undefined) return;
|
||||||
|
// 3. 获取列ID(从单元格DOM的属性中解析)
|
||||||
|
var columnId = cellDom.attr("data-columnid"); // 列ID(Name)
|
||||||
|
if (columnId !== "Name") return;
|
||||||
|
// 4. 触发单元格进入编辑态
|
||||||
|
var grid = F(grid1ClientID);
|
||||||
|
// 通过遍历columns数组查找匹配的列
|
||||||
|
var column = null;
|
||||||
|
for (var i = 0; i < grid.columns.length; i++) {
|
||||||
|
if (grid.columns[i].columnId === columnId) {
|
||||||
|
column = grid.columns[i];
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (!column) return;
|
||||||
|
|
||||||
|
if (columnId === "Name") {
|
||||||
|
var unitName = "";
|
||||||
|
for (var i = 0; i < grid.data.length; i++) {
|
||||||
|
if (grid.data[i].id === rowIndex) {
|
||||||
|
unitName = grid.data[i].values.Affiliation;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// 动态加载选项 获取项目名称
|
||||||
|
loadDynamicProject(column,unitName)
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
|
function loadDynamicProject(column,unitName) {
|
||||||
|
$.ajax({
|
||||||
|
url: "MillionsMonthlyReportSave.aspx/InitDrpNameDataSource",
|
||||||
|
type: "POST",
|
||||||
|
contentType: "application/json; charset=utf-8",
|
||||||
|
dataType: "json",
|
||||||
|
data: JSON.stringify({
|
||||||
|
unitName: unitName,
|
||||||
|
}),
|
||||||
|
success: function(data) {
|
||||||
|
var items = data.d;
|
||||||
|
if(items.length>0){
|
||||||
|
column.editor.data = items;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
error: function(xhr) {
|
||||||
|
console.log("加载选项失败:" + xhr.responseText);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}--%>
|
||||||
|
</script>
|
||||||
|
|
@ -0,0 +1,615 @@
|
||||||
|
using BLL;
|
||||||
|
using Model;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Data;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Web.Services;
|
||||||
|
using System.Web.UI.WebControls;
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.ZHGL.Information
|
||||||
|
{
|
||||||
|
public partial class DCGLKeyProjectRectificationSituationLedgerSave : PageBase
|
||||||
|
{
|
||||||
|
#region 定义变量
|
||||||
|
/// <summary>
|
||||||
|
/// 报表主键Id
|
||||||
|
/// </summary>
|
||||||
|
public string Id
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return (string)ViewState["Id"];
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
ViewState["Id"] = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 加载页面
|
||||||
|
/// <summary>
|
||||||
|
/// 加载页面
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
if (!IsPostBack)
|
||||||
|
{
|
||||||
|
this.GetButtonPower();
|
||||||
|
//BLL.ConstValue.InitConstValueDropDownList(this.drpMonth, ConstValue.Group_0009, false);
|
||||||
|
BLL.ConstValue.InitConstValueDropDownList(this.drpYear, ConstValue.Group_0008, false);
|
||||||
|
//是否制定自查整治方案
|
||||||
|
BLL.ConstValue.InitConstValueRadioButtonList(this.rblHasPlan, ConstValue.Group_0001, "False");
|
||||||
|
//是否成立工作专班
|
||||||
|
BLL.ConstValue.InitConstValueRadioButtonList(this.rblHasWorkTeam, ConstValue.Group_0001, "False");
|
||||||
|
this.drpUnit.DataTextField = "UnitName";
|
||||||
|
this.drpUnit.DataValueField = "UnitId";
|
||||||
|
this.drpUnit.DataSource = BLL.UnitService.GetThisUnitDropDownList();
|
||||||
|
this.drpUnit.DataBind();
|
||||||
|
this.drpUnit.Readonly = true;
|
||||||
|
string unitId = Request.QueryString["UnitId"];
|
||||||
|
string year = Request.QueryString["Year"];
|
||||||
|
this.Id = Request.QueryString["Id"];
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(this.Id))
|
||||||
|
{
|
||||||
|
var report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerById(Id);
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
this.btnSave.Hidden = true;
|
||||||
|
this.btnSubmit.Hidden = true;
|
||||||
|
//this.btnCopy.Hidden = true;
|
||||||
|
if (report.HandleState == BLL.Const.HandleState_4)
|
||||||
|
{
|
||||||
|
this.btnUpdata.Hidden = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (report.HandleMan == this.CurrUser.UserId || this.CurrUser.UserId == BLL.Const.sysglyId)
|
||||||
|
{
|
||||||
|
this.btnSave.Hidden = false;
|
||||||
|
this.btnSubmit.Hidden = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
if (report.UpState == BLL.Const.UpState_3)
|
||||||
|
{
|
||||||
|
this.btnSave.Hidden = true;
|
||||||
|
this.btnUpdata.Hidden = true;
|
||||||
|
}
|
||||||
|
//drpMonth.SelectedValue = report.Month.ToString();
|
||||||
|
drpYear.SelectedValue = report.Year.ToString();
|
||||||
|
drpUnit.SelectedValue = report.UnitId;
|
||||||
|
if (report.CompileDate != null)
|
||||||
|
{
|
||||||
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", report.CompileDate);
|
||||||
|
}
|
||||||
|
this.txtDutyPerson.Text = report.DutyPerson;
|
||||||
|
this.rblHasPlan.SelectedValue = report.HasPlan ? "True" : "False";
|
||||||
|
if (report.PlanDate != null)
|
||||||
|
{
|
||||||
|
this.txtPlanDate.Text = string.Format("{0:yyyy-MM-dd}", report.PlanDate);
|
||||||
|
}
|
||||||
|
this.rblHasWorkTeam.SelectedValue = report.HasWorkTeam ? "True" : "False";
|
||||||
|
if (report.TeamDate != null)
|
||||||
|
{
|
||||||
|
this.txtTeamDate.Text = string.Format("{0:yyyy-MM-dd}", report.TeamDate);
|
||||||
|
}
|
||||||
|
this.txtKeyProjectNum.Text = report.KeyProjectNum.ToString();
|
||||||
|
this.txtRemark.Text = report.Remark;
|
||||||
|
|
||||||
|
this.txtStockCompanyKeyProjectCheckNum.Text = report.StockCompanyKeyProjectCheckNum.ToString();
|
||||||
|
this.txtStockCompanyKeyProjectProblemNum.Text = report.StockCompanyKeyProjectProblemNum.ToString();
|
||||||
|
this.txtStockCompanyKeyProjectProblemRectifiedNum.Text = report.StockCompanyKeyProjectProblemRectifiedNum.ToString();
|
||||||
|
|
||||||
|
this.txtStockCompanyOtherProjectCheckNum.Text = report.StockCompanyOtherProjectCheckNum.ToString();
|
||||||
|
this.txtStockCompanyOtherProjectProblemNum.Text = report.StockCompanyOtherProjectProblemNum.ToString();
|
||||||
|
this.txtStockCompanyOtherProjectProblemRectifiedNum.Text = report.StockCompanyOtherProjectProblemRectifiedNum.ToString();
|
||||||
|
|
||||||
|
this.txtBranchCompanyKeyProjectCheckNum.Text = report.BranchCompanyKeyProjectCheckNum.ToString();
|
||||||
|
this.txtBranchCompanyKeyProjectProblemNum.Text = report.BranchCompanyKeyProjectProblemNum.ToString();
|
||||||
|
this.txtBranchCompanyKeyProjectProblemRectifiedNum.Text = report.BranchCompanyKeyProjectProblemRectifiedNum.ToString();
|
||||||
|
|
||||||
|
this.txtBranchCompanyOtherProjectCheckNum.Text = report.BranchCompanyOtherProjectCheckNum.ToString();
|
||||||
|
this.txtBranchCompanyOtherProjectProblemNum.Text = report.BranchCompanyOtherProjectProblemNum.ToString();
|
||||||
|
this.txtBranchCompanyOtherProjectProblemRectifiedNum.Text = report.BranchCompanyOtherProjectProblemRectifiedNum.ToString();
|
||||||
|
|
||||||
|
this.txtProjectSelfCheckNum.Text = report.ProjectSelfCheckNum.ToString();
|
||||||
|
this.txtProjectSelfCheckProblemNum.Text = report.ProjectSelfCheckProblemNum.ToString();
|
||||||
|
this.txtProjectSelfCheckProblemRectifiedNum.Text = report.ProjectSelfCheckProblemRectifiedNum.ToString();
|
||||||
|
|
||||||
|
this.txtKeyProjectProblemNumType1.Text = report.KeyProjectProblemNumType1.ToString();
|
||||||
|
this.txtKeyProjectProblemRectifiedNumType1.Text = report.KeyProjectProblemRectifiedNumType1.ToString();
|
||||||
|
this.txtKeyProjectProblemNumType2.Text = report.KeyProjectProblemNumType2.ToString();
|
||||||
|
this.txtKeyProjectProblemRectifiedNumType2.Text = report.KeyProjectProblemRectifiedNumType2.ToString();
|
||||||
|
this.txtKeyProjectProblemNumType3.Text = report.KeyProjectProblemNumType3.ToString();
|
||||||
|
this.txtKeyProjectProblemRectifiedNumType3.Text = report.KeyProjectProblemRectifiedNumType3.ToString();
|
||||||
|
this.txtKeyProjectProblemNumType4.Text = report.KeyProjectProblemNumType4.ToString();
|
||||||
|
this.txtKeyProjectProblemRectifiedNumType4.Text = report.KeyProjectProblemRectifiedNumType4.ToString();
|
||||||
|
this.txtKeyProjectProblemNumType5.Text = report.KeyProjectProblemNumType5.ToString();
|
||||||
|
this.txtKeyProjectProblemRectifiedNumType5.Text = report.KeyProjectProblemRectifiedNumType5.ToString();
|
||||||
|
this.txtKeyProjectProblemNumType6.Text = report.KeyProjectProblemNumType6.ToString();
|
||||||
|
this.txtKeyProjectProblemRectifiedNumType6.Text = report.KeyProjectProblemRectifiedNumType6.ToString();
|
||||||
|
this.txtKeyProjectProblemNumType7.Text = report.KeyProjectProblemNumType7.ToString();
|
||||||
|
this.txtKeyProjectProblemRectifiedNumType7.Text = report.KeyProjectProblemRectifiedNumType7.ToString();
|
||||||
|
|
||||||
|
this.txtOtherProjectProblemNumType1.Text = report.OtherProjectProblemNumType1.ToString();
|
||||||
|
this.txtOtherProjectProblemRectifiedNumType1.Text = report.OtherProjectProblemRectifiedNumType1.ToString();
|
||||||
|
this.txtOtherProjectProblemNumType2.Text = report.OtherProjectProblemNumType2.ToString();
|
||||||
|
this.txtOtherProjectProblemRectifiedNumType2.Text = report.OtherProjectProblemRectifiedNumType2.ToString();
|
||||||
|
this.txtOtherProjectProblemNumType3.Text = report.OtherProjectProblemNumType3.ToString();
|
||||||
|
this.txtOtherProjectProblemRectifiedNumType3.Text = report.OtherProjectProblemRectifiedNumType3.ToString();
|
||||||
|
this.txtOtherProjectProblemNumType4.Text = report.OtherProjectProblemNumType4.ToString();
|
||||||
|
this.txtOtherProjectProblemRectifiedNumType4.Text = report.OtherProjectProblemRectifiedNumType4.ToString();
|
||||||
|
this.txtOtherProjectProblemNumType5.Text = report.OtherProjectProblemNumType5.ToString();
|
||||||
|
this.txtOtherProjectProblemRectifiedNumType5.Text = report.OtherProjectProblemRectifiedNumType5.ToString();
|
||||||
|
this.txtOtherProjectProblemNumType6.Text = report.OtherProjectProblemNumType6.ToString();
|
||||||
|
this.txtOtherProjectProblemRectifiedNumType6.Text = report.OtherProjectProblemRectifiedNumType6.ToString();
|
||||||
|
this.txtOtherProjectProblemNumType7.Text = report.OtherProjectProblemNumType7.ToString();
|
||||||
|
this.txtOtherProjectProblemRectifiedNumType7.Text = report.OtherProjectProblemRectifiedNumType7.ToString();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
//this.btnCopy.Hidden = false;
|
||||||
|
//drpMonth.SelectedValue = months;
|
||||||
|
drpYear.SelectedValue = year;
|
||||||
|
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||||
|
this.txtDutyPerson.Text = this.CurrUser.UserName;
|
||||||
|
|
||||||
|
|
||||||
|
//this.txtRecordableIncidentRate.Text = "0";
|
||||||
|
//this.txtLostTimeRate.Text = "0";
|
||||||
|
//this.txtLostTimeInjuryRate.Text = "0";
|
||||||
|
//this.txtDeathAccidentFrequency.Text = "0";
|
||||||
|
//this.txtAccidentMortality.Text = "0";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 关闭窗口
|
||||||
|
/// <summary>
|
||||||
|
/// 关闭窗口
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerById(Id);
|
||||||
|
if (report.HandleMan == this.CurrUser.UserId)
|
||||||
|
{
|
||||||
|
this.btnSave.Hidden = false;
|
||||||
|
this.btnSubmit.Hidden = false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.btnSave.Hidden = true;
|
||||||
|
this.btnSubmit.Hidden = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 保存、提交、上报
|
||||||
|
/// <summary>
|
||||||
|
/// 保存数据
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="type"></param>
|
||||||
|
private void Save(string type)
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger report = new DCGL_Report_KeyProjectRectificationSituationLedger();
|
||||||
|
report.UnitId = drpUnit.SelectedValue;
|
||||||
|
report.Year = Funs.GetNewIntOrZero(drpYear.SelectedValue);
|
||||||
|
report.HasPlan = this.rblHasPlan.SelectedValue == "True";
|
||||||
|
report.HasWorkTeam = this.rblHasWorkTeam.SelectedValue == "True";
|
||||||
|
if (!string.IsNullOrEmpty(txtPlanDate.Text.Trim()))
|
||||||
|
{
|
||||||
|
report.PlanDate = Convert.ToDateTime(txtPlanDate.Text.Trim());
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(txtTeamDate.Text.Trim()))
|
||||||
|
{
|
||||||
|
report.TeamDate = Convert.ToDateTime(txtTeamDate.Text.Trim());
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(txtCompileDate.Text.Trim()))
|
||||||
|
{
|
||||||
|
report.CompileDate = Convert.ToDateTime(txtCompileDate.Text.Trim());
|
||||||
|
}
|
||||||
|
report.DutyPerson = this.txtDutyPerson.Text.Trim();
|
||||||
|
report.Remark = this.txtRemark.Text.Trim();
|
||||||
|
|
||||||
|
report.KeyProjectNum = Funs.GetNewIntOrZero(this.txtKeyProjectNum.Text.Trim());
|
||||||
|
|
||||||
|
report.StockCompanyKeyProjectCheckNum = Funs.GetNewIntOrZero(this.txtStockCompanyKeyProjectCheckNum.Text.Trim());
|
||||||
|
report.StockCompanyKeyProjectProblemNum = Funs.GetNewIntOrZero(this.txtStockCompanyKeyProjectProblemNum.Text.Trim());
|
||||||
|
report.StockCompanyKeyProjectProblemRectifiedNum = Funs.GetNewIntOrZero(this.txtStockCompanyKeyProjectProblemRectifiedNum.Text.Trim());
|
||||||
|
|
||||||
|
report.StockCompanyOtherProjectCheckNum = Funs.GetNewIntOrZero(this.txtStockCompanyOtherProjectCheckNum.Text.Trim());
|
||||||
|
report.StockCompanyOtherProjectProblemNum = Funs.GetNewIntOrZero(this.txtStockCompanyOtherProjectProblemNum.Text.Trim());
|
||||||
|
report.StockCompanyOtherProjectProblemRectifiedNum = Funs.GetNewIntOrZero(this.txtStockCompanyOtherProjectProblemRectifiedNum.Text.Trim());
|
||||||
|
|
||||||
|
report.BranchCompanyKeyProjectCheckNum = Funs.GetNewIntOrZero(this.txtBranchCompanyKeyProjectCheckNum.Text.Trim());
|
||||||
|
report.BranchCompanyKeyProjectProblemNum = Funs.GetNewIntOrZero(this.txtBranchCompanyKeyProjectProblemNum.Text.Trim());
|
||||||
|
report.BranchCompanyKeyProjectProblemRectifiedNum = Funs.GetNewIntOrZero(this.txtBranchCompanyKeyProjectProblemRectifiedNum.Text.Trim());
|
||||||
|
|
||||||
|
report.BranchCompanyOtherProjectCheckNum = Funs.GetNewIntOrZero(this.txtBranchCompanyOtherProjectCheckNum.Text.Trim());
|
||||||
|
report.BranchCompanyOtherProjectProblemNum = Funs.GetNewIntOrZero(this.txtBranchCompanyOtherProjectProblemNum.Text.Trim());
|
||||||
|
report.BranchCompanyOtherProjectProblemRectifiedNum = Funs.GetNewIntOrZero(this.txtBranchCompanyOtherProjectProblemRectifiedNum.Text.Trim());
|
||||||
|
|
||||||
|
report.ProjectSelfCheckNum = Funs.GetNewIntOrZero(this.txtProjectSelfCheckNum.Text.Trim());
|
||||||
|
report.ProjectSelfCheckProblemNum = Funs.GetNewIntOrZero(this.txtProjectSelfCheckProblemNum.Text.Trim());
|
||||||
|
report.ProjectSelfCheckProblemRectifiedNum = Funs.GetNewIntOrZero(this.txtProjectSelfCheckProblemRectifiedNum.Text.Trim());
|
||||||
|
|
||||||
|
report.KeyProjectProblemNumType1 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemNumType1.Text.Trim());
|
||||||
|
report.KeyProjectProblemRectifiedNumType1 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemRectifiedNumType1.Text.Trim());
|
||||||
|
|
||||||
|
report.KeyProjectProblemNumType2 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemNumType2.Text.Trim());
|
||||||
|
report.KeyProjectProblemRectifiedNumType2 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemRectifiedNumType2.Text.Trim());
|
||||||
|
|
||||||
|
report.KeyProjectProblemNumType3 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemNumType3.Text.Trim());
|
||||||
|
report.KeyProjectProblemRectifiedNumType3 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemRectifiedNumType3.Text.Trim());
|
||||||
|
|
||||||
|
report.KeyProjectProblemNumType4 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemNumType4.Text.Trim());
|
||||||
|
report.KeyProjectProblemRectifiedNumType4 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemRectifiedNumType5.Text.Trim());
|
||||||
|
|
||||||
|
report.KeyProjectProblemNumType5 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemNumType5.Text.Trim());
|
||||||
|
report.KeyProjectProblemRectifiedNumType5 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemRectifiedNumType5.Text.Trim());
|
||||||
|
|
||||||
|
report.KeyProjectProblemNumType6 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemNumType6.Text.Trim());
|
||||||
|
report.KeyProjectProblemRectifiedNumType6 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemRectifiedNumType6.Text.Trim());
|
||||||
|
|
||||||
|
report.KeyProjectProblemNumType7 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemNumType7.Text.Trim());
|
||||||
|
report.KeyProjectProblemRectifiedNumType7 = Funs.GetNewIntOrZero(this.txtKeyProjectProblemRectifiedNumType7.Text.Trim());
|
||||||
|
|
||||||
|
report.OtherProjectProblemNumType1 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemNumType1.Text.Trim());
|
||||||
|
report.OtherProjectProblemRectifiedNumType1 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemRectifiedNumType1.Text.Trim());
|
||||||
|
|
||||||
|
report.OtherProjectProblemNumType2 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemNumType2.Text.Trim());
|
||||||
|
report.OtherProjectProblemRectifiedNumType2 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemRectifiedNumType2.Text.Trim());
|
||||||
|
|
||||||
|
report.OtherProjectProblemNumType3 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemNumType3.Text.Trim());
|
||||||
|
report.OtherProjectProblemRectifiedNumType3 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemRectifiedNumType3.Text.Trim());
|
||||||
|
|
||||||
|
report.OtherProjectProblemNumType4 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemNumType4.Text.Trim());
|
||||||
|
report.OtherProjectProblemRectifiedNumType4 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemRectifiedNumType4.Text.Trim());
|
||||||
|
|
||||||
|
report.OtherProjectProblemNumType5 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemNumType5.Text.Trim());
|
||||||
|
report.OtherProjectProblemRectifiedNumType5 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemRectifiedNumType5.Text.Trim());
|
||||||
|
|
||||||
|
report.OtherProjectProblemNumType6 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemNumType6.Text.Trim());
|
||||||
|
report.OtherProjectProblemRectifiedNumType6 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemRectifiedNumType6.Text.Trim());
|
||||||
|
|
||||||
|
report.OtherProjectProblemNumType7 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemNumType7.Text.Trim());
|
||||||
|
report.OtherProjectProblemRectifiedNumType7 = Funs.GetNewIntOrZero(this.txtOtherProjectProblemRectifiedNumType7.Text.Trim());
|
||||||
|
if (string.IsNullOrEmpty(Id))
|
||||||
|
{
|
||||||
|
DCGL_Report_KeyProjectRectificationSituationLedger old = DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue));
|
||||||
|
if (old == null)
|
||||||
|
{
|
||||||
|
report.Id = SQLHelper.GetNewID(typeof(Model.DCGL_Report_KeyProjectRectificationSituationLedger));
|
||||||
|
report.UpState = BLL.Const.UpState_2;
|
||||||
|
report.CompileManName = this.CurrUser.UserName;
|
||||||
|
report.CompileMan = this.CurrUser.UserId;
|
||||||
|
report.CompileDate = DateTime.Now;
|
||||||
|
report.HandleState = BLL.Const.HandleState_1;
|
||||||
|
report.HandleMan = this.CurrUser.UserId;
|
||||||
|
BLL.DCGL_KeyProjectRectificationSituationLedgerService.AddKeyProjectRectificationSituationLedger(report);
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, report.Year.ToString(), report.Id, BLL.Const.DCGLKeyProjectRectificationSituationLedgerMenuId, BLL.Const.BtnAdd);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("该年份记录已存在!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Model.DCGL_Report_KeyProjectRectificationSituationLedger oldReport = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerById(Id);
|
||||||
|
if (oldReport != null)
|
||||||
|
{
|
||||||
|
report.HandleMan = oldReport.HandleMan;
|
||||||
|
report.HandleState = oldReport.HandleState;
|
||||||
|
}
|
||||||
|
report.Id = Id;
|
||||||
|
report.UpState = BLL.Const.UpState_2;
|
||||||
|
BLL.DCGL_KeyProjectRectificationSituationLedgerService.UpdateKeyProjectRectificationSituationLedger(report);
|
||||||
|
BLL.LogService.AddSys_Log(this.CurrUser, report.Year.ToString(), report.Id, BLL.Const.DCGLKeyProjectRectificationSituationLedgerMenuId, BLL.Const.BtnModify);
|
||||||
|
}
|
||||||
|
Id = report.Id;
|
||||||
|
|
||||||
|
if (type == "updata") //数据同步
|
||||||
|
{
|
||||||
|
if (report.UpState == BLL.Const.UpState_2)
|
||||||
|
{
|
||||||
|
string code = CNCECHSSEWebService.UpKeyProjectRectificationSituationLedger(report.Id, this.CurrUser);
|
||||||
|
if (code == "1")
|
||||||
|
{
|
||||||
|
//WorkflowTodoitemsService.DoneWorkflow_TodoItems(report.Id, this.CurrUser.UserId);//完成当前人待办
|
||||||
|
ShowNotify("同步成功!", MessageBoxIcon.Success);
|
||||||
|
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInParent("同步异常,请退出后重试!", MessageBoxIcon.Error);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
ShowNotify("当前单据状态不能同步!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (type == "submit")
|
||||||
|
{
|
||||||
|
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ReportSubmit.aspx?Type=KeyProjectRectificationSituationLedger&Id={0}", report.Id, "编辑 - ")));
|
||||||
|
}
|
||||||
|
else if (type == "add")
|
||||||
|
{
|
||||||
|
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||||
|
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void btnSave_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Save("add");
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void btnUpdata_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Save("updata");
|
||||||
|
}
|
||||||
|
|
||||||
|
protected void btnSubmit_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
Save("submit");
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 获取按钮权限
|
||||||
|
/// <summary>
|
||||||
|
/// 获取按钮权限
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="button"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
private void GetButtonPower()
|
||||||
|
{
|
||||||
|
var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.DCGLKeyProjectRectificationSituationLedgerMenuId);
|
||||||
|
if (buttonList.Count() > 0)
|
||||||
|
{
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnSave))
|
||||||
|
{
|
||||||
|
this.btnSave.Hidden = false;
|
||||||
|
//this.btnCopy.Hidden = false;
|
||||||
|
}
|
||||||
|
//if (buttonList.Contains(BLL.Const.BtnSaveUp))
|
||||||
|
//{
|
||||||
|
// this.btnUpdata.Hidden = false;
|
||||||
|
//}
|
||||||
|
if (buttonList.Contains(BLL.Const.BtnSubmit))
|
||||||
|
{
|
||||||
|
this.btnSubmit.Hidden = false;
|
||||||
|
//this.btnCopy.Hidden = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 复制上个月数据
|
||||||
|
/// <summary>
|
||||||
|
/// 复制上个月的数据
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="sender"></param>
|
||||||
|
/// <param name="e"></param>
|
||||||
|
protected void btnCopy_Click(object sender, EventArgs e)
|
||||||
|
{
|
||||||
|
//DateTime? nowDate = Funs.GetNewDateTime(this.drpYear.SelectedValue + "-" + this.drpMonth.SelectedValue);
|
||||||
|
//if (nowDate.HasValue)
|
||||||
|
//{
|
||||||
|
// DateTime showDate = new DateTime();
|
||||||
|
// showDate = nowDate.Value.AddMonths(-1);
|
||||||
|
// Model.DCGL_Report_KeyProjectRectificationSituationLedger report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerByUnitIdDate(this.drpUnit.SelectedValue, showDate.Year);
|
||||||
|
// if (report != null)
|
||||||
|
// {
|
||||||
|
// Model.DCGL_Report_KeyProjectRectificationSituationLedger newModel = new DCGL_Report_KeyProjectRectificationSituationLedger();
|
||||||
|
// this.Id = SQLHelper.GetNewID(typeof(Model.DCGL_Report_KeyProjectRectificationSituationLedger));
|
||||||
|
// newModel.Id = this.Id;
|
||||||
|
// newModel.UnitId = this.drpUnit.SelectedValue;
|
||||||
|
// newModel.Year = Convert.ToInt32(this.drpYear.SelectedValue);
|
||||||
|
// newModel.Month = Convert.ToInt32(this.drpMonth.SelectedValue);
|
||||||
|
// newModel.FillingMan = this.CurrUser.UserName;
|
||||||
|
// newModel.FillingDate = DateTime.Now;
|
||||||
|
// newModel.DutyPerson = this.CurrUser.UserName;
|
||||||
|
// newModel.RecordableIncidentRate = report.RecordableIncidentRate;
|
||||||
|
// newModel.LostTimeRate = report.LostTimeRate;
|
||||||
|
// newModel.LostTimeInjuryRate = report.LostTimeInjuryRate;
|
||||||
|
// newModel.DeathAccidentFrequency = report.DeathAccidentFrequency;
|
||||||
|
// newModel.AccidentMortality = report.AccidentMortality;
|
||||||
|
// newModel.UpState = BLL.Const.UpState_2;
|
||||||
|
// newModel.HandleState = BLL.Const.HandleState_1;
|
||||||
|
// newModel.HandleMan = this.CurrUser.UserId;
|
||||||
|
// newModel.InputCosts = report.InputCosts;
|
||||||
|
// newModel.TrainNum = report.TrainNum;
|
||||||
|
// newModel.GeneralHazardNum = report.GeneralHazardNum;
|
||||||
|
// newModel.MajorHazardNum = report.MajorHazardNum;
|
||||||
|
// newModel.NotProofLargeProjectNum = report.NotProofLargeProjectNum;
|
||||||
|
// newModel.ProofLargeProjectNum = report.ProofLargeProjectNum;
|
||||||
|
// newModel.FireLicenseNum = report.FireLicenseNum;
|
||||||
|
// newModel.LimitLicenseNum = report.LimitLicenseNum;
|
||||||
|
// newModel.HighLicenseNum = report.HighLicenseNum;
|
||||||
|
// newModel.HoistingLicenseNum = report.HoistingLicenseNum;
|
||||||
|
// newModel.BreakGroundLicenseNum = report.BreakGroundLicenseNum;
|
||||||
|
// newModel.ElectricityLicenseNum = report.ElectricityLicenseNum;
|
||||||
|
// newModel.RTLicenseNum = report.RTLicenseNum;
|
||||||
|
// newModel.NightLicenseNum = report.NightLicenseNum;
|
||||||
|
// newModel.CommissionerNum = report.CommissionerNum;
|
||||||
|
// newModel.SoleDutyNum = report.SoleDutyNum;
|
||||||
|
// BLL.DCGL_KeyProjectRectificationSituationLedgerService.AddMillionsMonthlyReport(newModel);
|
||||||
|
|
||||||
|
// items = BLL.MillionsMonthlyReportItemService.GetItems(report.Id);
|
||||||
|
// if (items.Count > 0)
|
||||||
|
// {
|
||||||
|
// foreach (var item in items)
|
||||||
|
// {
|
||||||
|
// if (item.Affiliation != "本月合计" || item.Name != "本月合计")
|
||||||
|
// {
|
||||||
|
// Model.Information_MillionsMonthlyReportItem newItem = new Information_MillionsMonthlyReportItem
|
||||||
|
// {
|
||||||
|
// MillionsMonthlyReportItemId = SQLHelper.GetNewID(typeof(Model.Information_MillionsMonthlyReportItem)),
|
||||||
|
// Id = this.Id,
|
||||||
|
// SortIndex = item.SortIndex,
|
||||||
|
// Affiliation = item.Affiliation,
|
||||||
|
// Name = item.Name,
|
||||||
|
// PostPersonNum = item.PostPersonNum,
|
||||||
|
// SnapPersonNum = item.SnapPersonNum,
|
||||||
|
// ContractorNum = item.ContractorNum,
|
||||||
|
// SumPersonNum = item.SumPersonNum,
|
||||||
|
// TotalWorkNum = item.TotalWorkNum,
|
||||||
|
// SeriousInjuriesNum = item.SeriousInjuriesNum,
|
||||||
|
// SeriousInjuriesPersonNum = item.SeriousInjuriesPersonNum,
|
||||||
|
// SeriousInjuriesLossHour = item.SeriousInjuriesLossHour,
|
||||||
|
// MinorAccidentNum = item.MinorAccidentNum,
|
||||||
|
// MinorAccidentPersonNum = item.MinorAccidentPersonNum,
|
||||||
|
// MinorAccidentLossHour = item.MinorAccidentLossHour,
|
||||||
|
// DeathAccidentNum = item.DeathAccidentNum,
|
||||||
|
// DeathAccidentPersonNum = item.DeathAccidentPersonNum,
|
||||||
|
// DeathAccidentLossHour = item.DeathAccidentLossHour,
|
||||||
|
// RestrictedWorkPersonNum = item.RestrictedWorkPersonNum,
|
||||||
|
// RestrictedWorkLossHour = item.RestrictedWorkLossHour,
|
||||||
|
// MedicalTreatmentPersonNum = item.MedicalTreatmentPersonNum,
|
||||||
|
// MedicalTreatmentLossHour = item.MedicalTreatmentLossHour,
|
||||||
|
// FireNum = item.FireNum,
|
||||||
|
// EnvironmenNum = item.EnvironmenNum,
|
||||||
|
// TrafficNum = item.TrafficNum,
|
||||||
|
// EquipmentNum = item.EquipmentNum,
|
||||||
|
// QualityNum = item.QualityNum,
|
||||||
|
// OtherNum = item.OtherNum,
|
||||||
|
// FirstAidDressingsNum = item.FirstAidDressingsNum,
|
||||||
|
// AttemptedEventNum = item.AttemptedEventNum,
|
||||||
|
// LossDayNum = item.LossDayNum
|
||||||
|
// };
|
||||||
|
// BLL.MillionsMonthlyReportItemService.AddMillionsMonthlyReportItem(newItem);
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// GetValues(newModel.Id);
|
||||||
|
// }
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 获取复制的值绑定到文本中
|
||||||
|
/// </summary>
|
||||||
|
private void GetValues(string Id)
|
||||||
|
{
|
||||||
|
var report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerById(Id);
|
||||||
|
//if (report != null)
|
||||||
|
//{
|
||||||
|
// drpMonth.SelectedValue = report.Month.ToString();
|
||||||
|
// drpYear.SelectedValue = report.Year.ToString();
|
||||||
|
// drpUnit.SelectedValue = report.UnitId;
|
||||||
|
// if (report.FillingDate != null)
|
||||||
|
// {
|
||||||
|
// txtReportDate.Text = string.Format("{0:yyyy-MM-dd}", report.FillingDate);
|
||||||
|
// }
|
||||||
|
// txtDutyPerson.Text = report.DutyPerson;
|
||||||
|
// if (report.RecordableIncidentRate != null)
|
||||||
|
// {
|
||||||
|
// txtRecordableIncidentRate.Text = report.RecordableIncidentRate.ToString();
|
||||||
|
// }
|
||||||
|
// if (report.LostTimeRate != null)
|
||||||
|
// {
|
||||||
|
// txtLostTimeRate.Text = report.LostTimeRate.ToString();
|
||||||
|
// }
|
||||||
|
// if (report.LostTimeInjuryRate != null)
|
||||||
|
// {
|
||||||
|
// txtLostTimeInjuryRate.Text = report.LostTimeInjuryRate.ToString();
|
||||||
|
// }
|
||||||
|
// if (report.DeathAccidentFrequency != null)
|
||||||
|
// {
|
||||||
|
// txtDeathAccidentFrequency.Text = report.DeathAccidentFrequency.ToString();
|
||||||
|
// }
|
||||||
|
// if (report.AccidentMortality != null)
|
||||||
|
// {
|
||||||
|
// txtAccidentMortality.Text = report.AccidentMortality.ToString();
|
||||||
|
// }
|
||||||
|
// if (report.InputCosts != null)
|
||||||
|
// {
|
||||||
|
// this.txtInputCosts.Text = Convert.ToString(report.InputCosts);
|
||||||
|
// }
|
||||||
|
// if (report.TrainNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtTrainNum.Text = Convert.ToString(report.TrainNum);
|
||||||
|
// }
|
||||||
|
// if (report.GeneralHazardNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtGeneralHazardNum.Text = Convert.ToString(report.GeneralHazardNum);
|
||||||
|
// }
|
||||||
|
// if (report.MajorHazardNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtMajorHazardNum.Text = Convert.ToString(report.MajorHazardNum);
|
||||||
|
// }
|
||||||
|
// if (report.NotProofLargeProjectNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtNotProofLargeProjectNum.Text = Convert.ToString(report.NotProofLargeProjectNum);
|
||||||
|
// }
|
||||||
|
// if (report.ProofLargeProjectNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtProofLargeProjectNum.Text = Convert.ToString(report.ProofLargeProjectNum);
|
||||||
|
// }
|
||||||
|
// if (report.FireLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtFireLicenseNum.Text = Convert.ToString(report.FireLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.LimitLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtLimitLicenseNum.Text = Convert.ToString(report.LimitLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.HighLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtHighLicenseNum.Text = Convert.ToString(report.HighLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.HoistingLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtHoistingLicenseNum.Text = Convert.ToString(report.HoistingLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.BreakGroundLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtBreakGroundLicenseNum.Text = Convert.ToString(report.BreakGroundLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.ElectricityLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtElectricityLicenseNum.Text = Convert.ToString(report.ElectricityLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.RTLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtRTLicenseNum.Text = Convert.ToString(report.RTLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.NightLicenseNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtNightLicenseNum.Text = Convert.ToString(report.NightLicenseNum);
|
||||||
|
// }
|
||||||
|
// if (report.CommissionerNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtCommissionerNum.Text = Convert.ToString(report.CommissionerNum);
|
||||||
|
// }
|
||||||
|
// if (report.SoleDutyNum != null)
|
||||||
|
// {
|
||||||
|
// this.txtSoleDutyNum.Text = Convert.ToString(report.SoleDutyNum);
|
||||||
|
// }
|
||||||
|
// items = BLL.MillionsMonthlyReportItemService.GetItems(Id);
|
||||||
|
// this.Grid1.DataSource = items;
|
||||||
|
// this.Grid1.DataBind();
|
||||||
|
//}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
737
SGGL/FineUIPro.Web/ZHGL/Information/DCGLKeyProjectRectificationSituationLedgerSave.aspx.designer.cs
generated
Normal file
737
SGGL/FineUIPro.Web/ZHGL/Information/DCGLKeyProjectRectificationSituationLedgerSave.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,737 @@
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <自动生成>
|
||||||
|
// 此代码由工具生成。
|
||||||
|
//
|
||||||
|
// 对此文件的更改可能导致不正确的行为,如果
|
||||||
|
// 重新生成代码,则所做更改将丢失。
|
||||||
|
// </自动生成>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
namespace FineUIPro.Web.ZHGL.Information
|
||||||
|
{
|
||||||
|
|
||||||
|
|
||||||
|
public partial class DCGLKeyProjectRectificationSituationLedgerSave
|
||||||
|
{
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// form1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// PageManager1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.PageManager PageManager1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// SimpleForm1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form SimpleForm1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpYear 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpYear;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// drpUnit 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DropDownList drpUnit;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtCompileDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker txtCompileDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtDutyPerson 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextBox txtDutyPerson;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// rblHasPlan 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.RadioButtonList rblHasPlan;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtPlanDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker txtPlanDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// rblHasWorkTeam 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.RadioButtonList rblHasWorkTeam;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtTeamDate 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.DatePicker txtTeamDate;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Label1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Label Label1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtRemark 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.TextArea txtRemark;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Panel1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Panel Panel1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel7 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel7;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtStockCompanyKeyProjectCheckNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtStockCompanyKeyProjectCheckNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtStockCompanyKeyProjectProblemNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtStockCompanyKeyProjectProblemNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtStockCompanyKeyProjectProblemRectifiedNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtStockCompanyKeyProjectProblemRectifiedNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtStockCompanyOtherProjectCheckNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtStockCompanyOtherProjectCheckNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtStockCompanyOtherProjectProblemNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtStockCompanyOtherProjectProblemNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtStockCompanyOtherProjectProblemRectifiedNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtStockCompanyOtherProjectProblemRectifiedNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtBranchCompanyKeyProjectCheckNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtBranchCompanyKeyProjectCheckNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtBranchCompanyKeyProjectProblemNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtBranchCompanyKeyProjectProblemNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtBranchCompanyKeyProjectProblemRectifiedNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtBranchCompanyKeyProjectProblemRectifiedNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel8 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel8;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form8 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form8;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtBranchCompanyOtherProjectCheckNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtBranchCompanyOtherProjectCheckNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtBranchCompanyOtherProjectProblemNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtBranchCompanyOtherProjectProblemNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtBranchCompanyOtherProjectProblemRectifiedNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtBranchCompanyOtherProjectProblemRectifiedNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form6 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form6;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtProjectSelfCheckNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtProjectSelfCheckNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtProjectSelfCheckProblemNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtProjectSelfCheckProblemNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtProjectSelfCheckProblemRectifiedNum 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtProjectSelfCheckProblemRectifiedNum;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel6 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel6;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel9 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel9;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemNumType1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemNumType1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemRectifiedNumType1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemRectifiedNumType1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemNumType2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemNumType2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemRectifiedNumType2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemRectifiedNumType2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemNumType3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemNumType3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemRectifiedNumType3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemRectifiedNumType3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemNumType4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemNumType4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemRectifiedNumType4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemRectifiedNumType4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemNumType5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemNumType5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemRectifiedNumType5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemRectifiedNumType5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemNumType6 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemNumType6;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemRectifiedNumType6 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemRectifiedNumType6;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemNumType7 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemNumType7;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtKeyProjectProblemRectifiedNumType7 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtKeyProjectProblemRectifiedNumType7;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// GroupPanel10 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.GroupPanel GroupPanel10;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Form7 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Form Form7;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemNumType1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemNumType1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemRectifiedNumType1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemRectifiedNumType1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemNumType2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemNumType2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemRectifiedNumType2 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemRectifiedNumType2;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemNumType3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemNumType3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemRectifiedNumType3 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemRectifiedNumType3;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemNumType4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemNumType4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemRectifiedNumType4 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemRectifiedNumType4;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemNumType5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemNumType5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemRectifiedNumType5 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemRectifiedNumType5;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemNumType6 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemNumType6;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemRectifiedNumType6 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemRectifiedNumType6;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemNumType7 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemNumType7;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// txtOtherProjectProblemRectifiedNumType7 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.NumberBox txtOtherProjectProblemRectifiedNumType7;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Toolbar1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Toolbar Toolbar1;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnSave 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnSave;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnSubmit 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnSubmit;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// btnUpdata 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Button btnUpdata;
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Window1 控件。
|
||||||
|
/// </summary>
|
||||||
|
/// <remarks>
|
||||||
|
/// 自动生成的字段。
|
||||||
|
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||||
|
/// </remarks>
|
||||||
|
protected global::FineUIPro.Window Window1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -106,6 +106,19 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||||
string handleStates = (this.cbNext.SelectedValue == "0") ? BLL.Const.HandleState_4 : BLL.Const.HandleState_3;
|
string handleStates = (this.cbNext.SelectedValue == "0") ? BLL.Const.HandleState_4 : BLL.Const.HandleState_3;
|
||||||
if (!string.IsNullOrEmpty(handleMan) && handleMan != Const._Null)
|
if (!string.IsNullOrEmpty(handleMan) && handleMan != Const._Null)
|
||||||
{
|
{
|
||||||
|
#region 督查大队:重点工程项目质量专项整治行动开展情况台账
|
||||||
|
if (Type == "KeyProjectRectificationSituationLedger")//督查大队:重点工程项目质量专项整治行动开展情况台账
|
||||||
|
{
|
||||||
|
var report = BLL.DCGL_KeyProjectRectificationSituationLedgerService.GetKeyProjectRectificationSituationLedgerById(Id);
|
||||||
|
if (report != null)
|
||||||
|
{
|
||||||
|
SetFlowData(Const.DCGLKeyProjectRectificationSituationLedgerMenuId, this.Id, handleMan);
|
||||||
|
report.HandleState = handleStates;
|
||||||
|
report.HandleMan = handleMan;
|
||||||
|
BLL.DCGL_KeyProjectRectificationSituationLedgerService.UpdateKeyProjectRectificationSituationLedger(report);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
#region 企业安全数据统计月报
|
#region 企业安全数据统计月报
|
||||||
if (Type == "MillionsMonthlyReport")//企业安全数据统计月报
|
if (Type == "MillionsMonthlyReport")//企业安全数据统计月报
|
||||||
|
|
|
||||||
|
|
@ -49,6 +49,7 @@
|
||||||
</TreeNode>
|
</TreeNode>
|
||||||
<TreeNode id="8B9C0F42-D36F-4798-94AB-F56723E8B714" Text="集团督查检查" NavigateUrl=""><TreeNode id="15443DE9-4AC2-43F9-A622-9F9253ECB157" Text="督查检查通知单" NavigateUrl="DCGL/ServerCheck/CheckNotice.aspx"></TreeNode>
|
<TreeNode id="8B9C0F42-D36F-4798-94AB-F56723E8B714" Text="集团督查检查" NavigateUrl=""><TreeNode id="15443DE9-4AC2-43F9-A622-9F9253ECB157" Text="督查检查通知单" NavigateUrl="DCGL/ServerCheck/CheckNotice.aspx"></TreeNode>
|
||||||
<TreeNode id="2E4A3E58-44B7-41B0-BFE3-634DF29AAE27" Text="集团下发督查检查整改" NavigateUrl="DCGL/ServerCheck/CheckRectify.aspx"></TreeNode>
|
<TreeNode id="2E4A3E58-44B7-41B0-BFE3-634DF29AAE27" Text="集团下发督查检查整改" NavigateUrl="DCGL/ServerCheck/CheckRectify.aspx"></TreeNode>
|
||||||
|
<TreeNode id="35BA8E89-4575-4A3F-9C22-98B323E67DA1" Text="重点工程项目质量专项整治行动开展情况台账" NavigateUrl="ZHGL/Information/DCGLKeyProjectRectificationSituationLedger.aspx"></TreeNode>
|
||||||
</TreeNode>
|
</TreeNode>
|
||||||
<TreeNode id="42106F55-BE3A-4252-8D4D-0793E4777524" Text="项目现场亮点" NavigateUrl=""><TreeNode id="67F04484-EC26-49AA-BFB4-6CF5DB06F8CA" Text="项目现场亮点类型" NavigateUrl="CQMS/ProjectHighlightsSite/ProjectHighlightsSiteType.aspx"></TreeNode>
|
<TreeNode id="42106F55-BE3A-4252-8D4D-0793E4777524" Text="项目现场亮点" NavigateUrl=""><TreeNode id="67F04484-EC26-49AA-BFB4-6CF5DB06F8CA" Text="项目现场亮点类型" NavigateUrl="CQMS/ProjectHighlightsSite/ProjectHighlightsSiteType.aspx"></TreeNode>
|
||||||
<TreeNode id="38177E89-4BA8-4D66-AFB9-93644DFE7451" Text="项目现场亮点照片" NavigateUrl="CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx"></TreeNode>
|
<TreeNode id="38177E89-4BA8-4D66-AFB9-93644DFE7451" Text="项目现场亮点照片" NavigateUrl="CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx"></TreeNode>
|
||||||
|
|
|
||||||
1848
SGGL/Model/Model.cs
1848
SGGL/Model/Model.cs
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue