2023-04-04 001

This commit is contained in:
2023-04-04 16:30:24 +08:00
parent e7295249ff
commit 31a0baf6fe
7 changed files with 102 additions and 9 deletions
@@ -353,7 +353,20 @@ namespace FineUIPro.Web.HJGL.WeldingManage
/// <param name="e"></param>
protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
{
BindGrid();
Model.HJGL_Pipeline pipeline = BLL.PipelineService.GetPipelineByPipelineId(this.tvControlItem.SelectedNodeID);
this.hdUnitWorkId.Text = string.Empty;
if (pipeline != null)
{
this.hdUnitWorkId.Text = this.tvControlItem.SelectedNode.ParentNode.NodeID;
this.BindGrid();
}
else
{
this.hdUnitWorkId.Text = this.tvControlItem.SelectedNodeID;
NoAuditBindGrid();
}
}
#endregion
@@ -944,7 +957,19 @@ namespace FineUIPro.Web.HJGL.WeldingManage
protected void ckIsAudit_CheckedChanged(object sender, CheckedEventArgs e)
{
BindGrid();
Model.HJGL_Pipeline pipeline = BLL.PipelineService.GetPipelineByPipelineId(this.tvControlItem.SelectedNodeID);
this.hdUnitWorkId.Text = string.Empty;
if (pipeline != null)
{
this.hdUnitWorkId.Text = this.tvControlItem.SelectedNode.ParentNode.NodeID;
this.BindGrid();
}
else
{
this.hdUnitWorkId.Text = this.tvControlItem.SelectedNodeID;
NoAuditBindGrid();
}
}
}
}