增加数据穿透界面

This commit is contained in:
2023-06-07 18:55:33 +08:00
parent e66750312e
commit b592ccfe5e
358 changed files with 30974 additions and 2388 deletions
@@ -65,33 +65,10 @@ namespace FineUIPro.Web.HSSE.Hazard
this.txtCompileMan.Text = this.CurrUser.UserName;
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", DateTime.Now);
}
///初始化审核菜单
this.ctlAuditFlow.MenuId = BLL.Const.OtherHazardMenuId;
this.ctlAuditFlow.DataId = this.OtherHazardId;
this.ctlAuditFlow.ProjectId = this.ProjectId;
this.ctlAuditFlow.UnitId = this.CurrUser.UnitId;
}
}
#endregion
#region
/// <summary>
/// 提交按钮
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void btnSubmit_Click(object sender, EventArgs e)
{
if (this.ctlAuditFlow.NextStep == BLL.Const.State_1 && this.ctlAuditFlow.NextPerson == BLL.Const._Null)
{
ShowNotify("请选择下一步办理人!", MessageBoxIcon.Warning);
return;
}
this.SaveData(BLL.Const.BtnSubmit);
PageContext.RegisterStartupScript(ActiveWindow.GetHideRefreshReference());
}
#endregion
#region
/// <summary>
/// 保存按钮
@@ -117,12 +94,8 @@ namespace FineUIPro.Web.HSSE.Hazard
CompileDate = Funs.GetNewDateTime(this.txtCompileDate.Text.Trim()),
ProjectId = this.ProjectId,
////单据状态
States = BLL.Const.State_0
States = BLL.Const.State_2
};
if (type == BLL.Const.BtnSubmit)
{
otherHazard.States = this.ctlAuditFlow.NextStep;
}
if (!string.IsNullOrEmpty(this.OtherHazardId))
{
otherHazard.OtherHazardId = this.OtherHazardId;
@@ -137,8 +110,6 @@ namespace FineUIPro.Web.HSSE.Hazard
BLL.Hazard_OtherHazardService.AddOtherHazard(otherHazard);
BLL.LogService.AddSys_Log(this.CurrUser, otherHazard.OtherHazardCode, otherHazard.OtherHazardId, BLL.Const.OtherHazardMenuId, BLL.Const.BtnAdd);
}
////保存流程审核数据
this.ctlAuditFlow.btnSaveData(this.ProjectId, BLL.Const.OtherHazardMenuId, this.OtherHazardId, (type == BLL.Const.BtnSubmit ? true : false), otherHazard.OtherHazardName, "../Hazard/OtherHazardView.aspx?OtherHazardId={0}");
}
private void SaveNew()