提交代码

This commit is contained in:
2024-08-15 14:56:34 +08:00
parent e5a00b83ad
commit d7dbdce04e
1747 changed files with 3087 additions and 255 deletions
@@ -27,7 +27,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
{
if (!IsPostBack)
{
Funs.DropDownPageSize(this.ddlPageSize);
//Funs.DropDownPageSize(this.ddlPageSize);
this.ProjectId = this.CurrUser.LoginProjectId;
if (!string.IsNullOrEmpty(Request.Params["projectId"]) && Request.Params["projectId"] != this.ProjectId)
{
@@ -128,8 +128,8 @@ namespace FineUIPro.Web.HSSE.SitePerson
/// <param name="e"></param>
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
{
Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
GetPersonStatistic();
//Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
//GetPersonStatistic();
}
#endregion
@@ -158,8 +158,6 @@ namespace FineUIPro.Web.HSSE.SitePerson
Response.AddHeader("content-disposition", "attachment; filename=" + System.Web.HttpUtility.UrlEncode("现场岗位人工时统计" + filename, System.Text.Encoding.UTF8) + ".xls");
Response.ContentType = "application/excel";
Response.ContentEncoding = System.Text.Encoding.UTF8;
this.Grid1.PageSize = this.Grid1.RecordCount;
GetPersonStatistic();
Response.Write(GetGridTableHtml(Grid1));
Response.End();
}