危险源管理模块接入真实数据库:新增危大/超危工程、风险控制清单、安全验收、安全巡检、临时用电管理(含前端页面、BLL/API服务、WebAPI控制器、Model项、SQL脚本与接口文档)
排除 CreateModel.bat(含明文sa密码与本地服务器名,未入库)
This commit is contained in:
@@ -250,7 +250,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -121,5 +121,34 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
this.txtNum15.Text = hsseLogMonth.Num15.ToString();
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region 事件
|
||||
/// <summary>
|
||||
/// 月份变更事件(重新加载当前记录数据)
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void TextBox_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (!string.IsNullOrEmpty(this.HSSELogMonthId))
|
||||
{
|
||||
Model.Manager_HSSELogMonth hsseLogMonth = BLL.HSSELogMonthService.GetHSSELogMonthByHSSELogMonthId(this.HSSELogMonthId);
|
||||
if (hsseLogMonth != null)
|
||||
{
|
||||
this.InitText(hsseLogMonth);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 数值变更事件(查看页只读展示,无需处理)
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void Value_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
////查看页面,数据只读展示,不做处理
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
@@ -348,7 +348,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -374,7 +374,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -315,7 +315,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -912,7 +912,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
bPeopleNum += int.Parse(b.PeopleNum);
|
||||
}
|
||||
catch (Exception e) { }
|
||||
catch (Exception) { }
|
||||
}
|
||||
|
||||
Model.Manager_TrainSortB lastTrainSort = BLL.TrainSortBService.GetTrainSortByMonthReportIdAndTrainType(LastMonthReportId, item.TrainTypeName);
|
||||
|
||||
@@ -142,7 +142,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
{
|
||||
Model.Manager_MonthReportC mr = BLL.MonthReportCService.GetLastMonthReportByDate(endTime, this.ProjectId);
|
||||
decimal? sMonthType1 = 0, sMonthType2 = 0, sMonthType3 = 0, sMonthType4 = 0, sMonthType5 = 0, sMonthType6 = 0;
|
||||
decimal? tMonthType1 = 0, tMonthType2 = 0;
|
||||
decimal? tMonthType1 = 0;
|
||||
List<Model.CostGoods_PayRegistration> payRegistrations = BLL.PayRegistrationService.GetPayRegistrationByPayDate(startTime, endTime, this.ProjectId);
|
||||
if (payRegistrations != null)
|
||||
{
|
||||
|
||||
@@ -335,7 +335,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
@@ -314,7 +314,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||
/// </summary>
|
||||
/// <param name="grid"></param>
|
||||
/// <returns></returns>
|
||||
private string GetGridTableHtml(Grid grid)
|
||||
private new string GetGridTableHtml(Grid grid)
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
sb.Append("<meta http-equiv=\"content-type\" content=\"application/excel; charset=UTF-8\"/>");
|
||||
|
||||
Reference in New Issue
Block a user