20250225
This commit is contained in:
parent
bb30002799
commit
1791e3b02f
|
@ -322,14 +322,14 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
lodAllGrid("0");
|
lodAllGrid("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
Grid10.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//Grid10.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
gvTj.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//gvTj.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvSb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvSb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvGD.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvGD.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvDq.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvDq.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvYb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvYb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvFf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvFf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvXf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvXf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
|
|
||||||
hidReportId.Value = ReportId;
|
hidReportId.Value = ReportId;
|
||||||
}
|
}
|
||||||
|
@ -1214,8 +1214,8 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
#region 7.3 无损检测管理 Grid10方法
|
#region 7.3 无损检测管理 Grid10方法
|
||||||
void loadProcessControl_NondestructiveTest_New()
|
void loadProcessControl_NondestructiveTest_New()
|
||||||
{
|
{
|
||||||
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
|
DateTime startDate = Convert.ToDateTime(string.Format(this.txtStartDate.Text.Trim()));
|
||||||
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
|
DateTime endDate = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd HH:mm:ss}", this.txtEndDate.Text.Trim() + " 23:59:59"));
|
||||||
var list = new List<Model.ProcessControl_NondestructiveTest_New>();
|
var list = new List<Model.ProcessControl_NondestructiveTest_New>();
|
||||||
//加载所有施工分包单位
|
//加载所有施工分包单位
|
||||||
//var units = from x in db.Project_ProjectUnit
|
//var units = from x in db.Project_ProjectUnit
|
||||||
|
@ -1239,8 +1239,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
from u in unitJoin.DefaultIfEmpty()
|
from u in unitJoin.DefaultIfEmpty()
|
||||||
|
|
||||||
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
|
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
|
||||||
&& c.CreateDate >= Convert.ToDateTime(startDate) && c.CreateDate <= Convert.ToDateTime(endDate)
|
&& c.CreateDate >= startDate && c.CreateDate <= endDate
|
||||||
|
|
||||||
orderby c.CreateDate descending
|
orderby c.CreateDate descending
|
||||||
|
|
||||||
select new
|
select new
|
||||||
|
|
|
@ -262,14 +262,14 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
lodAllGrid("0");
|
lodAllGrid("0");
|
||||||
}
|
}
|
||||||
|
|
||||||
Grid10.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//Grid10.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
gvTj.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//gvTj.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvSb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvSb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvGD.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvGD.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvDq.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvDq.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvYb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvYb.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvFf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvFf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
GvXf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
//GvXf.EmptyText = "<raw><div class=\"grid-empty-text\">无数据</div></raw>";
|
||||||
|
|
||||||
hidReportId.Value = ReportId;
|
hidReportId.Value = ReportId;
|
||||||
}
|
}
|
||||||
|
@ -1140,7 +1140,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
void loadProcessControl_NondestructiveTest_New()
|
void loadProcessControl_NondestructiveTest_New()
|
||||||
{
|
{
|
||||||
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
|
DateTime startDate = Convert.ToDateTime(this.txtStartDate.Text.Trim());
|
||||||
DateTime endDate = Convert.ToDateTime(this.txtEndDate.Text.Trim());
|
DateTime endDate = Convert.ToDateTime(string.Format("{0:yyyy-MM-dd HH:mm:ss}", this.txtEndDate.Text.Trim() + " 23:59:59"));
|
||||||
var list = new List<Model.ProcessControl_NondestructiveTest_New>();
|
var list = new List<Model.ProcessControl_NondestructiveTest_New>();
|
||||||
//加载所有施工分包单位
|
//加载所有施工分包单位
|
||||||
//var units = from x in db.Project_ProjectUnit
|
//var units = from x in db.Project_ProjectUnit
|
||||||
|
@ -1164,8 +1164,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew
|
||||||
from u in unitJoin.DefaultIfEmpty()
|
from u in unitJoin.DefaultIfEmpty()
|
||||||
|
|
||||||
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
|
where c.ProjectId == this.CurrUser.LoginProjectId && c.UnitId == item.UnitId
|
||||||
&& c.CreateDate >= Convert.ToDateTime(startDate) && c.CreateDate <= Convert.ToDateTime(endDate)
|
&& c.CreateDate >= startDate && c.CreateDate <= endDate
|
||||||
|
|
||||||
orderby c.CreateDate descending
|
orderby c.CreateDate descending
|
||||||
|
|
||||||
select new
|
select new
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<LastActiveSolutionConfig>Debug|Any CPU</LastActiveSolutionConfig>
|
<LastActiveSolutionConfig>Release|Any CPU</LastActiveSolutionConfig>
|
||||||
<UseIISExpress>true</UseIISExpress>
|
<UseIISExpress>true</UseIISExpress>
|
||||||
<Use64BitIISExpress />
|
<Use64BitIISExpress />
|
||||||
<IISExpressSSLPort />
|
<IISExpressSSLPort />
|
||||||
|
|
Loading…
Reference in New Issue