增加数据穿透界面

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
@@ -203,7 +203,7 @@ namespace FineUIPro.Web.HSSE.Accident
var accidentReport = BLL.AccidentReportService.GetAccidentReportById(id);
if (accidentReport != null)
{
if (this.btnMenuEdit.Hidden || accidentReport.States == BLL.Const.State_2) ////双击事件 编辑权限有:编辑页面,无:查看页面 或者状态是完成时查看页面
if (this.btnMenuEdit.Hidden) ////双击事件 编辑权限有:编辑页面,无:查看页面 或者状态是完成时查看页面
{
PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("AccidentReportView.aspx?AccidentReportId={0}", id, "查看 - ")));
}
@@ -233,9 +233,11 @@ namespace FineUIPro.Web.HSSE.Accident
{
BLL.LogService.AddSys_Log(this.CurrUser, getV.AccidentReportCode, getV.AccidentReportId, BLL.Const.ProjectAccidentReportMenuId, Const.BtnDelete);
BLL.AccidentReportService.DeleteAccidentReportById(rowID);
}
}
Project_HSSEData_HSSEService.StatisticalData(this.CurrUser.LoginProjectId, Project_HSSEData_HSSEService.HSSEDateType.WorkingHours);
Project_HSSEData_HSSEService.StatisticalData(this.CurrUser.LoginProjectId, Project_HSSEData_HSSEService.HSSEDateType.AccidentEvent);
this.BindGrid();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
}