20260212 隔热工程质量验收记录
This commit is contained in:
parent
2355984ee7
commit
00e4d65dca
|
|
@ -80,7 +80,7 @@ CREATE TABLE [dbo].[JGZL_InsulationAcceptanceRecordItem](
|
|||
) ON [PRIMARY]
|
||||
GO
|
||||
|
||||
ALTER TABLE [dbo].[JGZL_InsulationAcceptanceRecordItem] WITH CHECK ADD CONSTRAINT [FK_JGZL_InsulationAcceptanceRecordItem_JGZL_InsulationAcceptanceRecord] FOREIGN KEY([InsulationAcceptanceRecordItemId])
|
||||
ALTER TABLE [dbo].[JGZL_InsulationAcceptanceRecordItem] WITH CHECK ADD CONSTRAINT [FK_JGZL_InsulationAcceptanceRecordItem_JGZL_InsulationAcceptanceRecord] FOREIGN KEY([InsulationAcceptanceRecordId])
|
||||
REFERENCES [dbo].[JGZL_InsulationAcceptanceRecord] ([InsulationAcceptanceRecordId])
|
||||
GO
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="02/12/2026 10:12:28" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="11/23/2024 15:00:41" ReportInfo.Modified="02/12/2026 11:16:53" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<ScriptText>using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
|
@ -42,7 +42,7 @@ namespace FastReport
|
|||
}
|
||||
</ScriptText>
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QF0BXLqCH+D36Tzw9+6fXkjQ==">
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFDjka4VrHzT3w+XpvQHBlbQ==">
|
||||
<TableDataSource Name="Attach_Image" Alias="Data" DataType="System.Int32" Enabled="true" TableName="Attach_Image">
|
||||
<Column Name="Number" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="ISO_IsoNo" DataType="System.String" PropName="image_series"/>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,34 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="02/11/2026 16:08:40" ReportInfo.Modified="02/11/2026 16:45:40" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary/>
|
||||
<Report ScriptLanguage="CSharp" ReportInfo.Created="02/11/2026 16:08:40" ReportInfo.Modified="02/12/2026 11:50:31" ReportInfo.CreatorVersion="2017.1.16.0">
|
||||
<Dictionary>
|
||||
<MsSqlDataConnection Name="Connection" ConnectionString="rijcmlqtRsOalcXxDhVt62rPEPNYjaATUoMqziRYvJtgNsyJKYAG7kXKvNAMI/qBkgJNPccFsWrhiII6oyX1HS+uwN7YigxVjqUq3vIet2zpPnmWhwvYEvWOOCZZGx6EC4BfGfWX8aPj6bmoF52Z0fnUA9g71duxa/gvChTW/nzu9qsYVuvlVHliMnnu6jEIF9n+/QFkbVthE1sVR7xd7OLxjHSCQ==">
|
||||
<TableDataSource Name="MainData" DataType="System.Int32" PropName="Attach_Image" Enabled="true" TableName="MainData">
|
||||
<Column Name="ProjectName" DataType="System.String" PropName="attach_image_id"/>
|
||||
<Column Name="HeatInsulationArea" DataType="System.String" PropName="image_series"/>
|
||||
<Column Name="InsulationStructure" DataType="System.String" PropName="file_name"/>
|
||||
<Column Name="AcceptanceConclusion" DataType="System.String" PropName="file_size"/>
|
||||
<Column Name="CompileDate" DataType="System.String" PropName="file_type"/>
|
||||
</TableDataSource>
|
||||
<TableDataSource Name="Data" DataType="System.Int32" PropName="AttachFile" Enabled="true" TableName="Data">
|
||||
<Column Name="AttachFileId" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="ToKeyId" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="AttachSource" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="AttachUrl" Enabled="false" DataType="System.String"/>
|
||||
<Column Name="MenuId" Enabled="false" DataType="System.String"/>
|
||||
</TableDataSource>
|
||||
</MsSqlDataConnection>
|
||||
<Parameter Name="CheckResult1" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult2" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult3" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult4" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult5" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult6" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult7" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult8" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult9" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult10" DataType="System.String"/>
|
||||
<Parameter Name="CheckResult11" DataType="System.String"/>
|
||||
</Dictionary>
|
||||
<ReportPage Name="Page1" RawPaperSize="9" LeftMargin="22" TopMargin="13.3" RightMargin="17" BottomMargin="16.5" Guides="0,646.4,142.7,398.8,483.85,133.25,256.1,513.15,29.3,360.05,95.45,550.95,161.6,646.38,215.46,430.92">
|
||||
<PageHeaderBand Name="PageHeader1" Width="646.38" Height="94.5" Guides="0,94.5,66.15,9.45,28.35">
|
||||
<TableObject Name="Table1" Width="646.4" Height="94.5" Border.Lines="Left, Right, Top">
|
||||
|
|
@ -11,7 +39,7 @@
|
|||
<TableRow Name="Row1" Height="66.15">
|
||||
<TableCell Name="Cell1" Border.Lines="All" Text="SH/T 3503—J119" HorzAlign="Center" VertAlign="Center" Font="黑体, 10.5pt" RowSpan="2"/>
|
||||
<TableCell Name="Cell2" Border.Lines="All" Text="隔热工程质量验收记录" HorzAlign="Center" VertAlign="Center" Font="宋体, 16pt, style=Bold" RowSpan="2"/>
|
||||
<TableCell Name="Cell3" Border.Lines="Left, Right, Top" Font="宋体, 10.5pt" ColSpan="2">
|
||||
<TableCell Name="Cell3" Border.Lines="Left, Right, Top" Text=" [MainData.ProjectName]" Padding="2, 10, 2, 1" Font="楷体, 10.5pt" ColSpan="2">
|
||||
<TextObject Name="Text1" Top="9.45" Width="85.05" Height="18.9" Text="工程名称:" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableCell>
|
||||
<TableCell Name="Cell4" Border.Lines="All"/>
|
||||
|
|
@ -32,13 +60,13 @@
|
|||
<TableColumn Name="Column8" Width="95.45"/>
|
||||
<TableRow Name="Row3" Height="94.5">
|
||||
<TableCell Name="Cell10" Border.Lines="All" Text="隔热部位" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell11" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell11" Border.Lines="All" Text="[MainData.HeatInsulationArea]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell12" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell63" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row4" Height="94.5">
|
||||
<TableCell Name="Cell15" Border.Lines="All" Text="隔热结构" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell16" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell16" Border.Lines="All" Text="[MainData.InsulationStructure]" VertAlign="Center" Font="楷体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell17" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell64" Border.Lines="All"/>
|
||||
</TableRow>
|
||||
|
|
@ -52,70 +80,70 @@
|
|||
<TableCell Name="Cell25" Border.Lines="All" Text="原材料符合设计及有关规范要求,具有出厂质量证明文件及复验报告" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell26" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell27" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell66" Border.Lines="All"/>
|
||||
<TableCell Name="Cell66" Border.Lines="All" Text="[CheckResult1]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row7" Height="37.8">
|
||||
<TableCell Name="Cell30" Border.Lines="All" Text="设备、管道按规定进行了压力试验,防腐涂层完毕" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell31" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell32" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell67" Border.Lines="All"/>
|
||||
<TableCell Name="Cell67" Border.Lines="All" Text="[CheckResult2]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row8" Height="37.8">
|
||||
<TableCell Name="Cell33" Border.Lines="All" Text="具有工序交接记录" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell34" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell35" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All"/>
|
||||
<TableCell Name="Cell68" Border.Lines="All" Text="[CheckResult3]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row9" Height="37.8">
|
||||
<TableCell Name="Cell36" Border.Lines="All" Text="管支、托架处的隔热层结构不影响活动面的自由伸缩" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="3"/>
|
||||
<TableCell Name="Cell37" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell38" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All"/>
|
||||
<TableCell Name="Cell69" Border.Lines="All" Text="[CheckResult4]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row10" Height="37.8">
|
||||
<TableCell Name="Cell39" Border.Lines="All" Text="隔热层" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="3"/>
|
||||
<TableCell Name="Cell40" Border.Lines="All" Text="成型制品同层错缝、内外层压缝,伸缩缝留置正确,嵌缝充填或粘贴紧密、厚度偏差符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell41" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All"/>
|
||||
<TableCell Name="Cell70" Border.Lines="All" Text="[CheckResult5]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row11" Height="37.8">
|
||||
<TableCell Name="Cell42" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell43" Border.Lines="All" Text="缠裹材料同层靠紧,内外层缠裹方向相反,接缝错开,厚度偏差符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell44" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All"/>
|
||||
<TableCell Name="Cell71" Border.Lines="All" Text="[CheckResult6]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row12" Height="37.8">
|
||||
<TableCell Name="Cell45" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell46" Border.Lines="All" Text="散状材料和浇注材料,填充密实、均匀,厚度偏差符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell47" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All"/>
|
||||
<TableCell Name="Cell72" Border.Lines="All" Text="[CheckResult7]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row13" Height="56.7">
|
||||
<TableCell Name="Cell48" Border.Lines="All" Text="防潮层" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell49" Border.Lines="All" Text="粘贴于隔热层上,无脱落和鼓包现象,表面平整,厚度符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell50" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell73" Border.Lines="All"/>
|
||||
<TableCell Name="Cell73" Border.Lines="All" Text="[CheckResult8]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row14" Height="37.8">
|
||||
<TableCell Name="Cell51" Border.Lines="All" Text="保护层" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt" RowSpan="3"/>
|
||||
<TableCell Name="Cell52" Border.Lines="All" Text="金属保护层应压边,搭接缝、表面平整度符合规范规定,无脱壳和凹凸不平" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell53" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All"/>
|
||||
<TableCell Name="Cell74" Border.Lines="All" Text="[CheckResult9]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row15" Height="37.8">
|
||||
<TableCell Name="Cell54" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell55" Border.Lines="All" Text="卷材保护层应紧贴表面,无褶皱和开裂" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell56" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All"/>
|
||||
<TableCell Name="Cell75" Border.Lines="All" Text="[CheckResult10]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row16" Height="37.8">
|
||||
<TableCell Name="Cell57" Border.Lines="All" HorzAlign="Center" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell58" Border.Lines="All" Text="抹面保护层应平整、光滑,端部棱角整齐,无显著裂纹,表面平整度符合规范规定" VertAlign="Center" Font="宋体, 10.5pt" ColSpan="2"/>
|
||||
<TableCell Name="Cell59" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell76" Border.Lines="All"/>
|
||||
<TableCell Name="Cell76" Border.Lines="All" Text="[CheckResult11]" HorzAlign="Center" VertAlign="Center" Font="楷体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row17" Height="85.05">
|
||||
<TableCell Name="Cell60" Border.Lines="All" Text="验收结论:" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell60" Border.Lines="All" Text="验收结论:[MainData.AcceptanceConclusion]" Font="宋体, 10.5pt" ColSpan="4"/>
|
||||
<TableCell Name="Cell61" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell62" Border.Lines="All" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell77" Border.Lines="All"/>
|
||||
|
|
@ -148,9 +176,9 @@
|
|||
<TableCell Name="Cell95" Text="专业工程师:" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
<TableRow Name="Row22" Height="30.24">
|
||||
<TableCell Name="Cell98" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell99" Border.Lines="Left, Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell100" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell98" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell99" Border.Lines="Left, Right" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
<TableCell Name="Cell100" Text="日期: 年 月 日" VertAlign="Center" Font="宋体, 10.5pt"/>
|
||||
</TableRow>
|
||||
</TableObject>
|
||||
</PageFooterBand>
|
||||
|
|
|
|||
|
|
@ -216,25 +216,37 @@ namespace FineUIPro.Web.JGZL
|
|||
var itemList = BLL.InsulationAcceptanceRecordItemService.GetItemsByInsulationAcceptanceRecordId(this.Grid1.SelectedRowID);
|
||||
if (itemList.Count > 0)
|
||||
{
|
||||
DataTable itemdt = new DataTable();
|
||||
itemdt.TableName = "Data";
|
||||
itemdt.Columns.Add("CheckCode");
|
||||
itemdt.Columns.Add("CheckItem");
|
||||
itemdt.Columns.Add("CheckResult");
|
||||
//DataTable itemdt = new DataTable();
|
||||
//itemdt.TableName = "Data";
|
||||
//itemdt.Columns.Add("CheckCode");
|
||||
//itemdt.Columns.Add("CheckItem");
|
||||
//itemdt.Columns.Add("CheckResult");
|
||||
|
||||
foreach (var item in itemList)
|
||||
{
|
||||
var newRow2 = itemdt.NewRow();
|
||||
newRow2["CheckCode"] = item.CheckCode;
|
||||
newRow2["CheckItem"] = item.CheckItem;
|
||||
newRow2["CheckResult"] = item.CheckResult;
|
||||
itemdt.Rows.Add(newRow2);
|
||||
}
|
||||
BLL.Common.FastReportService.AddFastreportTable(itemdt);
|
||||
//foreach (var item in itemList)
|
||||
//{
|
||||
// var newRow2 = itemdt.NewRow();
|
||||
// newRow2["CheckCode"] = item.CheckCode;
|
||||
// newRow2["CheckItem"] = item.CheckItem;
|
||||
// newRow2["CheckResult"] = item.CheckResult;
|
||||
// itemdt.Rows.Add(newRow2);
|
||||
//}
|
||||
//BLL.Common.FastReportService.AddFastreportTable(itemdt);
|
||||
|
||||
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
keyValuePairs.Add("CheckResult1", itemList.Where(x => x.CheckCode == "1").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult2", itemList.Where(x => x.CheckCode == "2").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult3", itemList.Where(x => x.CheckCode == "3").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult4", itemList.Where(x => x.CheckCode == "4").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult5", itemList.Where(x => x.CheckCode == "5").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult6", itemList.Where(x => x.CheckCode == "6").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult7", itemList.Where(x => x.CheckCode == "7").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult8", itemList.Where(x => x.CheckCode == "8").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult9", itemList.Where(x => x.CheckCode == "9").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult10", itemList.Where(x => x.CheckCode == "10").FirstOrDefault().CheckResult);
|
||||
keyValuePairs.Add("CheckResult11", itemList.Where(x => x.CheckCode == "11").FirstOrDefault().CheckResult);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
}
|
||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||
//keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||
}
|
||||
initTemplatePath = "File\\Fastreport\\JGZL\\隔热工程质量验收记录.frx";
|
||||
if (File.Exists(rootPath + initTemplatePath))
|
||||
|
|
|
|||
|
|
@ -199,7 +199,7 @@ namespace FineUIPro.Web.JGZL
|
|||
void saveItem()
|
||||
{
|
||||
BLL.InsulationAcceptanceRecordItemService.DeleteItemByInsulationAcceptanceRecordId(this.InsulationAcceptanceRecordId);
|
||||
List<Model.JGZL_InsulationAcceptanceRecordItem> detailLists = new List<Model.JGZL_InsulationAcceptanceRecordItem>();
|
||||
//List<Model.JGZL_InsulationAcceptanceRecordItem> detailLists = new List<Model.JGZL_InsulationAcceptanceRecordItem>();
|
||||
JArray teamGroupData = Grid1.GetMergedData();
|
||||
foreach (JObject teamGroupRow in teamGroupData)
|
||||
{
|
||||
|
|
@ -213,19 +213,7 @@ namespace FineUIPro.Web.JGZL
|
|||
CheckItem = values.Value<string>("CheckItem"),
|
||||
CheckResult = values.Value<string>("CheckResult")
|
||||
};
|
||||
detailLists.Add(newDetail);
|
||||
}
|
||||
try
|
||||
{
|
||||
if (detailLists.Count > 0)
|
||||
{
|
||||
Funs.DB.JGZL_InsulationAcceptanceRecordItem.InsertAllOnSubmit(detailLists);
|
||||
}
|
||||
Funs.DB.SubmitChanges();
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
return;
|
||||
BLL.InsulationAcceptanceRecordItemService.AddInsulationAcceptanceRecordItem(newDetail);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -37,6 +37,14 @@ namespace FineUIPro.Web.JGZL
|
|||
this.InitTreeMenu();//加载树
|
||||
this.tvControlItem.SelectedNodeID = this.drpProjectId.SelectedValue;
|
||||
this.BindGrid();
|
||||
|
||||
this.drpIsoId.Items.Clear();
|
||||
this.drpIsoId.DataTextField = "ISO_IsoNo";
|
||||
this.drpIsoId.DataValueField = "ISO_ID";
|
||||
this.drpIsoId.DataSource = (from x in Funs.DB.HJGL_PW_IsoInfo where x.ProjectId == this.tvControlItem.SelectedNodeID select x).ToList();
|
||||
this.drpIsoId.DataBind();
|
||||
Funs.FineUIPleaseSelect(this.drpIsoId);
|
||||
this.drpIsoId.SelectedIndex = 0;
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
|
|
|||
Loading…
Reference in New Issue