20260108 交工资料
This commit is contained in:
parent
82dbbde560
commit
4da0548152
|
|
@ -0,0 +1,239 @@
|
|||
|
||||
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
|
||||
values('A09FAFBF-5E2E-40E0-B10D-72CC0D90FB3A','支管连接焊接接头、角焊接头组队焊接检查记录','JGZL/TeamWeldingInspection.aspx',190,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
|
||||
go
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('FC5A1BD4-D0BF-4E02-80B8-7783C9E438BB','A09FAFBF-5E2E-40E0-B10D-72CC0D90FB3A','增加',1)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('4FBBB785-E584-4F92-BE79-97D996D97E66','A09FAFBF-5E2E-40E0-B10D-72CC0D90FB3A','修改',2)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('DC64D6E7-284A-453E-BE8D-5F4A210F7032','A09FAFBF-5E2E-40E0-B10D-72CC0D90FB3A','删除',3)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('4F63D5EA-4822-4E09-83C8-C5C72EB5A375','A09FAFBF-5E2E-40E0-B10D-72CC0D90FB3A','保存',4)
|
||||
go
|
||||
|
||||
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
|
||||
values('594F3A00-5B63-4149-9250-3A048397D537','质量控制点检查记录','JGZL/QualityControlPointInspection.aspx',200,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
|
||||
go
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('B0D685EC-84F1-4899-A40E-1FAD6D810E44','594F3A00-5B63-4149-9250-3A048397D537','增加',1)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('6291B7FA-28A7-4FD5-9AE3-3FD581C1DD3D','594F3A00-5B63-4149-9250-3A048397D537','修改',2)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('FA49F2AD-620E-47CB-B541-5673497C7786','594F3A00-5B63-4149-9250-3A048397D537','删除',3)
|
||||
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
|
||||
values('A134F6DA-CED0-4A5F-BCB0-95E196F93D86','594F3A00-5B63-4149-9250-3A048397D537','保存',4)
|
||||
go
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[JGZL_TeamWeldingInspection](
|
||||
[TeamWeldingInspectionId] [nvarchar](50) NOT NULL,
|
||||
[ProjectId] [nvarchar](50) NULL,
|
||||
[UsingUnitTeam] [nvarchar](50) NULL,
|
||||
[InstallationArea] [nvarchar](50) NULL,
|
||||
[CompileMan] [nvarchar](50) NULL,
|
||||
[CompileDate] [datetime] NULL,
|
||||
CONSTRAINT [PK_JGZL_TeamWeldingInspection] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[TeamWeldingInspectionId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_TeamWeldingInspection] WITH CHECK ADD CONSTRAINT [FK_JGZL_TeamWeldingInspection_Base_Project] FOREIGN KEY([ProjectId])
|
||||
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_TeamWeldingInspection] CHECK CONSTRAINT [FK_JGZL_TeamWeldingInspection_Base_Project]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_TeamWeldingInspection] WITH CHECK ADD CONSTRAINT [FK_JGZL_TeamWeldingInspection_Sys_User] FOREIGN KEY([CompileMan])
|
||||
REFERENCES [dbo].[Sys_User] ([UserId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_TeamWeldingInspection] CHECK CONSTRAINT [FK_JGZL_TeamWeldingInspection_Sys_User]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspection', @level2type=N'COLUMN',@level2name=N'TeamWeldingInspectionId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspection', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'使用单位/班组' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspection', @level2type=N'COLUMN',@level2name=N'UsingUnitTeam'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'装置名称/施工区域' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspection', @level2type=N'COLUMN',@level2name=N'InstallationArea'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspection', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspection', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支管连接焊接接头、角焊接头组队焊接检查记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspection'
|
||||
GO
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[JGZL_TeamWeldingInspectionItem](
|
||||
[TeamWeldingInspectionItemId] [nvarchar](50) NOT NULL,
|
||||
[TeamWeldingInspectionId] [nvarchar](50) NULL,
|
||||
[CheckDate] [datetime] NULL,
|
||||
[Material] [nvarchar](50) NULL,
|
||||
[PipelineNo] [nvarchar](50) NULL,
|
||||
[WeldingJointNo] [nvarchar](50) NULL,
|
||||
[InstallationMethod] [nvarchar](50) NULL,
|
||||
[WeldingWire] [nvarchar](50) NULL,
|
||||
[WeldingRod] [nvarchar](50) NULL,
|
||||
[TeamGap] [nvarchar](50) NULL,
|
||||
[TeamPlumber] [nvarchar](50) NULL,
|
||||
[TeamWelder] [nvarchar](50) NULL,
|
||||
[TeamInspector] [nvarchar](50) NULL,
|
||||
[GTAWWelder] [nvarchar](50) NULL,
|
||||
[GTAWInspector] [nvarchar](50) NULL,
|
||||
[SMAWWelder] [nvarchar](50) NULL,
|
||||
[VTInspector] [nvarchar](50) NULL,
|
||||
CONSTRAINT [PK_JGZL_TeamWeldingInspectionItem] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[TeamWeldingInspectionItemId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_TeamWeldingInspectionItem] WITH CHECK ADD CONSTRAINT [FK_JGZL_TeamWeldingInspectionItem_JGZL_TeamWeldingInspection] FOREIGN KEY([TeamWeldingInspectionId])
|
||||
REFERENCES [dbo].[JGZL_TeamWeldingInspection] ([TeamWeldingInspectionId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_TeamWeldingInspectionItem] CHECK CONSTRAINT [FK_JGZL_TeamWeldingInspectionItem_JGZL_TeamWeldingInspection]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'TeamWeldingInspectionItemId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主表Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'TeamWeldingInspectionId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'检查时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'CheckDate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'材质' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'Material'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'管道编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'PipelineNo'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'焊口编号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'WeldingJointNo'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'安装形式(安放式/插入式)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'InstallationMethod'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所用焊丝牌号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'WeldingWire'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'所用焊条牌号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'WeldingRod'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'组队间隙mm' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'TeamGap'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'组队确认-管工' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'TeamPlumber'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'组队确认-焊工' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'TeamWelder'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'组队确认-质检员' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'TeamInspector'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'GTAW-焊工' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'GTAWWelder'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'GTAW-质检员' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'GTAWInspector'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'SMAW焊工' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'SMAWWelder'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'焊缝VT质检员' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem', @level2type=N'COLUMN',@level2name=N'VTInspector'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'支管连接焊接接头、角焊接头组队焊接检查记录明细表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_TeamWeldingInspectionItem'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
CREATE TABLE [dbo].[JGZL_QualityControlPointInspection](
|
||||
[QualityControlPointInspectionId] [nvarchar](50) NOT NULL,
|
||||
[ProjectId] [nvarchar](50) NULL,
|
||||
[Professional] [nvarchar](50) NULL,
|
||||
[ConstructionStandards] [nvarchar](100) NULL,
|
||||
[ControlPointName] [nvarchar](50) NULL,
|
||||
[ConTeamGroup] [nvarchar](50) NULL,
|
||||
[CheckContents] [nvarchar](2000) NULL,
|
||||
[Problems] [nvarchar](2000) NULL,
|
||||
[Conclusion] [nvarchar](2000) NULL,
|
||||
[CompileMan] [nvarchar](50) NULL,
|
||||
[CompileDate] [datetime] NULL,
|
||||
CONSTRAINT [PK_JGZL_QualityControlPointInspection] PRIMARY KEY CLUSTERED
|
||||
(
|
||||
[QualityControlPointInspectionId] ASC
|
||||
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON, OPTIMIZE_FOR_SEQUENTIAL_KEY = OFF) ON [PRIMARY]
|
||||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_QualityControlPointInspection] WITH CHECK ADD CONSTRAINT [FK_JGZL_QualityControlPointInspection_Base_Project] FOREIGN KEY([ProjectId])
|
||||
REFERENCES [dbo].[Base_Project] ([ProjectId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_QualityControlPointInspection] CHECK CONSTRAINT [FK_JGZL_QualityControlPointInspection_Base_Project]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_QualityControlPointInspection] WITH CHECK ADD CONSTRAINT [FK_JGZL_QualityControlPointInspection_Sys_User] FOREIGN KEY([CompileMan])
|
||||
REFERENCES [dbo].[Sys_User] ([UserId])
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_QualityControlPointInspection] CHECK CONSTRAINT [FK_JGZL_QualityControlPointInspection_Sys_User]
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主键' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'QualityControlPointInspectionId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'ProjectId'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'专业类别' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'Professional'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工标准' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'ConstructionStandards'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'控制点名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'ControlPointName'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'施工班组' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'ConTeamGroup'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'检查内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'CheckContents'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'存在问题' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'Problems'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'结论' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'Conclusion'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'CompileMan'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection', @level2type=N'COLUMN',@level2name=N'CompileDate'
|
||||
GO
|
||||
|
||||
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质量控制点检查记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_QualityControlPointInspection'
|
||||
GO
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
@ -253,7 +253,10 @@
|
|||
<Compile Include="JGZL\HandoverCertificateService.cs" />
|
||||
<Compile Include="JGZL\MeasuringInstrumentsService.cs" />
|
||||
<Compile Include="JGZL\NDTPersonService.cs" />
|
||||
<Compile Include="JGZL\QualityControlPointInspectionService.cs" />
|
||||
<Compile Include="JGZL\SpecialEquipmentMaintenanceService.cs" />
|
||||
<Compile Include="JGZL\TeamWeldingInspectionItemService.cs" />
|
||||
<Compile Include="JGZL\TeamWeldingInspectionService.cs" />
|
||||
<Compile Include="JsonHelper.cs" />
|
||||
<Compile Include="libFace.cs" />
|
||||
<Compile Include="libOpenCV.cs" />
|
||||
|
|
|
|||
|
|
@ -1795,6 +1795,16 @@ namespace BLL
|
|||
/// 周期检定计量器具清单
|
||||
/// </summary>
|
||||
public const string JGZL_MeasuringInstrumentsMenuId = "AA56E986-CDB6-438E-B4AA-F1A7DE373C8B";
|
||||
|
||||
/// <summary>
|
||||
/// 支管连接焊接接头、角焊接头组队焊接检查记录
|
||||
/// </summary>
|
||||
public const string JGZL_TeamWeldingInspectionMenuId = "A09FAFBF-5E2E-40E0-B10D-72CC0D90FB3A";
|
||||
|
||||
/// <summary>
|
||||
/// 质量控制点检查记录
|
||||
/// </summary>
|
||||
public const string JGZL_QualityControlPointInspectionMenuId = "594F3A00-5B63-4149-9250-3A048397D537";
|
||||
#endregion
|
||||
|
||||
#region 报表对应ID
|
||||
|
|
|
|||
|
|
@ -0,0 +1,84 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 质量控制点检查记录
|
||||
/// </summary>
|
||||
public class QualityControlPointInspectionService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取质量控制点检查记录
|
||||
/// </summary>
|
||||
/// <param name="qualityControlPointInspectionId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_QualityControlPointInspection GetQualityControlPointInspectionById(string qualityControlPointInspectionId)
|
||||
{
|
||||
return Funs.DB.JGZL_QualityControlPointInspection.FirstOrDefault(e => e.QualityControlPointInspectionId == qualityControlPointInspectionId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加
|
||||
/// </summary>
|
||||
/// <param name="qualityControlPointInspection"></param>
|
||||
public static void AddQualityControlPointInspection(Model.JGZL_QualityControlPointInspection qualityControlPointInspection)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_QualityControlPointInspection newInspection = new JGZL_QualityControlPointInspection();
|
||||
newInspection.QualityControlPointInspectionId = qualityControlPointInspection.QualityControlPointInspectionId;
|
||||
newInspection.ProjectId = qualityControlPointInspection.ProjectId;
|
||||
newInspection.Professional = qualityControlPointInspection.Professional;
|
||||
newInspection.ConstructionStandards = qualityControlPointInspection.ConstructionStandards;
|
||||
newInspection.ControlPointName = qualityControlPointInspection.ControlPointName;
|
||||
newInspection.ConTeamGroup = qualityControlPointInspection.ConTeamGroup;
|
||||
newInspection.CheckContents = qualityControlPointInspection.CheckContents;
|
||||
newInspection.Problems = qualityControlPointInspection.Problems;
|
||||
newInspection.Conclusion = qualityControlPointInspection.Conclusion;
|
||||
newInspection.CompileMan = qualityControlPointInspection.CompileMan;
|
||||
newInspection.CompileDate = qualityControlPointInspection.CompileDate;
|
||||
db.JGZL_QualityControlPointInspection.InsertOnSubmit(newInspection);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改
|
||||
/// </summary>
|
||||
/// <param name="qualityControlPointInspection"></param>
|
||||
public static void UpdateQualityControlPointInspection(Model.JGZL_QualityControlPointInspection qualityControlPointInspection)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_QualityControlPointInspection newInspection = db.JGZL_QualityControlPointInspection.FirstOrDefault(e => e.QualityControlPointInspectionId == qualityControlPointInspection.QualityControlPointInspectionId);
|
||||
if (newInspection != null)
|
||||
{
|
||||
newInspection.Professional = qualityControlPointInspection.Professional;
|
||||
newInspection.ConstructionStandards = qualityControlPointInspection.ConstructionStandards;
|
||||
newInspection.ControlPointName = qualityControlPointInspection.ControlPointName;
|
||||
newInspection.ConTeamGroup = qualityControlPointInspection.ConTeamGroup;
|
||||
newInspection.CheckContents = qualityControlPointInspection.CheckContents;
|
||||
newInspection.Problems = qualityControlPointInspection.Problems;
|
||||
newInspection.Conclusion = qualityControlPointInspection.Conclusion;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除质量控制点检查记录
|
||||
/// </summary>
|
||||
/// <param name="qualityControlPointInspectionId"></param>
|
||||
public static void DeleteQualityControlPointInspectionById(string qualityControlPointInspectionId)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_QualityControlPointInspection inspection = db.JGZL_QualityControlPointInspection.FirstOrDefault(e => e.QualityControlPointInspectionId == qualityControlPointInspectionId);
|
||||
if (inspection != null)
|
||||
{
|
||||
db.JGZL_QualityControlPointInspection.DeleteOnSubmit(inspection);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,123 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 支管连接焊接接头、角焊接头组对焊接检查记录明细
|
||||
/// </summary>
|
||||
public class TeamWeldingInspectionItemService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取明细信息
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspectionItemId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_TeamWeldingInspectionItem GetTeamWeldingInspectionItemById(string teamWeldingInspectionItemId)
|
||||
{
|
||||
return Funs.DB.JGZL_TeamWeldingInspectionItem.FirstOrDefault(e=>e.TeamWeldingInspectionItemId==teamWeldingInspectionItemId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据支管连接焊接接头、角焊接头组对焊接检查记录Id获取明细信息
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspectionId"></param>
|
||||
/// <returns></returns>
|
||||
public static List<Model.JGZL_TeamWeldingInspectionItem> GetTeamWeldingInspectionItemList(string teamWeldingInspectionId)
|
||||
{
|
||||
return (from x in Funs.DB.JGZL_TeamWeldingInspectionItem where x.TeamWeldingInspectionId == teamWeldingInspectionId select x).ToList();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
public static void AddTeamWeldingInspectionItem(Model.JGZL_TeamWeldingInspectionItem item)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_TeamWeldingInspectionItem newItem = new JGZL_TeamWeldingInspectionItem();
|
||||
newItem.TeamWeldingInspectionItemId = item.TeamWeldingInspectionItemId;
|
||||
newItem.TeamWeldingInspectionId = item.TeamWeldingInspectionId;
|
||||
newItem.CheckDate = item.CheckDate;
|
||||
newItem.Material = item.Material;
|
||||
newItem.PipelineNo = item.PipelineNo;
|
||||
newItem.WeldingJointNo = item.WeldingJointNo;
|
||||
newItem.InstallationMethod = item.InstallationMethod;
|
||||
newItem.WeldingWire = item.WeldingWire;
|
||||
newItem.WeldingRod = item.WeldingRod;
|
||||
newItem.TeamGap = item.TeamGap;
|
||||
newItem.TeamPlumber = item.TeamPlumber;
|
||||
newItem.TeamWelder = item.TeamWelder;
|
||||
newItem.TeamInspector = item.TeamInspector;
|
||||
newItem.GTAWWelder = item.GTAWWelder;
|
||||
newItem.GTAWInspector = item.GTAWInspector;
|
||||
newItem.SMAWWelder = item.SMAWWelder;
|
||||
newItem.VTInspector = item.VTInspector;
|
||||
db.JGZL_TeamWeldingInspectionItem.InsertOnSubmit(newItem);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改
|
||||
/// </summary>
|
||||
/// <param name="item"></param>
|
||||
public static void UpdateTeamWeldingInspectionItem(Model.JGZL_TeamWeldingInspectionItem item)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_TeamWeldingInspectionItem newItem = db.JGZL_TeamWeldingInspectionItem.FirstOrDefault(e => e.TeamWeldingInspectionItemId == item.TeamWeldingInspectionItemId);
|
||||
if (newItem != null)
|
||||
{
|
||||
newItem.CheckDate = item.CheckDate;
|
||||
newItem.Material = item.Material;
|
||||
newItem.PipelineNo = item.PipelineNo;
|
||||
newItem.WeldingJointNo = item.WeldingJointNo;
|
||||
newItem.InstallationMethod = item.InstallationMethod;
|
||||
newItem.WeldingWire = item.WeldingWire;
|
||||
newItem.WeldingRod = item.WeldingRod;
|
||||
newItem.TeamGap = item.TeamGap;
|
||||
newItem.TeamPlumber = item.TeamPlumber;
|
||||
newItem.TeamWelder = item.TeamWelder;
|
||||
newItem.TeamInspector = item.TeamInspector;
|
||||
newItem.GTAWWelder = item.GTAWWelder;
|
||||
newItem.GTAWInspector = item.GTAWInspector;
|
||||
newItem.SMAWWelder = item.SMAWWelder;
|
||||
newItem.VTInspector = item.VTInspector;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除明细信息
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspectionItemId"></param>
|
||||
public static void DeleteTeamWeldingInspectionItemById(string teamWeldingInspectionItemId)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
var q = (from x in db.JGZL_TeamWeldingInspectionItem where x.TeamWeldingInspectionItemId == teamWeldingInspectionItemId select x).FirstOrDefault();
|
||||
if (q != null)
|
||||
{
|
||||
db.JGZL_TeamWeldingInspectionItem.DeleteOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除明细信息
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspectionId"></param>
|
||||
public static void DeleteTeamWeldingInspectionItem(string teamWeldingInspectionId)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
var q = (from x in db.JGZL_TeamWeldingInspectionItem where x.TeamWeldingInspectionId == teamWeldingInspectionId select x).ToList();
|
||||
if (q != null)
|
||||
{
|
||||
db.JGZL_TeamWeldingInspectionItem.DeleteAllOnSubmit(q);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,75 @@
|
|||
using Model;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Caching.Hosting;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace BLL
|
||||
{
|
||||
/// <summary>
|
||||
/// 支管连接焊接接头、角焊接头组对焊接检查记录主表
|
||||
/// </summary>
|
||||
public class TeamWeldingInspectionService
|
||||
{
|
||||
/// <summary>
|
||||
/// 根据主键获取支管连接焊接接头、角焊接头组对焊接检查记录主表
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspectionId"></param>
|
||||
/// <returns></returns>
|
||||
public static Model.JGZL_TeamWeldingInspection GetTeamWeldingInspectionById(string teamWeldingInspectionId)
|
||||
{
|
||||
return Funs.DB.JGZL_TeamWeldingInspection.FirstOrDefault(e => e.TeamWeldingInspectionId == teamWeldingInspectionId);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 添加
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspection"></param>
|
||||
public static void AddTeamWeldingInspection(Model.JGZL_TeamWeldingInspection teamWeldingInspection)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_TeamWeldingInspection newTeamWeldingInspection = new Model.JGZL_TeamWeldingInspection();
|
||||
newTeamWeldingInspection.TeamWeldingInspectionId = teamWeldingInspection.TeamWeldingInspectionId;
|
||||
newTeamWeldingInspection.ProjectId = teamWeldingInspection.ProjectId;
|
||||
newTeamWeldingInspection.UsingUnitTeam = teamWeldingInspection.UsingUnitTeam;
|
||||
newTeamWeldingInspection.InstallationArea = teamWeldingInspection.InstallationArea;
|
||||
newTeamWeldingInspection.CompileMan = teamWeldingInspection.CompileMan;
|
||||
newTeamWeldingInspection.CompileDate = teamWeldingInspection.CompileDate;
|
||||
db.JGZL_TeamWeldingInspection.InsertOnSubmit(newTeamWeldingInspection);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 修改
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspection"></param>
|
||||
public static void UpdateTeamWeldingInspection(Model.JGZL_TeamWeldingInspection teamWeldingInspection)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_TeamWeldingInspection newTeamWeldingInspection = db.JGZL_TeamWeldingInspection.FirstOrDefault(e => e.TeamWeldingInspectionId == teamWeldingInspection.TeamWeldingInspectionId);
|
||||
if (newTeamWeldingInspection != null)
|
||||
{
|
||||
newTeamWeldingInspection.UsingUnitTeam = teamWeldingInspection.UsingUnitTeam;
|
||||
newTeamWeldingInspection.InstallationArea = teamWeldingInspection.InstallationArea;
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 根据主键删除支管连接焊接接头、角焊接头组对焊接检查记录主表
|
||||
/// </summary>
|
||||
/// <param name="teamWeldingInspectionId"></param>
|
||||
public static void DeleteTeamWeldingInspectionById(string teamWeldingInspectionId)
|
||||
{
|
||||
SGGLDB db = Funs.DB;
|
||||
Model.JGZL_TeamWeldingInspection teamWeldingInspection = db.JGZL_TeamWeldingInspection.FirstOrDefault(e => e.TeamWeldingInspectionId == teamWeldingInspectionId);
|
||||
if (teamWeldingInspection != null)
|
||||
{
|
||||
db.JGZL_TeamWeldingInspection.DeleteOnSubmit(teamWeldingInspection);
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,312 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/07/2026 11:35:17" ReportInfo.Modified="01/08/2026 10:23:35" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Windows.Forms;
|
||||
using System.Drawing;
|
||||
using System.Data;
|
||||
using FastReport;
|
||||
using FastReport.Data;
|
||||
using FastReport.Dialog;
|
||||
using FastReport.Barcode;
|
||||
using FastReport.Table;
|
||||
using FastReport.Utils;
|
||||
|
||||
namespace FastReport
|
||||
{
|
||||
public class ReportScript
|
||||
{
|
||||
|
||||
private void Table2_ManualBuild(object sender, EventArgs e)
|
||||
{
|
||||
DataSourceBase rowData = Report.GetDataSource("Data");
|
||||
// init the data source
|
||||
rowData.Init();
|
||||
|
||||
// print the first table row - it is a header
|
||||
|
||||
// now enumerate the data source and print the table body
|
||||
while (rowData.HasMoreRows)
|
||||
{
|
||||
// print the table body
|
||||
Table2.PrintRow(0);
|
||||
Table2.PrintColumns();
|
||||
|
||||
// go next data source row
|
||||
rowData.Next();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFmBJsEOuAWnWFcWIIJG77Dw==">
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
|
||||
<Column Name="Num" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="CheckDate" DataType="System.String" PropName="image_series"/>
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="file_name"/>
|
||||
<Column Name="JOT_JointNo" DataType="System.String" PropName="file_size"/>
|
||||
<Column Name="Material" DataType="System.String" PropName="file_type"/>
|
||||
<Column Name="InstallationMethod" DataType="System.String" PropName="created_date"/>
|
||||
<Column Name="WeldingWire" DataType="System.String" PropName="created_by"/>
|
||||
<Column Name="WeldingRod" DataType="System.String" PropName="series_desc"/>
|
||||
<Column Name="TeamGap" DataType="System.String" PropName="file_path"/>
|
||||
<Column Name="TeamPlumber" DataType="System.String" PropName="series_timestamp"/>
|
||||
<Column Name="TeamWelder" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="TeamInspector" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="GTAWWelder" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="GTAWInspector" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="SMAWWelder" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="VTInspector" DataType="System.String" PropName="Column"/>
|
||||
<Column Name="InstallationMethod2" DataType="System.String" PropName="Column"/>
|
||||
</TableDataSource>
|
||||
</MsSqlDataConnection>
|
||||
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||
<Parameter Name="ProjectCode" DataType="System.String"/>
|
||||
<Parameter Name="UsingUnitTeam" DataType="System.String"/>
|
||||
<Parameter Name="InstallationArea" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" Landscape="true" PaperWidth="297" PaperHeight="210" RawPaperSize="9" LeftMargin="20" TopMargin="25" RightMargin="20" BottomMargin="19" Guides="0,963.9,75.6,66.15,85.05,37.8,56.7,47.25,113.4,538.65,765.45,179.55,264.6,302.4,425.25,481.95,614.25,859.95,907.2,359.1,661.5,708.75,803.25,9.45,746.55">
|
||||
<PageHeaderBand Name="PageHeader1" Width="971.46" Height="198.45" Guides="0,198.45,18.9,56.7,37.8,85.05,28.35,113.4,141.75,170.1">
|
||||
<TableObject Name="Table1" Width="963.9" Height="198.45">
|
||||
<TableColumn Name="Column1" Width="37.8"/>
|
||||
<TableColumn Name="Column2" Width="75.6"/>
|
||||
<TableColumn Name="Column3"/>
|
||||
<TableColumn Name="Column4" Width="85.05"/>
|
||||
<TableColumn Name="Column5" Width="37.8"/>
|
||||
<TableColumn Name="Column6" Width="56.7"/>
|
||||
<TableColumn Name="Column7"/>
|
||||
<TableColumn Name="Column8" Width="56.7"/>
|
||||
<TableColumn Name="Column9" Width="56.7"/>
|
||||
<TableColumn Name="Column10" Width="75.6"/>
|
||||
<TableColumn Name="Column11" Width="47.25"/>
|
||||
<TableColumn Name="Column12" Width="47.25"/>
|
||||
<TableColumn Name="Column13" Width="56.7"/>
|
||||
<TableColumn Name="Column14" Width="37.8"/>
|
||||
<TableColumn Name="Column15" Width="56.7"/>
|
||||
<TableColumn Name="Column16" Width="47.25"/>
|
||||
<TableColumn Name="Column17" Width="56.7"/>
|
||||
<TableRow Name="Row1">
|
||||
<TableCell Name="Cell1" Text="ZDS-T6.38.042.A0.2020" HorzAlign="Right" ColSpan="17"/>
|
||||
<TableCell Name="Cell2" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell3" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell4" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell5" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell26" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell27" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell28" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell29" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell30" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell31" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell32" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell33" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell34" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell35" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell36" HorzAlign="Right"/>
|
||||
<TableCell Name="Cell37" HorzAlign="Right"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2" Height="37.8">
|
||||
<TableCell Name="Cell6" Text="浙江鼎盛石化工程有限公司" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="17"/>
|
||||
<TableCell Name="Cell7" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell8" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell9" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell10" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell38" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell39" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell40" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell41" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell42" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell43" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell44" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell45" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell46" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell47" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell48" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell49" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="28.35">
|
||||
<TableCell Name="Cell11" Text="支管连接焊接接头、角焊接头组队焊接检查记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="17"/>
|
||||
<TableCell Name="Cell12" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell13" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell14" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell15" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell50" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell51" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell52" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell53" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell54" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell55" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell56" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell57" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell58" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell59" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell60" HorzAlign="Center" VertAlign="Center"/>
|
||||
<TableCell Name="Cell61" HorzAlign="Center" VertAlign="Center"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="28.35">
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="使用单位/班组" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell18" Border.Lines="All" Text="[UsingUnitTeam]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="7"/>
|
||||
<TableCell Name="Cell19" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell20" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell63" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell64" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell66" Border.Lines="All" Text="装置名称/施工区域" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell67" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" Text="[InstallationArea]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell73" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="28.35">
|
||||
<TableCell Name="Cell21" Border.Lines="All" Text="项目名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell22" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell23" Border.Lines="All" Text="[ProjectName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="7"/>
|
||||
<TableCell Name="Cell24" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell25" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell76" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell77" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell78" Border.Lines="All" Text="施工号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell79" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell80" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell81" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell82" Border.Lines="All" Text="[ProjectCode]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell83" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell84" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell85" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row6" Height="28.35">
|
||||
<TableCell Name="Cell86" Border.Lines="All" Text="序号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell87" Border.Lines="All" Text="检查时间" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell88" Border.Lines="All" Text="材质" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell89" Border.Lines="All" Text="管道编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell90" Border.Lines="All" Text="焊口 编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell91" Border.Lines="All" Text="安装形式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell92" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell93" Border.Lines="All" Text="所用焊丝牌号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell94" Border.Lines="All" Text="所用焊条牌号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell95" Border.Lines="All" Text="组队间隙 mm" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell96" Border.Lines="All" Text="组队确认" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell97" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell98" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell99" Border.Lines="All" Text="GTAW" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell100" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell101" Border.Lines="All" Text="SMAW" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell102" Border.Lines="All" Text="焊缝VT" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="28.35">
|
||||
<TableCell Name="Cell103" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell104" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell105" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell106" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell107" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell108" Border.Lines="All" Text="安放式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell109" Border.Lines="All" Text="插入式" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell110" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell111" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell112" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell113" Border.Lines="All" Text="管工" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell114" Border.Lines="All" Text="焊工" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell115" Border.Lines="All" Text="质检员" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell116" Border.Lines="All" Text="焊工" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell117" Border.Lines="All" Text="质检员" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell118" Border.Lines="All" Text="焊工" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell119" Border.Lines="All" Text="质检员" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data1" Top="202.45" Width="971.46" Height="37.8" Guides="0,37.8">
|
||||
<TableObject Name="Table2" Width="963.9" Height="37.8" ManualBuildEvent="Table2_ManualBuild">
|
||||
<TableColumn Name="Column18" Width="37.8"/>
|
||||
<TableColumn Name="Column19" Width="75.6"/>
|
||||
<TableColumn Name="Column20"/>
|
||||
<TableColumn Name="Column21" Width="85.05"/>
|
||||
<TableColumn Name="Column22" Width="37.8"/>
|
||||
<TableColumn Name="Column23" Width="56.7"/>
|
||||
<TableColumn Name="Column24"/>
|
||||
<TableColumn Name="Column25" Width="56.7"/>
|
||||
<TableColumn Name="Column26" Width="56.7"/>
|
||||
<TableColumn Name="Column27" Width="75.6"/>
|
||||
<TableColumn Name="Column28" Width="47.25"/>
|
||||
<TableColumn Name="Column29" Width="47.25"/>
|
||||
<TableColumn Name="Column30" Width="56.7"/>
|
||||
<TableColumn Name="Column31" Width="37.8"/>
|
||||
<TableColumn Name="Column32" Width="56.7"/>
|
||||
<TableColumn Name="Column33" Width="47.25"/>
|
||||
<TableColumn Name="Column34" Width="56.7"/>
|
||||
<TableRow Name="Row14" Height="37.8">
|
||||
<TableCell Name="Cell222" Border.Lines="All" Text="[Data.Num]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell223" Border.Lines="All" Text="[Data.CheckDate]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell224" Border.Lines="All" Text="[Data.Material]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell225" Border.Lines="All" Text="[Data.ISO_IsoNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell226" Border.Lines="All" Text="[Data.JOT_JointNo]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell227" Border.Lines="All" Text="[Data.InstallationMethod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell228" Border.Lines="All" Text="[Data.InstallationMethod2]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell229" Border.Lines="All" Text="[Data.WeldingWire]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell230" Border.Lines="All" Text="[Data.WeldingRod]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell231" Border.Lines="All" Text="[Data.TeamGap]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell232" Border.Lines="All" Text="[Data.TeamPlumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell233" Border.Lines="All" Text="[Data.TeamWelder]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell234" Border.Lines="All" Text="[Data.TeamInspector]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell235" Border.Lines="All" Text="[Data.GTAWWelder]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell236" Border.Lines="All" Text="[Data.GTAWInspector]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell237" Border.Lines="All" Text="[Data.SMAWWelder]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell238" Border.Lines="All" Text="[Data.VTInspector]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</DataBand>
|
||||
<ColumnFooterBand Name="ColumnFooter1" Top="286.05" Width="971.46">
|
||||
<ChildBand Name="Child1" Top="244.25" Width="971.46" Height="37.8" Guides="0,37.8" FillUnusedSpace="true">
|
||||
<TableObject Name="Table3" Width="963.9" Height="37.8">
|
||||
<TableColumn Name="Column35" Width="37.8"/>
|
||||
<TableColumn Name="Column36" Width="75.6"/>
|
||||
<TableColumn Name="Column37"/>
|
||||
<TableColumn Name="Column38" Width="85.05"/>
|
||||
<TableColumn Name="Column39" Width="37.8"/>
|
||||
<TableColumn Name="Column40" Width="56.7"/>
|
||||
<TableColumn Name="Column41"/>
|
||||
<TableColumn Name="Column42" Width="56.7"/>
|
||||
<TableColumn Name="Column43" Width="56.7"/>
|
||||
<TableColumn Name="Column44" Width="75.6"/>
|
||||
<TableColumn Name="Column45" Width="47.25"/>
|
||||
<TableColumn Name="Column46" Width="47.25"/>
|
||||
<TableColumn Name="Column47" Width="56.7"/>
|
||||
<TableColumn Name="Column48" Width="37.8"/>
|
||||
<TableColumn Name="Column49" Width="56.7"/>
|
||||
<TableColumn Name="Column50" Width="47.25"/>
|
||||
<TableColumn Name="Column51" Width="56.7"/>
|
||||
<TableRow Name="Row15" Height="37.8">
|
||||
<TableCell Name="Cell239" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell240" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell241" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell242" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell243" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell244" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell245" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell246" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell247" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell248" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell249" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell250" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell251" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell252" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell253" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell254" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell255" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</ChildBand>
|
||||
</ColumnFooterBand>
|
||||
<PageFooterBand Name="PageFooter1" Top="290.05" Width="971.46" Height="28.35" Guides="9.45,28.35">
|
||||
<TextObject Name="Text1" Left="9.45" Top="9.45" Width="737.1" Height="18.9" Text="说明:“材质列”若为异种钢则填写母材材质+支管(凸台)的材质;安装形式在相应列中打“√”" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</PageFooterBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="01/08/2026 10:44:38" ReportInfo.Modified="01/08/2026 15:08:07" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<Parameter Name="ProjectName" DataType="System.String"/>
|
||||
<Parameter Name="Professional" DataType="System.String"/>
|
||||
<Parameter Name="ConstructionStandards" DataType="System.String"/>
|
||||
<Parameter Name="ControlPointName" DataType="System.String"/>
|
||||
<Parameter Name="ConTeamGroup" DataType="System.String"/>
|
||||
<Parameter Name="CheckContents" DataType="System.String"/>
|
||||
<Parameter Name="Problems" DataType="System.String"/>
|
||||
<Parameter Name="Conclusion" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" Guides="0,623.7,151.2,387.45,122.85,236.25,500.85,623.72,99.23,264.61,354.39,165.38,89.78,269.33,311.85">
|
||||
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="103.95" Guides="0,103.95,22.05,50.4,72.45,31.5">
|
||||
<TableObject Name="Table1" Width="623.7" Height="103.95">
|
||||
<TableColumn Name="Column1" Width="151.2"/>
|
||||
<TableColumn Name="Column2" Width="236.25"/>
|
||||
<TableColumn Name="Column3" Width="113.4"/>
|
||||
<TableColumn Name="Column4" Width="122.85"/>
|
||||
<TableRow Name="Row1" Height="22.05">
|
||||
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3543—G113" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" RowSpan="3"/>
|
||||
<TableCell Name="Cell2" Border.Lines="All" Text="质量控制点检查记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" RowSpan="3"/>
|
||||
<TableCell Name="Cell3" Border.Lines="Left, Right, Top" Text="工程名称:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell14" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row2" Height="50.4">
|
||||
<TableCell Name="Cell6" Border.Lines="All"/>
|
||||
<TableCell Name="Cell7" Border.Lines="All"/>
|
||||
<TableCell Name="Cell8" Border.Lines="Left, Right" Text="[ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell15" Border.Lines="All" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row3" Height="31.5">
|
||||
<TableCell Name="Cell11" Border.Lines="All"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All"/>
|
||||
<TableCell Name="Cell13" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell16" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageHeaderBand>
|
||||
<DataBand Name="Data1" Top="107.95" Width="623.7" Height="791.73" Guides="0,791.73,40.15,70.85001,101.55,30.7,330.7,229.15,361.4,571.65,210.25,602.35,189.38">
|
||||
<TableObject Name="Table2" Width="623.72" Height="791.73" Border.Lines="Left, Bottom">
|
||||
<TableColumn Name="Column5" Width="99.23"/>
|
||||
<TableColumn Name="Column6" Width="165.38"/>
|
||||
<TableColumn Name="Column7" Width="89.78"/>
|
||||
<TableColumn Name="Column8" Width="269.33"/>
|
||||
<TableRow Name="Row4" Height="40.15">
|
||||
<TableCell Name="Cell17" Border.Lines="All" Text="专业类别" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell18" Border.Lines="All" Text="[Professional]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell19" Border.Lines="All" Text="施工标准" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell20" Border.Lines="All" Text="[ConstructionStandards]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row5" Height="30.7">
|
||||
<TableCell Name="Cell22" Border.Lines="All" Text="控制点名称" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell23" Border.Lines="All" Text="[ControlPointName]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
<TableCell Name="Cell24" Border.Lines="All" Text="施工班组" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell25" Border.Lines="All" Text="[ConTeamGroup]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row6" Height="30.7">
|
||||
<TableCell Name="Cell27" Border.Lines="Left, Right, Top" Text="检查内容(包括工程实体安装项目、质量记录、检试验报告等):" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell28" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell30" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="229.15">
|
||||
<TableCell Name="Cell32" Border.Lines="Left, Right, Bottom" Text="[CheckContents]" Font="楷体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell33" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="30.7">
|
||||
<TableCell Name="Cell37" Border.Lines="Left, Right, Top" Text="存在问题:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell38" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell39" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell40" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row9" Height="210.25">
|
||||
<TableCell Name="Cell41" Border.Lines="Left, Right, Bottom" Text="[Problems]" Font="楷体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell42" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell43" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell44" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row10" Height="30.7">
|
||||
<TableCell Name="Cell45" Border.Lines="Left, Right, Top" Text="结论:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell46" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell47" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell48" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="189.38">
|
||||
<TableCell Name="Cell49" Border.Lines="Left, Right, Bottom" Text="[Conclusion]" Font="楷体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell50" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell51" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell52" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</DataBand>
|
||||
<PageFooterBand Name="PageFooter1" Top="903.68" Width="623.7" Height="75.62" Guides="0,75.62,37.81">
|
||||
<TableObject Name="Table3" Width="623.7" Height="75.62" Border.Lines="Left, Right, Bottom">
|
||||
<TableColumn Name="Column9" Width="311.85"/>
|
||||
<TableColumn Name="Column10" Width="311.85"/>
|
||||
<TableRow Name="Row12" Height="37.81">
|
||||
<TableCell Name="Cell53" Border.Lines="Right, Top" Text="质量检查员:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell54" Border.Lines="Left, Top" Text="质量工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row13" Height="37.81">
|
||||
<TableCell Name="Cell58" Border.Lines="Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell59" Border.Lines="Left" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageFooterBand>
|
||||
</ReportPage>
|
||||
</Report>
|
||||
|
|
@ -1257,8 +1257,12 @@
|
|||
<Content Include="JGZL\NDTPersonEdit.aspx" />
|
||||
<Content Include="JGZL\PipeWeldingWorkRecord.aspx" />
|
||||
<Content Include="JGZL\QualifiedWelder.aspx" />
|
||||
<Content Include="JGZL\QualityControlPointInspection.aspx" />
|
||||
<Content Include="JGZL\QualityControlPointInspectionEdit.aspx" />
|
||||
<Content Include="JGZL\SpecialEquipmentMaintenance.aspx" />
|
||||
<Content Include="JGZL\SpecialEquipmentMaintenanceEdit.aspx" />
|
||||
<Content Include="JGZL\TeamWeldingInspection.aspx" />
|
||||
<Content Include="JGZL\TeamWeldingInspectionEdit.aspx" />
|
||||
<Content Include="JGZL\WeldInspectionCheckRecord.aspx" />
|
||||
<Content Include="Login.aspx" />
|
||||
<Content Include="AttachFile\fileupload.ashx" />
|
||||
|
|
@ -6651,6 +6655,20 @@
|
|||
<Compile Include="JGZL\QualifiedWelder.aspx.designer.cs">
|
||||
<DependentUpon>QualifiedWelder.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\QualityControlPointInspection.aspx.cs">
|
||||
<DependentUpon>QualityControlPointInspection.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\QualityControlPointInspection.aspx.designer.cs">
|
||||
<DependentUpon>QualityControlPointInspection.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\QualityControlPointInspectionEdit.aspx.cs">
|
||||
<DependentUpon>QualityControlPointInspectionEdit.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\QualityControlPointInspectionEdit.aspx.designer.cs">
|
||||
<DependentUpon>QualityControlPointInspectionEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\SpecialEquipmentMaintenance.aspx.cs">
|
||||
<DependentUpon>SpecialEquipmentMaintenance.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
@ -6665,6 +6683,20 @@
|
|||
<Compile Include="JGZL\SpecialEquipmentMaintenanceEdit.aspx.designer.cs">
|
||||
<DependentUpon>SpecialEquipmentMaintenanceEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\TeamWeldingInspection.aspx.cs">
|
||||
<DependentUpon>TeamWeldingInspection.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\TeamWeldingInspection.aspx.designer.cs">
|
||||
<DependentUpon>TeamWeldingInspection.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\TeamWeldingInspectionEdit.aspx.cs">
|
||||
<DependentUpon>TeamWeldingInspectionEdit.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\TeamWeldingInspectionEdit.aspx.designer.cs">
|
||||
<DependentUpon>TeamWeldingInspectionEdit.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="JGZL\WeldInspectionCheckRecord.aspx.cs">
|
||||
<DependentUpon>WeldInspectionCheckRecord.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<Use64BitIISExpress />
|
||||
<IISExpressSSLPort />
|
||||
<IISExpressAnonymousAuthentication />
|
||||
|
|
|
|||
|
|
@ -93,6 +93,7 @@ namespace FineUIPro.Web.JGZL
|
|||
double SumSize = Convert.ToDouble((from x in Funs.DB.HJGL_PW_JointInfo where x.ProjectId == this.ProjectId select x.JOT_Size).Sum());
|
||||
this.txtContractNumber.Text = BLL.Base_ProjectService.GetProjectCode(this.ProjectId);
|
||||
this.txtProjectContent.Text = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectName + ",管道类别为" + pipeLineClass + "级,共计安装压力管道" + isoInfos.Count.ToString() + "条,总吋径量" + SumSize.ToString(".00") + "吋,该项目已经达到开工条件。";
|
||||
this.txtConditions.Text = "1、施工方案已经审批:\r\n2、压力管道告知已经办理:\r\n3、材料已经到货并报验合格:\r\n4、人员已经进行技术安全交底:\r\n5、现场已经施工具备开工条件。";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -0,0 +1,122 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QualityControlPointInspection.aspx.cs" Inherits="FineUIPro.Web.JGZL.QualityControlPointInspection" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||
<Items>
|
||||
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||
EnableCollapse="true" Width="220px" Title="质量控制点检查记录" ShowBorder="true" Layout="VBox"
|
||||
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelAlign="Right" AutoPostBack="true" EnableEdit="true"
|
||||
OnSelectedIndexChanged="drpProjectId_SelectedIndexChanged" LabelWidth="50px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Tree ID="tvControlItem" ShowHeader="false" Title="质量控制点检查记录" OnNodeCommand="tvControlItem_NodeCommand"
|
||||
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
|
||||
AutoLeafIdentification="true" EnableSingleExpand="true" EnableTextSelection="true">
|
||||
</f:Tree>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
|
||||
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="质量控制点检查记录"
|
||||
TitleToolTip="质量控制点检查记录" AutoScroll="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
|
||||
<f:Button ID="btnPrint" Text="质量控制点检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="质量控制点检查记录" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="QualityControlPointInspectionId" AllowCellEditing="true"
|
||||
EnableColumnLines="true" ClicksToEdit="1" DataIDField="QualityControlPointInspectionId" AllowSorting="true"
|
||||
SortField="CompileDate" SortDirection="DESC" OnSort="Grid1_Sort" AllowPaging="true"
|
||||
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="True" AutoScroll="true" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField HeaderText="专业类别" ColumnID="Professional" DataField="Professional" SortField="Professional"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="施工标准" ColumnID="ConstructionStandards" DataField="ConstructionStandards" SortField="ConstructionStandards"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="控制点名称" ColumnID="ControlPointName" DataField="ControlPointName" SortField="ControlPointName"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="180px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="施工班组" ColumnID="ConTeamGroup" DataField="ConTeamGroup" SortField="ConTeamGroup"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="180px">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="检查内容" ColumnID="CheckContents" DataField="CheckContents" SortField="CheckContents"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="180px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="10" Value="10" />
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="质量控制点检查记录" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||
Width="1100px" Height="620px">
|
||||
</f:Window>
|
||||
<f:Window ID="WindowPrint" Title="打印质量控制点检查记录" Hidden="true" EnableIFrame="true" EnableMaximize="false"
|
||||
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
|
||||
Height="600px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||
runat="server" Text="编辑" Icon="TableEdit">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||
ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
|
||||
</f:MenuButton>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,385 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.IO;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class QualityControlPointInspection :PageBase
|
||||
{
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
|
||||
this.drpProjectId.DataTextField = "ProjectCode";
|
||||
this.drpProjectId.DataValueField = "ProjectId";
|
||||
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||
this.drpProjectId.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpProjectId);
|
||||
|
||||
this.InitTreeMenu();//加载树
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载树项目
|
||||
/// <summary>
|
||||
/// 加载树
|
||||
/// </summary>
|
||||
private void InitTreeMenu()
|
||||
{
|
||||
this.tvControlItem.Nodes.Clear();
|
||||
TreeNode rootNode = new TreeNode();
|
||||
rootNode.Text = "项目";
|
||||
rootNode.ToolTip = "项目";
|
||||
rootNode.NodeID = "0";
|
||||
rootNode.Expanded = true;
|
||||
this.tvControlItem.Nodes.Add(rootNode);
|
||||
|
||||
List<Model.Base_Project> projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||
if (this.drpProjectId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
|
||||
}
|
||||
foreach (var item in projects)
|
||||
{
|
||||
TreeNode rootProjectNode = new TreeNode();//定义根节点
|
||||
rootProjectNode.Text = item.ProjectCode;
|
||||
rootProjectNode.NodeID = item.ProjectId;
|
||||
rootProjectNode.EnableClickEvent = true;
|
||||
rootProjectNode.Expanded = true;
|
||||
rootProjectNode.ToolTip = item.ProjectName;
|
||||
rootProjectNode.CommandName = "项目名称";
|
||||
rootNode.Nodes.Add(rootProjectNode);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 点击TreeView
|
||||
/// <summary>
|
||||
/// 点击TreeView
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
|
||||
{
|
||||
if (this.tvControlItem.SelectedNodeID != "0")
|
||||
{
|
||||
this.BindGrid();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 数据绑定
|
||||
/// <summary>
|
||||
/// 数据绑定
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
//string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
|
||||
string strSql = @"SELECT * from JGZL_QualityControlPointInspection where 1=1";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
strSql += " AND ProjectId = @ProjectId";
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
|
||||
// listStr.Add(new SqlParameter("@ProjectId", projectIds));
|
||||
//}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
// 2.获取当前分页数据
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 分页排序
|
||||
#region 页索引改变事件
|
||||
/// <summary>
|
||||
/// 页索引改变事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 排序
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 分页选择下拉改变事件
|
||||
/// <summary>
|
||||
/// 分页选择下拉改变事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 查询
|
||||
///<summary>
|
||||
///查询
|
||||
///</summary>
|
||||
///<param name="sender"></param>
|
||||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 打印
|
||||
/// <summary>
|
||||
/// 打印
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
|
||||
if (projectId != null)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
{
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
var report = BLL.QualityControlPointInspectionService.GetQualityControlPointInspectionById(this.Grid1.SelectedRowID);
|
||||
if (report != null)
|
||||
{
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||
keyValuePairs.Add("Professional", report.Professional);
|
||||
keyValuePairs.Add("ConstructionStandards", report.ConstructionStandards);
|
||||
keyValuePairs.Add("ControlPointName", report.ControlPointName);
|
||||
keyValuePairs.Add("ConTeamGroup", report.ConTeamGroup);
|
||||
keyValuePairs.Add("CheckContents", report.CheckContents);
|
||||
keyValuePairs.Add("Problems", report.Problems);
|
||||
keyValuePairs.Add("Conclusion", report.Conclusion);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
}
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\质量控制点检查记录.frx";
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 维护
|
||||
/// <summary>
|
||||
/// 增加
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("QualityControlPointInspectionEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 双击编辑
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_QualityControlPointInspectionMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("QualityControlPointInspectionEdit.aspx?qualityControlPointInspectionId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 右键编辑
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_QualityControlPointInspectionMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("QualityControlPointInspectionEdit.aspx?qualityControlPointInspectionId={0}", Grid1.SelectedRowID, "维护 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 右键删除
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_QualityControlPointInspectionMenuId, Const.BtnDelete))
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
bool isShow = true;
|
||||
if (Grid1.SelectedRowIndexArray.Length > 1)
|
||||
{
|
||||
isShow = false;
|
||||
}
|
||||
bool isDelete = false;
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
if (judgementDelete(rowID, isShow))
|
||||
{
|
||||
isDelete = true;
|
||||
BLL.QualityControlPointInspectionService.DeleteQualityControlPointInspectionById(rowID);
|
||||
BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除质量控制点检查记录");
|
||||
}
|
||||
}
|
||||
if (isDelete)
|
||||
{
|
||||
ShowNotify("删除成功!", MessageBoxIcon.Success);
|
||||
}
|
||||
this.BindGrid();
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
#region 判断是否可删除
|
||||
/// <summary>
|
||||
/// 判断是否可以删除
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private bool judgementDelete(string id, bool isShow)
|
||||
{
|
||||
string content = string.Empty;
|
||||
|
||||
if (string.IsNullOrEmpty(content))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isShow)
|
||||
{
|
||||
Alert.ShowInTop(content, MessageBoxIcon.Error);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 关闭弹出窗口及刷新页面
|
||||
/// <summary>
|
||||
/// 关闭弹出窗口
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();//加载树
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,206 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
|
||||
|
||||
public partial class QualityControlPointInspection
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// panelLeftRegion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelLeftRegion;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// drpProjectId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProjectId;
|
||||
|
||||
/// <summary>
|
||||
/// tvControlItem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree tvControlItem;
|
||||
|
||||
/// <summary>
|
||||
/// panelCenterRegion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelCenterRegion;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnAdd 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAdd;
|
||||
|
||||
/// <summary>
|
||||
/// btnPrint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// WindowPrint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowPrint;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,58 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QualityControlPointInspectionEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.QualityControlPointInspectionEdit" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtProfessional" runat="server" Label="专业类别" LabelAlign="Right" LabelWidth="110px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
<f:TextBox ID="txtConstructionStandards" runat="server" Label="施工标准" LabelAlign="Right" LabelWidth="110px" MaxLength="100" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtControlPointName" runat="server" Label="控制点名称" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtConTeamGroup" runat="server" Label="施工班组" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtCheckContents" runat="server" Label="检查内容" LabelAlign="Right" LabelWidth="110px" MaxLength="2000"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtProblems" runat="server" Label="存在问题" LabelAlign="Right" LabelWidth="110px" MaxLength="2000"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextArea ID="txtConclusion" runat="server" Label="结论" LabelAlign="Right" LabelWidth="110px" MaxLength="2000"></f:TextArea>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,123 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class QualityControlPointInspectionEdit : PageBase
|
||||
{
|
||||
#region 定义项
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
private string QualityControlPointInspectionId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["QualityControlPointInspectionId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["QualityControlPointInspectionId"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 项目Id
|
||||
/// </summary>
|
||||
private string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["ProjectId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["ProjectId"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = Request.Params["projectId"];
|
||||
this.QualityControlPointInspectionId = Request.Params["qualityControlPointInspectionId"];
|
||||
if (!string.IsNullOrEmpty(this.QualityControlPointInspectionId))
|
||||
{
|
||||
var report = BLL.QualityControlPointInspectionService.GetQualityControlPointInspectionById(this.QualityControlPointInspectionId);
|
||||
if (report != null)
|
||||
{
|
||||
this.txtProfessional.Text = report.Professional;
|
||||
this.txtConstructionStandards.Text = report.ConstructionStandards;
|
||||
this.txtControlPointName.Text = report.ControlPointName;
|
||||
this.txtConTeamGroup.Text = report.ConTeamGroup;
|
||||
this.txtCheckContents.Text = report.CheckContents;
|
||||
this.txtProblems.Text = report.Problems;
|
||||
this.txtConclusion.Text = report.Conclusion;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.txtProfessional.Text = "管道安装工程";
|
||||
this.txtConstructionStandards.Text = "SH/T 3501/2011《石油化工有毒、可燃介质钢制管道工程施工及验收规范》";
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 提交按钮
|
||||
/// <summary>
|
||||
/// 提交按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_QualityControlPointInspectionMenuId, Const.BtnSave))
|
||||
{
|
||||
Model.JGZL_QualityControlPointInspection newReport = new Model.JGZL_QualityControlPointInspection();
|
||||
newReport.Professional = this.txtProfessional.Text.Trim();
|
||||
newReport.ConstructionStandards = this.txtConstructionStandards.Text.Trim();
|
||||
newReport.ControlPointName = this.txtControlPointName.Text.Trim();
|
||||
newReport.ConTeamGroup = this.txtConTeamGroup.Text.Trim();
|
||||
newReport.CheckContents = this.txtCheckContents.Text;
|
||||
newReport.Problems = txtProblems.Text;
|
||||
newReport.Conclusion = this.txtConclusion.Text;
|
||||
if (!string.IsNullOrEmpty(this.QualityControlPointInspectionId))
|
||||
{
|
||||
newReport.QualityControlPointInspectionId = this.QualityControlPointInspectionId;
|
||||
BLL.QualityControlPointInspectionService.UpdateQualityControlPointInspection(newReport);
|
||||
}
|
||||
else
|
||||
{
|
||||
newReport.ProjectId = this.ProjectId;
|
||||
newReport.CompileMan = this.CurrUser.UserId;
|
||||
newReport.CompileDate = DateTime.Now;
|
||||
newReport.QualityControlPointInspectionId = SQLHelper.GetNewID(typeof(Model.JGZL_QualityControlPointInspection));
|
||||
this.QualityControlPointInspectionId = newReport.QualityControlPointInspectionId;
|
||||
BLL.QualityControlPointInspectionService.AddQualityControlPointInspection(newReport);
|
||||
}
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
134
HJGL_DS/FineUIPro.Web/JGZL/QualityControlPointInspectionEdit.aspx.designer.cs
generated
Normal file
134
HJGL_DS/FineUIPro.Web/JGZL/QualityControlPointInspectionEdit.aspx.designer.cs
generated
Normal file
|
|
@ -0,0 +1,134 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
|
||||
|
||||
public partial class QualityControlPointInspectionEdit
|
||||
{
|
||||
|
||||
/// <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>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// txtProfessional 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtProfessional;
|
||||
|
||||
/// <summary>
|
||||
/// txtConstructionStandards 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConstructionStandards;
|
||||
|
||||
/// <summary>
|
||||
/// txtControlPointName 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtControlPointName;
|
||||
|
||||
/// <summary>
|
||||
/// txtConTeamGroup 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtConTeamGroup;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckContents 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtCheckContents;
|
||||
|
||||
/// <summary>
|
||||
/// txtProblems 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtProblems;
|
||||
|
||||
/// <summary>
|
||||
/// txtConclusion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextArea txtConclusion;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,132 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeamWeldingInspection.aspx.cs" Inherits="FineUIPro.Web.JGZL.TeamWeldingInspection" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Panel ID="Panel1" runat="server" ShowBorder="false" ShowHeader="false" Layout="Region">
|
||||
<Items>
|
||||
<f:Panel runat="server" ID="panelLeftRegion" RegionPosition="Left" RegionSplit="true"
|
||||
EnableCollapse="true" Width="220px" Title="支管连接焊接接头、角焊接头组对焊接检查记录" ShowBorder="true" Layout="VBox"
|
||||
ShowHeader="true" AutoScroll="true" BodyPadding="5px" IconFont="ArrowCircleLeft">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Top" runat="server" ToolbarAlign="Left">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpProjectId" runat="server" Label="项目" LabelAlign="Right" AutoPostBack="true" EnableEdit="true"
|
||||
OnSelectedIndexChanged="drpProjectId_SelectedIndexChanged" LabelWidth="50px">
|
||||
</f:DropDownList>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Tree ID="tvControlItem" ShowHeader="false" Title="支管连接焊接接头、角焊接头组对焊接检查记录" OnNodeCommand="tvControlItem_NodeCommand"
|
||||
runat="server" ShowBorder="false" EnableCollapse="true" EnableSingleClickExpand="true"
|
||||
AutoLeafIdentification="true" EnableSingleExpand="true" EnableTextSelection="true">
|
||||
</f:Tree>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Panel runat="server" ID="panelCenterRegion" RegionPosition="Center" ShowBorder="true"
|
||||
Layout="VBox" ShowHeader="false" BodyPadding="5px" IconFont="PlusCircle" Title="支管连接焊接接头、角焊接头组对焊接检查记录"
|
||||
TitleToolTip="支管连接焊接接头、角焊接头组对焊接检查记录" AutoScroll="true">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar2" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>
|
||||
<f:Button ID="btnPrint" Text="支管连接焊接接头、角焊接头组对焊接检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Items>
|
||||
<f:Grid ID="Grid1" ShowBorder="true" ShowHeader="false" Title="支管连接焊接接头、角焊接头组对焊接检查记录" EnableCollapse="true"
|
||||
runat="server" BoxFlex="1" DataKeyNames="TeamWeldingInspectionItemId" AllowCellEditing="true"
|
||||
EnableColumnLines="true" ClicksToEdit="1" DataIDField="TeamWeldingInspectionItemId" AllowSorting="true"
|
||||
SortField="CheckDate,ISO_IsoNo,JOT_JointNo" SortDirection="ASC" OnSort="Grid1_Sort" AllowPaging="true"
|
||||
IsDatabasePaging="true" PageSize="10" OnPageIndexChange="Grid1_PageIndexChange"
|
||||
EnableTextSelection="True" AutoScroll="true" EnableRowDoubleClickEvent="true" OnRowDoubleClick="Grid1_RowDoubleClick">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar3" Position="Top" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:DropDownList ID="drpUsingUnitTeam" runat="server" Label="使用单位/班组" LabelAlign="Right" AutoPostBack="true" OnSelectedIndexChanged="drpUsingUnitTeam_SelectedIndexChanged"></f:DropDownList>
|
||||
<f:DropDownList ID="drpInstallationArea" runat="server" Label="装置名称/施工区域" LabelAlign="Right" LabelWidth="140px" AutoPostBack="true" OnSelectedIndexChanged="drpUsingUnitTeam_SelectedIndexChanged"></f:DropDownList>
|
||||
<f:DatePicker ID="txtCheckDate" runat="server" Label="检查时间" LabelAlign="Right" Width="220px" AutoPostBack="true" OnTextChanged="drpUsingUnitTeam_SelectedIndexChanged"></f:DatePicker>
|
||||
<f:ToolbarFill ID="ToolbarFill2" runat="server">
|
||||
</f:ToolbarFill>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Columns>
|
||||
<f:RowNumberField EnablePagingNumber="true" HeaderText="序号" Width="50px" HeaderTextAlign="Center"
|
||||
TextAlign="Center" />
|
||||
<f:RenderField HeaderText="使用单位/班组" ColumnID="UsingUnitTeam" DataField="UsingUnitTeam" SortField="UsingUnitTeam"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="装置名称/施工区域" ColumnID="InstallationArea" DataField="InstallationArea" SortField="InstallationArea"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="管道编号" ColumnID="ISO_IsoNo" DataField="ISO_IsoNo" SortField="ISO_IsoNo"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="焊口编号" ColumnID="JOT_JointNo" DataField="JOT_JointNo" SortField="JOT_JointNo"
|
||||
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
<f:RenderField HeaderText="检查时间" ColumnID="CheckDate" DataField="CheckDate" SortField="CheckDate"
|
||||
FieldType="Date" Renderer="Date" RendererArgument="yyyy-MM-dd" HeaderTextAlign="Center" TextAlign="Left" Width="180px" ExpandUnusedSpace="true">
|
||||
</f:RenderField>
|
||||
</Columns>
|
||||
<Listeners>
|
||||
<f:Listener Event="beforerowcontextmenu" Handler="onRowContextMenu" />
|
||||
</Listeners>
|
||||
<PageItems>
|
||||
<f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
|
||||
</f:ToolbarSeparator>
|
||||
<f:ToolbarText ID="ToolbarText1" runat="server" Text="每页记录数:">
|
||||
</f:ToolbarText>
|
||||
<f:DropDownList runat="server" ID="ddlPageSize" Width="80px" AutoPostBack="true"
|
||||
OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged">
|
||||
<f:ListItem Text="10" Value="10" />
|
||||
<f:ListItem Text="15" Value="15" />
|
||||
<f:ListItem Text="20" Value="20" />
|
||||
<f:ListItem Text="25" Value="25" />
|
||||
</f:DropDownList>
|
||||
</PageItems>
|
||||
</f:Grid>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
</Items>
|
||||
</f:Panel>
|
||||
<f:Window ID="Window1" Title="支管连接焊接接头、角焊接头组对焊接检查记录" Hidden="true" EnableIFrame="true" EnableMaximize="true"
|
||||
Target="top" EnableResize="true" runat="server" OnClose="Window1_Close" IsModal="true"
|
||||
Width="1100px" Height="620px">
|
||||
</f:Window>
|
||||
<f:Window ID="WindowPrint" Title="打印支管连接焊接接头、角焊接头组对焊接检查记录" Hidden="true" EnableIFrame="true" EnableMaximize="false"
|
||||
Target="Top" EnableResize="true" runat="server" IsModal="true" Width="1024px"
|
||||
Height="600px">
|
||||
</f:Window>
|
||||
<f:Menu ID="Menu1" runat="server">
|
||||
<f:MenuButton ID="btnMenuEdit" OnClick="btnMenuEdit_Click" EnablePostBack="true"
|
||||
runat="server" Text="编辑" Icon="TableEdit">
|
||||
</f:MenuButton>
|
||||
<f:MenuButton ID="btnMenuDelete" OnClick="btnMenuDelete_Click" EnablePostBack="true"
|
||||
ConfirmText="删除选中行?" ConfirmTarget="Top" runat="server" Text="删除" Icon="Delete">
|
||||
</f:MenuButton>
|
||||
</f:Menu>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var menuID = '<%= Menu1.ClientID %>';
|
||||
// 返回false,来阻止浏览器右键菜单
|
||||
function onRowContextMenu(event, rowId) {
|
||||
F(menuID).show(); //showAt(event.pageX, event.pageY);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,544 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Data.SqlClient;
|
||||
using System.Data;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class TeamWeldingInspection : PageBase
|
||||
{
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ddlPageSize.SelectedValue = this.Grid1.PageSize.ToString();
|
||||
|
||||
this.drpProjectId.DataTextField = "ProjectCode";
|
||||
this.drpProjectId.DataValueField = "ProjectId";
|
||||
this.drpProjectId.DataSource = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||
this.drpProjectId.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpProjectId);
|
||||
|
||||
Funs.FineUIPleaseSelect(this.drpUsingUnitTeam);
|
||||
Funs.FineUIPleaseSelect(this.drpInstallationArea);
|
||||
|
||||
this.InitTreeMenu();//加载树
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载树项目
|
||||
/// <summary>
|
||||
/// 加载树
|
||||
/// </summary>
|
||||
private void InitTreeMenu()
|
||||
{
|
||||
this.tvControlItem.Nodes.Clear();
|
||||
TreeNode rootNode = new TreeNode();
|
||||
rootNode.Text = "项目";
|
||||
rootNode.ToolTip = "项目";
|
||||
rootNode.NodeID = "0";
|
||||
rootNode.Expanded = true;
|
||||
this.tvControlItem.Nodes.Add(rootNode);
|
||||
|
||||
List<Model.Base_Project> projects = BLL.Base_ProjectService.GetOnProjectListByUserId(this.CurrUser.UserId, "1");
|
||||
if (this.drpProjectId.SelectedValue != BLL.Const._Null)
|
||||
{
|
||||
projects = projects.Where(e => e.ProjectId == this.drpProjectId.SelectedValue).ToList();
|
||||
}
|
||||
foreach (var item in projects)
|
||||
{
|
||||
TreeNode rootProjectNode = new TreeNode();//定义根节点
|
||||
rootProjectNode.Text = item.ProjectCode;
|
||||
rootProjectNode.NodeID = item.ProjectId;
|
||||
rootProjectNode.EnableClickEvent = true;
|
||||
rootProjectNode.Expanded = true;
|
||||
rootProjectNode.ToolTip = item.ProjectName;
|
||||
rootProjectNode.CommandName = "项目名称";
|
||||
rootNode.Nodes.Add(rootProjectNode);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 点击TreeView
|
||||
/// <summary>
|
||||
/// 点击TreeView
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void tvControlItem_NodeCommand(object sender, TreeCommandEventArgs e)
|
||||
{
|
||||
if (this.tvControlItem.SelectedNodeID != "0")
|
||||
{
|
||||
this.drpUsingUnitTeam.Items.Clear();
|
||||
this.drpUsingUnitTeam.DataTextField = "UsingUnitTeam";
|
||||
this.drpUsingUnitTeam.DataValueField = "UsingUnitTeam";
|
||||
this.drpUsingUnitTeam.DataSource = (from x in Funs.DB.JGZL_TeamWeldingInspection
|
||||
where x.ProjectId == this.tvControlItem.SelectedNodeID
|
||||
select x.UsingUnitTeam).Distinct().ToList();
|
||||
this.drpUsingUnitTeam.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpUsingUnitTeam);
|
||||
this.drpUsingUnitTeam.SelectedIndex = 0;
|
||||
|
||||
this.drpInstallationArea.Items.Clear();
|
||||
this.drpInstallationArea.DataTextField = "";
|
||||
this.drpInstallationArea.DataValueField = "";
|
||||
this.drpInstallationArea.DataSource= (from x in Funs.DB.JGZL_TeamWeldingInspection
|
||||
where x.ProjectId == this.tvControlItem.SelectedNodeID
|
||||
select x.InstallationArea).Distinct().ToList();
|
||||
this.drpInstallationArea.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpInstallationArea);
|
||||
|
||||
this.BindGrid();
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 数据绑定
|
||||
/// <summary>
|
||||
/// 数据绑定
|
||||
/// </summary>
|
||||
private void BindGrid()
|
||||
{
|
||||
//string projectIds = BLL.Base_ProjectService.GetStrOnProjectIds(this.CurrUser.UserId, "1");
|
||||
string strSql = @"select i.TeamWeldingInspectionItemId,
|
||||
i.TeamWeldingInspectionId,
|
||||
i.CheckDate,
|
||||
t.UsingUnitTeam,
|
||||
t.InstallationArea,
|
||||
i.PipelineNo,
|
||||
i.WeldingJointNo,
|
||||
iso.ISO_IsoNo,
|
||||
joint.JOT_JointNo,
|
||||
t.ProjectId
|
||||
from JGZL_TeamWeldingInspectionItem i
|
||||
left join JGZL_TeamWeldingInspection t on t.TeamWeldingInspectionId = i.TeamWeldingInspectionId
|
||||
left join HJGL_PW_IsoInfo iso on iso.ISO_ID = i.PipelineNo
|
||||
left join HJGL_PW_JointInfo joint on joint.JOT_ID= i.WeldingJointNo where 1=1";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
strSql += " AND t.ProjectId = @ProjectId";
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.tvControlItem.SelectedNodeID));
|
||||
}
|
||||
//else
|
||||
//{
|
||||
// strSql += " AND CHARINDEX(ProjectId,@ProjectId)>0 ";
|
||||
// listStr.Add(new SqlParameter("@ProjectId", projectIds));
|
||||
//}
|
||||
if (this.drpUsingUnitTeam.SelectedValue!=BLL.Const._Null&&!string.IsNullOrEmpty(this.drpUsingUnitTeam.SelectedValue))
|
||||
{
|
||||
strSql += " AND t.UsingUnitTeam = @UsingUnitTeam";
|
||||
listStr.Add(new SqlParameter("@UsingUnitTeam", this.drpUsingUnitTeam.SelectedValue));
|
||||
}
|
||||
if (this.drpInstallationArea.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpInstallationArea.SelectedValue))
|
||||
{
|
||||
strSql += " AND t.InstallationArea = @InstallationArea";
|
||||
listStr.Add(new SqlParameter("@InstallationArea", this.drpInstallationArea.SelectedValue));
|
||||
}
|
||||
if (!string.IsNullOrEmpty(this.txtCheckDate.Text))
|
||||
{
|
||||
strSql += " AND i.CheckDate = @checkDate";
|
||||
listStr.Add(new SqlParameter("@checkDate", Funs.GetNewDateTime(this.txtCheckDate.Text)));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
// 2.获取当前分页数据
|
||||
Grid1.RecordCount = tb.Rows.Count;
|
||||
//tb = GetFilteredTable(Grid1.FilteredData, tb);
|
||||
var table = this.GetPagedDataTable(Grid1, tb);
|
||||
Grid1.DataSource = table;
|
||||
Grid1.DataBind();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 分页排序
|
||||
#region 页索引改变事件
|
||||
/// <summary>
|
||||
/// 页索引改变事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 排序
|
||||
/// <summary>
|
||||
/// 排序
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_Sort(object sender, GridSortEventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 分页选择下拉改变事件
|
||||
/// <summary>
|
||||
/// 分页选择下拉改变事件
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 查询
|
||||
///<summary>
|
||||
///查询
|
||||
///</summary>
|
||||
///<param name="sender"></param>
|
||||
///<param name="e"></param>
|
||||
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 查询
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 打印
|
||||
/// <summary>
|
||||
/// 打印
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnPrint_Click(object sender, EventArgs e)
|
||||
{
|
||||
string projectId = this.tvControlItem.SelectedNodeID;
|
||||
|
||||
if (projectId != null)
|
||||
{
|
||||
if (string.IsNullOrEmpty(this.drpUsingUnitTeam.SelectedText) || this.drpUsingUnitTeam.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择使用单位/班组!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(this.drpInstallationArea.SelectedText) || this.drpInstallationArea.SelectedValue == BLL.Const._Null)
|
||||
{
|
||||
Alert.ShowInTop("请选择装置名称/施工区域!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
string initTemplatePath = "";
|
||||
string rootPath = Server.MapPath("~/");
|
||||
BLL.Common.FastReportService.ResetData();
|
||||
|
||||
string strSql = @"select i.TeamWeldingInspectionItemId,
|
||||
i.TeamWeldingInspectionId,
|
||||
i.CheckDate,
|
||||
t.UsingUnitTeam,
|
||||
t.InstallationArea,
|
||||
i.PipelineNo,
|
||||
i.WeldingJointNo,
|
||||
iso.ISO_IsoNo,
|
||||
joint.JOT_JointNo,
|
||||
t.ProjectId,
|
||||
i.Material,
|
||||
(case when i.InstallationMethod='安放式' then '√' else '' end) as InstallationMethod,
|
||||
(case when i.InstallationMethod='插入式' then '√' else '' end) as InstallationMethod2,
|
||||
i.WeldingWire,
|
||||
i.WeldingRod,
|
||||
i.TeamGap,
|
||||
i.TeamPlumber,
|
||||
i.TeamWelder,
|
||||
i.TeamInspector,
|
||||
i.GTAWWelder,
|
||||
i.GTAWInspector,
|
||||
i.SMAWWelder,
|
||||
i.VTInspector
|
||||
from JGZL_TeamWeldingInspectionItem i
|
||||
left join JGZL_TeamWeldingInspection t on t.TeamWeldingInspectionId = i.TeamWeldingInspectionId
|
||||
left join HJGL_PW_IsoInfo iso on iso.ISO_ID = i.PipelineNo
|
||||
left join HJGL_PW_JointInfo joint on joint.JOT_ID= i.WeldingJointNo where t.ProjectId=@ProjectId and t.UsingUnitTeam=@usingUnitTeam and t.InstallationArea=@installationArea ";
|
||||
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", projectId));
|
||||
listStr.Add(new SqlParameter("@usingUnitTeam", this.drpUsingUnitTeam.SelectedValue));
|
||||
listStr.Add(new SqlParameter("@installationArea", this.drpInstallationArea.SelectedValue));
|
||||
if (!string.IsNullOrEmpty(this.txtCheckDate.Text))
|
||||
{
|
||||
strSql += " and i.CheckDate=@checkDate";
|
||||
listStr.Add(new SqlParameter("@checkDate", Funs.GetNewDateTime(this.txtCheckDate.Text.Trim())));
|
||||
}
|
||||
SqlParameter[] parameter = listStr.ToArray();
|
||||
DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
|
||||
|
||||
DataTable dt = new DataTable();
|
||||
dt.TableName = "Data";
|
||||
dt.Columns.Add("Num");
|
||||
dt.Columns.Add("CheckDate");
|
||||
dt.Columns.Add("ISO_IsoNo");
|
||||
dt.Columns.Add("JOT_JointNo");
|
||||
dt.Columns.Add("Material");
|
||||
dt.Columns.Add("InstallationMethod");
|
||||
dt.Columns.Add("InstallationMethod2");
|
||||
dt.Columns.Add("WeldingWire");
|
||||
dt.Columns.Add("WeldingRod");
|
||||
dt.Columns.Add("TeamGap");
|
||||
dt.Columns.Add("TeamPlumber");
|
||||
dt.Columns.Add("TeamWelder");
|
||||
dt.Columns.Add("TeamInspector");
|
||||
dt.Columns.Add("GTAWWelder");
|
||||
dt.Columns.Add("GTAWInspector");
|
||||
dt.Columns.Add("SMAWWelder");
|
||||
dt.Columns.Add("VTInspector");
|
||||
|
||||
DataView dv = tb.DefaultView;//获取表视图
|
||||
dv.Sort = "CheckDate ASC";//按照ID倒序排序
|
||||
tb = dv.ToTable();//转为表
|
||||
DataRow[] rows = tb.DefaultView.ToTable().Select();
|
||||
int i = 0;
|
||||
foreach (var row in rows)
|
||||
{
|
||||
var newRow = dt.NewRow();
|
||||
newRow["Num"] = (i + 1).ToString();
|
||||
string CheckDate = string.Format("{0:yyyy-MM-dd}", row["CheckDate"]);
|
||||
newRow["CheckDate"] = CheckDate;
|
||||
newRow["ISO_IsoNo"] = row["ISO_IsoNo"].ToString();
|
||||
newRow["JOT_JointNo"] = row["JOT_JointNo"].ToString();
|
||||
newRow["Material"] = row["Material"].ToString();
|
||||
newRow["InstallationMethod"] = row["InstallationMethod"].ToString();
|
||||
newRow["InstallationMethod2"] = row["InstallationMethod2"].ToString();
|
||||
newRow["WeldingWire"] = row["WeldingWire"].ToString();
|
||||
newRow["WeldingRod"] = row["WeldingRod"].ToString();
|
||||
newRow["TeamGap"] = row["TeamGap"].ToString();
|
||||
newRow["TeamPlumber"] = row["TeamPlumber"].ToString();
|
||||
newRow["TeamWelder"] = row["TeamWelder"].ToString();
|
||||
newRow["TeamInspector"] = row["TeamInspector"].ToString();
|
||||
newRow["GTAWWelder"] = row["GTAWWelder"].ToString();
|
||||
newRow["GTAWInspector"] = row["GTAWInspector"].ToString();
|
||||
newRow["SMAWWelder"] = row["SMAWWelder"].ToString();
|
||||
newRow["VTInspector"] = row["VTInspector"].ToString();
|
||||
dt.Rows.Add(newRow);
|
||||
i++;
|
||||
}
|
||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||
keyValuePairs.Add("ProjectCode", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectCode);
|
||||
keyValuePairs.Add("UsingUnitTeam", this.drpUsingUnitTeam.SelectedText);
|
||||
keyValuePairs.Add("InstallationArea", this.drpInstallationArea.SelectedText);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\支管连接焊接接头、角焊接头组对焊接检查记录.frx";
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
{
|
||||
PageContext.RegisterStartupScript(WindowPrint.GetShowReference(String.Format("../common/ReportPrint/Fastreport.aspx?ReportPath={0}", rootPath + initTemplatePath)));
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 维护
|
||||
/// <summary>
|
||||
/// 增加
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnAdd_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TeamWeldingInspectionEdit.aspx?projectId={0}", this.tvControlItem.SelectedNodeID, "新增 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 双击编辑
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_TeamWeldingInspectionMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
|
||||
{
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TeamWeldingInspectionEdit.aspx?teamWeldingInspectionItemId={0}", this.Grid1.SelectedRowID, "编辑 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ShowNotify("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 右键编辑
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuEdit_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (BLL.CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.JGZL_TeamWeldingInspectionMenuId, BLL.Const.BtnModify))
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("TeamWeldingInspectionEdit.aspx?teamWeldingInspectionItemId={0}", Grid1.SelectedRowID, "维护 - ")));
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 右键删除
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnMenuDelete_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_TeamWeldingInspectionMenuId, Const.BtnDelete))
|
||||
{
|
||||
if (Grid1.SelectedRowIndexArray.Length == 0)
|
||||
{
|
||||
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
|
||||
bool isShow = true;
|
||||
if (Grid1.SelectedRowIndexArray.Length > 1)
|
||||
{
|
||||
isShow = false;
|
||||
}
|
||||
bool isDelete = false;
|
||||
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
|
||||
{
|
||||
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
|
||||
var item = BLL.TeamWeldingInspectionItemService.GetTeamWeldingInspectionItemById(rowID);
|
||||
if (item != null)
|
||||
{
|
||||
if (judgementDelete(rowID, isShow))
|
||||
{
|
||||
string id = item.TeamWeldingInspectionId;
|
||||
isDelete = true;
|
||||
BLL.TeamWeldingInspectionItemService.DeleteTeamWeldingInspectionItemById(rowID);
|
||||
var lists = BLL.TeamWeldingInspectionItemService.GetTeamWeldingInspectionItemList(id);
|
||||
if (lists.Count == 0)
|
||||
{
|
||||
BLL.TeamWeldingInspectionService.DeleteTeamWeldingInspectionById(id);
|
||||
}
|
||||
BLL.Sys_LogService.AddLog(BLL.Const.System_3, this.CurrUser.LoginProjectId, this.CurrUser.UserId, "删除支管连接焊接接头、角焊接头组对焊接检查记录");
|
||||
}
|
||||
}
|
||||
}
|
||||
if (isDelete)
|
||||
{
|
||||
ShowNotify("删除成功!", MessageBoxIcon.Success);
|
||||
}
|
||||
this.BindGrid();
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
}
|
||||
}
|
||||
|
||||
#region 判断是否可删除
|
||||
/// <summary>
|
||||
/// 判断是否可以删除
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
private bool judgementDelete(string id, bool isShow)
|
||||
{
|
||||
string content = string.Empty;
|
||||
|
||||
if (string.IsNullOrEmpty(content))
|
||||
{
|
||||
return true;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (isShow)
|
||||
{
|
||||
Alert.ShowInTop(content, MessageBoxIcon.Error);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#endregion
|
||||
|
||||
#region 关闭弹出窗口及刷新页面
|
||||
/// <summary>
|
||||
/// 关闭弹出窗口
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Window1_Close(object sender, WindowCloseEventArgs e)
|
||||
{
|
||||
this.InitTreeMenu();//加载树
|
||||
this.BindGrid();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 查询
|
||||
/// <summary>
|
||||
/// 查询
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void drpUsingUnitTeam_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
BindGrid();
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,251 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
|
||||
|
||||
public partial class TeamWeldingInspection
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// form1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// panelLeftRegion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelLeftRegion;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// drpProjectId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpProjectId;
|
||||
|
||||
/// <summary>
|
||||
/// tvControlItem 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Tree tvControlItem;
|
||||
|
||||
/// <summary>
|
||||
/// panelCenterRegion 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Panel panelCenterRegion;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnAdd 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnAdd;
|
||||
|
||||
/// <summary>
|
||||
/// btnPrint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnPrint;
|
||||
|
||||
/// <summary>
|
||||
/// Grid1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Grid Grid1;
|
||||
|
||||
/// <summary>
|
||||
/// Toolbar3 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar3;
|
||||
|
||||
/// <summary>
|
||||
/// drpUsingUnitTeam 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpUsingUnitTeam;
|
||||
|
||||
/// <summary>
|
||||
/// drpInstallationArea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpInstallationArea;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtCheckDate;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill2 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill2;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarSeparator1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarText1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarText ToolbarText1;
|
||||
|
||||
/// <summary>
|
||||
/// ddlPageSize 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList ddlPageSize;
|
||||
|
||||
/// <summary>
|
||||
/// Window1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window Window1;
|
||||
|
||||
/// <summary>
|
||||
/// WindowPrint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Window WindowPrint;
|
||||
|
||||
/// <summary>
|
||||
/// Menu1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Menu Menu1;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuEdit 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuEdit;
|
||||
|
||||
/// <summary>
|
||||
/// btnMenuDelete 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.MenuButton btnMenuDelete;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,88 @@
|
|||
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="TeamWeldingInspectionEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.TeamWeldingInspectionEdit" %>
|
||||
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
|
||||
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
|
||||
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
|
||||
<Toolbars>
|
||||
<f:Toolbar ID="Toolbar1" Position="Bottom" runat="server" ToolbarAlign="Right">
|
||||
<Items>
|
||||
<f:ToolbarFill ID="ToolbarFill1" runat="server">
|
||||
</f:ToolbarFill>
|
||||
<f:Button ID="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
|
||||
OnClick="btnSave_Click">
|
||||
</f:Button>
|
||||
</Items>
|
||||
</f:Toolbar>
|
||||
</Toolbars>
|
||||
<Rows>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtUsingUnitTeam" runat="server" Label="使用单位/班组" LabelAlign="Right" LabelWidth="110px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
<f:TextBox ID="txtInstallationArea" runat="server" Label="装置名称/施工区域" LabelAlign="Right" LabelWidth="110px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DatePicker ID="txtCheckDate" runat="server" Label="检查时间" LabelAlign="Right" LabelWidth="110px" Required="true" ShowRedStar="true"></f:DatePicker>
|
||||
<f:TextBox ID="txtMaterial" runat="server" Label="材质" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:DropDownList ID="drpPipeline" runat="server" Label="管道编号" LabelAlign="Right" LabelWidth="110px" Required="true" ShowRedStar="true" AutoPostBack="true" OnSelectedIndexChanged="drpPipeline_SelectedIndexChanged"></f:DropDownList>
|
||||
<f:DropDownList ID="drpWeldingJoint" runat="server" Label="焊口编号" LabelAlign="Right" LabelWidth="110px" Required="true" ShowRedStar="true"></f:DropDownList>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:RadioButtonList ID="rblInstallationMethod" runat="server" Label="安装方式" LabelAlign="Right" LabelWidth="110px" Required="true" ShowRedStar="true">
|
||||
<f:RadioItem Value="安放式" Text="安放式" Selected="true" />
|
||||
<f:RadioItem Value="插入式" Text="插入式" />
|
||||
</f:RadioButtonList>
|
||||
<f:TextBox ID="txtWeldingWire" runat="server" Label="所用焊丝牌号" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtWeldingRod" runat="server" Label="所用焊条牌号" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtTeamGap" runat="server" Label="组队间隙mm" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtTeamPlumber" runat="server" Label="组队确认-管工" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtTeamWelder" runat="server" Label="组队确认-焊工" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtTeamInspector" runat="server" Label="组队确认-质检员" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtGTAWWelder" runat="server" Label="GTAW-焊工" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtGTAWInspector" runat="server" Label="GTAW-质检员" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
<f:TextBox ID="txtSMAWWelder" runat="server" Label="SMAW-焊工" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
<f:FormRow>
|
||||
<Items>
|
||||
<f:TextBox ID="txtVTInspector" runat="server" Label="焊缝VT-质检员" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
|
||||
<f:HiddenField ID="hdId" runat="server"></f:HiddenField>
|
||||
</Items>
|
||||
</f:FormRow>
|
||||
</Rows>
|
||||
</f:Form>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,202 @@
|
|||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
public partial class TeamWeldingInspectionEdit : PageBase
|
||||
{
|
||||
#region 定义项
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
private string TeamWeldingInspectionItemId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["TeamWeldingInspectionItemId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["TeamWeldingInspectionItemId"] = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 项目Id
|
||||
/// </summary>
|
||||
private string ProjectId
|
||||
{
|
||||
get
|
||||
{
|
||||
return (string)ViewState["ProjectId"];
|
||||
}
|
||||
set
|
||||
{
|
||||
ViewState["ProjectId"] = value;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 加载页面
|
||||
/// <summary>
|
||||
/// 加载页面
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
if (!IsPostBack)
|
||||
{
|
||||
this.ProjectId = Request.Params["projectId"];
|
||||
this.TeamWeldingInspectionItemId = Request.Params["teamWeldingInspectionItemId"];
|
||||
if (!string.IsNullOrEmpty(this.TeamWeldingInspectionItemId))
|
||||
{
|
||||
var item = BLL.TeamWeldingInspectionItemService.GetTeamWeldingInspectionItemById(this.TeamWeldingInspectionItemId);
|
||||
if (item != null)
|
||||
{
|
||||
var report = BLL.TeamWeldingInspectionService.GetTeamWeldingInspectionById(item.TeamWeldingInspectionId);
|
||||
if (report != null)
|
||||
{
|
||||
this.ProjectId = report.ProjectId;
|
||||
this.drpPipeline.DataTextField = "ISO_IsoNo";
|
||||
this.drpPipeline.DataValueField = "ISO_ID";
|
||||
this.drpPipeline.DataSource = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.ProjectId orderby x.ISO_IsoNo select x).ToList();
|
||||
this.drpPipeline.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpPipeline);
|
||||
|
||||
this.txtUsingUnitTeam.Text = report.UsingUnitTeam;
|
||||
this.txtInstallationArea.Text = report.InstallationArea;
|
||||
}
|
||||
txtCheckDate.Text = item.CheckDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.CheckDate) : "";
|
||||
txtMaterial.Text = item.Material;
|
||||
if (!string.IsNullOrEmpty(item.PipelineNo))
|
||||
{
|
||||
this.drpPipeline.SelectedValue = item.PipelineNo;
|
||||
this.drpWeldingJoint.DataTextField = "JOT_JointNo";
|
||||
this.drpWeldingJoint.DataValueField = "JOT_ID";
|
||||
this.drpWeldingJoint.DataSource = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == this.drpPipeline.SelectedValue select x).ToList().OrderBy(x=>x.Sort1).OrderBy(x => x.Sort2).OrderBy(x => x.Sort3).OrderBy(x => x.Sort4).OrderBy(x => x.Sort5);
|
||||
this.drpWeldingJoint.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpWeldingJoint);
|
||||
}
|
||||
if (!string.IsNullOrEmpty(item.WeldingJointNo))
|
||||
{
|
||||
this.drpWeldingJoint.SelectedValue = item.WeldingJointNo;
|
||||
}
|
||||
rblInstallationMethod.SelectedValue = item.InstallationMethod;
|
||||
txtWeldingWire.Text = item.WeldingWire;
|
||||
txtWeldingRod.Text = item.WeldingRod;
|
||||
txtTeamGap.Text = item.TeamGap;
|
||||
txtTeamPlumber.Text = item.TeamPlumber;
|
||||
txtTeamWelder.Text = item.TeamWelder;
|
||||
txtTeamInspector.Text = item.TeamInspector;
|
||||
txtGTAWWelder.Text = item.GTAWWelder;
|
||||
txtGTAWInspector.Text = item.GTAWInspector;
|
||||
txtSMAWWelder.Text = item.SMAWWelder;
|
||||
txtVTInspector.Text = item.VTInspector;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.drpPipeline.DataTextField = "ISO_IsoNo";
|
||||
this.drpPipeline.DataValueField = "ISO_ID";
|
||||
this.drpPipeline.DataSource = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.ProjectId orderby x.ISO_IsoNo select x).ToList();
|
||||
this.drpPipeline.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpPipeline);
|
||||
Funs.FineUIPleaseSelect(this.drpWeldingJoint);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 提交按钮
|
||||
/// <summary>
|
||||
/// 提交按钮
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnSave_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.JGZL_TeamWeldingInspectionMenuId, Const.BtnSave))
|
||||
{
|
||||
if (this.drpPipeline.SelectedValue==BLL.Const._Null||string.IsNullOrEmpty(this.drpPipeline.SelectedValue))
|
||||
{
|
||||
Alert.ShowInTop("请选择管道编号!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
if (this.drpWeldingJoint.SelectedValue == BLL.Const._Null || string.IsNullOrEmpty(this.drpWeldingJoint.SelectedValue))
|
||||
{
|
||||
Alert.ShowInTop("请选择焊口编号!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
Model.JGZL_TeamWeldingInspection newReport = new Model.JGZL_TeamWeldingInspection();
|
||||
newReport.ProjectId = this.ProjectId;
|
||||
newReport.UsingUnitTeam = this.txtUsingUnitTeam.Text.Trim();
|
||||
newReport.InstallationArea = this.txtInstallationArea.Text.Trim();
|
||||
newReport.CompileMan = this.CurrUser.UserId;
|
||||
newReport.CompileDate = DateTime.Now;
|
||||
|
||||
Model.JGZL_TeamWeldingInspectionItem newItem = new Model.JGZL_TeamWeldingInspectionItem();
|
||||
newItem.CheckDate = Funs.GetNewDateTime(this.txtCheckDate.Text);
|
||||
newItem.Material = this.txtMaterial.Text;
|
||||
newItem.PipelineNo = this.drpPipeline.SelectedValue;
|
||||
newItem.WeldingJointNo = this.drpWeldingJoint.SelectedValue;
|
||||
newItem.InstallationMethod = this.rblInstallationMethod.SelectedValue;
|
||||
newItem.WeldingWire = this.txtWeldingWire.Text.Trim();
|
||||
newItem.WeldingRod = this.txtWeldingRod.Text.Trim();
|
||||
newItem.TeamGap = this.txtTeamGap.Text.Trim();
|
||||
newItem.TeamPlumber=this.txtTeamPlumber.Text.Trim();
|
||||
newItem.TeamWelder = this.txtTeamWelder.Text.Trim();
|
||||
newItem.TeamInspector = this.txtTeamInspector.Text.Trim();
|
||||
newItem.GTAWWelder =this.txtGTAWWelder.Text.Trim();
|
||||
newItem.GTAWInspector=this.txtGTAWInspector.Text.Trim();
|
||||
newItem.SMAWWelder=this.txtSMAWWelder.Text.Trim();
|
||||
newItem.VTInspector = this.txtVTInspector.Text.Trim();
|
||||
|
||||
if (!string.IsNullOrEmpty(this.TeamWeldingInspectionItemId))
|
||||
{
|
||||
newItem.TeamWeldingInspectionItemId = this.TeamWeldingInspectionItemId;
|
||||
var item = BLL.TeamWeldingInspectionItemService.GetTeamWeldingInspectionItemById(this.TeamWeldingInspectionItemId);
|
||||
newReport.TeamWeldingInspectionId = item.TeamWeldingInspectionId;
|
||||
BLL.TeamWeldingInspectionService.UpdateTeamWeldingInspection(newReport);
|
||||
BLL.TeamWeldingInspectionItemService.UpdateTeamWeldingInspectionItem(newItem);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
newReport.TeamWeldingInspectionId = SQLHelper.GetNewID(typeof(Model.JGZL_TeamWeldingInspection));
|
||||
BLL.TeamWeldingInspectionService.AddTeamWeldingInspection(newReport);
|
||||
newItem.TeamWeldingInspectionId = newReport.TeamWeldingInspectionId;
|
||||
newItem.TeamWeldingInspectionItemId = SQLHelper.GetNewID(typeof(Model.JGZL_TeamWeldingInspectionItem));
|
||||
BLL.TeamWeldingInspectionItemService.AddTeamWeldingInspectionItem(newItem);
|
||||
}
|
||||
ShowNotify("保存成功!", MessageBoxIcon.Success);
|
||||
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
|
||||
}
|
||||
else
|
||||
{
|
||||
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
|
||||
return;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
protected void drpPipeline_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
this.drpWeldingJoint.Items.Clear();
|
||||
if (this.drpPipeline.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpPipeline.SelectedValue))
|
||||
{
|
||||
this.drpWeldingJoint.DataTextField = "JOT_JointNo";
|
||||
this.drpWeldingJoint.DataValueField = "JOT_ID";
|
||||
this.drpWeldingJoint.DataSource = (from x in Funs.DB.HJGL_PW_JointInfo where x.ISO_ID == this.drpPipeline.SelectedValue select x).ToList().OrderBy(x => x.Sort1).OrderBy(x => x.Sort2).OrderBy(x => x.Sort3).OrderBy(x => x.Sort4).OrderBy(x => x.Sort5);
|
||||
this.drpWeldingJoint.DataBind();
|
||||
}
|
||||
Funs.FineUIPleaseSelect(this.drpWeldingJoint);
|
||||
this.drpWeldingJoint.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,233 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <自动生成>
|
||||
// 此代码由工具生成。
|
||||
//
|
||||
// 对此文件的更改可能导致不正确的行为,如果
|
||||
// 重新生成代码,则所做更改将丢失。
|
||||
// </自动生成>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace FineUIPro.Web.JGZL
|
||||
{
|
||||
|
||||
|
||||
public partial class TeamWeldingInspectionEdit
|
||||
{
|
||||
|
||||
/// <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>
|
||||
/// Toolbar1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Toolbar Toolbar1;
|
||||
|
||||
/// <summary>
|
||||
/// ToolbarFill1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ToolbarFill ToolbarFill1;
|
||||
|
||||
/// <summary>
|
||||
/// btnSave 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnSave;
|
||||
|
||||
/// <summary>
|
||||
/// txtUsingUnitTeam 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtUsingUnitTeam;
|
||||
|
||||
/// <summary>
|
||||
/// txtInstallationArea 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtInstallationArea;
|
||||
|
||||
/// <summary>
|
||||
/// txtCheckDate 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DatePicker txtCheckDate;
|
||||
|
||||
/// <summary>
|
||||
/// txtMaterial 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtMaterial;
|
||||
|
||||
/// <summary>
|
||||
/// drpPipeline 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpPipeline;
|
||||
|
||||
/// <summary>
|
||||
/// drpWeldingJoint 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.DropDownList drpWeldingJoint;
|
||||
|
||||
/// <summary>
|
||||
/// rblInstallationMethod 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.RadioButtonList rblInstallationMethod;
|
||||
|
||||
/// <summary>
|
||||
/// txtWeldingWire 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWeldingWire;
|
||||
|
||||
/// <summary>
|
||||
/// txtWeldingRod 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtWeldingRod;
|
||||
|
||||
/// <summary>
|
||||
/// txtTeamGap 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTeamGap;
|
||||
|
||||
/// <summary>
|
||||
/// txtTeamPlumber 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTeamPlumber;
|
||||
|
||||
/// <summary>
|
||||
/// txtTeamWelder 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTeamWelder;
|
||||
|
||||
/// <summary>
|
||||
/// txtTeamInspector 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtTeamInspector;
|
||||
|
||||
/// <summary>
|
||||
/// txtGTAWWelder 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtGTAWWelder;
|
||||
|
||||
/// <summary>
|
||||
/// txtGTAWInspector 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtGTAWInspector;
|
||||
|
||||
/// <summary>
|
||||
/// txtSMAWWelder 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtSMAWWelder;
|
||||
|
||||
/// <summary>
|
||||
/// txtVTInspector 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.TextBox txtVTInspector;
|
||||
|
||||
/// <summary>
|
||||
/// hdId 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.HiddenField hdId;
|
||||
}
|
||||
}
|
||||
|
|
@ -11,7 +11,7 @@
|
|||
<FineUIPro DebugMode="false" Theme="Cupertino"/>
|
||||
<appSettings>
|
||||
<!--连接字符串-->
|
||||
<add key="ConnectionString" value="Server=.\MSSQLSERVER2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
|
||||
<add key="ConnectionString" value="Server=.\SQL2022;Database=HJGLDB_DS;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Max Pool Size = 1000;Connect Timeout=1200"/>
|
||||
<!--系统名称-->
|
||||
<add key="SystemName" value="诺必达焊接管理系统"/>
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||
|
|
@ -67,7 +67,7 @@
|
|||
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
|
||||
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
|
||||
</httpHandlers>
|
||||
<compilation debug="true" targetFramework="4.6.1">
|
||||
<compilation debug="false" targetFramework="4.6.1">
|
||||
<assemblies>
|
||||
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
</assemblies>
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
||||
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||
<NameOfLastUsedPublishProfile>FolderProfile</NameOfLastUsedPublishProfile>
|
||||
<UseIISExpress>true</UseIISExpress>
|
||||
<Use64BitIISExpress />
|
||||
|
|
|
|||
Loading…
Reference in New Issue