20211202 与集团安全信息报表及检查对接接口实现

This commit is contained in:
2021-12-02 10:44:15 +08:00
parent 8932645f54
commit 39cd93e266
43 changed files with 3072 additions and 2026 deletions
@@ -177,7 +177,7 @@ namespace FineUIPro.Web.ZHGL.Information
/// <param name="e"></param>
protected void Window4_Close(object sender, WindowCloseEventArgs e)
{
GetValue();
}
#endregion
@@ -225,27 +225,31 @@ namespace FineUIPro.Web.ZHGL.Information
{
this.btnPrint.Hidden = false;
}
Model.Information_MillionsMonthlyReport report = BLL.MillionsMonthlyReportService.GetMillionsMonthlyReportByUnitIdAndYearAndMonth(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue), Funs.GetNewIntOrZero(drpMonth.SelectedValue));
this.btnAudit1.Hidden = true;
this.btnAudit2.Hidden = true;
this.btnUpdata.Hidden = true;
if (report != null)
}
var getReport = BLL.MillionsMonthlyReportService.GetMillionsMonthlyReportByUnitIdAndYearAndMonth(drpUnit.SelectedValue, Funs.GetNewIntOrZero(drpYear.SelectedValue), Funs.GetNewIntOrZero(drpMonth.SelectedValue));
this.btnAudit1.Hidden = true;
this.btnAudit2.Hidden = true;
this.btnUpdata.Hidden = true;
if (getReport != null)
{
this.btnNew.Hidden = true;
if (getReport.HandleMan == this.CurrUser.UserId) //当前人是下一步办理入
{
this.btnNew.Hidden = true;
if (report.HandleMan == this.CurrUser.UserId) //当前人是下一步办理入
if (getReport.HandleState == BLL.Const.HandleState_2)
{
if (report.HandleState == BLL.Const.HandleState_2)
{
this.btnAudit1.Hidden = false;
}
else if (report.HandleState == BLL.Const.HandleState_3)
{
this.btnAudit2.Hidden = false;
}
else if (report.HandleState == BLL.Const.HandleState_4)
{
this.btnUpdata.Hidden = false;
}
this.btnAudit1.Hidden = false;
this.btnEdit.Hidden = true;
}
else if (getReport.HandleState == BLL.Const.HandleState_3)
{
this.btnAudit2.Hidden = false;
this.btnEdit.Hidden = true;
}
else if (getReport.HandleState == BLL.Const.HandleState_4)
{
this.btnUpdata.Hidden = false;
this.btnEdit.Hidden = true;
}
}
}