20260325 试压包资料

This commit is contained in:
毕文静 2026-03-25 16:30:59 +08:00
parent 58a336a7fe
commit 665d00a975
35 changed files with 1696 additions and 35 deletions

View File

@ -0,0 +1,65 @@
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
values('3EAFF140-E5CA-4978-B83D-D2C9F36E0D52','桿箕관栗죕','',260,'0','3')
go
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
values('66113AA7-C41B-4FE6-BAA0-69B3E74592A3','桿箕관룐충','SYBData/Cover.aspx',10,'3EAFF140-E5CA-4978-B83D-D2C9F36E0D52','3')
go
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('F4FEA187-7E49-4FDE-885E-ACCA46FCD848','66113AA7-C41B-4FE6-BAA0-69B3E74592A3','藤속',1)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('6E0A7FFF-287E-4EE8-BF09-FB17C745077D','66113AA7-C41B-4FE6-BAA0-69B3E74592A3','錦맣',2)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('E3DE73B0-6574-4C13-B621-275C162F5DD3','66113AA7-C41B-4FE6-BAA0-69B3E74592A3','<EFBFBD>',3)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('BA7474D2-B419-44F0-BB41-683EE9B0162B','66113AA7-C41B-4FE6-BAA0-69B3E74592A3','괏닸',4)
go
CREATE TABLE [dbo].[SYBData_Cover](
[CoverId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[InstallationName] [nvarchar](50) NULL,
[UnitWorkName] [nvarchar](50) NULL,
[PressureTestPackageCode] [nvarchar](50) NULL,
[TestPressure] [nvarchar](50) NULL,
[TestDate] [datetime] NULL,
CONSTRAINT [PK_SYBData_Cover] PRIMARY KEY CLUSTERED
(
[CoverId] 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].[SYBData_Cover] WITH CHECK ADD CONSTRAINT [FK_SYBData_Cover_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[SYBData_Cover] CHECK CONSTRAINT [FK_SYBData_Cover_Base_Project]
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'寮숩' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SYBData_Cover', @level2type=N'COLUMN',@level2name=N'CoverId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'淃커Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SYBData_Cover', @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'SYBData_Cover', @level2type=N'COLUMN',@level2name=N'InstallationName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'데貫묏넋츰냔' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SYBData_Cover', @level2type=N'COLUMN',@level2name=N'UnitWorkName'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'桿箕관뵀' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SYBData_Cover', @level2type=N'COLUMN',@level2name=N'PressureTestPackageCode'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'桿駱箕제' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SYBData_Cover', @level2type=N'COLUMN',@level2name=N'TestPressure'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'桿駱휑퍅' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SYBData_Cover', @level2type=N'COLUMN',@level2name=N'TestDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'桿箕관룐충' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'SYBData_Cover'
GO

View File

@ -299,6 +299,7 @@
<Compile Include="SoftRegeditService.cs" /> <Compile Include="SoftRegeditService.cs" />
<Compile Include="SQLHelper.cs" /> <Compile Include="SQLHelper.cs" />
<Compile Include="Common\UploadFileService.cs" /> <Compile Include="Common\UploadFileService.cs" />
<Compile Include="SYBData\CoverService.cs" />
<Compile Include="WeldMat\BaseInfo\SpecificationsService.cs" /> <Compile Include="WeldMat\BaseInfo\SpecificationsService.cs" />
<Compile Include="WeldMat\BaseInfo\StoremanInfoService.cs" /> <Compile Include="WeldMat\BaseInfo\StoremanInfoService.cs" />
<Compile Include="WeldMat\BaseInfo\SupplierService.cs" /> <Compile Include="WeldMat\BaseInfo\SupplierService.cs" />

View File

@ -1917,6 +1917,13 @@ namespace BLL
#endregion #endregion
#region Id
/// <summary>
/// 试压包封面
/// </summary>
public const string SYBData_CoverMenuId = "66113AA7-C41B-4FE6-BAA0-69B3E74592A3";
#endregion
#region ID #region ID
/// <summary> /// <summary>
@ -2477,9 +2484,25 @@ namespace BLL
/// </summary> /// </summary>
public const string JGZL_HandoverCertificateUrl = "File\\Word\\JGZL\\工程中间交接证书导出模板.docx"; public const string JGZL_HandoverCertificateUrl = "File\\Word\\JGZL\\工程中间交接证书导出模板.docx";
/// <summary>
/// 工程交工验收证书导出模板
/// </summary>
public const string JGZL_AcceptanceCertificateUrl = "File\\Word\\JGZL\\工程交工验收证书导出模板.docx";
/// <summary>
/// 工程联络单导出模板
/// </summary>
public const string JGZL_ContactUrl = "File\\Word\\JGZL\\工程联络单导出模板.docx";
/// <summary>
/// 施工图核查记录导出模板
/// </summary>
public const string JGZL_ConDrawingVerificationUrl = "File\\Word\\JGZL\\施工图核查记录导出模板.docx";
/// <summary>
/// 合格焊工登记表导出模板
/// </summary>
public const string JGZL_QualifiedWelderUrl = "File\\Word\\JGZL\\合格焊工登记表导出模板.docx";
/// <summary> /// <summary>
/// 工序交接记录导出模板 /// 工序交接记录导出模板

View File

@ -0,0 +1,78 @@
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
/// <summary>
/// 试压包资料封面
/// </summary>
public class CoverService
{
/// <summary>
/// 根据项目Id获取封面信息
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static Model.SYBData_Cover GetConverByProjectId(string projectId)
{
return Funs.DB.SYBData_Cover.FirstOrDefault(e => e.ProjectId == projectId);
}
/// <summary>
/// 添加封面
/// </summary>
/// <param name="cover"></param>
public static void AddCover(Model.SYBData_Cover cover)
{
SGGLDB db = Funs.DB;
Model.SYBData_Cover newCovert = new SYBData_Cover();
newCovert.CoverId = cover.CoverId;
newCovert.ProjectId = cover.ProjectId;
newCovert.InstallationName = cover.InstallationName;
newCovert.UnitWorkName = cover.UnitWorkName;
newCovert.PressureTestPackageCode = cover.PressureTestPackageCode;
newCovert.TestPressure = cover.TestPressure;
newCovert.TestDate = cover.TestDate;
db.SYBData_Cover.InsertOnSubmit(newCovert);
db.SubmitChanges();
}
/// <summary>
/// 修改封面
/// </summary>
/// <param name="cover"></param>
public static void UpdateCover(Model.SYBData_Cover cover)
{
SGGLDB db = Funs.DB;
Model.SYBData_Cover newCovert = db.SYBData_Cover.FirstOrDefault(e => e.CoverId == cover.CoverId);
if (newCovert != null)
{
newCovert.InstallationName = cover.InstallationName;
newCovert.UnitWorkName = cover.UnitWorkName;
newCovert.PressureTestPackageCode = cover.PressureTestPackageCode;
newCovert.TestPressure = cover.TestPressure;
newCovert.TestDate = cover.TestDate;
db.SubmitChanges();
}
}
/// <summary>
/// 根据项目Id删除封面
/// </summary>
/// <param name="projectId"></param>
public static void DeleteCoverByProjectId(string projectId)
{
SGGLDB db = Funs.DB;
Model.SYBData_Cover cover = db.SYBData_Cover.FirstOrDefault(e => e.ProjectId == projectId);
if (cover != null)
{
db.SYBData_Cover.DeleteOnSubmit(cover);
db.SubmitChanges();
}
}
}
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="02/09/2026 11:02:02" ReportInfo.Modified="03/19/2026 09:27:52" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" DoublePass="true" ReportInfo.Created="02/09/2026 11:02:02" ReportInfo.Modified="03/20/2026 09:47:12" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@ -51,7 +51,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFpIePiT3/qx525jbed3JeoA=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF+ZeeHqWx7GTHsZYv7jySOA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="SerialNumber" DataType="System.String" PropName="attach_image_id"/> <Column Name="SerialNumber" DataType="System.String" PropName="attach_image_id"/>
<Column Name="FileCode" DataType="System.String" PropName="image_series"/> <Column Name="FileCode" DataType="System.String" PropName="image_series"/>
@ -62,14 +62,14 @@ namespace FastReport
<Parameter Name="ProjectName" DataType="System.String"/> <Parameter Name="ProjectName" DataType="System.String"/>
</Dictionary> </Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.4,129.28,390.86,475.91,34.78,138.73,261.58,507.67,646.37,45.83,242.86,515.49,646.38,323.19"> <ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.4,129.28,390.86,475.91,34.78,138.73,261.58,507.67,646.37,45.83,242.86,515.49,646.38,323.19">
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="113.4" Guides="0,113.4,75.6,9.45,28.35,37.8"> <PageHeaderBand Name="PageHeader1" Width="646.38" Height="103.95" Guides="0,103.95,66.15,9.45,28.35,37.8">
<TableObject Name="Table1" Width="646.4" Height="113.4" Border.Lines="Left"> <TableObject Name="Table1" Width="646.4" Height="103.95" Border.Lines="Left">
<TableColumn Name="Column1" Width="129.28"/> <TableColumn Name="Column1" Width="129.28"/>
<TableColumn Name="Column2" Width="261.58"/> <TableColumn Name="Column2" Width="261.58"/>
<TableColumn Name="Column3" Width="82.03"/> <TableColumn Name="Column3" Width="82.03"/>
<TableColumn Name="Column4" Width="34.78"/> <TableColumn Name="Column4" Width="34.78"/>
<TableColumn Name="Column5" Width="138.73"/> <TableColumn Name="Column5" Width="138.73"/>
<TableRow Name="Row1" Height="75.6"> <TableRow Name="Row1" Height="66.15">
<TableCell Name="Cell1" Border.Lines="Top, Bottom" Text="SH/T 3503—J103" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" RowSpan="2"/> <TableCell Name="Cell1" Border.Lines="Top, Bottom" Text="SH/T 3503—J103" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" RowSpan="2"/>
<TableCell Name="Cell2" Border.Lines="All" Text="交工技术文件目录" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold" RowSpan="2"/> <TableCell Name="Cell2" Border.Lines="All" Text="交工技术文件目录" HorzAlign="Center" VertAlign="Center" Font="思源宋体 CN, 16pt, style=Bold" RowSpan="2"/>
<TableCell Name="Cell3" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Padding="2, 10, 2, 1" Font="楷体, 10.5pt" ColSpan="3"> <TableCell Name="Cell3" Border.Lines="Left, Right, Top" Text=" [ProjectName]" Padding="2, 10, 2, 1" Font="楷体, 10.5pt" ColSpan="3">
@ -86,7 +86,7 @@ namespace FastReport
<TableCell Name="Cell10" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/> <TableCell Name="Cell10" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow> </TableRow>
</TableObject> </TableObject>
<ChildBand Name="Child1" Top="117.4" Width="646.38" Height="34.85" Guides="0,34.85"> <ChildBand Name="Child1" Top="107.95" Width="646.38" Height="34.85" Guides="0,34.85">
<TableObject Name="Table2" Width="646.37" Height="34.85" Border.Lines="All"> <TableObject Name="Table2" Width="646.37" Height="34.85" Border.Lines="All">
<TableColumn Name="Column6" Width="45.83"/> <TableColumn Name="Column6" Width="45.83"/>
<TableColumn Name="Column7" Width="197.03"/> <TableColumn Name="Column7" Width="197.03"/>
@ -101,7 +101,7 @@ namespace FastReport
</TableObject> </TableObject>
</ChildBand> </ChildBand>
</PageHeaderBand> </PageHeaderBand>
<DataBand Name="Data1" Top="156.25" Width="646.38" Height="34.85" Guides="0,34.85"> <DataBand Name="Data1" Top="146.8" Width="646.38" Height="34.85" Guides="0,34.85">
<TableObject Name="Table3" Width="646.37" Height="34.85" Border.Lines="All" ManualBuildEvent="Table3_ManualBuild"> <TableObject Name="Table3" Width="646.37" Height="34.85" Border.Lines="All" ManualBuildEvent="Table3_ManualBuild">
<TableColumn Name="Column10" Width="45.83"/> <TableColumn Name="Column10" Width="45.83"/>
<TableColumn Name="Column11" Width="197.03"/> <TableColumn Name="Column11" Width="197.03"/>
@ -115,8 +115,8 @@ namespace FastReport
</TableRow> </TableRow>
</TableObject> </TableObject>
</DataBand> </DataBand>
<ColumnFooterBand Name="ColumnFooter1" Top="233.95" Width="646.38"> <ColumnFooterBand Name="ColumnFooter1" Top="224.5" Width="646.38">
<ChildBand Name="Child2" Top="195.1" Width="646.38" Height="34.85" Guides="0,34.85" FillUnusedSpace="true"> <ChildBand Name="Child2" Top="185.65" Width="646.38" Height="34.85" Guides="0,34.85" FillUnusedSpace="true">
<TableObject Name="Table4" Width="646.37" Height="34.85" Border.Lines="All"> <TableObject Name="Table4" Width="646.37" Height="34.85" Border.Lines="All">
<TableColumn Name="Column14" Width="45.83"/> <TableColumn Name="Column14" Width="45.83"/>
<TableColumn Name="Column15" Width="197.03"/> <TableColumn Name="Column15" Width="197.03"/>
@ -131,13 +131,13 @@ namespace FastReport
</TableObject> </TableObject>
</ChildBand> </ChildBand>
</ColumnFooterBand> </ColumnFooterBand>
<PageFooterBand Name="PageFooter1" Top="237.95" Width="646.38" Height="94.5" BeforePrintEvent="PageFooter1_BeforePrint" Guides="0,94.5,31.5,63"> <PageFooterBand Name="PageFooter1" Top="228.5" Width="646.38" Height="103.95" PrintOn="LastPage" BeforePrintEvent="PageFooter1_BeforePrint" Guides="0,103.95,40.95,72.45">
<TableObject Name="Table5" Width="646.38" Height="94.5" Border.Lines="Left"> <TableObject Name="Table5" Width="646.38" Height="103.95" Border.Lines="Left">
<TableColumn Name="Column18" Width="323.19"/> <TableColumn Name="Column18" Width="323.19"/>
<TableColumn Name="Column19" Width="323.19"/> <TableColumn Name="Column19" Width="323.19"/>
<TableRow Name="Row6" Height="31.5"> <TableRow Name="Row6" Height="40.95">
<TableCell Name="Cell23" Border.Lines="Right, Top" Text="编制人:" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell23" Border.Lines="Right" Text="编制人:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell24" Border.Lines="Right, Top" Text="审核人:" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell24" Border.Lines="Right" Text="审核人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow> </TableRow>
<TableRow Name="Row7" Height="31.5"> <TableRow Name="Row7" Height="31.5">
<TableCell Name="Cell28" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/> <TableCell Name="Cell28" Border.Lines="Right" VertAlign="Center" Font="宋体, 10.5pt"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="07/15/2025 14:12:53" ReportInfo.Modified="03/19/2026 11:14:49" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="07/15/2025 14:12:53" ReportInfo.Modified="03/23/2026 10:39:19" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@ -42,7 +42,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFtuUuSL2ESZrQTY/R1JLVcg=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF047VYmDcP6vBveqw76lDAA==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="Number" DataType="System.String" PropName="attach_image_id"/> <Column Name="Number" DataType="System.String" PropName="attach_image_id"/>
<Column Name="WED_Name" DataType="System.String" PropName="image_series"/> <Column Name="WED_Name" DataType="System.String" PropName="image_series"/>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/18/2025 17:45:45" ReportInfo.Modified="03/19/2026 11:22:14" ReportInfo.CreatorVersion="2017.1.16.0"> <Report ScriptLanguage="CSharp" ReportInfo.Created="12/18/2025 17:45:45" ReportInfo.Modified="03/23/2026 17:09:14" ReportInfo.CreatorVersion="2017.1.16.0">
<ScriptText>using System; <ScriptText>using System;
using System.Collections; using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
@ -42,7 +42,7 @@ namespace FastReport
} }
</ScriptText> </ScriptText>
<Dictionary> <Dictionary>
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFQYzz+23XPcbv1F0GHaeb2w=="> <MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF+XklA6u6LtC9OLOQh72eag==">
<TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data"> <TableDataSource Name="Data" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="Data">
<Column Name="PersonName" DataType="System.String" PropName="attach_image_id"/> <Column Name="PersonName" DataType="System.String" PropName="attach_image_id"/>
<Column Name="CertificateNumber" DataType="System.String" PropName="image_series"/> <Column Name="CertificateNumber" DataType="System.String" PropName="image_series"/>

View File

@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="03/24/2026 16:52:01" ReportInfo.Modified="03/24/2026 17:09:16" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="InstallationName" DataType="System.String"/>
<Parameter Name="UnitWorkName" DataType="System.String"/>
<Parameter Name="PressureTestPackageCode" DataType="System.String"/>
<Parameter Name="TestPressure" DataType="System.String"/>
<Parameter Name="TestDate" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="141.75,434.7,28.35,633.28,146.58,359.1,623.68,491.39,378,472.5,18.9,576.51,132.33">
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="151.2" Guides="37.8,94.5">
<TextObject Name="Text1" Left="141.75" Top="37.8" Width="292.95" Height="56.7" Text="压力试验包" HorzAlign="Center" VertAlign="Center" Font="宋体, 35.5pt"/>
</PageHeaderBand>
<DataBand Name="Data1" Top="155.2" Width="646.38" Height="396.9" Guides="9.45,141.75,0,44.1,88.2,132.3,245.7,359.1,37.8,75.6,113.4">
<TableObject Name="Table1" Left="28.35" Top="9.45" Width="604.93" Height="132.3">
<TableColumn Name="Column1" Width="118.23"/>
<TableColumn Name="Column2" Width="486.7"/>
<TableRow Name="Row1" Height="44.1">
<TableCell Name="Cell1" Text="工程名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell2" Text="[ProjectName]" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row2" Height="44.1">
<TableCell Name="Cell6" Text="装置名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell7" Text="[InstallationName]" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row3" Height="44.1">
<TableCell Name="Cell11" Text="单元名称:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell12" Text="[UnitWorkName]" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
</TableObject>
<TableObject Name="Table3" Left="359.1" Top="245.7" Width="264.58" Height="113.4">
<TableColumn Name="Column5" Width="132.29"/>
<TableColumn Name="Column6" Width="132.29"/>
<TableRow Name="Row7" Height="37.8">
<TableCell Name="Cell25">
<PictureObject Name="Picture1" Left="18.9" Width="94.5" Height="37.8" Image="iVBORw0KGgoAAAANSUhEUgAAAFUAAAAjCAYAAADljkaGAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAABglJREFUaEPtWmlPFUsQfX/Qj/4EZEe2aCRAgh+AAIEQCOBCAImGTQRChEjACGGVRVARF1RMVDYBZRFQLHM6nrFu0wOowwvGe5KTma6uru450913Zur+J2EEjrCoxwBP1C9fvsi3b99kd3fXcG9vzxA2Q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Lz/h0UNEGFRjwHQAp//fvvhHwiLGgpooT+oaISIqn9xISrf/TXg44JuawN2F3WdC7bvn0DHctEF1rmuDc/U0OfAd387OD79YXoDCKoD01eT9XaZ/owBEtrfBV3v53MUoK3dP2NqO20u2j54WSktLT34K5WNxsZGsxEDaIDnMhDQAyFRpwMDsOOO0ocDgi9tINva1D5+9sNo9wUeNY72c40Z35sP/UrFBgA+/SGtEIYb0En/+kNkwhOV6lNU5HCQKEO6oK+vT4aHh81UR14I+SGbyB0ht4QM7PT0tEfkpZCnQs4K+ayXL1+aI/Jbb968MVlaZGiRncXRJuw6c8usrE18kPnw4cM+rqysGOqsLY/IyK6vr5uvYzxqwkZubm7K58+fZWdnx3xJQxl7KrQBqBvgiYo9AlOdit+9e9dkQZnFTEpKMkQGMyUlxWQzUUZmk1lWZETpD8Kus59sRxvao0yyD9rRnrEQWxP9IQuLMeqsLDO3yPIyk6ttIMusZ4bYJuzI5OIIYjwYG8d1+vRp6erqMnpphMxUiApxISzuis61k8i5825jBuhZgdmCWWP/FwDnmG34vwCJGYqZqjOzfuTsZuYWRKYWWVqQ51gVXCHI2nKl4IgVhAwtiBXFrCyos7g2dfaWqxFEBre3t9dcM343oB3hiapnKZz0Z7gwDga2BOfyp6h0QNmP3HtxTrhs9LdB+1HpB/SHm29flIZfvIPKmi6wT+yt6BfXrn09UeEEMBhFcsHV4UE2Vx1AO2/GUQhf+uOI7QpbFS9MU/dhU8NVT2qgrPumRiThiRpGcAiLGjhEvgMY0IrmEtZ5NQAAAABJRU5ErkJggg=="/>
</TableCell>
<TableCell Name="Cell26" Text="目测包" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row8" Height="37.8">
<TableCell Name="Cell30">
<PictureObject Name="Picture2" Left="18.9" Width="94.5" Height="37.8" Image="iVBORw0KGgoAAAANSUhEUgAAAFUAAAAjCAYAAADljkaGAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAADBVJREFUaE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yFyd4sOHPx29UPqfevn175BfV0aNHK/ICCaDIBMtOpmEceHlU0XvvvVftUIr1V4q1pmJnLqZ5cokVP3O/kSE15IsUnEz+AMeXTG62YgegEDuxcX6pUW56MdD7779fc2Rz5ExtIfbx9y2VQwhUP+tn9IEqoF9C3au+0rIL+SkaAdxvMv40c0346YUtGXs/R5Pnp2ry1m758uVl5cqVde2tSbZixYp62Yfo4sNeTD9js/e4uTP50OPWPtqwcXLY43zdeU4mzpcN7gXjhcbO5182YpiLRw4wH+Os850Czg6nE0u+u3fvDiLYHT1QXbR+TsnjmF1pdxnZRcefzCY4Ge4xunbXnWByJ8Nbnk7Reaz4p0A8jyV9/h+AvVOHp1F27jd+bHB6TYpjo2yKTUBsgK95cW2qzcsByEZmzT+Hh9wBcaDMc9D4sCUX34uqHT1Q858Wf2fYiPatN3SIl3+Z8e8x5vI8ePCg/ouR/9n6+eefK7d++PBh/QcFO3/v3r1K3333XbX/8ccf65ru/v375c6dO/XL4a+//rraWH/77bf1UfQXzjfffFNfIGyQv8/JcF+A0CFzvzH5AH/jxo1Kvsn/5JNPahz8ypUr5fr165Uy5/Pxxx9XvR6GfftrWOMaRABp/6WFPjbedFmzCWDxaQGULODisbGmS47EzKCzVkts8NSmJjYtR39n8GvHcP7DyYb6qV1tGT1QUzQCShrANYfMBZCIzgnCrdNo6x+g2GQeG+uQUxp/Nq1tfMWML9vUllwBlm16wZ18czno2ZGzi84glzO8pcRrqdUnbkbfi+rp+GfGU1D/8VHKfwDa3wq+iDMxNwAAAABJRU5ErkJggg=="/>
</TableCell>
<TableCell Name="Cell31" Text="水压试验包" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row9" Height="37.8">
<TableCell Name="Cell35">
<PictureObject Name="Picture3" Left="18.9" Width="94.5" Height="37.8" Image="iVBORw0KGgoAAAANSUhEUgAAAFMAAAAiCAYAAAAjzOVkAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAOwQAADsEBuJFr7QAABcp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VjPBCTPbjERDchJaYKeL1ja5RjPPgww9aI1+wsEjGBxGQ1z4d5HIjZ0NDg3yiyiA5z9pn5MI8DMRm1vb29ni84zPVqxAKUixmHxFRkFlyApDJzJt/xphJh+/9l8DpJoPE5EhQUU0BMPnTIJiEmI0boW4iTAX50NKTqagTJ51dA92afuX79+mQ1DxEd5syZ4RsQZTFOhJhvaJuIWaFk/9Vi6r6ANyCGuTbtsoNETDqoAr5Sa5iroW9RUcNVpD3ZxULthfVCZv0B9mzbYXqqKCiv/iAmOx19NQp9o3MmW6MdO3Z4OkcafOgIv2dKZBAd5nzoWLRokZ+zxMg0gOC8w+t8R2nOgzj24Eu02N/f7xM2ZHjwxUVk7rlx44bdvn3bbt26leKdO3fswYMH9vjxY7+Sv3//vg0ODrrt2bNnqVPTicipKyenWTIPEnFcRfIsNlxDvnr1ykctzwSiYqK4eP36dauqqvITP8hpHyeInAZC5Tm11Cki6YULF/qJJgdO8+fPt3nz5vkVO5Rt9uzZNnPmTCfpkpIS//EWLFjg5XPmzHFipw520nPnzvVypUXagLNmzfI2i4qKbNq0aTZ9+nRPFxcXexlUXjbqhe2oDdL0ATv3o//0Azt1tTVCLyEVmeyh4LcQzhFEMgdK/Dpc+eWoz/srv7gihjRRQZ5I4iz++fPnTp3J64weGxH39OnT5EokPnnyJLk+evTIz/WJVo5c796961ELBwYGPKqJdqKe6Cd98+ZNJyMDhqeuDFkiDWo0IRYkzQZd19OnT/uJLBGKFgWHuYjamuRDqDzH39C0KKTERDyJpQiTgCFpBCqvejCEbD+T4b2h7htDIf9vIeun/xaIYcAlYub4ceRiThnMvgLWaj+jrvW7rwAAAABJRU5ErkJggg=="/>
</TableCell>
<TableCell Name="Cell36" Text="气压试验包" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
</TableObject>
</DataBand>
<PageFooterBand Name="PageFooter1" Top="556.1" Width="646.38" Height="264.6" Guides="0,103.95,34.65,69.3">
<TableObject Name="Table2" Left="18.9" Width="557.61" Height="103.95">
<TableColumn Name="Column3" Width="113.43"/>
<TableColumn Name="Column4" Width="444.18"/>
<TableRow Name="Row4" Height="34.65">
<TableCell Name="Cell13" Text="试压包号:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell14" Text="[PressureTestPackageCode]" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row5" Height="34.65">
<TableCell Name="Cell18" Text="试验压力:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell19" Text="[TestPressure]" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
<TableRow Name="Row6" Height="34.65">
<TableCell Name="Cell23" Text="试验日期:" HorzAlign="Right" VertAlign="Center" Font="宋体, 14pt"/>
<TableCell Name="Cell24" Text="[TestDate]" VertAlign="Center" Font="宋体, 14pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,33 @@
SH/T 3503 -- J115
合格焊工登记表
工程名称:
序号
焊工姓名
焊工代号
证书编号
合格项目代号
有效期限
建设/监理单位
总承包单位
施工单位
专业工程师:
日期: 年 月 日
专业工程师:
日期: 年 月 日
专业工程师:
日期: 年 月 日

View File

@ -0,0 +1,50 @@
SH/T 3503 -- J107B
工程交工验收证书
工程名称:
施工合同编号
实际开工日期
交工日期
工程内容:
工程验收意见:
使用单位负责(代表)人: 年 月 日
工程质量监督意见:
工程质量监督站长/组长:(监督站/组章) 年 月 日
建设单位
设计单位
监理单位
施工单位
(项目部章)
项目经理:
年 月 日
(项目部章)
项目经理:
年 月 日
(项目部章)
项目总监:
年 月 日
(项目部章)
项目经理:
年 月 日

View File

@ -0,0 +1,46 @@
SH/T 3503 -- J114
工程联络单
工程名称:
单位工程名称:管道安装工程
联络单编号
送达单位
事由:
内容:
经办人:
审核人:
接收单位处理意见:
经办人: 审核人: (项目章)
会签意见:
代表:
会签单位(项目章)
日期: 年 月 日
会签意见:
代表:
会签单位(项目章)
日期: 年 月 日
会签意见:
代表:
会签单位(项目章)
日期: 年 月 日

View File

@ -0,0 +1,40 @@
SH/T 3543 -- G110
施工图核查记录
工程名称:
单位工程名称:管道安装工程
设计单位
专业
主持人
核查时间
施工图号
参加核查人 员
内容记录:
问题情况:
记录人:
日期:
审核人:
日期:

View File

@ -1330,6 +1330,7 @@
<Content Include="OfficeControl\OfficeControl.ocx" /> <Content Include="OfficeControl\OfficeControl.ocx" />
<Content Include="OfficeControl\signtoolcontrol.js" /> <Content Include="OfficeControl\signtoolcontrol.js" />
<Content Include="OfficeControl\手工卸载安装NTKO OFFICE文档控件.txt" /> <Content Include="OfficeControl\手工卸载安装NTKO OFFICE文档控件.txt" />
<Content Include="SYBData\Cover.aspx" />
<Content Include="res\js\cascade.js" /> <Content Include="res\js\cascade.js" />
<Content Include="res\js\ccv.js" /> <Content Include="res\js\ccv.js" />
<Content Include="res\js\jquery-3.2.1.min.js" /> <Content Include="res\js\jquery-3.2.1.min.js" />
@ -7163,6 +7164,13 @@
<Compile Include="common\PageBase.cs"> <Compile Include="common\PageBase.cs">
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
</Compile> </Compile>
<Compile Include="SYBData\Cover.aspx.cs">
<DependentUpon>Cover.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="SYBData\Cover.aspx.designer.cs">
<DependentUpon>Cover.aspx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="APPDownload.aspx.cs"> <Compile Include="APPDownload.aspx.cs">
<DependentUpon>APPDownload.aspx</DependentUpon> <DependentUpon>APPDownload.aspx</DependentUpon>

View File

@ -45,6 +45,9 @@
<%--<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>--%> <%--<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 ID="btnPrint" Text="工程交工验收证书打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>

View File

@ -8,6 +8,7 @@ using System.Web;
using System.Web.UI; using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
using System.IO; using System.IO;
using Aspose.Words;
namespace FineUIPro.Web.JGZL namespace FineUIPro.Web.JGZL
{ {
@ -495,5 +496,94 @@ namespace FineUIPro.Web.JGZL
} }
} }
#endregion #endregion
#region
/// 导出按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnOut_Click(object sender, EventArgs e)
{
string rootPath = Server.MapPath("~/");
string initTemplatePath = string.Empty;
string uploadfilepath = string.Empty;
string newUrl = string.Empty;
string filePath = string.Empty;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
{
initTemplatePath = Const.JGZL_AcceptanceCertificateUrl;
uploadfilepath = rootPath + initTemplatePath;
newUrl = uploadfilepath.Replace("工程交工验收证书导出模板", "工程交工验收证书");
if (File.Exists(newUrl))
{
File.Delete(newUrl);
}
File.Copy(uploadfilepath, newUrl);
Document doc = new Aspose.Words.Document(uploadfilepath);
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
if (projectName != null)
{
projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
}
Bookmark contractNumber = doc.Range.Bookmarks["ContractNumber"];
if (contractNumber != null)
{
contractNumber.Text = this.txtContractNumber.Text;
}
Bookmark startDate = doc.Range.Bookmarks["StartDate"];
if (startDate != null)
{
startDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtStartDate.Text));
}
Bookmark endDate = doc.Range.Bookmarks["EndDate"];
if (endDate != null)
{
endDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtEndDate.Text));
}
Bookmark projectContent = doc.Range.Bookmarks["ProjectContent"];
if (projectContent != null)
{
projectContent.Text = this.txtProjectContent.Text;
}
Bookmark acceptanceOpinion = doc.Range.Bookmarks["AcceptanceOpinion"];
if (acceptanceOpinion != null)
{
acceptanceOpinion.Text = this.txtAcceptanceOpinion.Text;
}
Bookmark headerMan = doc.Range.Bookmarks["HeaderMan"];
if (headerMan != null)
{
headerMan.Text = this.txtHeaderMan.Text;
}
Bookmark supervisoryOpinion = doc.Range.Bookmarks["SupervisoryOpinion"];
if (supervisoryOpinion != null)
{
supervisoryOpinion.Text = this.txtSupervisoryOpinion.Text;
}
doc.Save(newUrl);
string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length;
Response.Clear();
Response.ContentType = "application/x-zip-compressed";
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
Response.AddHeader("Content-Length", fileSize.ToString());
Response.TransmitFile(newUrl, 0, fileSize);
Response.Flush();
Response.Close();
File.Delete(newUrl);
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
}
#endregion
} }
} }

View File

@ -122,6 +122,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnPrint; protected global::FineUIPro.Button btnPrint;
/// <summary>
/// btnOut 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnOut;
/// <summary> /// <summary>
/// SimpleForm1 控件。 /// SimpleForm1 控件。
/// </summary> /// </summary>

View File

@ -45,6 +45,9 @@
<%--<f:Button ID="btnAdd" runat="server" Icon="Add" Text="增加" OnClick="btnAdd_Click"></f:Button>--%> <%--<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 ID="btnPrint" Text="施工图核查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>

View File

@ -8,6 +8,7 @@ using System.Web;
using System.Web.UI; using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
using System.IO; using System.IO;
using Aspose.Words;
namespace FineUIPro.Web.JGZL namespace FineUIPro.Web.JGZL
{ {
@ -263,5 +264,99 @@ namespace FineUIPro.Web.JGZL
} }
} }
#endregion #endregion
#region
/// 导出按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnOut_Click(object sender, EventArgs e)
{
string rootPath = Server.MapPath("~/");
string initTemplatePath = string.Empty;
string uploadfilepath = string.Empty;
string newUrl = string.Empty;
string filePath = string.Empty;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
{
initTemplatePath = Const.JGZL_ConDrawingVerificationUrl;
uploadfilepath = rootPath + initTemplatePath;
newUrl = uploadfilepath.Replace("施工图核查记录导出模板", "施工图核查记录");
if (File.Exists(newUrl))
{
File.Delete(newUrl);
}
File.Copy(uploadfilepath, newUrl);
Document doc = new Aspose.Words.Document(uploadfilepath);
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
if (projectName != null)
{
projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
}
Bookmark designUnit = doc.Range.Bookmarks["DesignUnit"];
if (designUnit != null)
{
designUnit.Text = this.txtDesignUnit.Text;
}
Bookmark professional = doc.Range.Bookmarks["Professional"];
if (professional != null)
{
professional.Text = this.txtProfessional.Text;
}
Bookmark verificationDate = doc.Range.Bookmarks["VerificationDate"];
if (verificationDate != null)
{
verificationDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtVerificationDate.Text));
}
Bookmark conDrawingCode = doc.Range.Bookmarks["ConDrawingCode"];
if (conDrawingCode != null)
{
conDrawingCode.Text = this.txtConDrawingCode.Text;
}
Bookmark contents = doc.Range.Bookmarks["Contents"];
if (contents != null)
{
contents.Text = this.txtContents.Text;
}
Bookmark problems = doc.Range.Bookmarks["Problems"];
if (problems != null)
{
problems.Text = this.txtProblems.Text;
}
Bookmark recordDate = doc.Range.Bookmarks["RecordDate"];
if (recordDate != null)
{
recordDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtRecordDate.Text));
}
Bookmark reviewDate = doc.Range.Bookmarks["ReviewDate"];
if (reviewDate != null)
{
reviewDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtReviewDate.Text));
}
doc.Save(newUrl);
string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length;
Response.Clear();
Response.ContentType = "application/x-zip-compressed";
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
Response.AddHeader("Content-Length", fileSize.ToString());
Response.TransmitFile(newUrl, 0, fileSize);
Response.Flush();
Response.Close();
File.Delete(newUrl);
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
}
#endregion
} }
} }

View File

@ -122,6 +122,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnPrint; protected global::FineUIPro.Button btnPrint;
/// <summary>
/// btnOut 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnOut;
/// <summary> /// <summary>
/// SimpleForm1 控件。 /// SimpleForm1 控件。
/// </summary> /// </summary>

View File

@ -46,7 +46,7 @@
<f:Button ID="btnPrint" Text="隐蔽工程验收记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="隐蔽工程验收记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true"> EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button> </f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>

View File

@ -48,6 +48,9 @@
</f:Button> </f:Button>
<f:Button ID="btnPrint" Text="工程联络单打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="工程联络单打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>

View File

@ -9,6 +9,7 @@ using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
using System.IO; using System.IO;
using FineUIPro.Web.common.BaseInfo; using FineUIPro.Web.common.BaseInfo;
using Aspose.Words;
namespace FineUIPro.Web.JGZL namespace FineUIPro.Web.JGZL
{ {
@ -604,5 +605,124 @@ namespace FineUIPro.Web.JGZL
PageData(); PageData();
} }
} }
#region
/// 导出按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnOut_Click(object sender, EventArgs e)
{
string rootPath = Server.MapPath("~/");
string initTemplatePath = string.Empty;
string uploadfilepath = string.Empty;
string newUrl = string.Empty;
string filePath = string.Empty;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
{
initTemplatePath = Const.JGZL_ContactUrl;
uploadfilepath = rootPath + initTemplatePath;
newUrl = uploadfilepath.Replace("工程联络单导出模板", "工程联络单");
if (File.Exists(newUrl))
{
File.Delete(newUrl);
}
File.Copy(uploadfilepath, newUrl);
Document doc = new Aspose.Words.Document(uploadfilepath);
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
if (projectName != null)
{
projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
}
Bookmark contractNumber = doc.Range.Bookmarks["ContractNumber"];
if (contractNumber != null)
{
contractNumber.Text = this.txtContractNumber.Text;
}
Bookmark deliveryUnit = doc.Range.Bookmarks["DeliveryUnit"];
if (deliveryUnit != null)
{
deliveryUnit.Text = this.txtDeliveryUnit.Text;
}
Bookmark subjectMatter = doc.Range.Bookmarks["SubjectMatter"];
if (subjectMatter != null)
{
subjectMatter.Text = this.txtSubjectMatter.Text;
}
Bookmark contents = doc.Range.Bookmarks["Contents"];
if (contents != null)
{
contents.Text = this.txtContents.Text;
}
Bookmark handler = doc.Range.Bookmarks["Handler"];
if (handler != null)
{
handler.Text = this.txtHandler.Text;
}
Bookmark handDate = doc.Range.Bookmarks["HandDate"];
if (handDate != null)
{
handDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtHandDate.Text));
}
Bookmark reviewer = doc.Range.Bookmarks["Reviewer"];
if (reviewer != null)
{
reviewer.Text = this.txtReviewer.Text;
}
Bookmark reviewDate = doc.Range.Bookmarks["ReviewDate"];
if (reviewDate != null)
{
reviewDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtReviewDate.Text));
}
Bookmark handlingOpinion = doc.Range.Bookmarks["HandlingOpinion"];
if (handlingOpinion != null)
{
handlingOpinion.Text = this.txtHandlingOpinion.Text;
}
Bookmark opinionHandler = doc.Range.Bookmarks["OpinionHandler"];
if (opinionHandler != null)
{
opinionHandler.Text = this.txtOpinionHandler.Text;
}
Bookmark opinionHandDate = doc.Range.Bookmarks["OpinionHandDate"];
if (opinionHandDate != null)
{
opinionHandDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtOpinionHandDate.Text));
}
Bookmark opinionsReviewer = doc.Range.Bookmarks["OpinionsReviewer"];
if (opinionsReviewer != null)
{
opinionsReviewer.Text = this.txtOpinionsReviewer.Text;
}
Bookmark opinionsDate = doc.Range.Bookmarks["OpinionsDate"];
if (opinionsDate != null)
{
opinionsDate.Text = string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtOpinionsDate.Text));
}
doc.Save(newUrl);
string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length;
Response.Clear();
Response.ContentType = "application/x-zip-compressed";
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
Response.AddHeader("Content-Length", fileSize.ToString());
Response.TransmitFile(newUrl, 0, fileSize);
Response.Flush();
Response.Close();
File.Delete(newUrl);
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
}
#endregion
} }
} }

View File

@ -158,6 +158,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnPrint; protected global::FineUIPro.Button btnPrint;
/// <summary>
/// btnOut 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnOut;
/// <summary> /// <summary>
/// SimpleForm1 控件。 /// SimpleForm1 控件。
/// </summary> /// </summary>

View File

@ -46,7 +46,7 @@
<f:Button ID="btnPrint" Text="管道安装检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="管道安装检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true"> EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button> </f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>

View File

@ -46,7 +46,7 @@
<f:Button ID="btnPrint" Text="管道预制施工检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="管道预制施工检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true"> EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button> </f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>

View File

@ -46,7 +46,7 @@
<f:Button ID="btnPrint" Text="工序交接记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="工序交接记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true"> EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button> </f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>

View File

@ -41,6 +41,9 @@
</f:ToolbarFill> </f:ToolbarFill>
<f:Button ID="btnPrint" Text="合格焊工登记表打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="合格焊工登记表打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>
</Toolbars> </Toolbars>

View File

@ -1,15 +1,17 @@
using FineUIPro.Web.common.BaseInfo; using Aspose.Words;
using Aspose.Words.Tables;
using BLL;
using FineUIPro.Web.common.BaseInfo;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Data.SqlClient;
using System.Data; using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq; using System.Linq;
using System.Web; using System.Web;
using System.Web.UI; using System.Web.UI;
using System.Web.UI.WebControls; using System.Web.UI.WebControls;
using static System.Windows.Forms.VisualStyles.VisualStyleElement; using static System.Windows.Forms.VisualStyles.VisualStyleElement;
using System.IO;
using BLL;
namespace FineUIPro.Web.JGZL namespace FineUIPro.Web.JGZL
{ {
@ -214,5 +216,168 @@ namespace FineUIPro.Web.JGZL
} }
} }
#endregion #endregion
#region
/// 导出按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnOut_Click(object sender, EventArgs e)
{
string rootPath = Server.MapPath("~/");
string initTemplatePath = string.Empty;
string uploadfilepath = string.Empty;
string newUrl = string.Empty;
string filePath = string.Empty;
//每页显示的固定数据行数
int rowsPerPage = 36;
string projectId = this.tvControlItem.SelectedNodeID;
if (!string.IsNullOrEmpty(projectId))
{
List<SqlParameter> listStr = new List<SqlParameter>();
listStr.Add(new SqlParameter("@projectId", projectId));
SqlParameter[] parameter = listStr.ToArray();
DataTable tb = BLL.SQLHelper.GetDataTableRunProc("sp_rpt_WelderQualified", parameter);
initTemplatePath = Const.JGZL_QualifiedWelderUrl;
uploadfilepath = rootPath + initTemplatePath;
newUrl = uploadfilepath.Replace("合格焊工登记表导出模板", "合格焊工登记表");
if (File.Exists(newUrl))
{
File.Delete(newUrl);
}
File.Copy(uploadfilepath, newUrl);
//更新书签内容
Document doc = new Aspose.Words.Document(newUrl);
DocumentBuilder builder = new DocumentBuilder(doc);
Aspose.Words.Tables.Table table = (Aspose.Words.Tables.Table)doc.GetChild(NodeType.Table, 0, true);
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
if (projectName != null)
{
projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
}
// 设置表头行重复显示
table.Rows[0].RowFormat.HeadingFormat = true;
table.Rows[1].RowFormat.HeadingFormat = true;
//// 先记录页尾行,并从表格中移除
//Row footerRow = table.Rows[table.Rows.Count - 1];
//table.Rows.RemoveAt(table.Rows.Count - 1);
for (int i = 0; i < tb.Rows.Count; i++)
{
//创建行
Row row = new Row(doc);
row.Cells.Add(CreateCell((i + 1).ToString(), doc, 26.37, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["WED_Name"].ToString(), doc, 48.2, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["WED_Code"].ToString(), doc,62, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["CertificateNo"].ToString(), doc, 111.98, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["QualifiedProjectCode"].ToString(), doc, 171.23, "", ""));
row.Cells.Add(CreateCell(tb.Rows[i]["LimitDate"].ToString(), doc, 64.3545, "", ""));
table.Rows.Insert(i + 2, row);
}
//// 计算并插入空白行,填满整页
//// 计算总数据行数
//int totalDataRows = tb.Rows.Count;
//// 计算需要补充的空白行数量
//int remainder = totalDataRows % rowsPerPage;
//int needBlankRows = remainder == 0 ? 0 : rowsPerPage - remainder;
// 插入空白行(和数据行格式保持一致,仅内容为空)
//for (int i = 0; i < needBlankRows - 1; i++)
//{
// Row blankRow = new Row(doc);
// // 空白行的单元格宽度和数据行保持一致
// blankRow.Cells.Add(CreateCell("", doc, 27, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 118, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 261.3, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 74, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 74, "", ""));
// blankRow.Cells.Add(CreateCell("", doc, 74, "", ""));
// // 插入到表格最后一行
// table.Rows.Add(blankRow);
//}
//把页尾行重新加回表格最后
//table.Rows.Add(footerRow);
//自动设置表格样式
table.AutoFit(AutoFitBehavior.FixedColumnWidths);
table.Alignment = TableAlignment.Center;
doc.Save(newUrl);
string fileName = Path.GetFileName(newUrl);
FileInfo info = new FileInfo(newUrl);
long fileSize = info.Length;
Response.Clear();
Response.ContentType = "application/x-zip-compressed";
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
Response.AddHeader("Content-Length", fileSize.ToString());
Response.TransmitFile(newUrl, 0, fileSize);
Response.Flush();
Response.Close();
File.Delete(newUrl);
}
else
{
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
return;
}
}
public static Cell CreateCell(String value, Document doc, double cellWidth, string cellMerge = "", string CenterPage = "", string cellUnitLeft = "")
{
Cell cell = new Cell(doc);
Paragraph p = new Paragraph(doc);
if (!string.IsNullOrEmpty(cellMerge))
{
if (cellMerge == "0")
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.First;//竖直方向合并的第一个单元格
}
else
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.Previous;//竖直方向合并的第一个单元格
}
}
else
{
cell.CellFormat.VerticalMerge = Aspose.Words.Tables.CellMerge.None;
}
if (!string.IsNullOrEmpty(CenterPage))
{
//序号
value = " " + value;
}
if (!string.IsNullOrEmpty(cellUnitLeft))
{
p.ParagraphFormat.Alignment = ParagraphAlignment.Left;//表格中字体居左
}
else
{
p.ParagraphFormat.Alignment = ParagraphAlignment.Center;//表格中字体居中
}
p.AppendChild(new Run(doc, value));
cell.CellFormat.Width = cellWidth;
cell.CellFormat.VerticalAlignment = Aspose.Words.Tables.CellVerticalAlignment.Center;
cell.CellFormat.Borders.LineWidth = 0.75;
cell.AppendChild(p);
return cell;
}
#endregion
} }
} }

View File

@ -113,6 +113,15 @@ namespace FineUIPro.Web.JGZL
/// </remarks> /// </remarks>
protected global::FineUIPro.Button btnPrint; protected global::FineUIPro.Button btnPrint;
/// <summary>
/// btnOut 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnOut;
/// <summary> /// <summary>
/// Grid1 控件。 /// Grid1 控件。
/// </summary> /// </summary>

View File

@ -47,7 +47,7 @@
<f:Button ID="btnPrint" Text="质量控制点检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click"> <f:Button ID="btnPrint" Text="质量控制点检查记录打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button> </f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp" <f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false" Hidden="true"> EnableAjax="false" DisableControlBeforePostBack="false" >
</f:Button> </f:Button>
</Items> </Items>
</f:Toolbar> </f:Toolbar>

View File

@ -0,0 +1,92 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Cover.aspx.cs" Inherits="FineUIPro.Web.SYBData.Cover" %>
<!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="btnSave" Icon="SystemSave" runat="server" Text="保存" ValidateForms="SimpleForm1"
OnClick="btnSave_Click">
</f:Button>
<f:Button ID="btnPrint" Text="打印" Icon="Printer" runat="server" OnClick="btnPrint_Click">
</f:Button>
<%--<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" ToolTip="导出Word" Icon="FolderUp"
EnableAjax="false" DisableControlBeforePostBack="false">
</f:Button>--%>
</Items>
</f:Toolbar>
</Toolbars>
<Items>
<f:Form ID="SimpleForm1" ShowBorder="true" ShowHeader="false" AutoScroll="true" BodyPadding="10px"
runat="server" RedStarPosition="BeforeText" LabelAlign="Right">
<Rows>
<f:FormRow>
<Items>
<f:TextBox ID="txtProjectName" runat="server" Label="工程名称" LabelAlign="Right" LabelWidth="110px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtInstallationName" runat="server" Label="装置名称" LabelAlign="Right" LabelWidth="110px"></f:TextBox>
<f:TextBox ID="txtUnitWorkName" runat="server" Label="单元名称" LabelAlign="Right" LabelWidth="110px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtPressureTestPackageCode" runat="server" Label="试压包号" LabelAlign="Right" LabelWidth="110px"></f:TextBox>
<f:TextBox ID="txtTestPressure" runat="server" Label="试验压力" LabelAlign="Right" LabelWidth="110px"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:DatePicker ID="txtTestDate" runat="server" Label="试验日期" LabelAlign="Right" LabelWidth="110px"></f:DatePicker>
<f:Label ID="Label1" runat="server"></f:Label>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</Items>
</f:Panel>
</Items>
</f:Panel>
<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>
</form>
</body>
</html>

View File

@ -0,0 +1,310 @@
using Aspose.Words;
using BLL;
using System;
using System.Collections.Generic;
using System.Data;
using System.Data.SqlClient;
using System.IO;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Windows.Forms;
namespace FineUIPro.Web.SYBData
{
public partial class Cover : PageBase
{
#region
/// <summary>
/// 主键
/// </summary>
private string CoverId
{
get
{
return (string)ViewState["CoverId"];
}
set
{
ViewState["CoverId"] = 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.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.drpProjectId.SelectedValue = this.CurrUser.LoginProjectId;
this.InitTreeMenu();//加载树
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
this.ProjectId = this.tvControlItem.SelectedNodeID;
DataInfo();
}
}
private void DataInfo()
{
this.CoverId = string.Empty;
this.txtProjectName.Text = string.Empty;
this.txtInstallationName.Text = string.Empty;
this.txtUnitWorkName.Text = string.Empty;
this.txtPressureTestPackageCode.Text = string.Empty;
this.txtTestPressure.Text = string.Empty;
this.txtTestDate.Text = string.Empty;
if (!string.IsNullOrEmpty(this.ProjectId))
{
var data = BLL.CoverService.GetConverByProjectId(this.ProjectId);
if (data != null)
{
this.CoverId = data.CoverId;
this.txtProjectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectName;
this.txtInstallationName.Text = data.InstallationName;
this.txtUnitWorkName.Text = data.UnitWorkName;
this.txtPressureTestPackageCode.Text = data.PressureTestPackageCode;
this.txtTestPressure.Text = data.TestPressure;
this.txtTestDate.Text = data.TestDate.HasValue ? string.Format("{0:yyyy-MM-dd}", data.TestPressure) : "";
}
else
{
//默认值
this.txtProjectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectName;
this.txtUnitWorkName.Text = "管道安装工程";
}
}
}
#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.ProjectId = this.tvControlItem.SelectedNodeID;
DataInfo();
}
}
#endregion
#region
///<summary>
///查询
///</summary>
///<param name="sender"></param>
///<param name="e"></param>
protected void drpProjectId_SelectedIndexChanged(object sender, EventArgs e)
{
this.ProjectId = this.drpProjectId.SelectedValue;
this.InitTreeMenu();
this.tvControlItem.SelectedNodeID = this.ProjectId;
}
#endregion
#region
protected void btnSave_Click(object sender, EventArgs e)
{
if (CommonService.GetAllButtonPowerList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, Const.SYBData_CoverMenuId, Const.BtnSave))
{
Model.SYBData_Cover newData = new Model.SYBData_Cover();
newData.ProjectId = this.ProjectId;
newData.InstallationName = this.txtInstallationName.Text.Trim();
newData.UnitWorkName = this.txtUnitWorkName.Text.Trim();
newData.PressureTestPackageCode = this.txtPressureTestPackageCode.Text.Trim();
newData.TestPressure = this.txtTestDate.Text.Trim();
newData.TestDate = Funs.GetNewDateTime(this.txtTestDate.Text);
if (!string.IsNullOrEmpty(this.CoverId))
{
newData.CoverId = this.CoverId;
BLL.CoverService.UpdateCover(newData);
ShowNotify("修改成功!", MessageBoxIcon.Success);
}
else
{
newData.CoverId = SQLHelper.GetNewID(typeof(Model.SYBData_Cover));
this.CoverId = newData.CoverId;
BLL.CoverService.AddCover(newData);
ShowNotify("保存成功!", MessageBoxIcon.Success);
}
DataInfo();
}
else
{
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
return;
}
}
#endregion
#region
/// <summary>
/// 打印
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnPrint_Click(object sender, EventArgs e)
{
if (!string.IsNullOrEmpty(this.ProjectId))
{
string initTemplatePath = "";
string rootPath = Server.MapPath("~/");
BLL.Common.FastReportService.ResetData();
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectName);
keyValuePairs.Add("InstallationName", this.txtInstallationName.Text);
keyValuePairs.Add("UnitWorkName", this.txtUnitWorkName.Text);
keyValuePairs.Add("PressureTestPackageCode", this.txtPressureTestPackageCode.Text);
keyValuePairs.Add("TestPressure", this.txtTestPressure.Text);
keyValuePairs.Add("TestDate", string.Format("{0:yyyy年MM月dd日}", Funs.GetNewDateTime(this.txtTestDate.Text)));
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
initTemplatePath = "File\\Fastreport\\SYBData\\试压包封面.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>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnOut_Click(object sender, EventArgs e)
{
//string rootPath = Server.MapPath("~/");
//string initTemplatePath = string.Empty;
//string uploadfilepath = string.Empty;
//string newUrl = string.Empty;
//string filePath = string.Empty;
//string projectId = this.tvControlItem.SelectedNodeID;
//if (!string.IsNullOrEmpty(projectId))
//{
// if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
// {
// initTemplatePath = Const.JGZL_CoverUrl;
// uploadfilepath = rootPath + initTemplatePath;
// newUrl = uploadfilepath.Replace("封面导出模板", "封面");
// if (File.Exists(newUrl))
// {
// File.Delete(newUrl);
// }
// File.Copy(uploadfilepath, newUrl);
// Document doc = new Aspose.Words.Document(uploadfilepath);
// Bookmark code = doc.Range.Bookmarks["Code"];
// if (code != null)
// {
// code.Text = this.txtCode.Text.Trim();
// }
// Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
// if (projectName != null)
// {
// projectName.Text = BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName;
// }
// doc.Save(newUrl);
// string fileName = Path.GetFileName(newUrl);
// FileInfo info = new FileInfo(newUrl);
// long fileSize = info.Length;
// Response.Clear();
// Response.ContentType = "application/x-zip-compressed";
// Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
// Response.AddHeader("Content-Length", fileSize.ToString());
// Response.TransmitFile(newUrl, 0, fileSize);
// Response.Flush();
// Response.Close();
// File.Delete(newUrl);
// }
// else
// {
// Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
// return;
// }
//}
//else
//{
// Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
// return;
//}
}
#endregion
}
}

View File

@ -0,0 +1,206 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.SYBData
{
public partial class Cover
{
/// <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>
/// btnSave 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnSave;
/// <summary>
/// btnPrint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Button btnPrint;
/// <summary>
/// SimpleForm1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Form SimpleForm1;
/// <summary>
/// txtProjectName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtProjectName;
/// <summary>
/// txtInstallationName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtInstallationName;
/// <summary>
/// txtUnitWorkName 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtUnitWorkName;
/// <summary>
/// txtPressureTestPackageCode 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtPressureTestPackageCode;
/// <summary>
/// txtTestPressure 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtTestPressure;
/// <summary>
/// txtTestDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtTestDate;
/// <summary>
/// Label1 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Label Label1;
/// <summary>
/// WindowPrint 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.Window WindowPrint;
}
}

View File

@ -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="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"/> <add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
</httpHandlers> </httpHandlers>
<compilation debug="true" targetFramework="4.6.1"> <compilation debug="false" targetFramework="4.6.1">
<assemblies> <assemblies>
<add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> <add assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
</assemblies> </assemblies>

View File

@ -596,6 +596,9 @@ namespace Model
partial void InsertSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance); partial void InsertSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance);
partial void UpdateSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance); partial void UpdateSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance);
partial void DeleteSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance); partial void DeleteSp_WelderOKRateStatistics(Sp_WelderOKRateStatistics instance);
partial void InsertSYBData_Cover(SYBData_Cover instance);
partial void UpdateSYBData_Cover(SYBData_Cover instance);
partial void DeleteSYBData_Cover(SYBData_Cover instance);
partial void InsertSys_ButtonPower(Sys_ButtonPower instance); partial void InsertSys_ButtonPower(Sys_ButtonPower instance);
partial void UpdateSys_ButtonPower(Sys_ButtonPower instance); partial void UpdateSys_ButtonPower(Sys_ButtonPower instance);
partial void DeleteSys_ButtonPower(Sys_ButtonPower instance); partial void DeleteSys_ButtonPower(Sys_ButtonPower instance);
@ -2514,6 +2517,14 @@ namespace Model
} }
} }
public System.Data.Linq.Table<SYBData_Cover> SYBData_Cover
{
get
{
return this.GetTable<SYBData_Cover>();
}
}
public System.Data.Linq.Table<Sys_ButtonPower> Sys_ButtonPower public System.Data.Linq.Table<Sys_ButtonPower> Sys_ButtonPower
{ {
get get
@ -4851,6 +4862,8 @@ namespace Model
private EntitySet<Sp_WelderOKRate> _Sp_WelderOKRate; private EntitySet<Sp_WelderOKRate> _Sp_WelderOKRate;
private EntitySet<SYBData_Cover> _SYBData_Cover;
private EntitySet<Weld_ProjectPlan> _Weld_ProjectPlan; private EntitySet<Weld_ProjectPlan> _Weld_ProjectPlan;
private EntitySet<Weld_RecycleMat> _Weld_RecycleMat; private EntitySet<Weld_RecycleMat> _Weld_RecycleMat;
@ -4997,6 +5010,7 @@ namespace Model
this._Project_Welder = new EntitySet<Project_Welder>(new Action<Project_Welder>(this.attach_Project_Welder), new Action<Project_Welder>(this.detach_Project_Welder)); this._Project_Welder = new EntitySet<Project_Welder>(new Action<Project_Welder>(this.attach_Project_Welder), new Action<Project_Welder>(this.detach_Project_Welder));
this._Project_WorkArea = new EntitySet<Project_WorkArea>(new Action<Project_WorkArea>(this.attach_Project_WorkArea), new Action<Project_WorkArea>(this.detach_Project_WorkArea)); this._Project_WorkArea = new EntitySet<Project_WorkArea>(new Action<Project_WorkArea>(this.attach_Project_WorkArea), new Action<Project_WorkArea>(this.detach_Project_WorkArea));
this._Sp_WelderOKRate = new EntitySet<Sp_WelderOKRate>(new Action<Sp_WelderOKRate>(this.attach_Sp_WelderOKRate), new Action<Sp_WelderOKRate>(this.detach_Sp_WelderOKRate)); this._Sp_WelderOKRate = new EntitySet<Sp_WelderOKRate>(new Action<Sp_WelderOKRate>(this.attach_Sp_WelderOKRate), new Action<Sp_WelderOKRate>(this.detach_Sp_WelderOKRate));
this._SYBData_Cover = new EntitySet<SYBData_Cover>(new Action<SYBData_Cover>(this.attach_SYBData_Cover), new Action<SYBData_Cover>(this.detach_SYBData_Cover));
this._Weld_ProjectPlan = new EntitySet<Weld_ProjectPlan>(new Action<Weld_ProjectPlan>(this.attach_Weld_ProjectPlan), new Action<Weld_ProjectPlan>(this.detach_Weld_ProjectPlan)); this._Weld_ProjectPlan = new EntitySet<Weld_ProjectPlan>(new Action<Weld_ProjectPlan>(this.attach_Weld_ProjectPlan), new Action<Weld_ProjectPlan>(this.detach_Weld_ProjectPlan));
this._Weld_RecycleMat = new EntitySet<Weld_RecycleMat>(new Action<Weld_RecycleMat>(this.attach_Weld_RecycleMat), new Action<Weld_RecycleMat>(this.detach_Weld_RecycleMat)); this._Weld_RecycleMat = new EntitySet<Weld_RecycleMat>(new Action<Weld_RecycleMat>(this.attach_Weld_RecycleMat), new Action<Weld_RecycleMat>(this.detach_Weld_RecycleMat));
this._Weld_RecycleMatTop = new EntitySet<Weld_RecycleMatTop>(new Action<Weld_RecycleMatTop>(this.attach_Weld_RecycleMatTop), new Action<Weld_RecycleMatTop>(this.detach_Weld_RecycleMatTop)); this._Weld_RecycleMatTop = new EntitySet<Weld_RecycleMatTop>(new Action<Weld_RecycleMatTop>(this.attach_Weld_RecycleMatTop), new Action<Weld_RecycleMatTop>(this.detach_Weld_RecycleMatTop));
@ -6600,6 +6614,19 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SYBData_Cover_Base_Project", Storage="_SYBData_Cover", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<SYBData_Cover> SYBData_Cover
{
get
{
return this._SYBData_Cover;
}
set
{
this._SYBData_Cover.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Base_Project", Storage="_Weld_ProjectPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")] [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_Weld_ProjectPlan_Base_Project", Storage="_Weld_ProjectPlan", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<Weld_ProjectPlan> Weld_ProjectPlan public EntitySet<Weld_ProjectPlan> Weld_ProjectPlan
{ {
@ -7632,6 +7659,18 @@ namespace Model
entity.Base_Project = null; entity.Base_Project = null;
} }
private void attach_SYBData_Cover(SYBData_Cover entity)
{
this.SendPropertyChanging();
entity.Base_Project = this;
}
private void detach_SYBData_Cover(SYBData_Cover entity)
{
this.SendPropertyChanging();
entity.Base_Project = null;
}
private void attach_Weld_ProjectPlan(Weld_ProjectPlan entity) private void attach_Weld_ProjectPlan(Weld_ProjectPlan entity)
{ {
this.SendPropertyChanging(); this.SendPropertyChanging();
@ -27510,7 +27549,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialType", DbType="NVarChar(50)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaterialType", DbType="NVarChar(200)")]
public string MaterialType public string MaterialType
{ {
get get
@ -28094,7 +28133,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatCode", DbType="VarChar(20) NOT NULL", CanBeNull=false)] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatCode", DbType="VarChar(50) NOT NULL", CanBeNull=false)]
public string WMT_MatCode public string WMT_MatCode
{ {
get get
@ -58212,7 +58251,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatCode", DbType="VarChar(20)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatCode", DbType="VarChar(50)")]
public string WMT_MatCode public string WMT_MatCode
{ {
get get
@ -58244,7 +58283,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="hsCode", Storage="_HsCode", DbType="VarChar(20)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Name="hsCode", Storage="_HsCode", DbType="VarChar(50)")]
public string HsCode public string HsCode
{ {
get get
@ -64226,7 +64265,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatName", DbType="VarChar(41) NOT NULL", CanBeNull=false)] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WMT_MatName", DbType="VarChar(101) NOT NULL", CanBeNull=false)]
public string WMT_MatName public string WMT_MatName
{ {
get get
@ -66099,7 +66138,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMat", DbType="VarChar(20)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldMat", DbType="VarChar(50)")]
public string WeldMat public string WeldMat
{ {
get get
@ -66115,7 +66154,7 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSilk", DbType="VarChar(20)")] [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldSilk", DbType="VarChar(50)")]
public string WeldSilk public string WeldSilk
{ {
get get
@ -116892,6 +116931,253 @@ namespace Model
} }
} }
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.SYBData_Cover")]
public partial class SYBData_Cover : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _CoverId;
private string _ProjectId;
private string _InstallationName;
private string _UnitWorkName;
private string _PressureTestPackageCode;
private string _TestPressure;
private System.Nullable<System.DateTime> _TestDate;
private EntityRef<Base_Project> _Base_Project;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnCoverIdChanging(string value);
partial void OnCoverIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnInstallationNameChanging(string value);
partial void OnInstallationNameChanged();
partial void OnUnitWorkNameChanging(string value);
partial void OnUnitWorkNameChanged();
partial void OnPressureTestPackageCodeChanging(string value);
partial void OnPressureTestPackageCodeChanged();
partial void OnTestPressureChanging(string value);
partial void OnTestPressureChanged();
partial void OnTestDateChanging(System.Nullable<System.DateTime> value);
partial void OnTestDateChanged();
#endregion
public SYBData_Cover()
{
this._Base_Project = default(EntityRef<Base_Project>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CoverId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string CoverId
{
get
{
return this._CoverId;
}
set
{
if ((this._CoverId != value))
{
this.OnCoverIdChanging(value);
this.SendPropertyChanging();
this._CoverId = value;
this.SendPropertyChanged("CoverId");
this.OnCoverIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
{
return this._ProjectId;
}
set
{
if ((this._ProjectId != value))
{
if (this._Base_Project.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnProjectIdChanging(value);
this.SendPropertyChanging();
this._ProjectId = value;
this.SendPropertyChanged("ProjectId");
this.OnProjectIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationName", DbType="NVarChar(50)")]
public string InstallationName
{
get
{
return this._InstallationName;
}
set
{
if ((this._InstallationName != value))
{
this.OnInstallationNameChanging(value);
this.SendPropertyChanging();
this._InstallationName = value;
this.SendPropertyChanged("InstallationName");
this.OnInstallationNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitWorkName", DbType="NVarChar(50)")]
public string UnitWorkName
{
get
{
return this._UnitWorkName;
}
set
{
if ((this._UnitWorkName != value))
{
this.OnUnitWorkNameChanging(value);
this.SendPropertyChanging();
this._UnitWorkName = value;
this.SendPropertyChanged("UnitWorkName");
this.OnUnitWorkNameChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PressureTestPackageCode", DbType="NVarChar(50)")]
public string PressureTestPackageCode
{
get
{
return this._PressureTestPackageCode;
}
set
{
if ((this._PressureTestPackageCode != value))
{
this.OnPressureTestPackageCodeChanging(value);
this.SendPropertyChanging();
this._PressureTestPackageCode = value;
this.SendPropertyChanged("PressureTestPackageCode");
this.OnPressureTestPackageCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPressure", DbType="NVarChar(50)")]
public string TestPressure
{
get
{
return this._TestPressure;
}
set
{
if ((this._TestPressure != value))
{
this.OnTestPressureChanging(value);
this.SendPropertyChanging();
this._TestPressure = value;
this.SendPropertyChanged("TestPressure");
this.OnTestPressureChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestDate", DbType="DateTime")]
public System.Nullable<System.DateTime> TestDate
{
get
{
return this._TestDate;
}
set
{
if ((this._TestDate != value))
{
this.OnTestDateChanging(value);
this.SendPropertyChanging();
this._TestDate = value;
this.SendPropertyChanged("TestDate");
this.OnTestDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_SYBData_Cover_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
get
{
return this._Base_Project.Entity;
}
set
{
Base_Project previousValue = this._Base_Project.Entity;
if (((previousValue != value)
|| (this._Base_Project.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Base_Project.Entity = null;
previousValue.SYBData_Cover.Remove(this);
}
this._Base_Project.Entity = value;
if ((value != null))
{
value.SYBData_Cover.Add(this);
this._ProjectId = value.ProjectId;
}
else
{
this._ProjectId = default(string);
}
this.SendPropertyChanged("Base_Project");
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
protected virtual void SendPropertyChanging()
{
if ((this.PropertyChanging != null))
{
this.PropertyChanging(this, emptyChangingEventArgs);
}
}
protected virtual void SendPropertyChanged(String propertyName)
{
if ((this.PropertyChanged != null))
{
this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
}
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ButtonPower")] [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Sys_ButtonPower")]
public partial class Sys_ButtonPower : INotifyPropertyChanging, INotifyPropertyChanged public partial class Sys_ButtonPower : INotifyPropertyChanging, INotifyPropertyChanged
{ {