放开日报
This commit is contained in:
parent
3e9efbcf3b
commit
10e1ab0124
|
@ -25,7 +25,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
{
|
{
|
||||||
////权限按钮方法
|
////权限按钮方法
|
||||||
this.GetButtonPower();
|
this.GetButtonPower();
|
||||||
|
|
||||||
this.txtReportYear.Text = string.Format("{0:yyyy}", DateTime.Now);
|
this.txtReportYear.Text = string.Format("{0:yyyy}", DateTime.Now);
|
||||||
// 绑定表格
|
// 绑定表格
|
||||||
//BindGrid();
|
//BindGrid();
|
||||||
|
@ -43,7 +43,8 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
this.tvControlItem.Nodes.Add(rootNode);
|
this.tvControlItem.Nodes.Add(rootNode);
|
||||||
|
|
||||||
var report = from x in Funs.DB.HSSE_MonthReport
|
var report = from x in Funs.DB.HSSE_MonthReport
|
||||||
where x.ProjectId == CurrUser.LoginProjectId orderby x.Years
|
where x.ProjectId == CurrUser.LoginProjectId
|
||||||
|
orderby x.Years
|
||||||
select x;
|
select x;
|
||||||
if (report.Count() > 0)
|
if (report.Count() > 0)
|
||||||
{
|
{
|
||||||
|
@ -75,12 +76,12 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
LEFT JOIN (SELECT a.ReportItem,ISNULL(SUM(ISNULL(a.ProjectTotal,0)),0) AS SumProjectTotal
|
LEFT JOIN (SELECT a.ReportItem,ISNULL(SUM(ISNULL(a.ProjectTotal,0)),0) AS SumProjectTotal
|
||||||
FROM dbo.HSSE_MonthReportItem a
|
FROM dbo.HSSE_MonthReportItem a
|
||||||
LEFT JOIN dbo.HSSE_MonthReport b ON b.MonthReportId = a.MonthReportId
|
LEFT JOIN dbo.HSSE_MonthReport b ON b.MonthReportId = a.MonthReportId
|
||||||
WHERE b.ProjectId=@ProjectId AND b.Years < "+ this.tvControlItem.SelectedNode.Text+ @"
|
WHERE b.ProjectId=@ProjectId AND b.Years < " + this.tvControlItem.SelectedNode.Text + @"
|
||||||
GROUP BY a.ReportItem )t ON t.ReportItem = item.ReportItem
|
GROUP BY a.ReportItem )t ON t.ReportItem = item.ReportItem
|
||||||
WHERE r.ProjectId=@ProjectId AND r.MonthReportId=@MonthReportId
|
WHERE r.ProjectId=@ProjectId AND r.MonthReportId=@MonthReportId
|
||||||
ORDER BY item.Sort";
|
ORDER BY item.Sort";
|
||||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||||
listStr.Add(new SqlParameter("@ProjectId",CurrUser.LoginProjectId));
|
listStr.Add(new SqlParameter("@ProjectId", CurrUser.LoginProjectId));
|
||||||
listStr.Add(new SqlParameter("@MonthReportId", tvControlItem.SelectedNodeID));
|
listStr.Add(new SqlParameter("@MonthReportId", tvControlItem.SelectedNodeID));
|
||||||
|
|
||||||
SqlParameter[] parameter = listStr.ToArray();
|
SqlParameter[] parameter = listStr.ToArray();
|
||||||
|
@ -95,21 +96,17 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
|
|
||||||
protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
|
protected void Grid1_RowDataBound(object sender, GridRowEventArgs e)
|
||||||
{
|
{
|
||||||
int editMonth = GetCurMonth();
|
int cm = GetCurMonth();
|
||||||
int cm = 12;
|
|
||||||
if (DateTime.Now.Year.ToString()== tvControlItem.SelectedNode.Text)
|
|
||||||
{
|
|
||||||
cm = DateTime.Now.Month;
|
|
||||||
}
|
|
||||||
for (int i = 1; i <= 12; i++)
|
for (int i = 1; i <= 12; i++)
|
||||||
{
|
{
|
||||||
if (i != editMonth)
|
if (i != cm)
|
||||||
{
|
{
|
||||||
string monthC = "Month" + i.ToString();
|
//string monthC = "Month" + i.ToString();
|
||||||
RenderField month = Grid1.FindColumn(monthC) as RenderField;
|
//RenderField month = Grid1.FindColumn(monthC) as RenderField;
|
||||||
e.CellCssClasses[month.ColumnIndex] = "f-grid-cell-uneditable";
|
//e.CellCssClasses[month.ColumnIndex] = "f-grid-cell-uneditable";
|
||||||
}
|
}
|
||||||
// else
|
else
|
||||||
{
|
{
|
||||||
string monthC = "Month" + i.ToString();
|
string monthC = "Month" + i.ToString();
|
||||||
RenderField month = Grid1.FindColumn(monthC) as RenderField;
|
RenderField month = Grid1.FindColumn(monthC) as RenderField;
|
||||||
|
@ -123,7 +120,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode == "CHENGDA"
|
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode == "CHENGDA"
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = person.Count();
|
e.Values[month.ColumnIndex] = person.Count();
|
||||||
}
|
}
|
||||||
|
@ -136,7 +133,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode == "CHENGDA"
|
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode == "CHENGDA"
|
||||||
&& z.WorkPostName.Contains("安全")
|
&& z.WorkPostName.Contains("安全")
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = person.Count();
|
e.Values[month.ColumnIndex] = person.Count();
|
||||||
}
|
}
|
||||||
|
@ -147,7 +144,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode != "CHENGDA"
|
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode != "CHENGDA"
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = person.Count();
|
e.Values[month.ColumnIndex] = person.Count();
|
||||||
}
|
}
|
||||||
|
@ -160,21 +157,21 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode != "CHENGDA"
|
where x.ProjectId == this.CurrUser.LoginProjectId && y.UnitCode != "CHENGDA"
|
||||||
&& z.WorkPostName.Contains("安全")
|
&& z.WorkPostName.Contains("安全")
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = person.Count();
|
e.Values[month.ColumnIndex] = person.Count();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.RowIndex == 4 || e.RowIndex == 5) // 人工时数,安全生产人工时数
|
if (e.RowIndex == 4 || e.RowIndex == 5) // 人工时数,安全生产人工时数
|
||||||
{
|
{
|
||||||
DateTime? sDate = Convert.ToDateTime(tvControlItem.SelectedNode.Text + "-" + i.ToString());
|
DateTime? sDate = Convert.ToDateTime(tvControlItem.SelectedNode.Text + "-" + i.ToString());
|
||||||
var dayReports = BLL.SitePerson_MonthReportService.getMonthReports(this.CurrUser.LoginProjectId, sDate);
|
var dayReports = BLL.SitePerson_MonthReportService.getMonthReports(this.CurrUser.LoginProjectId, sDate);
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "" && dayReports.Count() > 0)
|
if (e.Values[month.ColumnIndex].ToString() == "" && dayReports.Count() > 0)
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = dayReports.First().DayWorkTime;
|
e.Values[month.ColumnIndex] = dayReports.First().DayWorkTime;
|
||||||
}
|
}
|
||||||
else if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
else if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = 0;
|
e.Values[month.ColumnIndex] = 0;
|
||||||
}
|
}
|
||||||
|
@ -184,10 +181,10 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
if (e.RowIndex == 6) // HSE记录事故数量
|
if (e.RowIndex == 6) // HSE记录事故数量
|
||||||
{
|
{
|
||||||
var accident = from x in Funs.DB.Accident_AccidentPersonRecord
|
var accident = from x in Funs.DB.Accident_AccidentPersonRecord
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = accident.Count();
|
e.Values[month.ColumnIndex] = accident.Count();
|
||||||
}
|
}
|
||||||
|
@ -198,9 +195,9 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
var accident = from x in Funs.DB.Accident_AccidentPersonRecord
|
var accident = from x in Funs.DB.Accident_AccidentPersonRecord
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
||||||
&& x.Injury=="1"
|
&& x.Injury == "1"
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = accident.Count();
|
e.Values[month.ColumnIndex] = accident.Count();
|
||||||
}
|
}
|
||||||
|
@ -213,7 +210,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
||||||
&& x.Injury == "2"
|
&& x.Injury == "2"
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = accident.Count();
|
e.Values[month.ColumnIndex] = accident.Count();
|
||||||
}
|
}
|
||||||
|
@ -226,7 +223,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
||||||
&& x.Injury == "3"
|
&& x.Injury == "3"
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = accident.Count();
|
e.Values[month.ColumnIndex] = accident.Count();
|
||||||
}
|
}
|
||||||
|
@ -238,7 +235,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
&& x.AccidentDate >= startDate && x.AccidentDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = accident.Count();
|
e.Values[month.ColumnIndex] = accident.Count();
|
||||||
}
|
}
|
||||||
|
@ -246,14 +243,14 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
|
|
||||||
if (e.RowIndex == 11) // 现场环境事故
|
if (e.RowIndex == 11) // 现场环境事故
|
||||||
{
|
{
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = "0";
|
e.Values[month.ColumnIndex] = "0";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (e.RowIndex == 12) // 现场发生设备材料盗窃案件
|
if (e.RowIndex == 12) // 现场发生设备材料盗窃案件
|
||||||
{
|
{
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = "0";
|
e.Values[month.ColumnIndex] = "0";
|
||||||
}
|
}
|
||||||
|
@ -262,10 +259,10 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
if (e.RowIndex == 13) // HSE周会
|
if (e.RowIndex == 13) // HSE周会
|
||||||
{
|
{
|
||||||
var weekMeeting = from x in Funs.DB.Meeting_WeekMeeting
|
var weekMeeting = from x in Funs.DB.Meeting_WeekMeeting
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.WeekMeetingDate >= startDate && x.WeekMeetingDate < startDate.AddMonths(1)
|
&& x.WeekMeetingDate >= startDate && x.WeekMeetingDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = weekMeeting.Count();
|
e.Values[month.ColumnIndex] = weekMeeting.Count();
|
||||||
}
|
}
|
||||||
|
@ -277,7 +274,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.AttendMeetingDate >= startDate && x.AttendMeetingDate < startDate.AddMonths(1)
|
&& x.AttendMeetingDate >= startDate && x.AttendMeetingDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = weekMeeting.Count();
|
e.Values[month.ColumnIndex] = weekMeeting.Count();
|
||||||
}
|
}
|
||||||
|
@ -285,7 +282,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
|
|
||||||
if (e.RowIndex == 15) // 施工现场HSE联检
|
if (e.RowIndex == 15) // 施工现场HSE联检
|
||||||
{
|
{
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = "0";
|
e.Values[month.ColumnIndex] = "0";
|
||||||
}
|
}
|
||||||
|
@ -294,10 +291,10 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
if (e.RowIndex == 16) // 发布HSE整改通知书
|
if (e.RowIndex == 16) // 发布HSE整改通知书
|
||||||
{
|
{
|
||||||
var check = from x in Funs.DB.Check_RectifyNotices
|
var check = from x in Funs.DB.Check_RectifyNotices
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.CheckedDate >= startDate && x.CheckedDate < startDate.AddMonths(1)
|
&& x.CheckedDate >= startDate && x.CheckedDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = check.Count();
|
e.Values[month.ColumnIndex] = check.Count();
|
||||||
}
|
}
|
||||||
|
@ -306,10 +303,10 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
if (e.RowIndex == 17) // 关闭HSE整改通知书
|
if (e.RowIndex == 17) // 关闭HSE整改通知书
|
||||||
{
|
{
|
||||||
var check = from x in Funs.DB.Check_RectifyNotices
|
var check = from x in Funs.DB.Check_RectifyNotices
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.CompleteDate >= startDate && x.CompleteDate < startDate.AddMonths(1)
|
&& x.CompleteDate >= startDate && x.CompleteDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = check.Count();
|
e.Values[month.ColumnIndex] = check.Count();
|
||||||
}
|
}
|
||||||
|
@ -321,7 +318,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.PunishNoticeDate >= startDate && x.PunishNoticeDate < startDate.AddMonths(1)
|
&& x.PunishNoticeDate >= startDate && x.PunishNoticeDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = check.Count();
|
e.Values[month.ColumnIndex] = check.Count();
|
||||||
}
|
}
|
||||||
|
@ -330,10 +327,10 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
if (e.RowIndex == 19) // 发布应急预案
|
if (e.RowIndex == 19) // 发布应急预案
|
||||||
{
|
{
|
||||||
var em = from x in Funs.DB.Emergency_EmergencyList
|
var em = from x in Funs.DB.Emergency_EmergencyList
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.CompileDate >= startDate && x.CompileDate < startDate.AddMonths(1)
|
&& x.CompileDate >= startDate && x.CompileDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = em.Count();
|
e.Values[month.ColumnIndex] = em.Count();
|
||||||
}
|
}
|
||||||
|
@ -342,10 +339,10 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
if (e.RowIndex == 20) // 人员培训
|
if (e.RowIndex == 20) // 人员培训
|
||||||
{
|
{
|
||||||
var edu = from x in Funs.DB.EduTrain_TrainRecord
|
var edu = from x in Funs.DB.EduTrain_TrainRecord
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.TrainStartDate >= startDate && x.TrainStartDate < startDate.AddMonths(1)
|
&& x.TrainStartDate >= startDate && x.TrainStartDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
if (edu.Count() > 0)
|
if (edu.Count() > 0)
|
||||||
{
|
{
|
||||||
|
@ -364,9 +361,9 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
where x.ProjectId == this.CurrUser.LoginProjectId
|
where x.ProjectId == this.CurrUser.LoginProjectId
|
||||||
&& x.CompileDate >= startDate && x.CompileDate < startDate.AddMonths(1)
|
&& x.CompileDate >= startDate && x.CompileDate < startDate.AddMonths(1)
|
||||||
select x;
|
select x;
|
||||||
if (i <= cm && e.Values[month.ColumnIndex].ToString() == "")
|
if (e.Values[month.ColumnIndex].ToString() == "")
|
||||||
{
|
{
|
||||||
if (equ.Count()>0)
|
if (equ.Count() > 0)
|
||||||
{
|
{
|
||||||
e.Values[month.ColumnIndex] = equ.Sum(x => x.EquipmentSafetyListCount);
|
e.Values[month.ColumnIndex] = equ.Sum(x => x.EquipmentSafetyListCount);
|
||||||
}
|
}
|
||||||
|
@ -404,10 +401,10 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
+ Convert.ToInt32(e.Values[month12.ColumnIndex].ToString() != "" ? e.Values[month12.ColumnIndex] : 0);
|
+ Convert.ToInt32(e.Values[month12.ColumnIndex].ToString() != "" ? e.Values[month12.ColumnIndex] : 0);
|
||||||
// 项目总计
|
// 项目总计
|
||||||
e.Values[projectTotal.ColumnIndex] = Convert.ToInt32(e.Values[yearTotal.ColumnIndex]) + Convert.ToInt32(e.Values[sumProjectTotal.ColumnIndex]);
|
e.Values[projectTotal.ColumnIndex] = Convert.ToInt32(e.Values[yearTotal.ColumnIndex]) + Convert.ToInt32(e.Values[sumProjectTotal.ColumnIndex]);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -608,58 +605,58 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
JArray editReport = Grid1.GetMergedData();
|
JArray editReport = Grid1.GetMergedData();
|
||||||
if (editReport.Count > 0)
|
if (editReport.Count > 0)
|
||||||
{
|
{
|
||||||
if (cm != 0)
|
if (true || cm != 0)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < editReport.Count; i++)
|
for (int i = 0; i < editReport.Count; i++)
|
||||||
{
|
{
|
||||||
JObject objects = (JObject)editReport[i];
|
JObject objects = (JObject)editReport[i];
|
||||||
string monthReportItemId = objects["values"]["MonthReportItemId"].ToString();
|
string monthReportItemId = objects["values"]["MonthReportItemId"].ToString();
|
||||||
Model.HSSE_MonthReportItem item = Funs.DB.HSSE_MonthReportItem.FirstOrDefault(x => x.MonthReportItemId == monthReportItemId);
|
Model.HSSE_MonthReportItem item = Funs.DB.HSSE_MonthReportItem.FirstOrDefault(x => x.MonthReportItemId == monthReportItemId);
|
||||||
if (cm == 1)
|
// if (cm == 1)
|
||||||
{
|
{
|
||||||
item.Month1 = Funs.GetNewInt(objects["values"]["Month1"].ToString());
|
item.Month1 = Funs.GetNewInt(objects["values"]["Month1"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 2)
|
// if (cm == 2)
|
||||||
{
|
{
|
||||||
item.Month2 = Funs.GetNewInt(objects["values"]["Month2"].ToString());
|
item.Month2 = Funs.GetNewInt(objects["values"]["Month2"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 3)
|
// if (cm == 3)
|
||||||
{
|
{
|
||||||
item.Month3 = Funs.GetNewInt(objects["values"]["Month3"].ToString());
|
item.Month3 = Funs.GetNewInt(objects["values"]["Month3"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 4)
|
// if (cm == 4)
|
||||||
{
|
{
|
||||||
item.Month4 = Funs.GetNewInt(objects["values"]["Month4"].ToString());
|
item.Month4 = Funs.GetNewInt(objects["values"]["Month4"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 5)
|
// if (cm == 5)
|
||||||
{
|
{
|
||||||
item.Month5 = Funs.GetNewInt(objects["values"]["Month5"].ToString());
|
item.Month5 = Funs.GetNewInt(objects["values"]["Month5"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 6)
|
// if (cm == 6)
|
||||||
{
|
{
|
||||||
item.Month6 = Funs.GetNewInt(objects["values"]["Month6"].ToString());
|
item.Month6 = Funs.GetNewInt(objects["values"]["Month6"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 7)
|
//if (cm == 7)
|
||||||
{
|
{
|
||||||
item.Month7 = Funs.GetNewInt(objects["values"]["Month7"].ToString());
|
item.Month7 = Funs.GetNewInt(objects["values"]["Month7"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 8)
|
// if (cm == 8)
|
||||||
{
|
{
|
||||||
item.Month8 = Funs.GetNewInt(objects["values"]["Month8"].ToString());
|
item.Month8 = Funs.GetNewInt(objects["values"]["Month8"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 9)
|
//if (cm == 9)
|
||||||
{
|
{
|
||||||
item.Month9 = Funs.GetNewInt(objects["values"]["Month9"].ToString());
|
item.Month9 = Funs.GetNewInt(objects["values"]["Month9"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 10)
|
// if (cm == 10)
|
||||||
{
|
{
|
||||||
item.Month10 = Funs.GetNewInt(objects["values"]["Month10"].ToString());
|
item.Month10 = Funs.GetNewInt(objects["values"]["Month10"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 11)
|
//if (cm == 11)
|
||||||
{
|
{
|
||||||
item.Month11 = Funs.GetNewInt(objects["values"]["Month11"].ToString());
|
item.Month11 = Funs.GetNewInt(objects["values"]["Month11"].ToString());
|
||||||
}
|
}
|
||||||
if (cm == 12)
|
//if (cm == 12)
|
||||||
{
|
{
|
||||||
item.Month12 = Funs.GetNewInt(objects["values"]["Month12"].ToString());
|
item.Month12 = Funs.GetNewInt(objects["values"]["Month12"].ToString());
|
||||||
}
|
}
|
||||||
|
@ -698,7 +695,7 @@ namespace FineUIPro.Web.HSSE.Manager
|
||||||
{
|
{
|
||||||
cm = m;
|
cm = m;
|
||||||
}
|
}
|
||||||
if (nd <= 4)
|
if (nd <= 20)
|
||||||
{
|
{
|
||||||
cm = lm;
|
cm = lm;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0"?>
|
||||||
<!--
|
<!--
|
||||||
有关如何配置 ASP.NET 应用程序的详细消息,请访问
|
有关如何配置 ASP.NET 应用程序的详细消息,请访问
|
||||||
|
|
||||||
|
@ -6,31 +6,31 @@
|
||||||
-->
|
-->
|
||||||
<configuration>
|
<configuration>
|
||||||
<configSections>
|
<configSections>
|
||||||
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" />
|
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
||||||
</configSections>
|
</configSections>
|
||||||
<FineUIPro DebugMode="false" Theme="Cupertino" />
|
<FineUIPro DebugMode="false" Theme="Cupertino"/>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
<!--连接字符串-->
|
<!--连接字符串-->
|
||||||
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
|
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
|
||||||
<add key="ConnectionString" value="Server=.\;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true; Connect Timeout=1200;Pooling=true; MAX Pool Size=512;Min Pool Size=50;Connection Lifetime=30" />
|
<add key="ConnectionString" value="Server=.\;Database=SGGLDB_CD;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true; Connect Timeout=1200;Pooling=true; MAX Pool Size=512;Min Pool Size=50;Connection Lifetime=30"/>
|
||||||
<!--系统名称-->
|
<!--系统名称-->
|
||||||
<add key="SystemName" value="数字化施工管理信息平台V1.0" />
|
<add key="SystemName" value="数字化施工管理信息平台V1.0"/>
|
||||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;" />
|
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||||
<add key="aspnet:MaxHttpCollectionKeys" value="50000" />
|
<add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
|
||||||
<add key="SGGLUrl" value="http://localhost/sggl/" />
|
<add key="SGGLUrl" value="http://localhost/sggl/"/>
|
||||||
<add key="SystemVersion" value="SGGLPackFile_V2022-11-11-001" />
|
<add key="SystemVersion" value="SGGLPackFile_V2022-11-11-001"/>
|
||||||
<!--启用与集团实名制 True启用 False 不启用-->
|
<!--启用与集团实名制 True启用 False 不启用-->
|
||||||
<add key="EnableRealName" value="False" />
|
<add key="EnableRealName" value="False"/>
|
||||||
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11" />
|
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour11"/>
|
||||||
<add key="Intervaltime" value="20" />
|
<add key="Intervaltime" value="20"/>
|
||||||
<!--附件上传物理路径-->
|
<!--附件上传物理路径-->
|
||||||
<add key="localRoot" value="D:\ChengDa\SGGL_CD\SGGL\FineUIPro.Web\" />
|
<add key="localRoot" value="D:\ChengDa\SGGL_CD\SGGL\FineUIPro.Web\"/>
|
||||||
<!--视频服务器-->
|
<!--视频服务器-->
|
||||||
<add key="Video_URL" value="http://sggljk.chengda.com:10000/" />
|
<add key="Video_URL" value="http://sggljk.chengda.com:10000/"/>
|
||||||
<add key="Video_USER" value="admin" />
|
<add key="Video_USER" value="admin"/>
|
||||||
<add key="Video_PW" value="admin" />
|
<add key="Video_PW" value="admin"/>
|
||||||
<!--跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版-->
|
<!--跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版-->
|
||||||
<add key="miniprogram_state" value="developer" />
|
<add key="miniprogram_state" value="developer"/>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
<!--
|
<!--
|
||||||
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
||||||
|
@ -42,107 +42,107 @@
|
||||||
-->
|
-->
|
||||||
<system.web>
|
<system.web>
|
||||||
<!-- 会话状态设置 默认情况下,ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie,请设置 sessionState cookieless="true" -->
|
<!-- 会话状态设置 默认情况下,ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie,请设置 sessionState cookieless="true" -->
|
||||||
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200" />
|
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
|
||||||
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
|
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
|
||||||
<controls>
|
<controls>
|
||||||
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f" />
|
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f"/>
|
||||||
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
</controls>
|
</controls>
|
||||||
</pages>
|
</pages>
|
||||||
<httpModules>
|
<httpModules>
|
||||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
|
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
|
||||||
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
</httpModules>
|
</httpModules>
|
||||||
<httpHandlers>
|
<httpHandlers>
|
||||||
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" />
|
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
|
||||||
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
|
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
|
||||||
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
|
<add path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
|
||||||
</httpHandlers>
|
</httpHandlers>
|
||||||
<compilation debug="false" targetFramework="4.6.1" />
|
<compilation debug="true" targetFramework="4.6.1"/>
|
||||||
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" maxQueryStringLength="2097151" />
|
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" maxQueryStringLength="2097151"/>
|
||||||
<authentication mode="Forms">
|
<authentication mode="Forms">
|
||||||
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/" />
|
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
|
||||||
</authentication>
|
</authentication>
|
||||||
<membership>
|
<membership>
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear/>
|
||||||
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
|
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
|
||||||
</providers>
|
</providers>
|
||||||
</membership>
|
</membership>
|
||||||
<profile>
|
<profile>
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear/>
|
||||||
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
|
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
|
||||||
</providers>
|
</providers>
|
||||||
</profile>
|
</profile>
|
||||||
<roleManager enabled="false">
|
<roleManager enabled="false">
|
||||||
<providers>
|
<providers>
|
||||||
<clear />
|
<clear/>
|
||||||
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
|
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
|
||||||
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
|
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
|
||||||
</providers>
|
</providers>
|
||||||
</roleManager>
|
</roleManager>
|
||||||
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx" />
|
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
|
||||||
</system.web>
|
</system.web>
|
||||||
<location path="res.axd" />
|
<location path="res.axd"/>
|
||||||
<system.webServer>
|
<system.webServer>
|
||||||
<staticContent>
|
<staticContent>
|
||||||
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File" />
|
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
|
||||||
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File" />
|
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
|
||||||
</staticContent>
|
</staticContent>
|
||||||
<validation validateIntegratedModeConfiguration="false" />
|
<validation validateIntegratedModeConfiguration="false"/>
|
||||||
<modules runAllManagedModulesForAllRequests="true">
|
<modules runAllManagedModulesForAllRequests="true">
|
||||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
|
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
|
||||||
<remove name="ScriptModule" />
|
<remove name="ScriptModule"/>
|
||||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||||
</modules>
|
</modules>
|
||||||
<handlers>
|
<handlers>
|
||||||
<remove name="ChartImageHandler" />
|
<remove name="ChartImageHandler"/>
|
||||||
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" />
|
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro"/>
|
||||||
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
||||||
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport" />
|
<add name="FastReportHandler" path="FastReport.Export.axd" verb="*" type="FastReport.Web.Handlers.WebExport"/>
|
||||||
</handlers>
|
</handlers>
|
||||||
<defaultDocument>
|
<defaultDocument>
|
||||||
<files>
|
<files>
|
||||||
<add value="Login.aspx" />
|
<add value="Login.aspx"/>
|
||||||
</files>
|
</files>
|
||||||
</defaultDocument>
|
</defaultDocument>
|
||||||
<security>
|
<security>
|
||||||
<requestFiltering>
|
<requestFiltering>
|
||||||
<requestLimits maxAllowedContentLength="500000000" maxQueryString="2147483647" />
|
<requestLimits maxAllowedContentLength="500000000" maxQueryString="2147483647"/>
|
||||||
</requestFiltering>
|
</requestFiltering>
|
||||||
</security>
|
</security>
|
||||||
</system.webServer>
|
</system.webServer>
|
||||||
<!-- SERVER -->
|
<!-- SERVER -->
|
||||||
<system.serviceModel>
|
<system.serviceModel>
|
||||||
<client>
|
<client>
|
||||||
<endpoint address="http://172.25.0.43/services/OfsTodoDataWebService" binding="basicHttpBinding" bindingConfiguration="OfsTodoDataWebServiceHttpBinding" contract="OAWebService.OfsTodoDataWebServicePortType" name="OfsTodoDataWebServiceHttpPort" />
|
<endpoint address="http://172.25.0.43/services/OfsTodoDataWebService" binding="basicHttpBinding" bindingConfiguration="OfsTodoDataWebServiceHttpBinding" contract="OAWebService.OfsTodoDataWebServicePortType" name="OfsTodoDataWebServiceHttpPort"/>
|
||||||
</client>
|
</client>
|
||||||
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
|
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
|
||||||
<services>
|
<services>
|
||||||
<service name="BLL.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
|
<service name="BLL.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
|
||||||
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService" />
|
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
|
||||||
</service>
|
</service>
|
||||||
</services>
|
</services>
|
||||||
<behaviors>
|
<behaviors>
|
||||||
<serviceBehaviors>
|
<serviceBehaviors>
|
||||||
<behavior name="BLL.HSSEServiceBehavior">
|
<behavior name="BLL.HSSEServiceBehavior">
|
||||||
<serviceMetadata httpGetEnabled="true" />
|
<serviceMetadata httpGetEnabled="true"/>
|
||||||
<serviceDebug includeExceptionDetailInFaults="false" />
|
<serviceDebug includeExceptionDetailInFaults="false"/>
|
||||||
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
|
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
|
||||||
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" />
|
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
|
||||||
</behavior>
|
</behavior>
|
||||||
</serviceBehaviors>
|
</serviceBehaviors>
|
||||||
</behaviors>
|
</behaviors>
|
||||||
<bindings>
|
<bindings>
|
||||||
<basicHttpBinding>
|
<basicHttpBinding>
|
||||||
<binding name="OfsTodoDataWebServiceHttpBinding" />
|
<binding name="OfsTodoDataWebServiceHttpBinding"/>
|
||||||
</basicHttpBinding>
|
</basicHttpBinding>
|
||||||
<wsHttpBinding>
|
<wsHttpBinding>
|
||||||
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
|
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
|
||||||
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
|
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000"/>
|
||||||
<security mode="None" />
|
<security mode="None"/>
|
||||||
</binding>
|
</binding>
|
||||||
</wsHttpBinding>
|
</wsHttpBinding>
|
||||||
</bindings>
|
</bindings>
|
||||||
|
@ -150,16 +150,16 @@
|
||||||
<runtime>
|
<runtime>
|
||||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral" />
|
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" />
|
<assemblyIdentity name="System.Runtime.CompilerServices.Unsafe" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-5.0.0.0" newVersion="5.0.0.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
<dependentAssembly>
|
<dependentAssembly>
|
||||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
||||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</assemblyBinding>
|
</assemblyBinding>
|
||||||
</runtime>
|
</runtime>
|
||||||
|
|
Loading…
Reference in New Issue