This commit is contained in:
2021-07-20 16:02:27 +08:00
parent b3d23a52d9
commit 7700a66999
16 changed files with 178 additions and 90 deletions
@@ -64,7 +64,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
this.drpUnit.Enabled = false;
}
this.txtStartDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now.AddMonths(-1));
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
this.txtEndDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now.AddDays(1));
// 绑定表格
BindGrid();
}
@@ -307,18 +307,14 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (intoOut != null)
{
if (intoOut.ToString() == "True")
if (intoOut.ToString() == "1")
{
return "进场";
}
else if (intoOut.ToString() == "False")
else
{
return "出场";
}
else
{
return "";
}
}
return "";
}