20251216 工程联络单

This commit is contained in:
毕文静 2025-12-16 15:30:35 +08:00
parent 20353d1286
commit 88ec31b36f
16 changed files with 2265 additions and 5 deletions

View File

@ -0,0 +1,107 @@
insert into Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuModule)
values('05725865-4CC9-43A0-A525-F2730019F61C','工程联络单','JGZL/Contact.aspx',40,'2A84FA58-8B20-48ED-A621-3EC98CF4AD28','3')
go
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('C28453C3-96BF-4DE6-8BF0-54127F2E4632','05725865-4CC9-43A0-A525-F2730019F61C','增加',1)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('CB83CCED-E5B6-4A8D-8B59-A5F3E2409610','05725865-4CC9-43A0-A525-F2730019F61C','修改',2)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('A35F10E9-043A-4A35-BBEB-A41D4D9B8154','05725865-4CC9-43A0-A525-F2730019F61C','删除',3)
insert into ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
values('57A4B606-8DB1-49B5-9436-74EA0FB60107','05725865-4CC9-43A0-A525-F2730019F61C','保存',4)
go
CREATE TABLE [dbo].[JGZL_Contact](
[ContactId] [nvarchar](50) NOT NULL,
[ProjectId] [nvarchar](50) NULL,
[ContractNumber] [nvarchar](50) NULL,
[DeliveryUnit] [nvarchar](50) NULL,
[SubjectMatter] [nvarchar](1000) NULL,
[Contents] [nvarchar](2000) NULL,
[Handler] [nvarchar](50) NULL,
[HandDate] [datetime] NULL,
[Reviewer] [nvarchar](50) NULL,
[ReviewDate] [datetime] NULL,
[HandlingOpinion] [nvarchar](1000) NULL,
[OpinionHandler] [nvarchar](50) NULL,
[OpinionHandDate] [datetime] NULL,
[OpinionsReviewer] [nvarchar](50) NULL,
[OpinionsDate] [datetime] NULL,
[CompileMan] [nvarchar](50) NULL,
[CompileDate] [datetime] NULL,
CONSTRAINT [PK_JGZL_Contact] PRIMARY KEY CLUSTERED
(
[ContactId] 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_Contact] WITH CHECK ADD CONSTRAINT [FK_JGZL_Contact_Base_Project] FOREIGN KEY([ProjectId])
REFERENCES [dbo].[Base_Project] ([ProjectId])
GO
ALTER TABLE [dbo].[JGZL_Contact] CHECK CONSTRAINT [FK_JGZL_Contact_Base_Project]
GO
ALTER TABLE [dbo].[JGZL_Contact] WITH CHECK ADD CONSTRAINT [FK_JGZL_Contact_Sys_User] FOREIGN KEY([CompileMan])
REFERENCES [dbo].[Sys_User] ([UserId])
GO
ALTER TABLE [dbo].[JGZL_Contact] CHECK CONSTRAINT [FK_JGZL_Contact_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_Contact', @level2type=N'COLUMN',@level2name=N'ContactId'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'项目Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @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_Contact', @level2type=N'COLUMN',@level2name=N'ContractNumber'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'送达单位' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'DeliveryUnit'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'事由' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'SubjectMatter'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'Contents'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'经办人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'Handler'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'经办日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'HandDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'Reviewer'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'ReviewDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'接收单位处理意见' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'HandlingOpinion'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'经办人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'OpinionHandler'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'OpinionHandDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'OpinionsReviewer'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @level2type=N'COLUMN',@level2name=N'OpinionsDate'
GO
EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'编制人' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'JGZL_Contact', @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_Contact', @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_Contact'
GO

View File

@ -247,6 +247,7 @@
<Compile Include="HJGL\WeldingManage\WeldRecordInService.cs" />
<Compile Include="JGZL\AcceptanceCertificateService.cs" />
<Compile Include="JGZL\CommencementReportService.cs" />
<Compile Include="JGZL\ContactService.cs" />
<Compile Include="JGZL\HandoverCertificateService.cs" />
<Compile Include="JsonHelper.cs" />
<Compile Include="libFace.cs" />

View File

@ -1769,6 +1769,11 @@ namespace BLL
/// 工程交工验收证书
/// </summary>
public const string JGZL_AcceptanceCertificateMenuId = "13172551-E58A-4F87-A090-3B8476FAA517";
/// <summary>
/// 工程联络单
/// </summary>
public const string JGZL_ContactMenuId = "05725865-4CC9-43A0-A525-F2730019F61C";
#endregion
#region ID

View File

@ -0,0 +1,96 @@
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace BLL
{
/// <summary>
/// 工程联络单
/// </summary>
public class ContactService
{
/// <summary>
/// 根据主键获取工程联络单
/// </summary>
/// <param name="contactId"></param>
/// <returns></returns>
public static Model.JGZL_Contact GetContactById(string contactId)
{
return Funs.DB.JGZL_Contact.FirstOrDefault(e => e.ContactId == contactId);
}
/// <summary>
/// 添加工程联络单
/// </summary>
/// <param name="contact"></param>
public static void AddContact(Model.JGZL_Contact contact)
{
SGGLDB db = Funs.DB;
Model.JGZL_Contact newContact = new Model.JGZL_Contact();
newContact.ContactId = contact.ContactId;
newContact.ProjectId = contact.ProjectId;
newContact.ContractNumber = contact.ContractNumber;
newContact.DeliveryUnit = contact.DeliveryUnit;
newContact.SubjectMatter = contact.SubjectMatter;
newContact.Contents = contact.Contents;
newContact.Handler = contact.Handler;
newContact.HandDate = contact.HandDate;
newContact.Reviewer = contact.Reviewer;
newContact.ReviewDate = contact.ReviewDate;
newContact.HandlingOpinion = contact.HandlingOpinion;
newContact.OpinionHandler = contact.OpinionHandler;
newContact.OpinionHandDate = contact.OpinionHandDate;
newContact.OpinionsReviewer = contact.OpinionsReviewer;
newContact.OpinionsDate = contact.OpinionsDate;
newContact.CompileMan = contact.CompileMan;
newContact.CompileDate = contact.CompileDate;
db.JGZL_Contact.InsertOnSubmit(newContact);
db.SubmitChanges();
}
/// <summary>
/// 修改工程联络单
/// </summary>
/// <param name="contact"></param>
public static void UpdateContact(Model.JGZL_Contact contact)
{
SGGLDB db = Funs.DB;
Model.JGZL_Contact newContact = db.JGZL_Contact.FirstOrDefault(e => e.ContactId == contact.ContactId);
if (newContact != null)
{
newContact.ContractNumber = contact.ContractNumber;
newContact.DeliveryUnit = contact.DeliveryUnit;
newContact.SubjectMatter = contact.SubjectMatter;
newContact.Contents = contact.Contents;
newContact.Handler = contact.Handler;
newContact.HandDate = contact.HandDate;
newContact.Reviewer = contact.Reviewer;
newContact.ReviewDate = contact.ReviewDate;
newContact.HandlingOpinion = contact.HandlingOpinion;
newContact.OpinionHandler = contact.OpinionHandler;
newContact.OpinionHandDate = contact.OpinionHandDate;
newContact.OpinionsReviewer = contact.OpinionsReviewer;
newContact.OpinionsDate = contact.OpinionsDate;
db.SubmitChanges();
}
}
/// <summary>
/// 根据主键删除工程联络单
/// </summary>
/// <param name="contactId"></param>
public static void DeleteContactById(string contactId)
{
SGGLDB db = Funs.DB;
var contact = db.JGZL_Contact.FirstOrDefault(e => e.ContactId == contactId);
if (contact != null)
{
db.JGZL_Contact.DeleteOnSubmit(contact);
db.SubmitChanges();
}
}
}
}

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/12/2025 11:03:02" ReportInfo.Modified="12/13/2025 15:01:02" ReportInfo.CreatorVersion="2017.1.16.0">
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/12/2025 11:03:02" ReportInfo.Modified="12/13/2025 16:11:50" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ContractNumber" DataType="System.String"/>
@ -54,7 +54,7 @@
<TableCell Name="Cell25" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="226.8">
<TableCell Name="Cell26" Border.Lines="Left, Right, Bottom" Text="[ProjectContent]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell26" Border.Lines="Left, Right, Bottom" Text="[ProjectContent]" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell28" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell29" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -68,7 +68,7 @@
<TableCell Name="Cell35" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="173.26">
<TableCell Name="Cell36" Border.Lines="Left, Right" Text="[AcceptanceOpinion]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell36" Border.Lines="Left, Right" Text="[AcceptanceOpinion]" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell37" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell38" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell39" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
@ -89,7 +89,7 @@
<TableCell Name="Cell50" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="163.81">
<TableCell Name="Cell51" Border.Lines="Left, Right" Text="[SupervisoryOpinion]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell51" Border.Lines="Left, Right" Text="[SupervisoryOpinion]" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell52" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>

View File

@ -0,0 +1,185 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/15/2025 14:30:33" ReportInfo.Modified="12/15/2025 15:07:41" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary>
<Parameter Name="ProjectName" DataType="System.String"/>
<Parameter Name="ContractNumber" DataType="System.String"/>
<Parameter Name="DeliveryUnit" DataType="System.String"/>
<Parameter Name="SubjectMatter" DataType="System.String"/>
<Parameter Name="Contents" DataType="System.String"/>
<Parameter Name="Handler" DataType="System.String"/>
<Parameter Name="HandDate" DataType="System.String"/>
<Parameter Name="Reviewer" DataType="System.String"/>
<Parameter Name="ReviewDate" DataType="System.String"/>
<Parameter Name="HandlingOpinion" DataType="System.String"/>
<Parameter Name="OpinionHandler" DataType="System.String"/>
<Parameter Name="OpinionHandDate" DataType="System.String"/>
<Parameter Name="OpinionsReviewer" DataType="System.String"/>
<Parameter Name="OpinionsDate" DataType="System.String"/>
</Dictionary>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" Guides="0,623.7,163.35,41.85,60.75,360.45,79.65,477.9,117.45,145.8,102.6,280.8,207.9,415.8">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="772.76" Guides="0,772.76,97.42,20.36,47.25,67.61,29.81,127.23,157.04,205.75,48.71,235.56,473.27,237.71,503.08,532.89,562.7,713.14,150.44,742.95">
<TableObject Name="Table1" Width="623.7" Height="772.76">
<TableColumn Name="Column1" Width="60.75"/>
<TableColumn Name="Column2" Width="41.85"/>
<TableColumn Name="Column3" Width="60.75"/>
<TableColumn Name="Column4" Width="117.45"/>
<TableColumn Name="Column5" Width="79.65"/>
<TableColumn Name="Column6" Width="117.45"/>
<TableColumn Name="Column7" Width="145.8"/>
<TableRow Name="Row1" Height="20.36">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J114" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="3" RowSpan="3"/>
<TableCell Name="Cell2" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell3" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell4" Border.Lines="All" Text="工程联络单" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="3"/>
<TableCell Name="Cell5" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell26" Border.Lines="Left, Top" Text="工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell27" Border.Lines="Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row14" Height="47.25">
<TableCell Name="Cell92" Border.Lines="All"/>
<TableCell Name="Cell93" Border.Lines="All"/>
<TableCell Name="Cell94" Border.Lines="All"/>
<TableCell Name="Cell95" Border.Lines="All"/>
<TableCell Name="Cell96" Border.Lines="All"/>
<TableCell Name="Cell97" Border.Lines="Left, Right" Text="[ProjectName]" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell98" Border.Lines="All"/>
</TableRow>
<TableRow Name="Row2" Height="29.81">
<TableCell Name="Cell6" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell10" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell28" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell29" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="29.81">
<TableCell Name="Cell11" Border.Lines="All" Text="联络单编号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell13" Border.Lines="All" Text="[ContractNumber]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="All" Text="送达单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell30" Border.Lines="All" Text="[DeliveryUnit]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell31" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row4" Height="29.81">
<TableCell Name="Cell16" Border.Lines="Left, Top" Text="事由:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell17" Border.Lines="Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="6"/>
<TableCell Name="Cell18" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<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="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="48.71">
<TableCell Name="Cell21" Border.Lines="Left, Right" Text="[SubjectMatter]" Font="楷体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell22" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell23" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<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="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="29.81">
<TableCell Name="Cell36" Border.Lines="Left" Text="内容:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell37" Border.Lines="Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="6"/>
<TableCell Name="Cell38" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell39" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell40" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell41" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell42" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="237.71">
<TableCell Name="Cell43" Border.Lines="Left, Right" Text="[Contents]" Font="楷体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell44" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell46" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell47" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell48" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell49" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="29.81">
<TableCell Name="Cell50" Border.Lines="Left" Text="经办人:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell51" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell52" Text="[Handler]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell53" Border.Lines="Left, Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="Right" Text="[HandDate]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell55" Border.Lines="Left, Right" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="Left, Right" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="29.81">
<TableCell Name="Cell57" Border.Lines="Left, Bottom" Text="审核人:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell58" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell59" Border.Lines="Bottom" Text="[Reviewer]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell60" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="Right, Bottom" Text="[ReviewDate]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
<TableCell Name="Cell62" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell63" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="29.81">
<TableCell Name="Cell64" Border.Lines="Left, Right, Top" Text="接收单位处理意见:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="7"/>
<TableCell Name="Cell65" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<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" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="150.44">
<TableCell Name="Cell71" Border.Lines="Left, Right" Text="[HandlingOpinion]" Font="楷体, 10.5pt" ColSpan="7"/>
<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"/>
<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"/>
</TableRow>
<TableRow Name="Row12" Height="29.81">
<TableCell Name="Cell78" Border.Lines="Left" Text="经办人:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell79" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell80" Text="[OpinionHandler]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell81" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell82" Text="审核人:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell83" Text="[OpinionsReviewer]" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell84" Border.Lines="Right" Text="(项目章)" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="29.81">
<TableCell Name="Cell85" Border.Lines="Left, Bottom" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell86" Border.Lines="Left, Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell87" Border.Lines="Bottom" Text="[OpinionHandDate]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell88" Border.Lines="Bottom" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell89" Border.Lines="Bottom" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
<TableCell Name="Cell90" Border.Lines="Right, Bottom" Text="[OpinionsDate]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell91" Border.Lines="Right, Bottom" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<PageFooterBand Name="PageFooter1" Top="776.76" Width="623.7" Height="198.38" Guides="0,198.38,92.12,127.54,162.96">
<TableObject Name="Table2" Width="623.7" Height="198.38" Border.Lines="Left, Bottom">
<TableColumn Name="Column8" Width="207.9"/>
<TableColumn Name="Column9" Width="207.9"/>
<TableColumn Name="Column10" Width="207.9"/>
<TableRow Name="Row15" Height="92.12">
<TableCell Name="Cell99" Border.Lines="Left, Right, Top" Text="会签意见:" Font="宋体, 10.5pt"/>
<TableCell Name="Cell100" Border.Lines="Left, Right, Top" Text="会签意见:" Font="宋体, 10.5pt"/>
<TableCell Name="Cell101" Border.Lines="Left, Right, Top" Text="会签意见:" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row16" Height="35.42">
<TableCell Name="Cell104" Border.Lines="Left, Right" Text="代表:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell105" Border.Lines="Left, Right" Text="代表:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell106" Border.Lines="Left, Right" Text="代表:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row17" Height="35.42">
<TableCell Name="Cell109" Border.Lines="Left, Right" Text="会签单位(项目章)" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell110" Border.Lines="Left, Right" Text="会签单位(项目章)" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell111" Border.Lines="Left, Right" Text="会签单位(项目章)" HorzAlign="Right" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row18" Height="35.42">
<TableCell Name="Cell114" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell115" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell116" Border.Lines="Left, Right, Bottom" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -0,0 +1,118 @@
<?xml version="1.0" encoding="utf-8"?>
<Report ScriptLanguage="CSharp" ReportInfo.Created="12/15/2025 15:12:33" ReportInfo.Modified="12/15/2025 15:40:02" ReportInfo.CreatorVersion="2017.1.16.0">
<Dictionary/>
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="25" TopMargin="20" RightMargin="20" BottomMargin="20" Guides="0,624.24,179.73,104.04,387.81,501.3,75.69,122.94,283.77,113.49,623.8,311.9">
<PageHeaderBand Name="PageHeader1" Width="623.7" Height="905.03" Guides="0,905.03,103.11,24.92,53.27,78.19,137.48,34.37,171.85,206.22,382.34,176.12,407.26,725.13,317.87,750.05,154.98">
<TableObject Name="Table1" Width="624.24" Height="905.03" Border.Lines="Bottom">
<TableColumn Name="Column1" Width="75.69"/>
<TableColumn Name="Column2" Width="104.04"/>
<TableColumn Name="Column3" Width="104.04"/>
<TableColumn Name="Column4" Width="104.04"/>
<TableColumn Name="Column5" Width="113.49"/>
<TableColumn Name="Column6" Width="122.94"/>
<TableRow Name="Row1" Height="24.92">
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3543—G110" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" ColSpan="2" RowSpan="3"/>
<TableCell Name="Cell2" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell3" Border.Lines="All" Text="施工图核查记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" ColSpan="2" RowSpan="3"/>
<TableCell Name="Cell4" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell5" Border.Lines="Left, Top" Text="工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell56" Border.Lines="Right, Top" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row2" Height="53.27">
<TableCell Name="Cell6" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell7" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell8" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell9" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell10" Border.Lines="Left, Right" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell57" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row3" Height="24.92">
<TableCell Name="Cell11" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell12" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell13" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell14" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell15" Border.Lines="Left, Bottom" Text="单位工程名称:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell58" Border.Lines="Right, Bottom" Text="管道安装工程" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row4" Height="34.37">
<TableCell Name="Cell16" Border.Lines="All" Text="设计单位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell17" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell18" Border.Lines="All" 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" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell59" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row5" Height="34.37">
<TableCell Name="Cell21" Border.Lines="All" Text="主持人" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell22" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell23" Border.Lines="All" 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" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="2"/>
<TableCell Name="Cell60" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
</TableRow>
<TableRow Name="Row6" Height="34.37">
<TableCell Name="Cell26" Border.Lines="All" Text="施工图号" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell27" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell28" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell29" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell30" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell61" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row7" Height="176.12">
<TableCell Name="Cell31" Border.Lines="All" Text="参加核查&#13;&#10;人 员" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell32" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="5"/>
<TableCell Name="Cell33" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell34" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell35" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell62" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row8" Height="24.92">
<TableCell Name="Cell36" Border.Lines="Left, Right, Top" Text="内容记录:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="6"/>
<TableCell Name="Cell37" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<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"/>
<TableCell Name="Cell63" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row9" Height="317.87">
<TableCell Name="Cell41" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="6"/>
<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"/>
<TableCell Name="Cell45" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell64" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row10" Height="24.92">
<TableCell Name="Cell46" Border.Lines="Left, Right, Top" Text="问题情况:" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="6"/>
<TableCell Name="Cell47" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell48" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell49" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell50" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell65" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row11" Height="154.98">
<TableCell Name="Cell51" Border.Lines="Left, Right, Bottom" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="6"/>
<TableCell Name="Cell52" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell53" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell54" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell55" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell66" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageHeaderBand>
<PageFooterBand Name="PageFooter1" Top="909.03" Width="623.7" Height="66.18" Guides="0,66.18,33.09">
<TableObject Name="Table2" Width="623.8" Height="66.18" Border.Lines="Left, Right, Bottom">
<TableColumn Name="Column7" Width="311.9"/>
<TableColumn Name="Column8" Width="311.9"/>
<TableRow Name="Row12" Height="33.09">
<TableCell Name="Cell67" Border.Lines="Right, Top" Text="记录人:" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell68" Border.Lines="Left, Top" Text="审核人:" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
<TableRow Name="Row13" Height="33.09">
<TableCell Name="Cell72" Border.Lines="Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
<TableCell Name="Cell73" Border.Lines="Left" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
</TableRow>
</TableObject>
</PageFooterBand>
</ReportPage>
</Report>

View File

@ -1245,6 +1245,8 @@
<Content Include="JGZL\AcceptanceCertificateEdit.aspx" />
<Content Include="JGZL\CommencementReport.aspx" />
<Content Include="JGZL\CommencementReportEdit.aspx" />
<Content Include="JGZL\Contact.aspx" />
<Content Include="JGZL\ContactEdit.aspx" />
<Content Include="JGZL\HandoverCertificate.aspx" />
<Content Include="JGZL\HandoverCertificateEdit.aspx" />
<Content Include="Login.aspx" />
@ -6554,6 +6556,20 @@
<Compile Include="JGZL\CommencementReportEdit.aspx.designer.cs">
<DependentUpon>CommencementReportEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\Contact.aspx.cs">
<DependentUpon>Contact.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="JGZL\Contact.aspx.designer.cs">
<DependentUpon>Contact.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\ContactEdit.aspx.cs">
<DependentUpon>ContactEdit.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="JGZL\ContactEdit.aspx.designer.cs">
<DependentUpon>ContactEdit.aspx</DependentUpon>
</Compile>
<Compile Include="JGZL\HandoverCertificate.aspx.cs">
<DependentUpon>HandoverCertificate.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>

View File

@ -0,0 +1,118 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Contact.aspx.cs" Inherits="FineUIPro.Web.JGZL.Contact" %>
<!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="ContactId" AllowCellEditing="true"
EnableColumnLines="true" ClicksToEdit="1" DataIDField="ContactId" AllowSorting="true"
SortField="ContractNumber" 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="ContractNumber" DataField="ContractNumber" SortField="ContractNumber"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px">
</f:RenderField>
<f:RenderField HeaderText="送达单位" ColumnID="DeliveryUnit" DataField="DeliveryUnit" SortField="DeliveryUnit"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="150px">
</f:RenderField>
<f:RenderField HeaderText="事由" ColumnID="SubjectMatter" DataField="SubjectMatter" SortField="SubjectMatter"
FieldType="String" HeaderTextAlign="Center" TextAlign="Left" Width="180px" ExpandUnusedSpace="true">
</f:RenderField>
<f:RenderField HeaderText="内容" ColumnID="Contents" DataField="Contents" SortField="Contents"
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>

View File

@ -0,0 +1,391 @@
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 Contact : 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_Contact 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.ContactService.GetContactById(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("ContractNumber", report.ContractNumber);
keyValuePairs.Add("DeliveryUnit", report.DeliveryUnit);
keyValuePairs.Add("SubjectMatter", report.SubjectMatter);
keyValuePairs.Add("Contents", report.Contents);
keyValuePairs.Add("Handler", report.Handler);
keyValuePairs.Add("HandDate", report.HandDate.HasValue ? string.Format("{0:yyyy年MM月dd日}", report.HandDate) : "");
keyValuePairs.Add("Reviewer", report.Reviewer);
keyValuePairs.Add("ReviewDate", report.ReviewDate.HasValue ? string.Format("{0:yyyy年MM月dd日}", report.ReviewDate) : "");
keyValuePairs.Add("HandlingOpinion", report.HandlingOpinion);
keyValuePairs.Add("OpinionHandler", report.OpinionHandler);
keyValuePairs.Add("OpinionHandDate", report.OpinionHandDate.HasValue ? string.Format("{0:yyyy年MM月dd日}", report.OpinionHandDate) : "");
keyValuePairs.Add("OpinionsReviewer", report.OpinionsReviewer);
keyValuePairs.Add("OpinionsDate", report.OpinionsDate.HasValue ? string.Format("{0:yyyy年MM月dd日}", report.OpinionsDate) : "");
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("ContactEdit.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_ContactMenuId, BLL.Const.BtnModify))
{
if (!string.IsNullOrEmpty(this.tvControlItem.SelectedNodeID))
{
if (!string.IsNullOrEmpty(this.Grid1.SelectedRowID))
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ContactEdit.aspx?contactId={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_ContactMenuId, BLL.Const.BtnModify))
{
if (Grid1.SelectedRowIndexArray.Length == 0)
{
Alert.ShowInTop("请选择一条记录!", MessageBoxIcon.Warning);
return;
}
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("ContactEdit.aspx?contactId={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_ContactMenuId, 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.ContactService.DeleteContactById(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
}
}

View File

@ -0,0 +1,206 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.JGZL
{
public partial class Contact
{
/// <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;
}
}

View File

@ -0,0 +1,76 @@
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContactEdit.aspx.cs" Inherits="FineUIPro.Web.JGZL.ContactEdit" %>
<!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="txtContractNumber" runat="server" Label="联络单编号" LabelAlign="Right" LabelWidth="110px" MaxLength="50" Required="true" ShowRedStar="true"></f:TextBox>
<f:TextBox ID="txtDeliveryUnit" runat="server" Label="送达单位" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtSubjectMatter" runat="server" Label="事由" LabelAlign="Right" LabelWidth="110px" MaxLength="1000"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtContents" runat="server" Label="内容" LabelAlign="Right" LabelWidth="110px" MaxLength="2000" Required="true" ShowRedStar="true"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtHandler" runat="server" Label="经办人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<f:DatePicker ID="txtHandDate" runat="server" Label="日期" LabelAlign="Right" LabelWidth="110px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtReviewer" runat="server" Label="审核人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<f:DatePicker ID="txtReviewDate" runat="server" Label="日期" LabelAlign="Right" LabelWidth="110px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextArea ID="txtHandlingOpinion" runat="server" Label="接收单位处理意见" LabelAlign="Right" LabelWidth="110px" MaxLength="1000"></f:TextArea>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtOpinionHandler" runat="server" Label="经办人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<f:DatePicker ID="txtOpinionHandDate" runat="server" Label="日期" LabelAlign="Right" LabelWidth="110px"></f:DatePicker>
</Items>
</f:FormRow>
<f:FormRow>
<Items>
<f:TextBox ID="txtOpinionsReviewer" runat="server" Label="审核人" LabelAlign="Right" LabelWidth="110px" MaxLength="50"></f:TextBox>
<f:DatePicker ID="txtOpinionsDate" runat="server" Label="日期" LabelAlign="Right" LabelWidth="110px"></f:DatePicker>
</Items>
</f:FormRow>
</Rows>
</f:Form>
</form>
</body>
</html>

View File

@ -0,0 +1,158 @@
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 ContactEdit : PageBase
{
#region
/// <summary>
/// 主键
/// </summary>
private string ContactId
{
get
{
return (string)ViewState["ContactId"];
}
set
{
ViewState["ContactId"] = 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.ContactId = Request.Params["contactId"];
if (!string.IsNullOrEmpty(this.ContactId))
{
var report = BLL.ContactService.GetContactById(this.ContactId);
if (report != null)
{
this.txtContractNumber.Text = report.ContractNumber;
this.txtDeliveryUnit.Text = report.DeliveryUnit;
this.txtSubjectMatter.Text = report.SubjectMatter;
this.txtContents.Text = report.Contents;
this.txtHandler.Text = report.Handler;
this.txtHandDate.Text = report.HandDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.HandDate) : "";
this.txtReviewer.Text = report.Reviewer;
this.txtReviewDate.Text = report.ReviewDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.ReviewDate) : "";
this.txtHandlingOpinion.Text = report.HandlingOpinion;
this.txtOpinionHandler.Text = report.OpinionHandler;
this.txtOpinionHandDate.Text = report.OpinionHandDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.OpinionHandDate) : "";
this.txtOpinionsReviewer.Text = report.OpinionsReviewer;
this.txtOpinionsDate.Text = report.OpinionsDate.HasValue ? string.Format("{0:yyyy-MM-dd}", report.OpinionsDate) : "";
}
}
else
{
//string steNames = string.Empty;
//List<string> steelLists = new List<string>();
//var isoInfos = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.ProjectId select x).ToList();
//foreach (var item in isoInfos)
//{
// if (!string.IsNullOrEmpty(item.STE_ID))
// {
// steelLists.Add(item.STE_ID);
// }
//}
//foreach (var item in steelLists.Distinct())
//{
// var ste = BLL.HJGL_MaterialService.GetSteelBySteID(item);
// if (ste != null)
// {
// steNames += ste.STE_Code + "、";
// }
//}
//if (!string.IsNullOrEmpty(steNames))
//{
// steNames = steNames.Substring(0, steNames.LastIndexOf('、'));
//}
//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.txtSubjectMatter.Text = BLL.Base_ProjectService.GetProjectByProjectId(this.ProjectId).ProjectName + ",以下问题请设计单位审核:";
}
}
}
#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_ContactMenuId, Const.BtnSave))
{
Model.JGZL_Contact newReport = new Model.JGZL_Contact();
newReport.ContractNumber = this.txtContractNumber.Text.Trim();
newReport.DeliveryUnit = this.txtDeliveryUnit.Text.Trim();
newReport.SubjectMatter = this.txtSubjectMatter.Text.Trim();
newReport.Contents = this.txtContents.Text.Trim();
newReport.Handler = this.txtHandler.Text.Trim();
newReport.HandDate = Funs.GetNewDateTime(this.txtHandDate.Text);
newReport.Reviewer = this.txtReviewer.Text.Trim();
newReport.ReviewDate = Funs.GetNewDateTime(this.txtReviewDate.Text);
newReport.HandlingOpinion = this.txtHandlingOpinion.Text;
newReport.OpinionHandler = this.txtOpinionHandler.Text;
newReport.OpinionHandDate =Funs.GetNewDateTime(this.txtOpinionHandDate.Text);
newReport.OpinionsReviewer = this.txtOpinionsReviewer.Text;
newReport.OpinionsDate = Funs.GetNewDateTime(this.txtOpinionsDate.Text);
if (!string.IsNullOrEmpty(this.ContactId))
{
newReport.ContactId = this.ContactId;
BLL.ContactService.UpdateContact(newReport);
}
else
{
newReport.ProjectId = this.ProjectId;
newReport.CompileMan = this.CurrUser.UserId;
newReport.CompileDate = DateTime.Now;
newReport.ContactId = SQLHelper.GetNewID(typeof(Model.JGZL_Contact));
this.ContactId = newReport.ContactId;
BLL.ContactService.AddContact(newReport);
}
ShowNotify("保存成功!", MessageBoxIcon.Success);
PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
}
else
{
Alert.ShowInTop("您没有这个权限,请与管理员联系!", MessageBoxIcon.Warning);
return;
}
}
#endregion
}
}

View File

@ -0,0 +1,188 @@
//------------------------------------------------------------------------------
// <自动生成>
// 此代码由工具生成。
//
// 对此文件的更改可能导致不正确的行为,如果
// 重新生成代码,则所做更改将丢失。
// </自动生成>
//------------------------------------------------------------------------------
namespace FineUIPro.Web.JGZL
{
public partial class ContactEdit
{
/// <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>
/// txtContractNumber 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtContractNumber;
/// <summary>
/// txtDeliveryUnit 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtDeliveryUnit;
/// <summary>
/// txtSubjectMatter 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtSubjectMatter;
/// <summary>
/// txtContents 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtContents;
/// <summary>
/// txtHandler 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtHandler;
/// <summary>
/// txtHandDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtHandDate;
/// <summary>
/// txtReviewer 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtReviewer;
/// <summary>
/// txtReviewDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtReviewDate;
/// <summary>
/// txtHandlingOpinion 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextArea txtHandlingOpinion;
/// <summary>
/// txtOpinionHandler 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtOpinionHandler;
/// <summary>
/// txtOpinionHandDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtOpinionHandDate;
/// <summary>
/// txtOpinionsReviewer 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.TextBox txtOpinionsReviewer;
/// <summary>
/// txtOpinionsDate 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.DatePicker txtOpinionsDate;
}
}

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="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>

View File

@ -377,6 +377,9 @@ namespace Model
partial void InsertJGZL_CommencementReport(JGZL_CommencementReport instance);
partial void UpdateJGZL_CommencementReport(JGZL_CommencementReport instance);
partial void DeleteJGZL_CommencementReport(JGZL_CommencementReport instance);
partial void InsertJGZL_Contact(JGZL_Contact instance);
partial void UpdateJGZL_Contact(JGZL_Contact instance);
partial void DeleteJGZL_Contact(JGZL_Contact instance);
partial void InsertJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void UpdateJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
partial void DeleteJGZL_HandoverCertificate(JGZL_HandoverCertificate instance);
@ -1752,6 +1755,14 @@ namespace Model
}
}
public System.Data.Linq.Table<JGZL_Contact> JGZL_Contact
{
get
{
return this.GetTable<JGZL_Contact>();
}
}
public System.Data.Linq.Table<JGZL_HandoverCertificate> JGZL_HandoverCertificate
{
get
@ -4345,6 +4356,8 @@ namespace Model
private EntitySet<JGZL_CommencementReport> _JGZL_CommencementReport;
private EntitySet<JGZL_Contact> _JGZL_Contact;
private EntitySet<JGZL_HandoverCertificate> _JGZL_HandoverCertificate;
private EntitySet<Project_Installation> _Project_Installation;
@ -4473,6 +4486,7 @@ namespace Model
this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet<HJGL_WeldingProcedure_WeldHotProcessCard>(new Action<HJGL_WeldingProcedure_WeldHotProcessCard>(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action<HJGL_WeldingProcedure_WeldHotProcessCard>(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard));
this._JGZL_AcceptanceCertificate = new EntitySet<JGZL_AcceptanceCertificate>(new Action<JGZL_AcceptanceCertificate>(this.attach_JGZL_AcceptanceCertificate), new Action<JGZL_AcceptanceCertificate>(this.detach_JGZL_AcceptanceCertificate));
this._JGZL_CommencementReport = new EntitySet<JGZL_CommencementReport>(new Action<JGZL_CommencementReport>(this.attach_JGZL_CommencementReport), new Action<JGZL_CommencementReport>(this.detach_JGZL_CommencementReport));
this._JGZL_Contact = new EntitySet<JGZL_Contact>(new Action<JGZL_Contact>(this.attach_JGZL_Contact), new Action<JGZL_Contact>(this.detach_JGZL_Contact));
this._JGZL_HandoverCertificate = new EntitySet<JGZL_HandoverCertificate>(new Action<JGZL_HandoverCertificate>(this.attach_JGZL_HandoverCertificate), new Action<JGZL_HandoverCertificate>(this.detach_JGZL_HandoverCertificate));
this._Project_Installation = new EntitySet<Project_Installation>(new Action<Project_Installation>(this.attach_Project_Installation), new Action<Project_Installation>(this.detach_Project_Installation));
this._Project_RoleButtonPower = new EntitySet<Project_RoleButtonPower>(new Action<Project_RoleButtonPower>(this.attach_Project_RoleButtonPower), new Action<Project_RoleButtonPower>(this.detach_Project_RoleButtonPower));
@ -5567,6 +5581,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_Contact_Base_Project", Storage="_JGZL_Contact", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<JGZL_Contact> JGZL_Contact
{
get
{
return this._JGZL_Contact;
}
set
{
this._JGZL_Contact.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_HandoverCertificate_Base_Project", Storage="_JGZL_HandoverCertificate", ThisKey="ProjectId", OtherKey="ProjectId", DeleteRule="NO ACTION")]
public EntitySet<JGZL_HandoverCertificate> JGZL_HandoverCertificate
{
@ -6262,6 +6289,18 @@ namespace Model
entity.Base_Project = null;
}
private void attach_JGZL_Contact(JGZL_Contact entity)
{
this.SendPropertyChanging();
entity.Base_Project = this;
}
private void detach_JGZL_Contact(JGZL_Contact entity)
{
this.SendPropertyChanging();
entity.Base_Project = null;
}
private void attach_JGZL_HandoverCertificate(JGZL_HandoverCertificate entity)
{
this.SendPropertyChanging();
@ -80054,6 +80093,534 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.JGZL_Contact")]
public partial class JGZL_Contact : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _ContactId;
private string _ProjectId;
private string _ContractNumber;
private string _DeliveryUnit;
private string _SubjectMatter;
private string _Contents;
private string _Handler;
private System.Nullable<System.DateTime> _HandDate;
private string _Reviewer;
private System.Nullable<System.DateTime> _ReviewDate;
private string _HandlingOpinion;
private string _OpinionHandler;
private System.Nullable<System.DateTime> _OpinionHandDate;
private string _OpinionsReviewer;
private System.Nullable<System.DateTime> _OpinionsDate;
private string _CompileMan;
private System.Nullable<System.DateTime> _CompileDate;
private EntityRef<Base_Project> _Base_Project;
private EntityRef<Sys_User> _Sys_User;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
partial void OnCreated();
partial void OnContactIdChanging(string value);
partial void OnContactIdChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnContractNumberChanging(string value);
partial void OnContractNumberChanged();
partial void OnDeliveryUnitChanging(string value);
partial void OnDeliveryUnitChanged();
partial void OnSubjectMatterChanging(string value);
partial void OnSubjectMatterChanged();
partial void OnContentsChanging(string value);
partial void OnContentsChanged();
partial void OnHandlerChanging(string value);
partial void OnHandlerChanged();
partial void OnHandDateChanging(System.Nullable<System.DateTime> value);
partial void OnHandDateChanged();
partial void OnReviewerChanging(string value);
partial void OnReviewerChanged();
partial void OnReviewDateChanging(System.Nullable<System.DateTime> value);
partial void OnReviewDateChanged();
partial void OnHandlingOpinionChanging(string value);
partial void OnHandlingOpinionChanged();
partial void OnOpinionHandlerChanging(string value);
partial void OnOpinionHandlerChanged();
partial void OnOpinionHandDateChanging(System.Nullable<System.DateTime> value);
partial void OnOpinionHandDateChanged();
partial void OnOpinionsReviewerChanging(string value);
partial void OnOpinionsReviewerChanged();
partial void OnOpinionsDateChanging(System.Nullable<System.DateTime> value);
partial void OnOpinionsDateChanged();
partial void OnCompileManChanging(string value);
partial void OnCompileManChanged();
partial void OnCompileDateChanging(System.Nullable<System.DateTime> value);
partial void OnCompileDateChanged();
#endregion
public JGZL_Contact()
{
this._Base_Project = default(EntityRef<Base_Project>);
this._Sys_User = default(EntityRef<Sys_User>);
OnCreated();
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ContactId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
public string ContactId
{
get
{
return this._ContactId;
}
set
{
if ((this._ContactId != value))
{
this.OnContactIdChanging(value);
this.SendPropertyChanging();
this._ContactId = value;
this.SendPropertyChanged("ContactId");
this.OnContactIdChanged();
}
}
}
[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="_ContractNumber", DbType="NVarChar(50)")]
public string ContractNumber
{
get
{
return this._ContractNumber;
}
set
{
if ((this._ContractNumber != value))
{
this.OnContractNumberChanging(value);
this.SendPropertyChanging();
this._ContractNumber = value;
this.SendPropertyChanged("ContractNumber");
this.OnContractNumberChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_DeliveryUnit", DbType="NVarChar(50)")]
public string DeliveryUnit
{
get
{
return this._DeliveryUnit;
}
set
{
if ((this._DeliveryUnit != value))
{
this.OnDeliveryUnitChanging(value);
this.SendPropertyChanging();
this._DeliveryUnit = value;
this.SendPropertyChanged("DeliveryUnit");
this.OnDeliveryUnitChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SubjectMatter", DbType="NVarChar(1000)")]
public string SubjectMatter
{
get
{
return this._SubjectMatter;
}
set
{
if ((this._SubjectMatter != value))
{
this.OnSubjectMatterChanging(value);
this.SendPropertyChanging();
this._SubjectMatter = value;
this.SendPropertyChanged("SubjectMatter");
this.OnSubjectMatterChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Contents", DbType="NVarChar(2000)")]
public string Contents
{
get
{
return this._Contents;
}
set
{
if ((this._Contents != value))
{
this.OnContentsChanging(value);
this.SendPropertyChanging();
this._Contents = value;
this.SendPropertyChanged("Contents");
this.OnContentsChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Handler", DbType="NVarChar(50)")]
public string Handler
{
get
{
return this._Handler;
}
set
{
if ((this._Handler != value))
{
this.OnHandlerChanging(value);
this.SendPropertyChanging();
this._Handler = value;
this.SendPropertyChanged("Handler");
this.OnHandlerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandDate", DbType="DateTime")]
public System.Nullable<System.DateTime> HandDate
{
get
{
return this._HandDate;
}
set
{
if ((this._HandDate != value))
{
this.OnHandDateChanging(value);
this.SendPropertyChanging();
this._HandDate = value;
this.SendPropertyChanged("HandDate");
this.OnHandDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Reviewer", DbType="NVarChar(50)")]
public string Reviewer
{
get
{
return this._Reviewer;
}
set
{
if ((this._Reviewer != value))
{
this.OnReviewerChanging(value);
this.SendPropertyChanging();
this._Reviewer = value;
this.SendPropertyChanged("Reviewer");
this.OnReviewerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ReviewDate", DbType="DateTime")]
public System.Nullable<System.DateTime> ReviewDate
{
get
{
return this._ReviewDate;
}
set
{
if ((this._ReviewDate != value))
{
this.OnReviewDateChanging(value);
this.SendPropertyChanging();
this._ReviewDate = value;
this.SendPropertyChanged("ReviewDate");
this.OnReviewDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_HandlingOpinion", DbType="NVarChar(1000)")]
public string HandlingOpinion
{
get
{
return this._HandlingOpinion;
}
set
{
if ((this._HandlingOpinion != value))
{
this.OnHandlingOpinionChanging(value);
this.SendPropertyChanging();
this._HandlingOpinion = value;
this.SendPropertyChanged("HandlingOpinion");
this.OnHandlingOpinionChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OpinionHandler", DbType="NVarChar(50)")]
public string OpinionHandler
{
get
{
return this._OpinionHandler;
}
set
{
if ((this._OpinionHandler != value))
{
this.OnOpinionHandlerChanging(value);
this.SendPropertyChanging();
this._OpinionHandler = value;
this.SendPropertyChanged("OpinionHandler");
this.OnOpinionHandlerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OpinionHandDate", DbType="DateTime")]
public System.Nullable<System.DateTime> OpinionHandDate
{
get
{
return this._OpinionHandDate;
}
set
{
if ((this._OpinionHandDate != value))
{
this.OnOpinionHandDateChanging(value);
this.SendPropertyChanging();
this._OpinionHandDate = value;
this.SendPropertyChanged("OpinionHandDate");
this.OnOpinionHandDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OpinionsReviewer", DbType="NVarChar(50)")]
public string OpinionsReviewer
{
get
{
return this._OpinionsReviewer;
}
set
{
if ((this._OpinionsReviewer != value))
{
this.OnOpinionsReviewerChanging(value);
this.SendPropertyChanging();
this._OpinionsReviewer = value;
this.SendPropertyChanged("OpinionsReviewer");
this.OnOpinionsReviewerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OpinionsDate", DbType="DateTime")]
public System.Nullable<System.DateTime> OpinionsDate
{
get
{
return this._OpinionsDate;
}
set
{
if ((this._OpinionsDate != value))
{
this.OnOpinionsDateChanging(value);
this.SendPropertyChanging();
this._OpinionsDate = value;
this.SendPropertyChanged("OpinionsDate");
this.OnOpinionsDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileMan", DbType="NVarChar(50)")]
public string CompileMan
{
get
{
return this._CompileMan;
}
set
{
if ((this._CompileMan != value))
{
if (this._Sys_User.HasLoadedOrAssignedValue)
{
throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
}
this.OnCompileManChanging(value);
this.SendPropertyChanging();
this._CompileMan = value;
this.SendPropertyChanged("CompileMan");
this.OnCompileManChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CompileDate", DbType="DateTime")]
public System.Nullable<System.DateTime> CompileDate
{
get
{
return this._CompileDate;
}
set
{
if ((this._CompileDate != value))
{
this.OnCompileDateChanging(value);
this.SendPropertyChanging();
this._CompileDate = value;
this.SendPropertyChanged("CompileDate");
this.OnCompileDateChanged();
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_Contact_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.JGZL_Contact.Remove(this);
}
this._Base_Project.Entity = value;
if ((value != null))
{
value.JGZL_Contact.Add(this);
this._ProjectId = value.ProjectId;
}
else
{
this._ProjectId = default(string);
}
this.SendPropertyChanged("Base_Project");
}
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_Contact_Sys_User", Storage="_Sys_User", ThisKey="CompileMan", OtherKey="UserId", IsForeignKey=true)]
public Sys_User Sys_User
{
get
{
return this._Sys_User.Entity;
}
set
{
Sys_User previousValue = this._Sys_User.Entity;
if (((previousValue != value)
|| (this._Sys_User.HasLoadedOrAssignedValue == false)))
{
this.SendPropertyChanging();
if ((previousValue != null))
{
this._Sys_User.Entity = null;
previousValue.JGZL_Contact.Remove(this);
}
this._Sys_User.Entity = value;
if ((value != null))
{
value.JGZL_Contact.Add(this);
this._CompileMan = value.UserId;
}
else
{
this._CompileMan = default(string);
}
this.SendPropertyChanged("Sys_User");
}
}
}
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.JGZL_HandoverCertificate")]
public partial class JGZL_HandoverCertificate : INotifyPropertyChanging, INotifyPropertyChanged
{
@ -101867,6 +102434,8 @@ namespace Model
private EntitySet<JGZL_CommencementReport> _JGZL_CommencementReport;
private EntitySet<JGZL_Contact> _JGZL_Contact;
private EntitySet<JGZL_HandoverCertificate> _JGZL_HandoverCertificate;
private EntitySet<Project_User> _Project_User;
@ -101952,6 +102521,7 @@ namespace Model
this._HJGL_WeldingProcedure_WeldHotProcessCard = new EntitySet<HJGL_WeldingProcedure_WeldHotProcessCard>(new Action<HJGL_WeldingProcedure_WeldHotProcessCard>(this.attach_HJGL_WeldingProcedure_WeldHotProcessCard), new Action<HJGL_WeldingProcedure_WeldHotProcessCard>(this.detach_HJGL_WeldingProcedure_WeldHotProcessCard));
this._JGZL_AcceptanceCertificate = new EntitySet<JGZL_AcceptanceCertificate>(new Action<JGZL_AcceptanceCertificate>(this.attach_JGZL_AcceptanceCertificate), new Action<JGZL_AcceptanceCertificate>(this.detach_JGZL_AcceptanceCertificate));
this._JGZL_CommencementReport = new EntitySet<JGZL_CommencementReport>(new Action<JGZL_CommencementReport>(this.attach_JGZL_CommencementReport), new Action<JGZL_CommencementReport>(this.detach_JGZL_CommencementReport));
this._JGZL_Contact = new EntitySet<JGZL_Contact>(new Action<JGZL_Contact>(this.attach_JGZL_Contact), new Action<JGZL_Contact>(this.detach_JGZL_Contact));
this._JGZL_HandoverCertificate = new EntitySet<JGZL_HandoverCertificate>(new Action<JGZL_HandoverCertificate>(this.attach_JGZL_HandoverCertificate), new Action<JGZL_HandoverCertificate>(this.detach_JGZL_HandoverCertificate));
this._Project_User = new EntitySet<Project_User>(new Action<Project_User>(this.attach_Project_User), new Action<Project_User>(this.detach_Project_User));
this._Project_UserButtonPower = new EntitySet<Project_UserButtonPower>(new Action<Project_UserButtonPower>(this.attach_Project_UserButtonPower), new Action<Project_UserButtonPower>(this.detach_Project_UserButtonPower));
@ -102617,6 +103187,19 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_Contact_Sys_User", Storage="_JGZL_Contact", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<JGZL_Contact> JGZL_Contact
{
get
{
return this._JGZL_Contact;
}
set
{
this._JGZL_Contact.Assign(value);
}
}
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_JGZL_HandoverCertificate_Sys_User", Storage="_JGZL_HandoverCertificate", ThisKey="UserId", OtherKey="CompileMan", DeleteRule="NO ACTION")]
public EntitySet<JGZL_HandoverCertificate> JGZL_HandoverCertificate
{
@ -103021,6 +103604,18 @@ namespace Model
entity.Sys_User = null;
}
private void attach_JGZL_Contact(JGZL_Contact entity)
{
this.SendPropertyChanging();
entity.Sys_User = this;
}
private void detach_JGZL_Contact(JGZL_Contact entity)
{
this.SendPropertyChanging();
entity.Sys_User = null;
}
private void attach_JGZL_HandoverCertificate(JGZL_HandoverCertificate entity)
{
this.SendPropertyChanging();