Compare commits

..

No commits in common. "d5df13592ba706e53d49733ebd6f6e24de98a740" and "8ffffa93bdc57fe7b41cfd175ca43aad1c3eaaa8" have entirely different histories.

3 changed files with 3 additions and 38 deletions

View File

@ -45,8 +45,7 @@
</f:Label>
<f:ToolbarFill ID="ToolbarFill1" runat="server">
</f:ToolbarFill>
<f:HiddenField runat="server" ID="hdType"></f:HiddenField>
<f:Button ID="BtnAnalyse3" Text="按部门统计" Icon="ChartPie" Hidden="true" runat="server" OnClick="BtnAnalyse3_Click"></f:Button>
<f:Button ID="BtnAnalyse3" Text="按部门统计" Icon="ChartPie" runat="server" OnClick="BtnAnalyse3_Click"></f:Button>
<f:Button ID="BtnAnalyse2" Text="按焊工统计" Icon="ChartPie" runat="server" OnClick="BtnAnalyse2_Click"></f:Button>
<f:Button ID="BtnAnalyse" Text="按项目统计" Icon="ChartPie" runat="server" OnClick="BtnAnalyse_Click"></f:Button>
<f:Button ID="btnOut" OnClick="btnOut_Click" runat="server" Text="导出" Icon="TableGo"

View File

@ -444,18 +444,7 @@
/// <param name="e"></param>
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
if (this.hdType.Text == "1")
{
this.BindGrid();
}
else if (this.hdType.Text == "2")
{
this.BindGrid2();
}
else if (this.hdType.Text == "3")
{
this.BindGrid3();
}
this.BindGrid();
}
/// <summary>
@ -466,18 +455,7 @@
protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
{
this.Grid1.PageSize = Convert.ToInt32(this.ddlPageSize.SelectedValue);
if (this.hdType.Text == "1")
{
this.BindGrid();
}
else if (this.hdType.Text == "2")
{
this.BindGrid2();
}
else if (this.hdType.Text == "3")
{
this.BindGrid3();
}
this.BindGrid();
}
/// <summary>
@ -499,7 +477,6 @@
/// <param name="e"></param>
protected void BtnAnalyse_Click(object sender, EventArgs e)
{
this.hdType.Text = "1";
this.Grid1.Columns[1].Hidden = false;
BindGrid();
OutputSummaryData();
@ -512,7 +489,6 @@
/// <param name="e"></param>
protected void BtnAnalyse2_Click(object sender, EventArgs e)
{
this.hdType.Text = "2";
this.Grid1.Columns[1].Hidden = true;
BindGrid2();
this.Grid1.SummaryData = null;
@ -526,7 +502,6 @@
/// <param name="e"></param>
protected void BtnAnalyse3_Click(object sender, EventArgs e)
{
this.hdType.Text = "3";
this.Grid1.Columns[1].Hidden = true;
BindGrid3();
this.Grid1.SummaryData = null;

View File

@ -147,15 +147,6 @@ namespace FineUIPro.Web.HJGL.WeldingReport {
/// </remarks>
protected global::FineUIPro.ToolbarFill ToolbarFill1;
/// <summary>
/// hdType 控件。
/// </summary>
/// <remarks>
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
/// </remarks>
protected global::FineUIPro.HiddenField hdType;
/// <summary>
/// BtnAnalyse3 控件。
/// </summary>