20260224 交工资料
This commit is contained in:
parent
dd57620f93
commit
40eab764a1
|
|
@ -362,7 +362,7 @@ namespace FineUIPro.Web.JGZL
|
||||||
BLL.Common.FastReportService.AddFastreportTable(dt);
|
BLL.Common.FastReportService.AddFastreportTable(dt);
|
||||||
|
|
||||||
var itemList = BLL.BlowingCleaningItemService.GetBlowingCleaningItemList(report.BlowingCleaningId);
|
var itemList = BLL.BlowingCleaningItemService.GetBlowingCleaningItemList(report.BlowingCleaningId);
|
||||||
if (this.drpIsoNoS.SelectedValue!=BLL.Const._Null&&!string.IsNullOrEmpty(this.drpIsoNoS.SelectedValue))
|
if (this.drpIsoNoS.SelectedValue != BLL.Const._Null && !string.IsNullOrEmpty(this.drpIsoNoS.SelectedValue))
|
||||||
{
|
{
|
||||||
itemList = itemList.Where(x => x.ISO_Id.Contains(this.drpIsoNoS.SelectedValue)).ToList();
|
itemList = itemList.Where(x => x.ISO_Id.Contains(this.drpIsoNoS.SelectedValue)).ToList();
|
||||||
}
|
}
|
||||||
|
|
@ -391,7 +391,7 @@ namespace FineUIPro.Web.JGZL
|
||||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||||
//keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
//keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||||
}
|
|
||||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道吹扫、清洗检验记录.frx";
|
initTemplatePath = "File\\Fastreport\\JGZL\\管道吹扫、清洗检验记录.frx";
|
||||||
if (File.Exists(rootPath + initTemplatePath))
|
if (File.Exists(rootPath + initTemplatePath))
|
||||||
{
|
{
|
||||||
|
|
@ -399,6 +399,12 @@ namespace FineUIPro.Web.JGZL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
|
|
@ -371,7 +371,7 @@ namespace FineUIPro.Web.JGZL
|
||||||
BLL.Common.FastReportService.ResetData();
|
BLL.Common.FastReportService.ResetData();
|
||||||
|
|
||||||
var report = (from x in Funs.DB.JGZL_PressureTestOfPipelineSystemConfirmationRecord where x.ProjectId == projectId select x);
|
var report = (from x in Funs.DB.JGZL_PressureTestOfPipelineSystemConfirmationRecord where x.ProjectId == projectId select x);
|
||||||
if (report != null)
|
if (report.Count() > 0)
|
||||||
{
|
{
|
||||||
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
Dictionary<string, string> keyValuePairs = new Dictionary<string, string>();
|
||||||
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
keyValuePairs.Add("ProjectName", BLL.Base_ProjectService.GetProjectByProjectId(projectId).ProjectName);
|
||||||
|
|
|
||||||
|
|
@ -380,7 +380,7 @@ namespace FineUIPro.Web.JGZL
|
||||||
keyValuePairs.Add("TestConclusion", report.TestConclusion);
|
keyValuePairs.Add("TestConclusion", report.TestConclusion);
|
||||||
keyValuePairs.Add("Remark", report.Remark);
|
keyValuePairs.Add("Remark", report.Remark);
|
||||||
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
BLL.Common.FastReportService.AddFastreportParameter(keyValuePairs);
|
||||||
}
|
|
||||||
initTemplatePath = "File\\Fastreport\\JGZL\\管道系统压力试验记录.frx";
|
initTemplatePath = "File\\Fastreport\\JGZL\\管道系统压力试验记录.frx";
|
||||||
if (File.Exists(rootPath + initTemplatePath))
|
if (File.Exists(rootPath + initTemplatePath))
|
||||||
{
|
{
|
||||||
|
|
@ -388,6 +388,12 @@ namespace FineUIPro.Web.JGZL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
|
Alert.ShowInTop("请先保存数据!", MessageBoxIcon.Warning);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
Alert.ShowInTop("请选择项目!", MessageBoxIcon.Warning);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue