From 2927c2d98547627b4577fbae38ba92df034483ab Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Mon, 17 Mar 2025 15:53:00 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E5=A4=A7=E5=B1=8F=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/API/HSSE/APIPageDataService.cs | 48 +- SGGL/BLL/BLL.csproj | 3 + SGGL/BLL/Common/Const.cs | 1 + SGGL/BLL/ProjectData/ProjectService.cs | 46 +- SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 1 + SGGL/FineUIPro.Web/common/mainProject2.aspx | 22 +- .../FineUIPro.Web/common/mainProject2.aspx.cs | 1573 +++++++++-------- SGGL/FineUIPro.Web/common/main_new.aspx.cs | 93 +- SGGL/FineUIPro.Web/packages.config | 1 + SGGL/Model/HSSE/PageDataPersonInOutItem.cs | 6 +- 10 files changed, 1020 insertions(+), 774 deletions(-) diff --git a/SGGL/BLL/API/HSSE/APIPageDataService.cs b/SGGL/BLL/API/HSSE/APIPageDataService.cs index 0652f686..236b0786 100644 --- a/SGGL/BLL/API/HSSE/APIPageDataService.cs +++ b/SGGL/BLL/API/HSSE/APIPageDataService.cs @@ -25,7 +25,7 @@ namespace BLL && x.ChangeTime.Value.Month == dateValue.Month && x.ChangeTime.Value.Day == dateValue.Day select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType }; - if (getDayAll.Count() > 0) + if (getDayAll.Any()) { var getInMaxs = from x in getDayAll group x by x.PersonId into g @@ -36,7 +36,7 @@ namespace BLL IsIn = g.First().IsIn, PostType = g.First().PostType }; - if (getInMaxs.Count() > 0) + if (getInMaxs.Any()) { getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList(); } @@ -44,6 +44,42 @@ namespace BLL return getSiteInOutList; } } + + public static List getPersonNum(List projectIds, DateTime dateValue) + { + using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) + { + var startDate = dateValue.Date; + var endDate = startDate.AddDays(1); + List getSiteInOutList = new List(); + var getDayAll = from x in db.SitePerson_PersonInOutNow + join y in db.SitePerson_Person on x.PersonId equals y.PersonId + join z in db.Base_WorkPost on y.WorkPostId equals z.WorkPostId + where projectIds.Contains(x.ProjectId) + && x.ChangeTime >= startDate && + x.ChangeTime < endDate + select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType,x.ProjectId }; + if (getDayAll.Any()) + { + var getInMaxs = from x in getDayAll + group x by new {x.PersonId,x.ProjectId} into g + select new Model.PageDataPersonInOutItem + { + PersonId = g.First().PersonId, + ProjectId = g.First().ProjectId, + ChangeTime = g.Max(x => x.ChangeTime), + IsIn = g.First().IsIn, + PostType = g.First().PostType + }; + if (getInMaxs.Any()) + { + getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList(); + } + } + return getSiteInOutList; + } + } + #endregion #region 获取当前人工时 @@ -150,7 +186,7 @@ namespace BLL where x.ChangeTime.Value.Year == dateValue.Year && x.ChangeTime.Value.Month == dateValue.Month && x.ChangeTime.Value.Day == dateValue.Day select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType }; - if (getDayAll.Count() > 0) + if (getDayAll.Any()) { var getInMaxs = from x in getDayAll group x by x.PersonId into g @@ -161,7 +197,7 @@ namespace BLL IsIn = g.First().IsIn, PostType = g.First().PostType }; - if (getInMaxs.Count() > 0) + if (getInMaxs.Any()) { getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList(); } @@ -181,7 +217,7 @@ namespace BLL where x.ChangeTime.Value.Year == dateValue.Year && x.ChangeTime.Value.Month == dateValue.Month && x.ChangeTime.Value.Day == dateValue.Day && pids.Contains(x.ProjectId) select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType }; - if (getDayAll.Count() > 0) + if (getDayAll.Any()) { var getInMaxs = from x in getDayAll group x by x.PersonId into g @@ -192,7 +228,7 @@ namespace BLL IsIn = g.First().IsIn, PostType = g.First().PostType }; - if (getInMaxs.Count() > 0) + if (getInMaxs.Any()) { getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList(); } diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj index b3b255c9..c38543ed 100644 --- a/SGGL/BLL/BLL.csproj +++ b/SGGL/BLL/BLL.csproj @@ -1113,6 +1113,9 @@ 4.5.0 + + 6.0.0 + 4.5.3 diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs index 965fbd0a..1725254b 100644 --- a/SGGL/BLL/Common/Const.cs +++ b/SGGL/BLL/Common/Const.cs @@ -10,6 +10,7 @@ namespace BLL /// 时间书签(用于筛选数据范围)修改日期 2024-10-19 18:55:14 由2023改成2020 /// public static DateTime DtmarkTime = DateTime.Parse("2020-01-01"); + public static int CacheMinutes = 10; #region 查询字段:系统设置 /// /// 系统管理员ID diff --git a/SGGL/BLL/ProjectData/ProjectService.cs b/SGGL/BLL/ProjectData/ProjectService.cs index 3edb8d1f..192cd837 100644 --- a/SGGL/BLL/ProjectData/ProjectService.cs +++ b/SGGL/BLL/ProjectData/ProjectService.cs @@ -5,6 +5,8 @@ using Model; using System; using Newtonsoft.Json; + using Microsoft.SqlServer.Dts.Runtime; + using System.Runtime.Caching; public static class ProjectService { @@ -256,22 +258,44 @@ /// public static List GetAllProjectDropDownList(string[] pids = null) { - if (pids == null) + string cacheKey = "allProjects"; + var memoryCache = MemoryCache.Default; + if (memoryCache.Get(cacheKey) != null) { - var list = (from x in Funs.DB.Base_Project - orderby x.ProjectCode descending - select x).ToList(); - return list; + var result = (List)memoryCache.Get(cacheKey); + if (pids == null) + { + return result; + } + else + { + result = result.Where(e => pids.Contains(e.ProjectId)).ToList(); + return result; + } } else { - var list = (from x in Funs.DB.Base_Project - where pids.Contains(x.ProjectId) - orderby x.ProjectCode descending - select x).ToList(); - return list; - } + var list = (from x in Funs.DB.Base_Project + where x.ProjectState == Const.ProjectState_1 || x.ProjectState == null + orderby x.ProjectCode descending + select x).ToList(); + var policy = new CacheItemPolicy + { + AbsoluteExpiration = DateTimeOffset.Now.AddMinutes(Const.CacheMinutes), + }; + memoryCache.Set(cacheKey, list, policy); + + if (pids == null) + { + return list; + } + else + { + var result = list.Where(e => pids.Contains(e.ProjectId)).ToList(); + return result; + } + } } diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 3fa13380..6478f6f8 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -128,6 +128,7 @@ + diff --git a/SGGL/FineUIPro.Web/common/mainProject2.aspx b/SGGL/FineUIPro.Web/common/mainProject2.aspx index 37e12395..1e81975b 100644 --- a/SGGL/FineUIPro.Web/common/mainProject2.aspx +++ b/SGGL/FineUIPro.Web/common/mainProject2.aspx @@ -1,4 +1,4 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainProject2.aspx.cs" Inherits="FineUIPro.Web.common.mainProject2" %> +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainProject2.aspx.cs" Inherits="FineUIPro.Web.common.mainProject2" Async="true" %> @@ -84,11 +84,11 @@
-
<%=getEarlyWarningCounts() %>
+
<%=EarlyWarningCounts %>
-
<%=GetJxyjNum() %>
+
<%=JxyjNum %>
@@ -96,22 +96,22 @@
-
<%=GetCompletedNum() %>
+
<%=CompletedNum %>
-
<%=GetTrainPersonNum() %>
+
<%=TrainPersonNum %>
-
<%=GetConstructionNum() %>
+
<%=ConstructionNum %>
-
<%=GetFinishedNum() %>
+
<%=FinishedNum %>
@@ -120,22 +120,22 @@
-
<%=GetSuperCompletedNum() %>
+
<%=SuperCompletedNum %>
-
<%=GetSuperTrainPersonNum() %>
+
<%=SuperTrainPersonNum %>
-
<%=GetSuperConstructionNum() %>
+
<%=SuperConstructionNum %>
-
<%=GetSuperFinishedNum() %>
+
<%=SuperFinishedNum %>
diff --git a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs index 62214521..00b5d7d4 100644 --- a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs @@ -4,21 +4,66 @@ using FineUIPro.Web.DataShow; using FineUIPro.Web.SysManage; using Model; using Newtonsoft.Json; +using NPOI.Util; using System; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; using System.IO; using System.Linq; +using System.Text; +using System.Threading.Tasks; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; - namespace FineUIPro.Web.common { public partial class mainProject2 : PageBase { + #region Fields + + protected string ActualValue = string.Empty; + + protected string completed = string.Empty; + + protected string Cumulative_actual_value = string.Empty; + + //实际值 + protected string Cumulative_planned_value = string.Empty; + + protected string GeneralRisk = string.Empty; + + //一般风险 + protected string GreaterRisk = string.Empty; + + protected string LowRisk = string.Empty; + + //已完成 + protected string majorRisk = string.Empty; + + protected string OnePassRate = string.Empty; + + //一次共检合格率 + protected string OnePassRateOfWelding = string.Empty; + + //重大风险 + //低风险 + //较大风险 + protected string PlannedValue = string.Empty; + + /// + /// 中英文 + /// + protected string QualityRate = string.Empty; + + //焊接一次合格率 + protected string total = string.Empty; + + #endregion Fields + + #region Properties + /// /// 项目id /// @@ -32,18 +77,115 @@ namespace FineUIPro.Web.common { ViewState["ProjectId"] = value; } - } + + #endregion Properties + + #region Methods + + /// + /// 打开待办 + /// + /// + /// + protected void btnshowWindows(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("{0}", hiddenUrl.Value, "办理 - "))); + } + /// /// 页面加载 /// /// /// - protected void Page_Load(object sender, EventArgs e) + protected async void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { ProjectId = CurrUser.LoginProjectId; + + var treeTask = GetTreeAsync(); + var personTask = GetPersonAsync(); + var otherTasks = new List + { + BindSafetyStatisticsAsync(), // 安全统计模块 + BindQualityStatisticsAsync(), // 质量统计模块 + getHazardData(), + //整改数据 + getZgsj(), + + //风险预警 + getHazard(), + + //工程概况 + getProjectInfo(), + + //GetJD(), + //质量共检 + getZlgj(), + + //焊接 + getHj(), + + //加载质量问题 + getZlwt(), + + //人员信息 + getSitePerson(), + + //项目人员图表 + // getProjectSitePerson(), + + //工作台面 + getGjsx(), + getGztm(), + + //材料到货 + getCldh(), + + getCNEN(),//中英文翻译 + }; + await Task.WhenAll(otherTasks.Concat(new[] { treeTask, personTask })); + + Tree = await treeTask; + Person = await personTask; + } + } + + /// + /// 关闭弹出窗 + /// + /// + /// + protected void Window1_Close(object sender, WindowCloseEventArgs e) + { + getGztm(); + getGjsx(); + } + + // 质量统计模块封装 + private async Task BindQualityStatisticsAsync() + { + await Task.Run(() => + { //质量培训人员 + DateTime date = DateTime.Now.AddDays(-1); + int CqmsPxNum = (from x in Funs.DB.Comprehensive_InspectionPerson + where x.IsTrain == true && x.ProjectId == ProjectId + select x).Count(); + divCqmsPxNum.InnerHtml = CqmsPxNum.ToString(); + + //施工审批量 + int sgspl = Funs.DB.Comprehensive_GeneralPlanApproval.Where(x => x.ProjectId == ProjectId && x.AuditMan != null && x.AuditMan != "" && x.ApprovalMan != null && x.ApprovalMan != "").Count() + + Funs.DB.Comprehensive_MajorPlanApproval.Where(x => x.ProjectId == ProjectId && x.AuditMan != null && x.AuditMan != "" && x.ApprovalMan != null && x.ApprovalMan != "").Count(); + div_sgfaSpl.InnerHtml = sgspl.ToString(); + }); + } + + // 安全统计模块封装 + private async Task BindSafetyStatisticsAsync() + { + await Task.Run(() => + { Model.SGGLDB db = Funs.DB; //安全人工时 //int wHours = db.SitePerson_PersonInOutNumber.Where(x => x.ProjectId == ProjectId).Max(x => x.WorkHours) ?? 0; @@ -55,7 +197,7 @@ namespace FineUIPro.Web.common //本月安全人工时 int wHoursMonth = 0; var dayReports = BLL.SitePerson_MonthReportService.getMonthReports(this.ProjectId, sDate); - if (dayReports.Count > 0) + if (dayReports.Any()) { wHoursMonth = Convert.ToInt32(dayReports[0].DayWorkTime); } @@ -64,7 +206,7 @@ namespace FineUIPro.Web.common //安全培训累计人员 var getTrainRecord = db.EduTrain_TrainRecord.Where(x => x.ProjectId == ProjectId).Sum(x => x.TrainPersonNum) ?? 0; //修改:增加博晟教育中的人数 - var boShengCount = db.Bo_Sheng_TrainPerson.Where(x => x.ProjectId == ProjectId && (x.DeleteTag == "False" || x.DeleteTag == null)).ToList().Count; + var boShengCount = db.Bo_Sheng_TrainPerson.Count(x => x.ProjectId == ProjectId && (x.DeleteTag == "False" || x.DeleteTag == null)); this.divSafePersonNum.InnerHtml = (getTrainRecord + boShengCount).ToString(); @@ -89,114 +231,77 @@ namespace FineUIPro.Web.common where y.ConstText.Contains("未遂") && x.ProjectId == ProjectId select x; this.divWS.InnerHtml = (wsAccidentList1.Count() + wsAccidentList2.Count()).ToString(); - - //整改数据 - getZgsj(); - - //风险预警 - getHazard(); - - //工程概况 - getProjectInfo(); - - //质量培训人员 - DateTime date = DateTime.Now.AddDays(-1); - int CqmsPxNum = (from x in Funs.DB.Comprehensive_InspectionPerson - where x.IsTrain == true && x.ProjectId == ProjectId - select x).Count(); - divCqmsPxNum.InnerHtml = CqmsPxNum.ToString(); - - //施工审批量 - int sgspl = Funs.DB.Comprehensive_GeneralPlanApproval.Where(x => x.ProjectId == ProjectId && x.AuditMan != null && x.AuditMan != "" && x.ApprovalMan != null && x.ApprovalMan != "").Count() - + Funs.DB.Comprehensive_MajorPlanApproval.Where(x => x.ProjectId == ProjectId && x.AuditMan != null && x.AuditMan != "" && x.ApprovalMan != null && x.ApprovalMan != "").Count(); - div_sgfaSpl.InnerHtml = sgspl.ToString(); - GetJD(); - //质量共检 - getZlgj(); - - //焊接 - getHj(); - - //加载质量问题 - getZlwt(); - - //人员信息 - getSitePerson(); - - //项目人员图表 - getProjectSitePerson(); - - //工作台面 - getGjsx(); - getGztm(); - - //材料到货 - getCldh(); - - getCNEN();//中英文翻译 - } + }); } + #endregion Methods + + // 项目统计优化 + #region 人员信息 - private void getSitePerson() + + private async Task getSitePerson() { - int AllCount = 0; - int MCount = 0; - //修改日期2024-10-30 16:53:50 为了和另一个看板相同 - //Funs.DB.T_d_EmployInOutRecord.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date) - //var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now); - - var getallin = from x in Funs.DB.T_d_EmployInOutRecord - join z in Funs.DB.Base_WorkPost on x.PostId equals z.WorkPostId - where x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date - select new { z.PostType }; - - AllCount = getallin.Count(); - if (AllCount > 0) + await Task.Run(() => { - MCount = getallin.Where(x => x.PostType == Const.PostType_1).Count(); - } + int AllCount = 0; + int MCount = 0; + //修改日期2024-10-30 16:53:50 为了和另一个看板相同 + //Funs.DB.T_d_EmployInOutRecord.Where(x => x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date) + //var getallin = APIPageDataService.getPersonNum(ProjectId, DateTime.Now); - if (AllCount > 0) - { - ////当前现场总人数 - div_xcrs.InnerHtml = AllCount.ToString(); - //作业人数 - div_zyxcrs.InnerHtml = (AllCount - MCount).ToString(); - //管理人数 - div_glxcrs.InnerHtml = MCount.ToString(); - } + var getallin = from x in Funs.DB.T_d_EmployInOutRecord + join z in Funs.DB.Base_WorkPost on x.PostId equals z.WorkPostId + where x.ProjectId == this.CurrUser.LoginProjectId && x.RecordDate.Value == DateTime.Now.Date + select new { z.PostType }; + + AllCount = getallin.Count(); + if (AllCount > 0) + { + MCount = getallin.Where(x => x.PostType == Const.PostType_1).Count(); + } + + if (AllCount > 0) + { + ////当前现场总人数 + div_xcrs.InnerHtml = AllCount.ToString(); + //作业人数 + div_zyxcrs.InnerHtml = (AllCount - MCount).ToString(); + //管理人数 + div_glxcrs.InnerHtml = MCount.ToString(); + } + }); } - #endregion + + #endregion 人员信息 #region 项目人员图表 + protected string ProjectPersonCount; protected string ProjectPersonMc; - private void getProjectSitePerson() + + private async Task getProjectSitePerson() { - var list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null) && x.Progress != null - && x.ProjectId == ProjectId).ToList(); - foreach (var item in list) + await Task.Run(() => { - ProjectPersonMc += "'" + item.ShortName + "',"; - ProjectPersonCount += "'" + APIPageDataService.getPersonNum(item.ProjectId, DateTime.Now).Count() + "',"; - } - if (!string.IsNullOrEmpty(ProjectPersonMc) && !string.IsNullOrEmpty(ProjectPersonCount)) - { - ProjectPersonMc = ProjectPersonMc.TrimEnd(','); - ProjectPersonCount = ProjectPersonCount.TrimEnd(','); - } + var list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null) && x.Progress != null + && x.ProjectId == ProjectId).ToList(); + foreach (var item in list) + { + ProjectPersonMc += "'" + item.ShortName + "',"; + ProjectPersonCount += "'" + APIPageDataService.getPersonNum(item.ProjectId, DateTime.Now).Count() + "',"; + } + if (!string.IsNullOrEmpty(ProjectPersonMc) && !string.IsNullOrEmpty(ProjectPersonCount)) + { + ProjectPersonMc = ProjectPersonMc.TrimEnd(','); + ProjectPersonCount = ProjectPersonCount.TrimEnd(','); + } + }); } - #endregion + + #endregion 项目人员图表 #region 整改数据 - protected void getZgsj() - { - div_zgsj.InnerHtml = (GetGeneralClosedNum() + GetGeneralNotClosedNum()).ToString(); - div_zgywc.InnerHtml = GetGeneralClosedNum().ToString(); - div_zgwwc.InnerHtml = GetGeneralNotClosedNum().ToString(); - div_zgwcl.InnerHtml = String.Format("{0:N2}", 100.0 * GetGeneralClosedNum() / (GetGeneralNotClosedNum() + GetGeneralClosedNum())).Replace("NaN", "0") + "%"; - } /// /// 获取隐患整改闭环项 @@ -209,6 +314,7 @@ namespace FineUIPro.Web.common select x).Count(); return result; } + /// /// 获取隐患未整改完成项 /// @@ -220,142 +326,36 @@ namespace FineUIPro.Web.common select x).Count(); return result; } - #endregion + + protected async Task getZgsj() + { + await Task.Run(() => + { + int GeneralClosedNum = GetGeneralClosedNum(); + int GeneralNotClosedNum = GetGeneralNotClosedNum(); + div_zgsj.InnerHtml = (GeneralClosedNum + GeneralNotClosedNum).ToString(); + div_zgywc.InnerHtml = GeneralClosedNum.ToString(); + div_zgwwc.InnerHtml = GeneralNotClosedNum.ToString(); + div_zgwcl.InnerHtml = String.Format("{0:N2}", 100.0 * GeneralClosedNum / (GeneralNotClosedNum + GeneralClosedNum)).Replace("NaN", "0") + "%"; + }); + } + #endregion 整改数据 #region 工程概括 - protected string divProjectNameTitle; - protected string divProjectAddressTitle; - protected string divProjectMoneyTitle; - protected string divOwnUnitTitle; - protected string divSGUnitTitle; + protected string divJLUnitTitle; + protected string divOwnUnitTitle; + protected string divProjectAddressTitle; protected string divProjectImg; - - protected string spanProjectName; - protected string spanProjectAddress; - protected string spanOwnUnit; - protected string spanSGUnit; + protected string divProjectMoneyTitle; + protected string divProjectNameTitle; + protected string divSGUnitTitle; protected string spanJLUnit; + protected string spanOwnUnit; + protected string spanProjectAddress; + protected string spanProjectName; protected string spanRemark; - /// - /// - /// - private void getProjectInfo() - { - divProjectNameTitle = ""; - divProjectAddressTitle = ""; - divProjectMoneyTitle = ""; - divOwnUnitTitle = ""; - divSGUnitTitle = ""; - divJLUnitTitle = ""; - divProjectImg = "
"; - var project = ProjectService.GetProjectByProjectId(this.ProjectId); - if (project != null) - { - spanProjectName = "" + project.ShortName + ""; - spanRemark = "" + project.Remark + ""; - divProjectNameTitle = project.ProjectName; - if (!string.IsNullOrEmpty(project.ProjectAddress)) - { - //this.divProjectAddress.InnerHtml = project.ProjectAddress.Length > 8 ? project.ProjectAddress.Substring(0, 8) + "..." : project.ProjectAddress; - spanProjectAddress = spanProjectName = "" + - (project.ProjectAddress.Length > 8 ? project.ProjectAddress.Substring(0, 8) + "..." : project.ProjectAddress) + ""; - divProjectAddressTitle = project.ProjectAddress; - } - string unit_yz = ProjectService.getProjectUnitNameByUnitType(project.ProjectId, Const.ProjectUnitType_4); - if (!string.IsNullOrEmpty(unit_yz)) - { - //this.divOwnUnit.InnerHtml = unit_yz.Length > 8 ? unit_yz.Substring(0, 8) + "..." : unit_yz; - spanOwnUnit = "" + - (unit_yz.Length > 8 ? unit_yz.Substring(0, 8) + "..." : unit_yz) + ""; - divOwnUnitTitle = unit_yz; - } - string unit_JL = ProjectService.getProjectUnitNameByUnitType(project.ProjectId, Const.ProjectUnitType_3); - if (!string.IsNullOrEmpty(unit_JL)) - { - //this.divJLUnit.InnerHtml = unit_JL.Length > 8 ? unit_JL.Substring(0, 8) + "..." : unit_JL; - spanJLUnit = "" + - (unit_JL.Length > 8 ? unit_JL.Substring(0, 8) + "..." : unit_JL) + ""; - divJLUnitTitle = unit_JL; - } - - string unit_FB = ProjectService.getProjectUnitNameByUnitType(project.ProjectId, Const.ProjectUnitType_2); - if (!string.IsNullOrEmpty(unit_FB)) - { - //this.divSGUnit.InnerHtml = unit_FB.Length > 8 ? unit_FB.Substring(0, 8) + "..." : unit_FB + "..."; - spanSGUnit = "" + - (unit_FB.Length > 8 ? unit_FB.Substring(0, 8) + "..." : unit_FB + "...") + ""; - } - - var getSGName = from x in Funs.DB.Project_ProjectUnit - join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId - where x.ProjectId == project.ProjectId && x.UnitType == Const.ProjectUnitType_2 - select y.UnitName; - foreach (var item in getSGName) - { - divSGUnitTitle += item + ","; - } - //this.divProjectMoney.InnerHtml = divProjectMoneyTitle = project.ProjectMoney.ToString() + "万元"; - if (project.EndDate.HasValue) - { - this.divEndDate.InnerHtml = string.Format("{0:yyyy-MM-dd}", project.EndDate); - int endDays = (project.EndDate.Value - DateTime.Now).Days; - if (endDays >= 0) - { - this.divRemainingDays.InnerHtml = endDays.ToString() + ""; - } - if (project.StartDate.HasValue) - { - int pdays = (project.EndDate.Value - project.StartDate.Value).Days; - if (pdays >= 0) - { - this.divProjectDays.InnerHtml = pdays.ToString() + ""; - } - } - } - var allowExtensions = new List - { - - "jpg", "jpeg", "png", "bmp", "gif", // 图片文件类型 - - }; - var getImag = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == project.ProjectId); - if (getImag != null && !string.IsNullOrEmpty(getImag.AttachUrl)) - { - string url = getImag.AttachUrl.Replace('\\', '/'); - var UrlList = Funs.GetStrListByStr(url, ','); - bool isHiddDefaultImg = false; - foreach (var item in UrlList) - { - if (!string.IsNullOrEmpty(item)) - { - string atturl = Funs.RootPath + item.Replace(';', ' ').Trim(); - string fileType = GetFileType(atturl); - - if (File.Exists(atturl) && allowExtensions.Contains(fileType)) - { - isHiddDefaultImg = true; - divProjectImg += string.Format("
", atturl.Replace(Funs.RootPath, "/")); - - //this.divProjectImgs.Src = divProjectImg; - } - } - } - - divProjectImg = divProjectImg.Replace("
", ""); - /*string firtstUrl = Funs.GetStrListByStr(url, ',').FirstOrDefault(); - if (!string.IsNullOrEmpty(firtstUrl)) - { - string atturl = Funs.RootPath + firtstUrl.Replace(';', ' ').Trim(); - if (File.Exists(atturl)) - { - divProjectImg = "../" + firtstUrl.Replace(';', ' ').Trim(); - //this.divProjectImgs.Src = divProjectImg; - } - }*/ - } - } - } + protected string spanSGUnit; private string GetFileType(string fileName) { string fileType = String.Empty; @@ -367,48 +367,128 @@ namespace FineUIPro.Web.common return fileType; } - #endregion + + /// + /// + /// + private async Task getProjectInfo() + { + await Task.Run(() => + { + divProjectNameTitle = ""; + divProjectAddressTitle = ""; + divProjectMoneyTitle = ""; + divOwnUnitTitle = ""; + divSGUnitTitle = ""; + divJLUnitTitle = ""; + divProjectImg = "
"; + var project = ProjectService.GetProjectByProjectId(this.ProjectId); + if (project != null) + { + if (project.EndDate.HasValue) + { + this.divEndDate.InnerHtml = string.Format("{0:yyyy-MM-dd}", project.EndDate); + int endDays = (project.EndDate.Value - DateTime.Now).Days; + if (endDays >= 0) + { + this.divRemainingDays.InnerHtml = endDays.ToString() + ""; + } + if (project.StartDate.HasValue) + { + int pdays = (project.EndDate.Value - project.StartDate.Value).Days; + if (pdays >= 0) + { + this.divProjectDays.InnerHtml = pdays.ToString() + ""; + } + } + } + var allowExtensions = new List + { + "jpg", "jpeg", "png", "bmp", "gif", // 图片文件类型 + }; + var getImag = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == project.ProjectId); + if (getImag != null && !string.IsNullOrEmpty(getImag.AttachUrl)) + { + string url = getImag.AttachUrl.Replace('\\', '/'); + var UrlList = Funs.GetStrListByStr(url, ','); + bool isHiddDefaultImg = false; + foreach (var item in UrlList) + { + if (!string.IsNullOrEmpty(item)) + { + string atturl = Funs.RootPath + item.Replace(';', ' ').Trim(); + string fileType = GetFileType(atturl); + + if (File.Exists(atturl) && allowExtensions.Contains(fileType)) + { + isHiddDefaultImg = true; + divProjectImg += string.Format("
", atturl.Replace(Funs.RootPath, "/")); + + //this.divProjectImgs.Src = divProjectImg; + } + } + } + + divProjectImg = divProjectImg.Replace("
", ""); + } + } + }); + } + #endregion 工程概括 #region 风险预警 + + protected int CompletedNum; + protected int ConstructionNum; + protected int EarlyWarningCounts; + protected int FinishedNum; + protected int JxyjNum; protected string riskData1; protected string riskData2; protected string riskData3; protected string riskData4; protected string riskDataRate; + + protected int SuperCompletedNum; + + protected int SuperConstructionNum; + + protected int SuperFinishedNum; + + protected int SuperTrainPersonNum; + + protected int TrainPersonNum; + /// - /// 获取风险管控 + /// 获取危大工程审批完成数 /// - private void getHazard() + /// + protected async Task GetCompletedNum() { - var getHazards = from x in Funs.DB.Hazard_HazardSelectedItem - join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId - where x.ProjectId == ProjectId - select new { x.HazardSelectedItemId, y.RiskLevel }; - var riskLevels = from x in Funs.DB.Base_RiskLevel select x; - - List RiskLevelNum = new List(); - List series = new List(); - - riskData1 = getHazards.Count(x => x.RiskLevel == 1).ToString(); - riskData2 = getHazards.Count(x => x.RiskLevel == 2).ToString(); - riskData3 = getHazards.Count(x => x.RiskLevel == 3).ToString(); - riskData4 = getHazards.Count(x => x.RiskLevel == 4).ToString(); - if (getHazards.Count() > 0) - { - riskDataRate = (100.0 * getHazards.Count(x => x.RiskLevel == 4) / getHazards.Count()).ToString("0.##"); - } - else - { - riskDataRate = "0"; - } + return await Task.Run(() => { + var result = Project_HSSEData_HSSEService.GetFinishedNum(ProjectId); + return result; + }); + } + /// + /// 获取危大工程施工个数 + /// + /// + protected async Task GetConstructionNum() + { + return await Task.Run(() => { + var result = Project_HSSEData_HSSEService.GetConstructionNum(ProjectId); + return result; + }); } /// /// 资质预警 /// - protected string getEarlyWarningCounts() + protected async Task getEarlyWarningCounts() { + return await Task.Run(() => { int allCount = 0; var getPersonQualitys = from x in Funs.DB.QualityAudit_PersonQuality join y in Funs.DB.SitePerson_Person on x.PersonId equals y.PersonId @@ -416,15 +496,29 @@ namespace FineUIPro.Web.common select x; //// 预警人数 allCount = getPersonQualitys.Count(); - return allCount.ToString(); + return allCount; + }); + } + + /// + /// 获取危大工程完工个数 + /// + /// + protected async Task GetFinishedNum() + { + return await Task.Run(() => { + var result = Project_HSSEData_HSSEService.GetFinishedNum(ProjectId); + return result; + }); } /// /// 机械预警 /// /// - protected int GetJxyjNum() + protected async Task GetJxyjNum() { + return await Task.Run(() => { int result = 0; //机具报验的到期提醒和过期提醒记录数加一起 ////机具报验的到期提醒数 @@ -435,100 +529,169 @@ namespace FineUIPro.Web.common //result = num1 + num2; result = num2; return result; - } - - /// - /// 获取危大工程审批完成数 - /// - /// - protected int GetCompletedNum() - { - var result = Project_HSSEData_HSSEService.GetFinishedNum(ProjectId); - return result; - } - - /// - /// 获取危大工程培训人次数 - /// - /// - protected int GetTrainPersonNum() - { - var result = Project_HSSEData_HSSEService.GetTrainPersonNum(ProjectId); - return result; - } - - /// - /// 获取危大工程施工个数 - /// - /// - protected int GetConstructionNum() - { - var result = Project_HSSEData_HSSEService.GetConstructionNum(ProjectId); - return result; - } - - /// - /// 获取危大工程完工个数 - /// - /// - protected int GetFinishedNum() - { - var result = Project_HSSEData_HSSEService.GetFinishedNum(ProjectId); - return result; + }); } /// /// 获取超危大工程审批完成数 /// /// - protected int GetSuperCompletedNum() + protected async Task GetSuperCompletedNum() { + return await Task.Run(() => { var result = Project_HSSEData_HSSEService.GetSuperFinishedNum(ProjectId); return result; - } - - /// - /// 获取超危大工程培训人次数 - /// - /// - protected int GetSuperTrainPersonNum() - { - var result = Project_HSSEData_HSSEService.GetSuperTrainPersonNum(ProjectId); - return result; + }); } /// /// 获取超危大工程施工个数 /// /// - protected int GetSuperConstructionNum() + protected async Task GetSuperConstructionNum() { + return await Task.Run(() => { var result = Project_HSSEData_HSSEService.GetSuperConstructionNum(ProjectId); return result; + }); } /// /// 获取超危大工程完工个数 /// /// - protected int GetSuperFinishedNum() + protected async Task GetSuperFinishedNum() { + return await Task.Run(() => { var result = Project_HSSEData_HSSEService.GetSuperFinishedNum(ProjectId); return result; + }); } - #endregion + + /// + /// 获取超危大工程培训人次数 + /// + /// + protected async Task GetSuperTrainPersonNum() + { + return await Task.Run(() => { + var result = Project_HSSEData_HSSEService.GetSuperTrainPersonNum(ProjectId); + return result; + }); + } + + /// + /// 获取危大工程培训人次数 + /// + /// + protected async Task GetTrainPersonNum() + { + return await Task.Run(() => { + var result = Project_HSSEData_HSSEService.GetTrainPersonNum(ProjectId); + return result; + }); + } + + /// + /// 获取风险管控 + /// + private async Task getHazard() + { + await Task.Run(() => + { + ; + var getHazards = from x in Funs.DB.Hazard_HazardSelectedItem + join y in Funs.DB.Base_RiskLevel on x.HazardLevel equals y.RiskLevelId + where x.ProjectId == ProjectId + select new { x.HazardSelectedItemId, y.RiskLevel }; + var riskLevels = from x in Funs.DB.Base_RiskLevel select x; + + List RiskLevelNum = new List(); + List series = new List(); + + riskData1 = getHazards.Count(x => x.RiskLevel == 1).ToString(); + riskData2 = getHazards.Count(x => x.RiskLevel == 2).ToString(); + riskData3 = getHazards.Count(x => x.RiskLevel == 3).ToString(); + riskData4 = getHazards.Count(x => x.RiskLevel == 4).ToString(); + if (getHazards.Count() > 0) + { + riskDataRate = + (100.0 * getHazards.Count(x => x.RiskLevel == 4) / getHazards.Count()).ToString("0.##"); + } + else + { + riskDataRate = "0"; + } + }); + } + + private async Task getHazardData() + { + var EarlyWarningCountsTask = getEarlyWarningCounts(); + var GetJxyjNumTask = GetJxyjNum(); + var CompletedNumTask = GetCompletedNum(); + var TrainPersonNumTask = GetTrainPersonNum(); + var ConstructionNumTask = GetConstructionNum(); + var FinishedNumTask = GetFinishedNum(); + var SuperCompletedNumTask = GetSuperCompletedNum(); + var SuperTrainPersonNumTask = GetSuperTrainPersonNum(); + var SuperConstructionNumTask = GetSuperConstructionNum(); + var SuperFinishedNumTask = GetSuperFinishedNum(); + await Task.WhenAll( + EarlyWarningCountsTask, + GetJxyjNumTask, CompletedNumTask, TrainPersonNumTask, ConstructionNumTask, FinishedNumTask, SuperCompletedNumTask, SuperTrainPersonNumTask, SuperConstructionNumTask, SuperFinishedNumTask); + + EarlyWarningCounts = await EarlyWarningCountsTask; + JxyjNum = await GetJxyjNumTask; + CompletedNum = await CompletedNumTask; + TrainPersonNum = await TrainPersonNumTask; + ConstructionNum = await ConstructionNumTask; + FinishedNum = await FinishedNumTask; + SuperCompletedNum = await SuperCompletedNumTask; + SuperTrainPersonNum = await SuperTrainPersonNumTask; + SuperConstructionNum = await SuperConstructionNumTask; + SuperFinishedNum = await SuperFinishedNumTask; + } + #endregion 风险预警 #region 作业许可 - protected int getTodayCount() - { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.WorkStatesStr == "作业中").ToList().Count; - return result; - } + protected int getAllCount() { var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId).ToList().Count; return result; } + + protected int getALLWrokCount0() + { + var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证").ToList().Count; + return result; + } + + protected int getALLWrokCount1() + { + var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证").ToList().Count; + return result; + } + + protected int getALLWrokCount2() + { + var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证").ToList().Count; + return result; + } + + protected int getALLWrokCount3() + { + var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId + && x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证").ToList().Count; + return result; + } + + protected int getTodayCount() + { + var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.WorkStatesStr == "作业中").ToList().Count; + return result; + } /// /// 动火作业许可证 /// @@ -538,231 +701,211 @@ namespace FineUIPro.Web.common var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; } - protected int getALLWrokCount0() - { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证").ToList().Count; - return result; - } protected int getWrokCount1() { var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; } - protected int getALLWrokCount1() - { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证").ToList().Count; - return result; - } - protected int getWrokCount2() { var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; } - protected int getALLWrokCount2() - { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证").ToList().Count; - return result; - } - protected int getWrokCount3() { var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; } - protected int getALLWrokCount3() - { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId - && x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证").ToList().Count; - return result; - } - #endregion + #endregion 作业许可 #region 质量问题 - //质量问题总计 - protected string zlallNumber; - //质量问题合格数量 - protected string zlfinishNumber; - //质量问题整改率 - protected string zlzgl; protected string zgzglDataValue; - protected void getZlwt() - { - zlallNumber = (from x in Funs.DB.Check_CheckControl - where x.CheckDate <= DateTime.Now && x.ProjectId == ProjectId - select x).Count().ToString(); - var num2 = (from x in Funs.DB.Check_CheckControl - where x.CheckDate <= DateTime.Now && x.State == "7" && x.ProjectId == ProjectId - select x).Count(); - zlfinishNumber = num2.ToString(); - var num3 = (from x in Funs.DB.Check_CheckControl - where x.CheckDate <= DateTime.Now && x.State != "7" && x.ProjectId == ProjectId - select x).Count(); - var zgl = String.Format("{0:N2}", 100.0 * num2 / (num2 + num3)); - zlzgl = zgl.ToString().Replace("NaN", "0"); - zgzglDataValue = (100 - (100.0 * num2 / (num2 + num3))).ToString(); + //质量问题总计 + protected string zlallNumber; + + //质量问题合格数量 + protected string zlfinishNumber; + + //质量问题整改率 + protected string zlzgl; + protected async Task getZlwt() + { + await Task.Run(() => + { + zlallNumber = (from x in Funs.DB.Check_CheckControl + where x.CheckDate <= DateTime.Now && x.ProjectId == ProjectId + select x).Count().ToString(); + var num2 = (from x in Funs.DB.Check_CheckControl + where x.CheckDate <= DateTime.Now && x.State == "7" && x.ProjectId == ProjectId + select x).Count(); + zlfinishNumber = num2.ToString(); + var num3 = (from x in Funs.DB.Check_CheckControl + where x.CheckDate <= DateTime.Now && x.State != "7" && x.ProjectId == ProjectId + select x).Count(); + + var zgl = String.Format("{0:N2}", 100.0 * num2 / (num2 + num3)); + zlzgl = zgl.ToString().Replace("NaN", "0"); + zgzglDataValue = (100 - (100.0 * num2 / (num2 + num3))).ToString(); + }); } - #endregion + + #endregion 质量问题 #region 质量共检 + + protected string zggjzglDataValue; protected string zlgjallNumber; protected string zlgjfinishNumber; protected string zlgjzgl; - - protected string zggjzglDataValue; - protected void getZlgj() + protected async Task getZlgj() { - Model.SGGLDB db = Funs.DB; - zlgjallNumber = (from x in db.ProcessControl_InspectionManagement - where x.ProjectId == ProjectId - select x).Count().ToString(); - - var num2 = (from x in db.ProcessControl_InspectionManagement - where x.IsOnceQualified == true && x.ProjectId == ProjectId - select x).Count(); - zlgjfinishNumber = num2.ToString(); - - var num3 = (from x in db.ProcessControl_InspectionManagement - where (x.IsOnceQualified == false || x.IsOnceQualified == null) && x.ProjectId == ProjectId - select x).Count(); - var zgl = "0"; - if (num2 != 0) + await Task.Run(() => { - zgl = String.Format("{0:N2}", 100.0 * num2 / (num2 + num3)); - zlgjzgl = zgl.ToString(); - zggjzglDataValue = (100 - (100.0 * num2 / (num2 + num3))).ToString(); - } - else - { - zlgjzgl = zgl.ToString(); - zggjzglDataValue = "0"; - } + Model.SGGLDB db = Funs.DB; + zlgjallNumber = (from x in db.ProcessControl_InspectionManagement + where x.ProjectId == ProjectId + select x).Count().ToString(); + var num2 = (from x in db.ProcessControl_InspectionManagement + where x.IsOnceQualified == true && x.ProjectId == ProjectId + select x).Count(); + zlgjfinishNumber = num2.ToString(); + var num3 = (from x in db.ProcessControl_InspectionManagement + where (x.IsOnceQualified == false || x.IsOnceQualified == null) && x.ProjectId == ProjectId + select x).Count(); + var zgl = "0"; + if (num2 != 0) + { + zgl = String.Format("{0:N2}", 100.0 * num2 / (num2 + num3)); + zlgjzgl = zgl.ToString(); + zggjzglDataValue = (100 - (100.0 * num2 / (num2 + num3))).ToString(); + } + else + { + zlgjzgl = zgl.ToString(); + zggjzglDataValue = "0"; + } + }); } - #endregion + #endregion 质量共检 #region 焊接 + protected string hjallNumber = "0"; + protected string hjDataValue = "0"; protected string hjfinishNumber = "0"; protected string hjzgl = "0"; - - protected string hjDataValue = "0"; - protected void getHj() + protected async Task getHj() { - Model.SingleSerie series = new Model.SingleSerie(); - Model.BusinessColumn businessColumn = new Model.BusinessColumn(); - List listdata = new List(); - double result = 0; - Model.SGGLDB db = Funs.DB; - var ndtList = (from x in db.ProcessControl_NondestructiveTest_New where x.ProfessionalName == "工艺管道" && x.ProjectId == ProjectId orderby x.CreateDate descending select x).FirstOrDefault(); - decimal a = 0, b = 0; - if (ndtList != null) + await Task.Run(() => { - if (ndtList.TotalQuantity.HasValue) + Model.SingleSerie series = new Model.SingleSerie(); + Model.BusinessColumn businessColumn = new Model.BusinessColumn(); + List listdata = new List(); + double result = 0; + Model.SGGLDB db = Funs.DB; + var ndtList = + (from x in db.ProcessControl_NondestructiveTest_New + where x.ProfessionalName == "工艺管道" && x.ProjectId == ProjectId + orderby x.CreateDate descending + select x).FirstOrDefault(); + decimal a = 0, b = 0; + if (ndtList != null) { - a += Math.Floor(ndtList.TotalQuantity.Value * Funs.GetNewDecimalOrZero(ndtList.TotalRate) / 100); - b += ndtList.TotalQuantity.Value; - } - if (!string.IsNullOrEmpty(ndtList.TotalRate)) - { - result = Convert.ToDouble(ndtList.TotalRate); - } - } - else - { - var hjglData = (from x in db.HJGL_FL_Data where x.ProjectId == ProjectId orderby x.CompileDate descending select x).FirstOrDefault(); - if (hjglData != null) - { - a = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmQualifiedAmount); - b = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmAmount); - if (a > 0 && b > 0) + if (ndtList.TotalQuantity.HasValue) { - result = Convert.ToDouble(Convert.ToDecimal(100.0) * b / a); + a += Math.Floor(ndtList.TotalQuantity.Value * Funs.GetNewDecimalOrZero(ndtList.TotalRate) / + 100); + b += ndtList.TotalQuantity.Value; + } + + if (!string.IsNullOrEmpty(ndtList.TotalRate)) + { + result = Convert.ToDouble(ndtList.TotalRate); + } + } + else + { + var hjglData = + (from x in db.HJGL_FL_Data + where x.ProjectId == ProjectId + orderby x.CompileDate descending + select x).FirstOrDefault(); + if (hjglData != null) + { + a = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmQualifiedAmount); + b = Funs.GetNewDecimalOrZero(hjglData.OneTimeFilmAmount); + if (a > 0 && b > 0) + { + result = Convert.ToDouble(Convert.ToDecimal(100.0) * b / a); + } } } - } - if (b > 0) - { - hjallNumber = b.ToString(); - hjfinishNumber = a.ToString(); - hjzgl = result.ToString(); - hjDataValue = (100 - result).ToString(); - } - //var ndtLists = from x in db.HJGL_FL_NdtList where x.ProjectId == ProjectId select x; - //if (ndtLists.Count() > 0) - //{ - // decimal a = 0, b = 0; - // foreach (var item in ndtLists) - // { - // a += Funs.GetNewDecimalOrZero(item.OneTimeFilmQualifiedAmount); - // b += Funs.GetNewDecimalOrZero(item.OneTimeFilmAmount); - // } - // if (b > 0) - // { - // result = Convert.ToDouble(decimal.Round(decimal.Parse((a / b * 100).ToString()), 2)); - // hjallNumber = b.ToString(); - // hjfinishNumber = a.ToString(); - // hjzgl = result.ToString(); - // hjDataValue = (100 - result).ToString(); - // } - //} - //else - //{ - // var data = (from x in db.HJGL_FL_Data where x.ProjectId == ProjectId orderby x.CompileDate descending select x).FirstOrDefault(); - // if (data != null) - // { - // decimal a = Funs.GetNewDecimalOrZero(data.OneTimeFilmQualifiedAmount); - // decimal b = Funs.GetNewDecimalOrZero(data.OneTimeFilmAmount); - // if (b > 0) - // { - // result = Convert.ToDouble(decimal.Round(decimal.Parse((a / b * 100).ToString()), 2)); + if (b > 0) + { + hjallNumber = b.ToString(); + hjfinishNumber = a.ToString(); + hjzgl = result.ToString(); + hjDataValue = (100 - result).ToString(); + } + //var ndtLists = from x in db.HJGL_FL_NdtList where x.ProjectId == ProjectId select x; + //if (ndtLists.Count() > 0) + //{ + // decimal a = 0, b = 0; + // foreach (var item in ndtLists) + // { + // a += Funs.GetNewDecimalOrZero(item.OneTimeFilmQualifiedAmount); + // b += Funs.GetNewDecimalOrZero(item.OneTimeFilmAmount); + // } + // if (b > 0) + // { + // result = Convert.ToDouble(decimal.Round(decimal.Parse((a / b * 100).ToString()), 2)); - // hjallNumber = b.ToString(); - // hjfinishNumber = a.ToString(); - // hjzgl = result.ToString(); - // hjDataValue = (100 - result).ToString(); - // } - // } - //} + // hjallNumber = b.ToString(); + // hjfinishNumber = a.ToString(); + // hjzgl = result.ToString(); + // hjDataValue = (100 - result).ToString(); + // } + //} + //else + //{ + // var data = (from x in db.HJGL_FL_Data where x.ProjectId == ProjectId orderby x.CompileDate descending select x).FirstOrDefault(); + // if (data != null) + // { + // decimal a = Funs.GetNewDecimalOrZero(data.OneTimeFilmQualifiedAmount); + // decimal b = Funs.GetNewDecimalOrZero(data.OneTimeFilmAmount); + // if (b > 0) + // { + // result = Convert.ToDouble(decimal.Round(decimal.Parse((a / b * 100).ToString()), 2)); + + // hjallNumber = b.ToString(); + // hjfinishNumber = a.ToString(); + // hjzgl = result.ToString(); + // hjDataValue = (100 - result).ToString(); + // } + // } + //} + }); } - #endregion + #endregion 焊接 #region 赢得值曲线 + protected string swgclHtml; - protected void GetJD() + protected string Tree { - int index = 0; - var result = Funs.DB.View_JDGL_QuantityCompletion - - .Where(qc => qc.ProjectId == this.CurrUser.LoginProjectId) - .OrderBy(qc => qc.SortIndex) - .ThenBy(qc => qc.Name) - .ToList(); - foreach (var item in result) - { - index++; - swgclHtml += "
"; - swgclHtml += string.Format("

{0}

", index); - swgclHtml += string.Format("

{0}

", item.Name); - swgclHtml += string.Format("

{0}

", item.Unit); - swgclHtml += string.Format("

{0}

", item.DesignNum); - swgclHtml += string.Format("

{0}{1}{2}

", item.PlanNum, item.RealNum, item.Rate); - swgclHtml += string.Format("

{0}{1}{2}

", item.TotalPlanNum, item.TotalRealNum, item.TotalRate); - swgclHtml += string.Format("

{0}

", item.SumRate); - swgclHtml += "
"; - } - + get; + set; } - protected string Two { get @@ -884,10 +1027,35 @@ namespace FineUIPro.Web.common } } - #region 赢得值曲线 - protected string Tree + protected async Task GetJD() { - get + await Task.Run(() => + { + int index = 0; + var result = Funs.DB.View_JDGL_QuantityCompletion + + .Where(qc => qc.ProjectId == this.CurrUser.LoginProjectId) + .OrderBy(qc => qc.SortIndex) + .ThenBy(qc => qc.Name) + .ToList(); + foreach (var item in result) + { + index++; + swgclHtml += "
"; + swgclHtml += string.Format("

{0}

", index); + swgclHtml += string.Format("

{0}

", item.Name); + swgclHtml += string.Format("

{0}

", item.Unit); + swgclHtml += string.Format("

{0}

", item.DesignNum); + swgclHtml += string.Format("

{0}{1}{2}

", item.PlanNum, item.RealNum, item.Rate); + swgclHtml += string.Format("

{0}{1}{2}

", item.TotalPlanNum, item.TotalRealNum, item.TotalRate); + swgclHtml += string.Format("

{0}

", item.SumRate); + swgclHtml += "
"; + } + }); + } + protected async Task GetTreeAsync() + { + return await Task.Run(() => { List series = new List(); Model.BusinessColumn businessColumn = new Model.BusinessColumn(); @@ -921,15 +1089,22 @@ namespace FineUIPro.Web.common businessColumn.categories = listCategories; businessColumn.series = series; return JsonConvert.SerializeObject(businessColumn); - } + }); } - #endregion - #endregion - #region 人力情况 + #endregion 赢得值曲线 + + #region 人力情况 + protected string Person { - get + get; + set; + } + + protected async Task GetPersonAsync() + { + return await Task.Run(() => { Model.SGGLDB db = Funs.DB; List series = new List(); @@ -1001,7 +1176,7 @@ namespace FineUIPro.Web.common //其他 listCategories.Add("其他"); int workPostCount13 = persons.Count() - workPostCount1 - workPostCount2 - workPostCountP - workPostCount6 - workPostCount7 - - workPostCount8 - workPostCount12; + - workPostCount8 - workPostCount12; listdata.Add(workPostCount13); s.data = listdata; series.Add(s); @@ -1009,99 +1184,78 @@ namespace FineUIPro.Web.common businessColumn.title = persons.Count().ToString(); businessColumn.series = series; return JsonConvert.SerializeObject(businessColumn); - } + }); } - #endregion + + #endregion 人力情况 #region 作业许可列表 + protected string getLicenseManager() { string returnHtml = ""; - var list = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId).ToList(); - foreach (var item in list) + /* var list = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId).ToList(); + foreach (var item in list) + { + var gfx = "风险作业"; + if (item.IsHighRisk != true) + { + gfx = "非高风险"; + } + string shortUnitname = string.Empty; + var unit = Funs.DB.Base_Unit.Where(x => x.UnitId == item.UnitId).FirstOrDefault(); + if (unit != null) + { + shortUnitname = unit.ShortUnitName; + } + returnHtml += "
" + item.LicenseManagerCode + "-" + shortUnitname + "-" + item.WorkAreaName + "-" + gfx + "-" + item.LicenseTypeName + + "
"; + }*/ + + var result = from x in Funs.DB.View_License_LicenseManager + join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId into g + from z in g.DefaultIfEmpty() + where x.ProjectId == ProjectId + select new + { + x.LicenseManagerCode, + x.WorkAreaName, + x.LicenseTypeName, + GfxType = x.IsHighRisk == true ? "风险作业" : "非高风险", + ShortUnitName = z != null ? z.ShortUnitName : "", // 空值防护 + }; + var sb = new StringBuilder(); + foreach (var item in result.ToList()) { - var gfx = "风险作业"; - if (item.IsHighRisk != true) - { - gfx = "非高风险"; - } - string shortUnitname = string.Empty; - var unit = Funs.DB.Base_Unit.Where(x => x.UnitId == item.UnitId).FirstOrDefault(); - if (unit != null) - { - shortUnitname = unit.ShortUnitName; - } - returnHtml += "
" + item.LicenseManagerCode + "-" + shortUnitname + "-" + item.WorkAreaName + "-" + gfx + "-" + item.LicenseTypeName - + "
"; + sb.AppendFormat("
{0}-{1}-{2}-{3}-{4}
", + item.LicenseManagerCode, + item.ShortUnitName, + item.WorkAreaName, + item.GfxType, + item.LicenseTypeName); } + returnHtml = sb.ToString(); return returnHtml; } - #endregion + + #endregion 作业许可列表 #region 工作台面 protected string gjsxRate = "0"; - protected void getGztm() - { - //div_dbsxlist.InnerHtml = ""; - string returnDbHtml = "
"; - if (!string.IsNullOrEmpty(ProjectId)) - { - //关键事项 - string strSql = @"SELECT GJSXID AS DataId - ,'0BEA2126-7A48-40EB-8E21-99148E91A22B' AS MenuId - ,'关键事项待处理' AS MenuName - ,GJSX.Detail AS Content - ,users.UserId - ,users.UserName - ,GJSX.CreateDate AS DataTime - ,CONVERT(varchar(100),GJSX.CreateDate, 23) AS DataTimeStr - ,'../PZHGL/GJSX/GJSXListEdit.aspx?ToDo=ToDo&EditType=Edit&ID='+GJSXID AS PCUrl - FROM GJSX - LEFT JOIN Sys_User AS users ON users.UserId =@userId - WHERE GJSX.ProjectId=@projectId AND - GJSX.State != 0 AND (((select count(*) from GJSX_detail detail where detail.Progress_user=@userId and detail.GJSXID=GJSX.GJSXID)=0 - and (select count(*) from GJSX_Process process where process.UserId=@userId and process.GJSXID=GJSX.GJSXID)>0) - or (GJSX.User_Acceptance like '%'+@userId+'%' and (select count(*) from GJSX_detail detail where detail.GJSXID=GJSX.GJSXID)=(select count(*) from GJSX_Process process where process.GJSXID=GJSX.GJSXID)) - )"; - List listStr = new List(); - - listStr.Add(new SqlParameter("@userId", CurrUser.UserId)); - listStr.Add(new SqlParameter("@projectId", ProjectId)); - SqlParameter[] parameter = listStr.ToArray(); - DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); - var Gjsxcount = tb.Rows.Count; - div_gjsx.InnerHtml = Gjsxcount.ToString(); - - var getDataList = Funs.DB.Sp_Project_GetToDoItems(this.CurrUser.LoginProjectId, this.CurrUser.UserId).ToList(); - //待办事项、个人流程 - div_dbsx.InnerHtml = getDataList.Count().ToString(); - div_grlc.InnerHtml = getDataList.Count().ToString(); - foreach (var item in getDataList) - { - returnDbHtml += "
" + item.MenuName + "" + item.Content + "" + - item.DataTime.ToString().Replace('/', '-').Split(' ')[0] + "
"; - } - } - else - { - returnDbHtml = "
"; - } - this.div_dbsxlist.InnerHtml = returnDbHtml; - - - } /// /// 加载关键事项 /// - protected void getGjsx() + protected async Task getGjsx() { - string returnDbHtml = "
"; - ////关键事项 - if (!string.IsNullOrEmpty(ProjectId)) + await Task.Run(() => { - string strSql = @"SELECT GJSXID AS DataId + string returnDbHtml = "
"; + ////关键事项 + if (!string.IsNullOrEmpty(ProjectId)) + { + string strSql = @"SELECT GJSXID AS DataId ,'0BEA2126-7A48-40EB-8E21-99148E91A22B' AS MenuId ,'关键事项待处理' AS MenuName ,GJSX.Detail AS Content @@ -1110,168 +1264,193 @@ namespace FineUIPro.Web.common ,GJSX.CreateDate AS DataTime ,CONVERT(varchar(100),GJSX.CreateDate, 23) AS DataTimeStr ,'../PZHGL/GJSX/GJSXListEdit.aspx?ToDo=ToDo&EditType=Edit&ID='+GJSXID AS PCUrl - FROM GJSX + FROM GJSX LEFT JOIN Sys_User AS users ON users.UserId =@userId - WHERE GJSX.ProjectId=@projectId AND + WHERE GJSX.ProjectId=@projectId AND GJSX.State != 0 AND (((select count(*) from GJSX_detail detail where detail.Progress_user=@userId and detail.GJSXID=GJSX.GJSXID)=0 and (select count(*) from GJSX_Process process where process.UserId=@userId and process.GJSXID=GJSX.GJSXID)>0) or (GJSX.User_Acceptance like '%'+@userId+'%' and (select count(*) from GJSX_detail detail where detail.GJSXID=GJSX.GJSXID)=(select count(*) from GJSX_Process process where process.GJSXID=GJSX.GJSXID)) )"; - List listStr = new List(); + List listStr = new List(); - listStr.Add(new SqlParameter("@userId", CurrUser.UserId)); - listStr.Add(new SqlParameter("@projectId", ProjectId)); - SqlParameter[] parameter = listStr.ToArray(); - DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + listStr.Add(new SqlParameter("@userId", CurrUser.UserId)); + listStr.Add(new SqlParameter("@projectId", ProjectId)); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); - for (int i = 0; i < tb.Rows.Count; i++) - { - returnDbHtml += "
" + tb.Rows[i]["MenuName"] + "" + tb.Rows[i]["Content"] + "" + - tb.Rows[i]["DataTime"].ToString().Replace('/', '-').Split(' ')[0] + "
"; + for (int i = 0; i < tb.Rows.Count; i++) + { + returnDbHtml += "
" + tb.Rows[i]["MenuName"] + "" + tb.Rows[i]["Content"] + "" + + tb.Rows[i]["DataTime"].ToString().Replace('/', '-').Split(' ')[0] + "
"; + } } - } - else + else + { + returnDbHtml = "
"; + } + this.div_gjsxlist.InnerHtml = returnDbHtml; + + List listStaticListStr = new List(); + + listStaticListStr.Add(new SqlParameter("@UserID", null)); + listStaticListStr.Add(new SqlParameter("@unit", null)); + listStaticListStr.Add(new SqlParameter("@projectid", this.CurrUser.LoginProjectId)); + listStaticListStr.Add(new SqlParameter("@CNProfessional_ID", null)); + listStaticListStr.Add(new SqlParameter("@questionType", null)); + listStaticListStr.Add(new SqlParameter("@processMan", null)); listStaticListStr.Add(new SqlParameter("@User_Acceptance", null)); + + SqlParameter[] Staticparameter = listStaticListStr.ToArray(); + DataTable statcitbDataTable = SQLHelper.GetDataTableRunProc("Sp_GJSXStatistic", Staticparameter); + var list = from x in Funs.DB.GJSX where x.ProjectId == this.CurrUser.LoginProjectId select x; + var allcount = list.Count(x => x.State == "0") + list.Count(x => x.State != "0" && x.CompleteDate < DateTime.Now); + var closecount = list.Count(x => x.State == "0"); + gjsxRate = String.Format("{0:N2}", 100.0 * closecount / allcount); + gjsxRate = gjsxRate.ToString().Replace("NaN", "0") + "%"; + }); + } + + protected async Task getGztm() + { + await Task.Run(() => { - returnDbHtml = "
"; - } - this.div_gjsxlist.InnerHtml = returnDbHtml; + //div_dbsxlist.InnerHtml = ""; + string returnDbHtml = "
"; + if (!string.IsNullOrEmpty(ProjectId)) + { + //关键事项 + string strSql = @"SELECT GJSXID AS DataId + ,'0BEA2126-7A48-40EB-8E21-99148E91A22B' AS MenuId + ,'关键事项待处理' AS MenuName + ,GJSX.Detail AS Content + ,users.UserId + ,users.UserName + ,GJSX.CreateDate AS DataTime + ,CONVERT(varchar(100),GJSX.CreateDate, 23) AS DataTimeStr + ,'../PZHGL/GJSX/GJSXListEdit.aspx?ToDo=ToDo&EditType=Edit&ID='+GJSXID AS PCUrl + FROM GJSX + LEFT JOIN Sys_User AS users ON users.UserId =@userId + WHERE GJSX.ProjectId=@projectId AND + GJSX.State != 0 AND (((select count(*) from GJSX_detail detail where detail.Progress_user=@userId and detail.GJSXID=GJSX.GJSXID)=0 + and (select count(*) from GJSX_Process process where process.UserId=@userId and process.GJSXID=GJSX.GJSXID)>0) + or (GJSX.User_Acceptance like '%'+@userId+'%' and (select count(*) from GJSX_detail detail where detail.GJSXID=GJSX.GJSXID)=(select count(*) from GJSX_Process process where process.GJSXID=GJSX.GJSXID)) + )"; + List listStr = new List(); - List listStaticListStr = new List(); + listStr.Add(new SqlParameter("@userId", CurrUser.UserId)); + listStr.Add(new SqlParameter("@projectId", ProjectId)); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + var Gjsxcount = tb.Rows.Count; + div_gjsx.InnerHtml = Gjsxcount.ToString(); - listStaticListStr.Add(new SqlParameter("@UserID", null)); - listStaticListStr.Add(new SqlParameter("@unit", null)); - listStaticListStr.Add(new SqlParameter("@projectid", this.CurrUser.LoginProjectId)); - listStaticListStr.Add(new SqlParameter("@CNProfessional_ID", null)); - listStaticListStr.Add(new SqlParameter("@questionType", null)); - listStaticListStr.Add(new SqlParameter("@processMan", null)); listStaticListStr.Add(new SqlParameter("@User_Acceptance", null)); - - - SqlParameter[] Staticparameter = listStaticListStr.ToArray(); - DataTable statcitbDataTable = SQLHelper.GetDataTableRunProc("Sp_GJSXStatistic", Staticparameter); - var list = from x in Funs.DB.GJSX where x.ProjectId == this.CurrUser.LoginProjectId select x; - var allcount = list.Count(x => x.State == "0") + list.Count(x => x.State != "0" && x.CompleteDate < DateTime.Now); - var closecount = list.Count(x => x.State == "0"); - gjsxRate = String.Format("{0:N2}", 100.0 * closecount / allcount); - gjsxRate = gjsxRate.ToString().Replace("NaN", "0") + "%"; + var getDataList = Funs.DB.Sp_Project_GetToDoItems(this.CurrUser.LoginProjectId, this.CurrUser.UserId).ToList(); + //待办事项、个人流程 + div_dbsx.InnerHtml = getDataList.Count().ToString(); + div_grlc.InnerHtml = getDataList.Count().ToString(); + foreach (var item in getDataList) + { + returnDbHtml += "
" + item.MenuName + "" + item.Content + "" + + item.DataTime.ToString().Replace('/', '-').Split(' ')[0] + "
"; + } + } + else + { + returnDbHtml = "
"; + } + this.div_dbsxlist.InnerHtml = returnDbHtml; + }); } - #endregion - - /// - /// 关闭弹出窗 - /// - /// - /// - protected void Window1_Close(object sender, WindowCloseEventArgs e) - { - getGztm(); - getGjsx(); - } - - - /// - /// 打开待办 - /// - /// - /// - protected void btnshowWindows(object sender, EventArgs e) - { - PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("{0}", hiddenUrl.Value, "办理 - "))); - } - + #endregion 工作台面 #region 材料到货 - protected string gdclHtml; - protected string sbclHtml; protected string gdclHead = "
材料类别
设计量

采购量

采购量百分比

到货量

已到货百分比

领料量

已领料百分比

"; + protected string gdclHtml; protected string sbclHead = "
合同号
" + "
采购总量
" + "
发货总量
" + "
到货总量
" + "
到货百分比
"; - private void getCldh() + + protected string sbclHtml; + private async Task getCldh() { - //管道材料 - var pid = BLL.ProjectService.GetCLProjectCodeByProjectId(ProjectId).ToString(); - var list = Funs.DB.CLGL_PipelineMaterialSumList.Where(x => x.Type == "M" && x.ProjectId == pid); - foreach (var item in list) + await Task.Run(() => { - gdclHtml += "
"; - gdclHtml += "
" + item.C1 + "
"; - gdclHtml += "
" + (string.IsNullOrEmpty(item.C2) ? "0" : item.C2) + "
"; - gdclHtml += "

" + (string.IsNullOrEmpty(item.C4) ? "0" : item.C4) + "" + (string.IsNullOrEmpty(item.C5) ? "0%" : item.C5) + "

"; - gdclHtml += "

" + (string.IsNullOrEmpty(item.C6) ? "0" : item.C6) + "" + (string.IsNullOrEmpty(item.C7) ? "0%" : item.C7) + "

"; - gdclHtml += "

" + (string.IsNullOrEmpty(item.C8) ? "0" : item.C8) + "" + (string.IsNullOrEmpty(item.C9) ? "0%" : item.C9) + "

"; - gdclHtml += "
"; - } + //管道材料 + var pid = BLL.ProjectService.GetCLProjectCodeByProjectId(ProjectId).ToString(); + var list = Funs.DB.CLGL_PipelineMaterialSumList.Where(x => x.Type == "M" && x.ProjectId == pid); + foreach (var item in list) + { + gdclHtml += "
"; + gdclHtml += "
" + item.C1 + "
"; + gdclHtml += "
" + (string.IsNullOrEmpty(item.C2) ? "0" : item.C2) + "
"; + gdclHtml += "

" + (string.IsNullOrEmpty(item.C4) ? "0" : item.C4) + "" + (string.IsNullOrEmpty(item.C5) ? "0%" : item.C5) + "

"; + gdclHtml += "

" + (string.IsNullOrEmpty(item.C6) ? "0" : item.C6) + "" + (string.IsNullOrEmpty(item.C7) ? "0%" : item.C7) + "

"; + gdclHtml += "

" + (string.IsNullOrEmpty(item.C8) ? "0" : item.C8) + "" + (string.IsNullOrEmpty(item.C9) ? "0%" : item.C9) + "

"; + gdclHtml += "
"; + } - //设备材料 - var SbclList = Funs.DB.CLGL_ContractListSum.Where(x => x.C1 == "设备" && x.ProjectId == pid); - foreach (var item in SbclList) - { - sbclHtml += "
"; - double SbcllCgl = 0.0; - double Sbdhs = 0.0; - if (string.IsNullOrEmpty(item.C7)) + //设备材料 + var SbclList = Funs.DB.CLGL_ContractListSum.Where(x => x.C1 == "设备" && x.ProjectId == pid); + foreach (var item in SbclList) { - SbcllCgl += 0; - Sbdhs += 0; + sbclHtml += "
"; + double SbcllCgl = 0.0; + double Sbdhs = 0.0; + if (string.IsNullOrEmpty(item.C7)) + { + SbcllCgl += 0; + Sbdhs += 0; + } + else + { + SbcllCgl += Convert.ToDouble(item.C7); + Sbdhs += Convert.ToDouble(item.C9); + } + sbclHtml += "
" + item.C2 + "
"; + sbclHtml += "
" + SbcllCgl + "
"; + sbclHtml += "
" + item.C7 + "
"; + sbclHtml += "
" + Sbdhs + "
"; + //百分比 + var dhbfb = "0%"; + if (SbcllCgl + Sbdhs != 0) + { + dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / (Sbdhs + SbcllCgl), 2) + "%"; + } + sbclHtml += "
" + dhbfb + "
"; + sbclHtml += "
"; } - else - { - SbcllCgl += Convert.ToDouble(item.C7); - Sbdhs += Convert.ToDouble(item.C9); - } - sbclHtml += "
" + item.C2 + "
"; - sbclHtml += "
" + SbcllCgl + "
"; - sbclHtml += "
" + item.C7 + "
"; - sbclHtml += "
" + Sbdhs + "
"; - //百分比 - var dhbfb = "0%"; - if (SbcllCgl + Sbdhs != 0) - { - dhbfb = String.Format("{0:N2}", 100.0 * Sbdhs / (Sbdhs + SbcllCgl), 2) + "%"; - - } - sbclHtml += "
" + dhbfb + "
"; - sbclHtml += "
"; - } + }); } - #endregion + #endregion 材料到货 - /// - /// 中英文 - /// - protected string QualityRate = string.Empty;//质量问题整改率 - protected string OnePassRate = string.Empty;//一次共检合格率 - protected string OnePassRateOfWelding = string.Empty;//焊接一次合格率 - protected string total = string.Empty;//总计 - protected string completed = string.Empty;//已完成 - protected string majorRisk = string.Empty;//重大风险 - protected string LowRisk = string.Empty;//低风险 - protected string GeneralRisk = string.Empty;//一般风险 - protected string GreaterRisk = string.Empty;//较大风险 - protected string PlannedValue = string.Empty;//计划值 - protected string ActualValue = string.Empty;//实际值 - protected string Cumulative_planned_value = string.Empty;//累计计划值 - protected string Cumulative_actual_value = string.Empty;//累计实际值 + //质量问题整改率 - private void getCNEN() + //总计 + //计划值 + //累计计划值 + //累计实际值 + + private async Task getCNEN() { - QualityRate = Resources.Lan.QualityRate; - OnePassRate = Resources.Lan.OnePassRate; - OnePassRateOfWelding = Resources.Lan.OnePassRateOfWelding; - total = Resources.Lan.total; - completed = Resources.Lan.completed; - majorRisk = Resources.Lan.MajorRisk; - LowRisk = Resources.Lan.LowRisk; - GeneralRisk = Resources.Lan.GeneralRisk; - GreaterRisk = Resources.Lan.GreaterRisk; - PlannedValue = Resources.Lan.PlannedValue; - ActualValue = Resources.Lan.ActualValue; - Cumulative_planned_value = Resources.Lan.Cumulative_planned_value; - Cumulative_actual_value = Resources.Lan.Cumulative_actual_value; + await Task.Run(() => + { + QualityRate = Resources.Lan.QualityRate; + OnePassRate = Resources.Lan.OnePassRate; + OnePassRateOfWelding = Resources.Lan.OnePassRateOfWelding; + total = Resources.Lan.total; + completed = Resources.Lan.completed; + majorRisk = Resources.Lan.MajorRisk; + LowRisk = Resources.Lan.LowRisk; + GeneralRisk = Resources.Lan.GeneralRisk; + GreaterRisk = Resources.Lan.GreaterRisk; + PlannedValue = Resources.Lan.PlannedValue; + ActualValue = Resources.Lan.ActualValue; + Cumulative_planned_value = Resources.Lan.Cumulative_planned_value; + Cumulative_actual_value = Resources.Lan.Cumulative_actual_value; + }); } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx.cs b/SGGL/FineUIPro.Web/common/main_new.aspx.cs index 05a40cc9..548dfe4c 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new.aspx.cs @@ -6,10 +6,12 @@ using System; using System.Collections; using System.Collections.Generic; using System.Linq; +using System.Runtime.Caching; using System.Threading.Tasks; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; +using Org.BouncyCastle.Ocsp; namespace FineUIPro.Web.common { @@ -18,7 +20,7 @@ namespace FineUIPro.Web.common List allProjects; public static List LargerHazard = new List(); - public string[] pids { get; set; } + public string[] pids { get; set; } protected async void Page_Load(object sender, EventArgs e) { if (!IsPostBack) @@ -145,6 +147,8 @@ namespace FineUIPro.Web.common // 质量统计模块封装 private async Task BindQualityStatisticsAsync() { + await Task.Run(() => { + var db = Funs.DB; // 质量管理人员(合并公司+项目级查询) var qualityQuery = db.Base_WorkPost @@ -161,13 +165,13 @@ namespace FineUIPro.Web.common divCqmsPxNum.InnerText = db.Comprehensive_InspectionPerson .Where(x => pids.Contains(x.ProjectId)) .Count(x => x.IsTrain == true).ToString(); + }); } // 项目统计优化 private async Task BindProjectStatisticsAsync() { - var db = Funs.DB; - - + await Task.Run(() => { + var db = Funs.DB; int acount = allProjects.Count(); int pcount1 = 0; int pcount2 = 0; @@ -190,6 +194,7 @@ namespace FineUIPro.Web.common div_zjxmCount.InnerHtml = pcount1.ToString() + "
"; div_cjrsCount.InnerHtml = pcount2.ToString() + "
"; div_wdgcCount.InnerHtml = pcount3.ToString() + "
"; + }); } @@ -304,7 +309,7 @@ namespace FineUIPro.Web.common var getAllPersonInOutList = from x in db.SitePerson_PersonInOutNumber select x; - if (getAllPersonInOutList.Count() > 0) + if (getAllPersonInOutList.Any()) { var getInMonths = (from x in getAllPersonInOutList select new { x.InOutDate.Year, x.InOutDate.Month }).Distinct(); if (sDate.HasValue) @@ -348,10 +353,10 @@ namespace FineUIPro.Web.common return await Task.Run(() => { Model.SingleSerie series = new Model.SingleSerie(); - var project1s = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null); - var consts = Funs.DB.Sys_Const.Where(x => x.GroupId == ConstValue.GroupId_ProjectState); + var project1s = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null).ToList(); + var consts = Funs.DB.Sys_Const.Where(x => x.GroupId == ConstValue.GroupId_ProjectState).ToList(); string name = string.Empty; - if (project1s.Count() > 0) + if (project1s.Any()) { foreach (var project1 in project1s) { @@ -432,7 +437,7 @@ namespace FineUIPro.Web.common select x; listdata.Add(projects.Count()); decimal progress = 0; - if (projects.Count() > 0) + if (projects.Any()) { convert.Add(province); foreach (var item in projects) @@ -570,7 +575,6 @@ namespace FineUIPro.Web.common return await Task.Run(() => { Model.SingleSerie series = new Model.SingleSerie(); - var project1s = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null); Model.SGGLDB db = Funs.DB; string str = string.Empty; foreach (var item in allProjects) @@ -871,7 +875,7 @@ namespace FineUIPro.Web.common AllCount = getallin.Count(); if (AllCount > 0) { - MCount = getallin.Where(x => x.PostType == Const.PostType_1).Count(); + MCount = getallin.Count(x => x.PostType == Const.PostType_1); } div_xcrs.InnerHtml = AllCount.ToString(); @@ -888,20 +892,13 @@ namespace FineUIPro.Web.common { await Task.Run(() => { - var list = new List(); - if (pids == null) - { - list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null)).ToList(); - } - else - { - list = Funs.DB.Base_Project.Where(x => pids.Contains(x.ProjectId)).ToList(); - } + var allperson = + APIPageDataService.getPersonNum(allProjects.Select(x => x.ProjectId).ToList(), DateTime.Now); - foreach (var item in list) + foreach (var item in allProjects) { ProjectPersonMc += "'" + item.ShortName + "',"; - ProjectPersonCount += "'" + APIPageDataService.getPersonNum(item.ProjectId, DateTime.Now).Count() + "',"; + ProjectPersonCount += "'" + allperson.Count(x=>x.ProjectId==item.ProjectId) + "',"; } ProjectPersonMc = ProjectPersonMc.TrimEnd(','); ProjectPersonCount = ProjectPersonCount.TrimEnd(','); @@ -914,21 +911,14 @@ namespace FineUIPro.Web.common protected string ProjectMc; protected async Task GetJdAsync() { - var list = new List(); - if (pids == null) + var list = allProjects; + if (list.Any()) { - list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null)).ToList(); - } - else - { - list = Funs.DB.Base_Project.Where(x => pids.Contains(x.ProjectId)).ToList(); - } - if (list.Count > 0) - { - var progressCompletions = from x in Funs.DB.JDGL_ProgressCompletion select x; + var progressCompletions = from x in Funs.DB.JDGL_ProgressCompletion select x ; foreach (var item in list) { var pCs = progressCompletions.Where(x => x.ProjectId == item.ProjectId).ToList(); + ProjectJd += "'" + pCs.Sum(x => x.RealNum ?? 0).ToString("0.##") + "',"; ProjectMc += "'" + item.ShortName + "',"; } @@ -1001,15 +991,7 @@ namespace FineUIPro.Web.common protected string sbclHead = "
项目
采购量
到货量
已到货百分比
"; private async Task GetCldhAsync() { - var list = new List(); - if (pids == null) - { - list = Funs.DB.Base_Project.Where(x => (x.ProjectState == Const.ProjectState_1 || x.ProjectState == null)).ToList(); - } - else - { - list = Funs.DB.Base_Project.Where(x => pids.Contains(x.ProjectId)).ToList(); - } + var list = allProjects; var PipelinList = Funs.DB.CLGL_PipelineMaterialSumList.Where(x => x.Type == "M"); var SbclList = Funs.DB.CLGL_ContractListSum.Where(x => x.C1 == "设备"); foreach (var item in list) @@ -1025,7 +1007,7 @@ namespace FineUIPro.Web.common gdclHtml += "
" + pname + "
"; var pid = BLL.ProjectService.GetCLProjectCodeByProjectId(item.ProjectId).ToString(); //管子 - var num1 = PipelinList.Where(x => x.ProjectId == pid && x.C1 == "管子").FirstOrDefault(); + var num1 = PipelinList.FirstOrDefault(x => x.ProjectId == pid && x.C1 == "管子"); if (num1 != null) { gdclHtml += "
" + (num1.C7 == "" ? "0%" : num1.C7) + "
"; @@ -1128,23 +1110,38 @@ namespace FineUIPro.Web.common /// private int GetNearMissNum() { + string cacheKey = "NearMissNum_" + string.Join("_",pids); + var memoryCache = MemoryCache.Default; + if (memoryCache.Get(cacheKey) != null) + { + return (int)memoryCache.Get(cacheKey); + } + int result = 0; if (pids == null) { - var result = (from x in Funs.DB.Accident_AccidentPersonRecord + result = (from x in Funs.DB.Accident_AccidentPersonRecord join y in Funs.DB.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId where x.IsAttempt == "1" && x.CompileDate > Const.DtmarkTime select x).Count(); - return result; } else { - var result = (from x in Funs.DB.Accident_AccidentPersonRecord + result = (from x in Funs.DB.Accident_AccidentPersonRecord join y in Funs.DB.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId where x.IsAttempt == "1" && x.CompileDate > Const.DtmarkTime && pids.Contains(x.ProjectId) - select x).Count(); - return result; + select x).Count(); } + + var policy = new CacheItemPolicy + { + AbsoluteExpiration = DateTimeOffset.Now.AddMinutes(Const.CacheMinutes), + }; + memoryCache.Set(cacheKey, result, policy); + + return result; + + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/packages.config b/SGGL/FineUIPro.Web/packages.config index 2469db08..e17e423b 100644 --- a/SGGL/FineUIPro.Web/packages.config +++ b/SGGL/FineUIPro.Web/packages.config @@ -9,6 +9,7 @@ + diff --git a/SGGL/Model/HSSE/PageDataPersonInOutItem.cs b/SGGL/Model/HSSE/PageDataPersonInOutItem.cs index d5f0f7b0..ccab5a81 100644 --- a/SGGL/Model/HSSE/PageDataPersonInOutItem.cs +++ b/SGGL/Model/HSSE/PageDataPersonInOutItem.cs @@ -12,7 +12,11 @@ namespace Model get; set; } - + public string ProjectId + { + get; + set; + } public DateTime? ChangeTime { get; From 8db8992061f4433287eaedc24995165f85f25312 Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Mon, 17 Mar 2025 18:46:22 +0800 Subject: [PATCH 02/10] =?UTF-8?q?=E7=9C=8B=E6=9D=BF=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vs/CNCEC_SUBQHSE_WUHUAN/v17/.wsuo | Bin 201728 -> 204800 bytes .../v17/DocumentLayout.backup.json | 12 +- SGGL/FineUIPro.Web/common/mainProject2.aspx | 8 +- .../FineUIPro.Web/common/mainProject2.aspx.cs | 154 +++++++++++++----- SGGL/FineUIPro.Web/common/main_new.aspx.cs | 32 ++-- SGGL/Model/APIItem/HSSE/LicenseItem.cs | 8 + 6 files changed, 154 insertions(+), 60 deletions(-) diff --git a/.vs/CNCEC_SUBQHSE_WUHUAN/v17/.wsuo b/.vs/CNCEC_SUBQHSE_WUHUAN/v17/.wsuo index 64fed9207064bb651e2b528192d911c643b85b1b..65891f1185961b30b0275c5818c93cabb3cfa168 100644 GIT binary patch delta 4523 zcmeHKeN0=|6~FgAJNV<7kU$IxfjR*)2W)1$fMJ8i#3p4)gNa}Sf(bnAm&CyX3lfn&lk{wY`%f^gRA;vq$bh3QOi1J$-Qw4VuUq^wis*{SOB5ov>U~vzL^U;x!0TW$b^S7iT3YKzZUxC8AXf8k!P!xQUjc`Gaz z2PHby%0jXi(ragV4J@zgfir>|QWd=txuT>%sDr|V&Y#*o*3aVji?Jk*(k#lRSuc}W z7=ub?hnd0}SpY{V#2%a-1$R}cL|!!_G;^8QpKC0q_x#Rk)sj$eURQ1lmsMEbl)Vm!}6vZ7vkfP zZVO7ppm5d%^dG}X8LXD>ws5)*VgZl;0@7u(d>EF?f|3py+Y6ZoAibf_P+vfT%NsI0 z0BLIv_>1>KNqK~KLb|-ilDkAz1(IugI59D}vUayb<`yoD+Y8>MOV`xk8sF2wmFC@W zR&YV8rQh%oB;_}0hn1E+Xi^7cyqWBJf8O^e-5*Hz=B_e>)yh4T#~`&iNTz42@@7}{ zO84ZqruooFM@XJ$n2GxM?8`VhkN7d-6~s>vKSjKX_!;8ohzp1>V)pnY_P;{>8u1$9 zH;CUNeusD+@q5HY#2*lUMEnWyXT%$bzaZX3Ttd8s_$%TvV{W#LgSQcXL#!ZH5myj@ zNBjeE6>$xbyAx={SKJOEYY*JmuN}QlJEQ!l?GP^8dy(4?ne72-BQiD>F!eN%-eU;c z3O?kwhOmAQ@^!GfF?grjRd{*$J8oBH5CY}x+0B7la>{#gqCV$DSlzMPlH2zBLPI|Z zXlL$DL1JpSN^=W zzC)I%bgS%z)Ra4DVHHTBimR=VGfPXD&^hV@U+p4%ZgdA8?~`>d_0wkY1Z3)@cVV?1 z#~`5f9>V?v;^F-K^ZA~5kK&jLkLG%!Rbaq>m#eQAi4Un8jbca1TzTcywec6vgf2dI zaVh=m3Aj+VRei)L?p3Qy;;{O%QS64A(dxTWs2w>eEPtO0vlVA=iHZ+?rMdBrSm}D; zMpk{_H}g)Z45L?YYk}X4`7W2cb5w8%x`MRrw{XgO6p`cxD)R0qPN>9F>tZulniE(@ zllY5b$)37xMXdzirY1d=q6{o`ccK;(1WLaNV;ck5w`X1Wnji(YUIwk6XzC&5er%ps zU*~oI9o-$Yn0UI|Cx#hDdTyK4Q`6Dl67M^jOevF%{&*~=gj3P@RI>4YWlBjz!;OJx zjvyzFj(LWM^MZY;M0Dz~!#0@=#}l#WxWhJ}B$D`DM-zObdb{82m7BxOE$+5^n-o`T z+lWK^uuwy{oIH|}$79MJ*O~qIbw(%^73Fmq{PD?YIiVyBv{GO6n1XK%gEenrFcFDP z$+4R;%zvI+%d;rc5 zHo#V)48AnjP{ea5%i#XOHUqt9sDWW<1{U}C!?_`ciC%8QY=p?B11%UKWkR?G&JWeY z;^4#vXOlY|amp^Q*Qt!lVL99sZVf|bXaEL=>z$Nc13j`qjnv1DU^bQ=Gpqtm@|ctSp`!1L9g;2kJeIe2@4#=dlX zS2U&s zp-9{czJvCvkjLfmgwS`B=_xcTG&30s^@Wcp^p!>ZmO+fFGbS;6d~9xv@A|S$_%OIX z4DSE8;GTPd2j+Bw0LMSGO?92(u7!aW{)`#kIBj3BuMu9k1j4bVg{C?FeGWfb=vnAl z5l-vX@qlnZeUppUh3TjH<6M2q$?F&DuL;c%_!>N>j!PBu1I|C-9;8qFAN@lID;dR^7Qer{*~v~@ zY^eV@o}JG<=l;&Q=brO>ox9Vq!>}~q3$bvAu zlJ1i45}%@Z*{h~NU;$T9Xd>GtZlRDemRSeUoq$UkiKIe*E?PXO2(=2{MSB_Q6(Ad2 zw;(g2=5Yn6-$5NGbD^L6G8V>gJ6_Tuo9Hvq(R7P^zn~Y>&7D;cRf8H(3wTlWU=wHn zn}G}50JZ=(@PMtL5!?uxz)fHqXa+X}vS(Nk z46yLojB3;8(D*zU1$Ton5C*L0;io6BuIF_a#M@oev#6u_WoteW*DdRm^;@_wFs_?K z{j!X89@j75vyKf3&!nQwhBX83<9YuN^qYP#X$^Kn}dhfbizCcrExk^0$8!ET%b;x9_(uu5X?kwST6Vh7FVc~xbhBmTT-rI4{Ll`~6RM3;p#yY2M&fIczv{ z#^(^%Q)r!6T@Dc^)wnphf(3MWRkQlu9aGTk%@jN^p5j>Hbcv-L#I}TKC|K00ejI}0 z1Yt7IC{JH*UY3O1eMMwm8Srm(+U?~KOWoRpS+UcwBZ*x0CG&lji4o-qo;2H1@@J;Y7@GST?cn(a1)8IScyI=-94_*K- zg71Ns!1txylJo;Keh8xA40svLf;sRba2C7*ehgj(=fF?EPr+;8XW%^eId~oX0{jx} z7kpTrw%mt0W|i2Lvl5qskh9zBJ~W+U{hf$3>M4OPmBkDfyzvnI#(mX@hT+{MPmN0)lZ-5A#6d(nvF zOG&&9A2ERSCC3B!xmK4#(e^*m-#Z_sT^)Z$?Pu9^wEbKXIlHao>dvPpvhz{r>FoyG z$J%_Kr`<9p7b_i-n^w!layLG*98!f;CY9qGkFVvpFPH3)2c$vChwrVB3`wy2EdZ4R{!aePEA2!1$r4fC`eV8o;PxeT=aOJHD@^(AuOskQObZ?+= z@13-v=hn!s4*FHk`gFER9tPR^DZRJy$>=UY6Svu>ZMXFbitct%c+VkvZEvCW7n5R2 z<2CZ}Rzt3;4ccXsqULm-kDWk+p@D%0bZMJ7e@FKguMUia`UWg*!H_>NWO3S^&fe{9 zTS9>W`Ms0aw5?{Pnb!2J68?zY6>)4<>OHmEev?usACvF#Px(dTkzr-M){>&+%+w|+ zX9cx}*K1Lu(l|4$Du)G?b~x$Xo#$b&Nh<1C#~+STU}(@uIA%SK0DKd-U?kprxKM zxhOj}S-UiZA6|iX8%wUm%(^X4bsJ$zB?b%ottSzQTl!K1n_q7Jz5$0xxjHVAri z&sy5LXLlJpRxF?;$>;YwM-v6or{Rh|>}ntO6_EBy>`KcPW~Ep5t}gPSD+ryAp!T8W z2lgQv7Tk%)=q|^e6!X3Jxs5s%6&|{H$90
-
<%=getWrokCount0() %>/<%=getALLWrokCount0() %>
+
<%=WrokCount0 %>/<%=AllWrokCount0 %>
-
<%=getWrokCount1() %>/<%=getALLWrokCount1() %>
+
<%=WrokCount1 %>/<%=AllWrokCount1 %>
-
<%=getWrokCount2() %>/<%=getALLWrokCount2() %>
+
<%=WrokCount2 %>/<%=AllWrokCount2 %>
-
<%=getWrokCount3() %>/<%=getALLWrokCount3() %>
+
<%=WrokCount3 %>/<%=AllWrokCount3 %>
diff --git a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs index 00b5d7d4..a22ff052 100644 --- a/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainProject2.aspx.cs @@ -6,6 +6,7 @@ using Model; using Newtonsoft.Json; using NPOI.Util; using System; +using System.Collections; using System.Collections.Generic; using System.Data; using System.Data.SqlClient; @@ -116,7 +117,7 @@ namespace FineUIPro.Web.common //风险预警 getHazard(), - + getWork(), //工程概况 getProjectInfo(), @@ -655,67 +656,131 @@ namespace FineUIPro.Web.common #endregion 风险预警 #region 作业许可 - - protected int getAllCount() + protected int AllWrokCount0; + protected int AllWrokCount1; + protected int AllWrokCount2; + protected int AllWrokCount3; + protected int WrokCount0; + protected int WrokCount1; + protected int WrokCount2; + protected int WrokCount3; + protected async Task getWork() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId).ToList().Count; + + var AllWrokCount0 = getALLWrokCount0(); + var AllWrokCount1 = getALLWrokCount1(); + var AllWrokCount2 = getALLWrokCount2(); + var AllWrokCount3 = getALLWrokCount3(); + var WrokCount0 = getWrokCount0(); + var WrokCount1 = getWrokCount1(); + var WrokCount2 = getWrokCount2(); + var WrokCount3 = getWrokCount3(); + await Task.WhenAll( AllWrokCount0, AllWrokCount1, AllWrokCount2, AllWrokCount3, WrokCount0, WrokCount1, WrokCount2, WrokCount3); + this.AllWrokCount0 = await AllWrokCount0; + this.AllWrokCount1 = await AllWrokCount1; + this.AllWrokCount2 = await AllWrokCount2; + this.AllWrokCount3 = await AllWrokCount3; + this.WrokCount0 = await WrokCount0; + this.WrokCount1 = await WrokCount1; + this.WrokCount2 = await WrokCount2; + this.WrokCount3 = await WrokCount3; + + } + protected IQueryable GetLicenseQuery() + { + var query = from lm in Funs.DB.License_LicenseManager + + join lt in Funs.DB.Base_LicenseType on lm.LicenseTypeId equals lt.LicenseTypeId into ltJoin + from licenseType in ltJoin.DefaultIfEmpty() + + select new LicenseDto + { + ProjectId= lm.ProjectId, + LicenseTypeName = licenseType.LicenseTypeName ?? "", + WorkStatesStr = lm.WorkStates == "1" ? "待开工" : + lm.WorkStates == "2" ? "作业中" : + lm.WorkStates == "3" ? "已关闭" : + lm.WorkStates == "-1" ? "已取消" : "" + }; + return query; + } + protected async Task getAllCount() + { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId).ToList().Count; return result; } + - protected int getALLWrokCount0() - { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证").ToList().Count; + protected async Task getALLWrokCount0() + { + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证").ToList().Count; return result; + }); } - protected int getALLWrokCount1() + protected async Task getALLWrokCount1() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证").ToList().Count; + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证").ToList().Count; return result; + }); } - protected int getALLWrokCount2() + protected async Task getALLWrokCount2() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证").ToList().Count; + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证").ToList().Count; return result; + }); } - protected int getALLWrokCount3() + protected async Task getALLWrokCount3() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId - && x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证").ToList().Count; + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId + && x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证").ToList().Count; return result; + }); } - protected int getTodayCount() + protected async Task getTodayCount() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.WorkStatesStr == "作业中").ToList().Count; + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.WorkStatesStr == "作业中").ToList().Count; return result; } /// /// 动火作业许可证 /// /// - protected int getWrokCount0() + protected async Task getWrokCount0() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "动火作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; + }); } - protected int getWrokCount1() + protected async Task getWrokCount1() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "高处作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; + }); } - protected int getWrokCount2() + protected async Task getWrokCount2() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId && x.LicenseTypeName == "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; + }); } - protected int getWrokCount3() + protected async Task getWrokCount3() { - var result = Funs.DB.View_License_LicenseManager.Where(x => x.ProjectId == ProjectId - && x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; + return await Task.Run(() => { + var result = GetLicenseQuery().Where(x => x.ProjectId == ProjectId + && x.LicenseTypeName != "动火作业许可证" && x.LicenseTypeName != "高处作业许可证" && x.LicenseTypeName != "吊装作业许可证" && x.WorkStatesStr == "作业中").ToList().Count; return result; + }); } #endregion 作业许可 @@ -1211,21 +1276,32 @@ namespace FineUIPro.Web.common returnHtml += "
" + item.LicenseManagerCode + "-" + shortUnitname + "-" + item.WorkAreaName + "-" + gfx + "-" + item.LicenseTypeName + "
"; }*/ - - var result = from x in Funs.DB.View_License_LicenseManager - join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId into g - from z in g.DefaultIfEmpty() - where x.ProjectId == ProjectId - select new - { - x.LicenseManagerCode, - x.WorkAreaName, - x.LicenseTypeName, - GfxType = x.IsHighRisk == true ? "风险作业" : "非高风险", - ShortUnitName = z != null ? z.ShortUnitName : "", // 空值防护 - }; + var result = (from x in Funs.DB.License_LicenseManager + join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId into units + from unit in units.DefaultIfEmpty() + join z in Funs.DB.WBS_UnitWork on x.WorkAreaId equals z.UnitWorkId into areas + from area in areas.DefaultIfEmpty() + join w in Funs.DB.Base_LicenseType on x.LicenseTypeId equals w.LicenseTypeId + where x.ProjectId == ProjectId + select new + { + x.LicenseManagerCode, + WorkAreaName=area.UnitWorkName, + w.LicenseTypeName, + x.IsHighRisk, + unit.ShortUnitName + }) + .AsEnumerable() // 后续操作在内存中进行 + .Select(x => new + { + x.LicenseManagerCode, + x.WorkAreaName, + x.LicenseTypeName, + GfxType = x.IsHighRisk == true ? "风险作业" : "非高风险", + ShortUnitName = x.ShortUnitName ?? "" + }).ToList(); var sb = new StringBuilder(); - foreach (var item in result.ToList()) + foreach (var item in result) { sb.AppendFormat("
{0}-{1}-{2}-{3}-{4}
", item.LicenseManagerCode, diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx.cs b/SGGL/FineUIPro.Web/common/main_new.aspx.cs index 548dfe4c..9291f8f8 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new.aspx.cs @@ -426,15 +426,21 @@ namespace FineUIPro.Web.common join y in db.Sys_Const on x.AccidentTypeId equals y.ConstValue where y.ConstText.Contains("未遂") select x; - foreach (var province in provinces) + var allProvinceProjectList = (from x in allProjects + join y in provinceDic on x.Province equals y.ProvinceCode + where provinces.Contains(y.CnShortName ) + select new { x,y.CnShortName}).ToList(); + var allProvinces= allProvinceProjectList.Select(x =>x.CnShortName ).Distinct().ToList(); + foreach (var province in allProvinces) { int accidentNum = 0; DateTime date = DateTime.Now; decimal money1 = 0, money2 = 0; - var projects = from x in allProjects - join y in provinceDic on x.Province equals y.ProvinceCode - where y.CnShortName == province - select x; + /* var projects = from x in allProjects + join y in provinceDic on x.Province equals y.ProvinceCode + where y.CnShortName == province + select x;*/ + var projects = allProvinceProjectList.Where(x => x.CnShortName == province); listdata.Add(projects.Count()); decimal progress = 0; if (projects.Any()) @@ -443,22 +449,22 @@ namespace FineUIPro.Web.common foreach (var item in projects) { //未遂事故 - var accidentListProject1 = accidentList1.Where(x => x.ProjectId == item.ProjectId); - var accidentListProject2 = accidentList2.Where(x => x.ProjectId == item.ProjectId); + var accidentListProject1 = accidentList1.Where(x => x.ProjectId == item.x.ProjectId); + var accidentListProject2 = accidentList2.Where(x => x.ProjectId == item.x.ProjectId); accidentNum = accidentListProject1.Count() + accidentListProject2.Count(); //时间 - if (item.StartDate != null && item.StartDate < date) + if (item.x.StartDate != null && item.x.StartDate < date) { - date = Convert.ToDateTime(item.StartDate); + date = Convert.ToDateTime(item.x.StartDate); } //合同额 - if (item.ConstructionMoney != null) + if (item.x.ConstructionMoney != null) { - money1 += item.ConstructionMoney.Value; + money1 += item.x.ConstructionMoney.Value; } - if (item.Progress != null) + if (item.x.Progress != null) { - progress = item.Progress.Value; + progress = item.x.Progress.Value; } } jd.Add("进度:" + progress.ToString("0.##") + "%"); diff --git a/SGGL/Model/APIItem/HSSE/LicenseItem.cs b/SGGL/Model/APIItem/HSSE/LicenseItem.cs index e520c709..3a45d871 100644 --- a/SGGL/Model/APIItem/HSSE/LicenseItem.cs +++ b/SGGL/Model/APIItem/HSSE/LicenseItem.cs @@ -68,4 +68,12 @@ namespace Model set; } } + + public class LicenseDto + { + public string ProjectId { get; set; } + public string WorkStates { get; set; } + public string LicenseTypeName { get; set; } + public string WorkStatesStr { get; set; } + } } From 5fa3744594b710a1e5bc4dc4f849882abfaae85d Mon Sep 17 00:00:00 2001 From: fei550 <1420031550@qq.com> Date: Tue, 18 Mar 2025 11:56:52 +0800 Subject: [PATCH 03/10] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SGGL/BLL/API/HSSE/APIPageDataService.cs | 113 ++++++++++++++------- SGGL/FineUIPro.Web/common/main_new.aspx.cs | 87 +++++++++------- 2 files changed, 127 insertions(+), 73 deletions(-) diff --git a/SGGL/BLL/API/HSSE/APIPageDataService.cs b/SGGL/BLL/API/HSSE/APIPageDataService.cs index 236b0786..596dfd88 100644 --- a/SGGL/BLL/API/HSSE/APIPageDataService.cs +++ b/SGGL/BLL/API/HSSE/APIPageDataService.cs @@ -16,49 +16,56 @@ namespace BLL { using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) { - List getSiteInOutList = new List(); - var getDayAll = from x in db.SitePerson_PersonInOutNow - join y in db.SitePerson_Person on x.PersonId equals y.PersonId - join z in db.Base_WorkPost on y.WorkPostId equals z.WorkPostId - where x.ProjectId == projectId - && x.ChangeTime.Value.Year == dateValue.Year - && x.ChangeTime.Value.Month == dateValue.Month - && x.ChangeTime.Value.Day == dateValue.Day - select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType }; - if (getDayAll.Any()) - { - var getInMaxs = from x in getDayAll - group x by x.PersonId into g - select new Model.PageDataPersonInOutItem - { - PersonId = g.First().PersonId, - ChangeTime = g.Max(x => x.ChangeTime), - IsIn = g.First().IsIn, - PostType = g.First().PostType - }; - if (getInMaxs.Any()) + var startDate = dateValue.Date; + var endDate = startDate.AddDays(1); + var query = + from x in db.SitePerson_PersonInOutNow + where x.ChangeTime >= startDate && x.ChangeTime < endDate && x.ProjectId == projectId + group x by new { x.PersonId, x.ProjectId } into g + select new + { + g.Key.PersonId, + g.Key.ProjectId, + MaxChangeTime = g.Max(x => x.ChangeTime) + }; + var finalQuery = + from record in query + join detail in db.SitePerson_PersonInOutNow + on new { record.PersonId, record.ProjectId, record.MaxChangeTime } + equals new { detail.PersonId, detail.ProjectId, MaxChangeTime = detail.ChangeTime } + join y in db.SitePerson_Person on record.PersonId equals y.PersonId + join z in db.Base_WorkPost on y.WorkPostId equals z.WorkPostId + where detail.IsIn == true + select new Model.PageDataPersonInOutItem { - getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList(); - } - } - return getSiteInOutList; + PersonId = record.PersonId, + ProjectId = record.ProjectId, + ChangeTime = record.MaxChangeTime, + IsIn = true, + PostType = z.PostType + }; + + return finalQuery.ToList(); } } public static List getPersonNum(List projectIds, DateTime dateValue) { using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) - { + { var startDate = dateValue.Date; var endDate = startDate.AddDays(1); - List getSiteInOutList = new List(); + /* List getSiteInOutList = new List(); var getDayAll = from x in db.SitePerson_PersonInOutNow join y in db.SitePerson_Person on x.PersonId equals y.PersonId join z in db.Base_WorkPost on y.WorkPostId equals z.WorkPostId - where projectIds.Contains(x.ProjectId) - && x.ChangeTime >= startDate && + where x.ChangeTime >= startDate && x.ChangeTime < endDate select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType,x.ProjectId }; + if (projectIds.Any()) + { + getDayAll= getDayAll.Where(x => projectIds.Contains(x.ProjectId)); + } if (getDayAll.Any()) { var getInMaxs = from x in getDayAll @@ -71,12 +78,43 @@ namespace BLL IsIn = g.First().IsIn, PostType = g.First().PostType }; - if (getInMaxs.Any()) + getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList(); + + }*/ + + var query = + from x in db.SitePerson_PersonInOutNow + where x.ChangeTime >= startDate && x.ChangeTime < endDate + group x by new { x.PersonId, x.ProjectId } into g + select new { - getSiteInOutList = getInMaxs.Where(x => x.IsIn == true).ToList(); - } - } - return getSiteInOutList; + g.Key.PersonId, + g.Key.ProjectId, + MaxChangeTime = g.Max(x => x.ChangeTime) + }; + + if (projectIds.Any()) + { + query = query.Where(x => projectIds.Contains(x.ProjectId)); + } + var finalQuery = + from record in query + join detail in db.SitePerson_PersonInOutNow + on new { record.PersonId, record.ProjectId, record.MaxChangeTime } + equals new { detail.PersonId, detail.ProjectId, MaxChangeTime = detail.ChangeTime } + join y in db.SitePerson_Person on record.PersonId equals y.PersonId + join z in db.Base_WorkPost on y.WorkPostId equals z.WorkPostId + where detail.IsIn == true + select new Model.PageDataPersonInOutItem + { + PersonId= record.PersonId, + ProjectId = record.ProjectId, + ChangeTime = record.MaxChangeTime, + IsIn = true, + PostType = z.PostType + }; + + return finalQuery.ToList(); } } @@ -210,16 +248,17 @@ namespace BLL { using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString)) { + DateTime dt1 = dateValue.Date; + DateTime dt2= dateValue.Date.AddDays(1); List getSiteInOutList = new List(); var getDayAll = from x in db.SitePerson_PersonInOutNow join y in db.SitePerson_Person on x.PersonId equals y.PersonId join z in db.Base_WorkPost on y.WorkPostId equals z.WorkPostId - where x.ChangeTime.Value.Year == dateValue.Year && x.ChangeTime.Value.Month == dateValue.Month - && x.ChangeTime.Value.Day == dateValue.Day && pids.Contains(x.ProjectId) + where pids.Contains(x.ProjectId) && x.ChangeTime<= dt2 && x.ChangeTime>= dt1 select new { x.PersonId, x.ChangeTime, x.IsIn, z.PostType }; if (getDayAll.Any()) { - var getInMaxs = from x in getDayAll + var getInMaxs = from x in getDayAll.ToList() group x by x.PersonId into g select new Model.PageDataPersonInOutItem { diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx.cs b/SGGL/FineUIPro.Web/common/main_new.aspx.cs index 9291f8f8..6187f01e 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new.aspx.cs @@ -39,7 +39,7 @@ namespace FineUIPro.Web.common GetHjAsync(), // 焊接 GetGjsxAsync(), // 关键事项 GetSitePersonAsync(), // 人员信息 - GetProjectSitePersonAsync(), // 项目人员图表 + //GetProjectSitePersonAsync(), // 项目人员图表 GetJdAsync(), // 进度 GetZgsjAsync(), // 整改数据 GetCldhAsync() // 材料到货表格 @@ -58,11 +58,11 @@ namespace FineUIPro.Web.common { var db = Funs.DB; pids = !string.IsNullOrEmpty(CurrUser.CompanyProjectId) - ? CurrUser.CompanyProjectId.Split(',') - : db.Base_Project - .Where(x => x.ProjectState == "1") - .Select(x => x.ProjectId) - .ToArray(); + ? CurrUser.CompanyProjectId.Split(',') + : db.Base_Project + .Where(x => x.ProjectState == "1") + .Select(x => x.ProjectId) + .ToArray(); //在建项目 if (pids == null) { @@ -112,7 +112,7 @@ namespace FineUIPro.Web.common else { this.divSafeWorkTimeMonth.InnerHtml = countMonthAqrgs.ToString().Split('.')[0]; - } + } // 安全培训人员(合并数据库查询) var trainingQuery = db.EduTrain_TrainRecord .Where(x => pids.Contains(x.ProjectId)) @@ -128,7 +128,7 @@ namespace FineUIPro.Web.common divSafePersonNum.InnerHtml = trainingQuery != null ? (trainingQuery.TrainCount + trainingQuery.BoShengCount).ToString() - : "0"; + : "0"; @@ -137,12 +137,12 @@ namespace FineUIPro.Web.common .Where(x=> x.IsUsed == true && x.InTime < DateTime.Now && (x.OutTime == null || x.OutTime > DateTime.Now)) .Where(x => pids.Contains(x.ProjectId)) .Join(db.Base_WorkPost.Where(x => x.IsHsse==true), - person => person.WorkPostId, - post => post.WorkPostId, - (person, post) => person) + person => person.WorkPostId, + post => post.WorkPostId, + (person, post) => person) .Count(); divSafeManagePersonNum.InnerText = safetyStaffCount.ToString(); - }); + }); } // 质量统计模块封装 private async Task BindQualityStatisticsAsync() @@ -150,21 +150,21 @@ namespace FineUIPro.Web.common await Task.Run(() => { var db = Funs.DB; - // 质量管理人员(合并公司+项目级查询) - var qualityQuery = db.Base_WorkPost - .Where(x => x.IsCQMS == true) + // 质量管理人员(合并公司+项目级查询) + var qualityQuery = db.Base_WorkPost + .Where(x => x.IsCQMS == true) .GroupJoin(db.SitePerson_Person.Where(x=> x.IsUsed == true), - post => post.WorkPostId, - person => person.WorkPostId, - (post, persons) => new { post, persons }) - .SelectMany(x => x.persons.DefaultIfEmpty(), + post => post.WorkPostId, + person => person.WorkPostId, + (post, persons) => new { post, persons }) + .SelectMany(x => x.persons.DefaultIfEmpty(), (x, person) => new { x.post, person }) .Where(x => pids.Contains(x.person.ProjectId)); - divCqmsManageNum.InnerText = qualityQuery.Count().ToString(); - // 质量培训人员 + divCqmsManageNum.InnerText = qualityQuery.Count().ToString(); + // 质量培训人员 divCqmsPxNum.InnerText = db.Comprehensive_InspectionPerson .Where(x => pids.Contains(x.ProjectId)) - .Count(x => x.IsTrain == true).ToString(); + .Count(x => x.IsTrain == true).ToString(); }); } // 项目统计优化 @@ -178,16 +178,16 @@ namespace FineUIPro.Web.common int pcount3 = 0; if (acount > 0) { - pcount1 = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null).Count(); + pcount1 = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null).Select( x => x.ProjectId).Count(); var pidzjsg = string.Join(",", allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null).Select(x => x.ProjectId)).Split(','); if (pids == null) { - pcount2 = (from x in Funs.DB.SitePerson_Person where x.IsUsed == true && pidzjsg.Contains(x.ProjectId) select x).Count(); + pcount2 = (from x in Funs.DB.SitePerson_Person where x.IsUsed == true && pidzjsg.Contains(x.ProjectId) select x.ProjectId).Count(); } else { pidzjsg = pids; - pcount2 = (from x in Funs.DB.SitePerson_Person where x.IsUsed == true && pids.Contains(x.ProjectId) select x).Count(); + pcount2 = (from x in Funs.DB.SitePerson_Person where x.IsUsed == true && pids.Contains(x.ProjectId) select x.ProjectId).Count(); } pcount3 = Count3(pidzjsg); } @@ -238,7 +238,7 @@ namespace FineUIPro.Web.common var datetime2 = d2; var getAllPersonInOutList = from x in Funs.DB.SitePerson_PersonInOutNumber - select x; + select new { x.ProjectId, x.InOutDate, x.WorkHours }; if (pids != null) { getAllPersonInOutList = getAllPersonInOutList.Where(x => pids.Contains(x.ProjectId)); @@ -353,7 +353,7 @@ namespace FineUIPro.Web.common return await Task.Run(() => { Model.SingleSerie series = new Model.SingleSerie(); - var project1s = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null).ToList(); + var project1s = allProjects.Where(x => x.ProjectState == Const.ProjectState_1 || x.ProjectState == null).Select(x=> new { x.ProjectId, x.ProjectName, x.ProjectState2, x.Province, x.ShortName }).ToList(); var consts = Funs.DB.Sys_Const.Where(x => x.GroupId == ConstValue.GroupId_ProjectState).ToList(); string name = string.Empty; if (project1s.Any()) @@ -421,11 +421,11 @@ namespace FineUIPro.Web.common var accidentList1 = from x in db.Accident_AccidentPersonRecord join y in db.Base_AccidentType on x.AccidentTypeId equals y.AccidentTypeId where y.AccidentTypeName.Contains("未遂") - select x; + select new { x.ProjectId, x.AccidentDate } ; var accidentList2 = from x in db.Accident_AccidentReportOther join y in db.Sys_Const on x.AccidentTypeId equals y.ConstValue where y.ConstText.Contains("未遂") - select x; + select new { x.ProjectId, x.AccidentDate }; var allProvinceProjectList = (from x in allProjects join y in provinceDic on x.Province equals y.ProvinceCode where provinces.Contains(y.CnShortName ) @@ -640,7 +640,7 @@ namespace FineUIPro.Web.common protected int Count3(string[] pids) { int cout1 = 0; - cout1 = Funs.DB.Solution_LargerHazard.Where(x => x.States == Const.State_2 && pids.Contains(x.ProjectId)).Count(); + cout1 = Funs.DB.Solution_LargerHazard.Count(x => x.States == Const.State_2 && pids.Contains(x.ProjectId)); return cout1; } #endregion @@ -872,11 +872,11 @@ namespace FineUIPro.Web.common var getallin = new List(); if (pids == null) { - getallin = APIPageDataService.getPersonNumByCompany(DateTime.Now); + getallin = APIPageDataService.getPersonNum(new List(),DateTime.Now); } else { - getallin = APIPageDataService.getPersonNumByCompany(DateTime.Now, pids); + getallin = APIPageDataService.getPersonNum(pids.ToList(), DateTime.Now); } AllCount = getallin.Count(); if (AllCount > 0) @@ -887,6 +887,15 @@ namespace FineUIPro.Web.common div_xcrs.InnerHtml = AllCount.ToString(); div_zyxcrs.InnerHtml = (AllCount - MCount).ToString(); div_glxcrs.InnerHtml = MCount.ToString(); + + //项目现场人员统计 + foreach (var item in allProjects) + { + ProjectPersonMc += "'" + item.ShortName + "',"; + ProjectPersonCount += "'" + getallin.Count(x => x.ProjectId == item.ProjectId) + "',"; + } + ProjectPersonMc = ProjectPersonMc.TrimEnd(','); + ProjectPersonCount = ProjectPersonCount.TrimEnd(','); }); } #endregion @@ -937,10 +946,16 @@ namespace FineUIPro.Web.common #region 整改数据 protected async Task GetZgsjAsync() { - div_zgsj.InnerHtml = (GetGeneralClosedNum() + GetGeneralNotClosedNum()).ToString(); - div_zgywc.InnerHtml = GetGeneralClosedNum().ToString(); - div_zgwwc.InnerHtml = GetGeneralNotClosedNum().ToString(); - div_zgwcl.InnerHtml = (100.0 * GetGeneralClosedNum() / (GetGeneralNotClosedNum() + GetGeneralClosedNum())).ToString("0.##") + "%"; + await Task.Run(() => + { + int GeneralClosedNum = GetGeneralClosedNum(); + int GeneralNotClosedNum = GetGeneralNotClosedNum(); + div_zgsj.InnerHtml = (GeneralClosedNum + GeneralNotClosedNum).ToString(); + div_zgywc.InnerHtml = GeneralClosedNum.ToString(); + div_zgwwc.InnerHtml = GeneralNotClosedNum.ToString(); + div_zgwcl.InnerHtml = (100.0 * GeneralClosedNum / (GeneralNotClosedNum + GeneralClosedNum)).ToString("0.##") + "%"; + }); + } /// From 94b3b15b357b7be48ff225f1db16929e2ba9942b Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Tue, 18 Mar 2025 21:54:11 +0800 Subject: [PATCH 04/10] =?UTF-8?q?20250318=20=E8=B4=A8=E9=87=8F=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataBase/版本日志/SUBQHSE_V2025-03-18-bwj.sql | 329 ++++++++++++++++++ SGGL/BLL/ProjectData/ProjectService.cs | 7 +- .../App_GlobalResources/Lan.en-US.resx | 10 +- .../InspectionEquipmentEdit.aspx | 12 +- .../InspectionEquipmentEdit.aspx.cs | 27 +- .../CQMS/Comprehensive/NCRManagement.aspx | 2 +- .../CQMS/Comprehensive/NCRManagement.aspx.cs | 6 +- .../SpecialEquipmentEdit.aspx.cs | 1 + .../ManageReportNew/MonthReportEdit.aspx.cs | 2 +- .../ManageReportNew/WeekReportEdit.aspx.cs | 2 +- SGGL/FineUIPro.Web/indexProject.aspx | 4 +- .../indexProject.aspx.designer.cs | 128 +++---- 12 files changed, 435 insertions(+), 95 deletions(-) create mode 100644 DataBase/版本日志/SUBQHSE_V2025-03-18-bwj.sql diff --git a/DataBase/版本日志/SUBQHSE_V2025-03-18-bwj.sql b/DataBase/版本日志/SUBQHSE_V2025-03-18-bwj.sql new file mode 100644 index 00000000..13dede19 --- /dev/null +++ b/DataBase/版本日志/SUBQHSE_V2025-03-18-bwj.sql @@ -0,0 +1,329 @@ +alter table BS_Welder alter column WED_WorkCode nvarchar(100) +go + +--ȡǰ˴ +ALTER PROCEDURE [dbo].[Sp_Project_GetToDoItems] + @projectId NVARCHAR(50)=NULL, + @userId NVARCHAR(200)=NULL +AS +/*ȡǰ˴*/ +BEGIN +SELECT HazardRegisterId AS DataId + ,'B6BE5FE0-CB84-47FF-A6C3-5AD9E1CCE079' AS MenuId + ,'ȫѲ' AS MenuName + ,register.RegisterDef AS Content + ,UserId + ,users.UserName + ,register.RegisterDate AS DataTime + ,CONVERT(varchar(100),register.RegisterDate, 23) AS DataTimeStr + ,'../HSSE/HiddenInspection/HiddenRectificationRectify.aspx?HazardRegisterId='+register.HazardRegisterId AS PCUrl +FROM HSSE_Hazard_HazardRegister AS register +LEFT JOIN Sys_User AS users ON users.UserId =@userId +WHERE register.ProjectId=@projectId AND +((register.states = '1' AND (register.ResponsibleMan =@userId OR register.CCManIds LIKE ('%'+@userId+'%') )) +) +UNION ALL + +SELECT HazardRegisterId AS DataId + ,'B6BE5FE0-CB84-47FF-A6C3-5AD9E1CCE079' AS MenuId + ,'ȫѲȷ' AS MenuName + ,register.RegisterDef AS Content + ,UserId + ,users.UserName + ,register.RegisterDate AS DataTime + ,CONVERT(varchar(100),register.RegisterDate, 23) AS DataTimeStr + ,'../HSSE/HiddenInspection/HiddenRectificationConfirm.aspx?HazardRegisterId='+register.HazardRegisterId AS PCUrl +FROM HSSE_Hazard_HazardRegister AS register +LEFT JOIN Sys_User AS users ON users.UserId =@userId +WHERE register.ProjectId=@projectId AND +register.states = '2' AND register.CheckManId =@userId + +UNION ALL +SELECT CheckControlCode AS DataId + ,'B3E99BD9-FDC7-4F15-8C3C-A7821AC9E306' AS MenuId + ,'Ѳ' AS MenuName + ,checkControl.QuestionDef AS Content + ,UserId + ,users.UserName + ,checkControl.CheckDate AS DataTime + ,CONVERT(varchar(100),checkControl.CheckDate, 23) AS DataTimeStr + ,'../CQMS/Check/ChecklistEdit.aspx?ToDo=ToDo&CheckControlCode='+checkControl.CheckControlCode AS PCUrl +FROM Check_CheckControl AS checkControl +LEFT JOIN Sys_User AS users ON users.UserId =@userId +WHERE checkControl.ProjectId=@projectId AND +checkControl.State != '7' AND checkControl.CheckControlCode in (select CheckControlCode from Check_CheckControlApprove approve where approve.ApproveType!='S' and approve.ApproveMan=@userId and approve.ApproveDate is null ) + +UNION ALL +SELECT GJSXID AS DataId + ,'0BEA2126-7A48-40EB-8E21-99148E91A22B' AS MenuId + ,'ؼ' AS MenuName + ,GJSX.Detail AS Content + ,users.UserId + ,users.UserName + ,GJSX.CreateDate AS DataTime + ,CONVERT(varchar(100),GJSX.CreateDate, 23) AS DataTimeStr + ,'../PZHGL/GJSX/GJSXListEdit.aspx?ToDo=ToDo&EditType=Edit&ID='+GJSXID AS PCUrl +FROM GJSX +LEFT JOIN Sys_User AS users ON users.UserId =@userId +WHERE GJSX.ProjectId=@projectId AND +GJSX.State != 0 AND (((select count(*) from GJSX_detail detail where detail.Progress_user=@userId and detail.GJSXID=GJSX.GJSXID)=0 +and (select count(*) from GJSX_Process process where process.UserId=@userId and process.GJSXID=GJSX.GJSXID)>0) +or (GJSX.User_Acceptance like '%'+@userId+'%' and (select count(*) from GJSX_detail detail where detail.GJSXID=GJSX.GJSXID)=(select count(*) from GJSX_Process process where process.GJSXID=GJSX.GJSXID)) +) + +--UNION ALL +--SELECT InspectionEquipmentId AS DataId +-- ,'6c2c1e5e-1812-4e1c-a683-7125518e28c7' AS MenuId +-- ,'豸ϱȷ' AS MenuName +-- ,Equipment.InspectionName AS Content +-- ,UserId +-- ,users.UserName +-- ,Equipment.InspectionDate AS DataTime +-- ,CONVERT(varchar(100),Equipment.InspectionDate, 23) AS DataTimeStr +-- ,'../CQMS/Comprehensive/InspectionEquipmentEdit.aspx?ToDo=ToDo&InspectionEquipmentId='+Equipment.InspectionEquipmentId AS PCUrl +--FROM Comprehensive_InspectionEquipment AS Equipment +--LEFT JOIN Sys_User AS users ON users.UserId =@userId +--WHERE Equipment.ProjectId=@projectId and +--Equipment.Status!='3' AND Equipment.InspectionEquipmentId in (select InspectionEquipmentId from Comprehensive_InspectionEquipmentApprove approve where approve.ApproveType!='S' and approve.ApproveMan=@userId and approve.ApproveDate is null ) +--UNION ALL +--SELECT InspectionPersonId AS DataId +-- ,'8ed133de-5899-4687-878a-20b1f5280f18' AS MenuId +-- ,'Աȷ' AS MenuName +-- ,Person.PersonName AS Content +-- ,UserId +-- ,users.UserName +-- ,Person.CompileDate AS DataTime +-- ,CONVERT(varchar(100),Person.CompileDate, 23) AS DataTimeStr +-- ,'../CQMS/Comprehensive/InspectionPersonEdit.aspx?ToDo=ToDo&InspectionPersonId='+Person.InspectionPersonId AS PCUrl +--FROM Comprehensive_InspectionPerson AS Person +--LEFT JOIN Sys_User AS users ON users.UserId =@userId +--WHERE Person.ProjectId=@projectId and +--Person.Status!='3' AND Person.InspectionPersonId in (select InspectionPersonId from Comprehensive_InspectionPersonApprove approve where approve.ApproveType!='S' and approve.ApproveMan=@userId and approve.ApproveDate is null ) +--UNION ALL +--SELECT InspectionMachineId AS DataId +-- ,'aa55fad1-6c51-43f5-8c99-3c6aaae79118' AS MenuId +-- ,'߱ȷ' AS MenuName +-- ,Machine.InspectionMachineName AS Content +-- ,UserId +-- ,users.UserName +-- ,Machine.CompileDate AS DataTime +-- ,CONVERT(varchar(100),Machine.CompileDate, 23) AS DataTimeStr +-- ,'../CQMS/Comprehensive/InspectionMachineEdit.aspx?ToDo=ToDo&InspectionMachineId='+Machine.InspectionMachineId AS PCUrl +--FROM Comprehensive_InspectionMachine AS Machine +--LEFT JOIN Sys_User AS users ON users.UserId =@userId +--WHERE Machine.ProjectId=@projectId and +--Machine.Status!='3' AND Machine.InspectionMachineId in (select InspectionMachineId from Comprehensive_InspectionMachineApprove approve where approve.ApproveType!='S' and approve.ApproveMan=@userId and approve.ApproveDate is null ) +UNION ALL +SELECT ConstructSolutionId AS DataId + ,'91C4BFDB-0A51-4992-99CC-EB4EC185593D' AS MenuId + ,'ʩ' AS MenuName + ,Solution.SolutionName AS Content + ,UserId + ,users.UserName + ,Solution.CompileDate AS DataTime + ,CONVERT(varchar(100),Solution.CompileDate, 23) AS DataTimeStr + ,'../CQMS/Solution/EditConstructSolution.aspx?ToDo=ToDo&ConstructSolutionId='+Solution.ConstructSolutionId AS PCUrl +FROM Solution_CQMSConstructSolution AS Solution +LEFT JOIN Sys_User AS users ON users.UserId =@userId +WHERE Solution.ProjectId=@projectId and +Solution.State!='3' +AND Solution.ConstructSolutionId in +(select top 1 ConstructSolutionId from ( +SELECT Solution_CQMSConstructSolutionApprove.* +FROM Solution_CQMSConstructSolutionApprove, +(SELECT MIN([order]) AS [order],ConstructSolutionId FROM Solution_CQMSConstructSolutionApprove where ApproveType!='S' and ApproveDate is null GROUP BY ConstructSolutionId )b +WHERE Solution_CQMSConstructSolutionApprove.[order] = b.[order] and Solution_CQMSConstructSolutionApprove.ConstructSolutionId = b.ConstructSolutionId + ) approve +where approve.ApproveMan=@userId ) + +UNION ALL +SELECT InspectionId AS DataId + ,'4781f467-35bf-4cf2-aaa4-7960a175eb61' AS MenuId + ,'֪ͨ' AS MenuName + ,InspectionManagement.AcceptanceSite AS Content + ,UserId + ,users.UserName + ,InspectionManagement.CompileDate AS DataTime + ,CONVERT(varchar(100),InspectionManagement.CompileDate, 23) AS DataTimeStr + ,'../CQMS/ProcessControl/InspectionNoticeEdit.aspx?View=View&InspectionId='+InspectionManagement.InspectionId AS PCUrl +FROM ProcessControl_InspectionManagement AS InspectionManagement +LEFT JOIN Sys_User AS users ON users.UserId =@userId +WHERE InspectionManagement.ProjectId=@projectId and +dateadd(day,3,InspectionManagement.CompileDate)>getdate() and InspectionManagement.AcceptanceCheckMan like '%'+@userId+'%' +UNION ALL +SELECT CheckSpecialId AS DataId + ,'1B08048F-93ED-4E84-AE65-DB7917EA2DFB' AS MenuId + ,'ר' AS MenuName + ,CheckItemSet.CheckItemName AS Content + ,UserId + ,users.UserName + ,CheckSpecial.CheckTime AS DataTime + ,CONVERT(varchar(100),CheckSpecial.CheckTime, 23) AS DataTimeStr + ,'../HSSE/Check/CheckSpecialView.aspx?CheckSpecialId='+CheckSpecial.CheckSpecialId AS PCUrl +FROM Check_CheckSpecial AS CheckSpecial +LEFT JOIN Sys_User AS users ON users.UserId =@userId +LEFT JOIN Technique_CheckItemSet AS CheckItemSet ON CheckItemSet.CheckItemSetId =CheckSpecial.CheckItemSetId +WHERE CheckSpecial.ProjectId=@projectId and +dateadd(day,3,CheckSpecial.CheckTime)>getdate() and CheckSpecial.PartInPersonIds like '%'+@userId+'%' +UNION ALL +SELECT CheckColligationId AS DataId + ,'C198EBA8-9E23-4654-92E1-09C61105C522' AS MenuId + ,'ۺϼ' AS MenuName + ,case CheckType when '0' then 'ܼ' when '1' then '¼' else '' end AS Content + ,users.UserId + ,users.UserName + ,CheckColligation.CheckTime AS DataTime + ,CONVERT(varchar(100),CheckColligation.CheckTime, 23) AS DataTimeStr + ,'../HSSE/Check/CheckColligationEdit.aspx?CheckColligationId='+CheckColligation.CheckColligationId AS PCUrl +FROM Check_CheckColligation AS CheckColligation +LEFT JOIN Sys_User AS users ON users.UserId =@userId +LEFT JOIN Sys_FlowOperate AS FlowOperate ON CheckColligation.CheckColligationId=FlowOperate.DataId +LEFT JOIN Sys_User AS OperateUser ON FlowOperate.OperaterId=OperateUser.UserId +WHERE CheckColligation.ProjectId=@projectId and FlowOperate.IsClosed <> 1 and FlowOperate.OperaterId=@userId +UNION ALL +SELECT PatrolPlanId AS DataId + ,'D256E5C8-DC76-4F4D-BABE-A253418823F4' AS MenuId + ,'Ѳ' AS MenuName + ,HazardListItem.HazardItems AS Content + ,UserId + ,users.UserName + ,PatrolPlan.LimitCheckDate AS DataTime + ,CONVERT(varchar(100),PatrolPlan.LimitCheckDate, 23) AS DataTimeStr + ,'../HSSE/Hazard/RoutingInspectionEdit.aspx?PatrolPlanId='+PatrolPlan.PatrolPlanId AS PCUrl +FROM Hazard_PatrolPlan AS PatrolPlan +LEFT JOIN Sys_User AS users ON users.UserId =@userId +LEFT JOIN Hazard_HazardSelectedItem AS HazardListItem on HazardListItem.HazardSelectedItemId=PatrolPlan.HazardSelectedItemId +WHERE HazardListItem.ProjectId=@projectId and +dateadd(day,-3,PatrolPlan.LimitCheckDate)=22 and (select COUNT(*) from JDGL_QuantityCompletion WHERE ProjectId=@projectId and DATENAME(year,GETDATE())=DATENAME(year,EndDate) and DATENAME(MONTH,GETDATE())=DATENAME(MONTH,EndDate))=0) +--or (DATEADD(day,60,(select top 1 EndDate from JDGL_QuantityCompletion WHERE ProjectId=@projectId order by EndDate desc))=22 and +DATENAME(year,GETDATE())=DATENAME(year,MonthPlan.PlanDate) and DATENAME(MONTH,GETDATE())=DATENAME(MONTH,MonthPlan.PlanDate) + + +ORDER BY DataTime DESC +END + + + + + +GO + + diff --git a/SGGL/BLL/ProjectData/ProjectService.cs b/SGGL/BLL/ProjectData/ProjectService.cs index 192cd837..a44ad576 100644 --- a/SGGL/BLL/ProjectData/ProjectService.cs +++ b/SGGL/BLL/ProjectData/ProjectService.cs @@ -1,11 +1,10 @@ namespace BLL { + using Model; + using Newtonsoft.Json; + using System; using System.Collections.Generic; using System.Linq; - using Model; - using System; - using Newtonsoft.Json; - using Microsoft.SqlServer.Dts.Runtime; using System.Runtime.Caching; public static class ProjectService diff --git a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx index f14cd232..77beae4b 100644 --- a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx +++ b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx @@ -310,7 +310,7 @@ 重大风险 - Total number of managers + Total managers 管理人员总数 @@ -382,7 +382,7 @@ 风险管控 - Safe labor hours + safe man-hours 安全人工时 @@ -480,7 +480,7 @@ 安全问题统计 - Cumulative safety labor hours + Cumulative safe man-hours 累计安全人工时 @@ -645,10 +645,10 @@ Safe Work Hours This Month - Total Safe Training Personnel + Total safety training personnel - Safe Management Personnel + safety management personnel Near Miss Incidents diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx index 71938b0b..9e06427f 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx @@ -28,7 +28,7 @@ - + @@ -38,7 +38,7 @@ - + @@ -74,7 +74,7 @@ + LabelWidth="150px" LabelAlign="Right"> @@ -109,9 +109,7 @@ - --%> - - + --%> @@ -121,7 +119,7 @@ - <%-- + <%-- --%> diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs index d0112b53..ceed9497 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/InspectionEquipmentEdit.aspx.cs @@ -1,5 +1,6 @@ using BLL; using BLL.CQMS.Comprehensive; +using FineUIPro.Web.Comprehensive; using System; using System.Linq; @@ -46,7 +47,8 @@ namespace FineUIPro.Web.CQMS.Comprehensive var inspectionEquipment = BLL.InspectionEquipmentService.GetInspectionEquipmentById(this.InspectionEquipmentId); if (inspectionEquipment != null) { - this.InspectionEquipmentId = inspectionEquipment.InspectionEquipmentId; + this.InspectionEquipmentId = inspectionEquipment.InspectionEquipmentId; + this.hdAttachUrl.Text = this.InspectionEquipmentId; if (!string.IsNullOrEmpty(inspectionEquipment.UnitId)) { this.drpUnitId.SelectedValue = inspectionEquipment.UnitId; @@ -287,7 +289,16 @@ namespace FineUIPro.Web.CQMS.Comprehensive } if (string.IsNullOrEmpty(this.InspectionEquipmentId)) - { newInspectionEquipment.InspectionEquipmentId = SQLHelper.GetNewID(typeof(Model.Comprehensive_InspectionPerson)); + { + if (!string.IsNullOrEmpty(this.hdAttachUrl.Text)) + { + newInspectionEquipment.InspectionEquipmentId = this.hdAttachUrl.Text; + } + else + { + newInspectionEquipment.InspectionEquipmentId = SQLHelper.GetNewID(typeof(Model.Comprehensive_InspectionPerson)); + this.hdAttachUrl.Text = newInspectionEquipment.InspectionEquipmentId; + } newInspectionEquipment.CompileMan = this.CurrUser.UserId; newInspectionEquipment.CompileDate = DateTime.Now; newInspectionEquipment.Status = BLL.Const.Comprehensive_Compile; @@ -502,18 +513,18 @@ namespace FineUIPro.Web.CQMS.Comprehensive /// protected void btnAttach_Click(object sender, EventArgs e) { - if (string.IsNullOrEmpty(this.InspectionEquipmentId)) //新增记录 + if (string.IsNullOrEmpty(this.hdAttachUrl.Text)) //新增记录 { - this.InspectionEquipmentId = SQLHelper.GetNewID(typeof(Model.Comprehensive_InspectionEquipment)); + this.hdAttachUrl.Text = SQLHelper.GetNewID(typeof(Model.Comprehensive_InspectionEquipment)); } - //var oldInspectionEquipment = Funs.DB.Comprehensive_InspectionEquipment.Where(u => u.InspectionEquipmentId == this.InspectionEquipmentId).FirstOrDefault(); - //if (oldInspectionEquipment.Status == BLL.Const.Comprehensive_Complete) + //Model.Comprehensive_InspectionPerson inspectionPerson = BLL.InspectionPersonService.GetInspectionPersonById(this.InspectionPersonId); + //if (inspectionPerson.Status == BLL.Const.Comprehensive_Complete) //{ - // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/CQMS/InspectionEquipment&menuId={1}", this.InspectionEquipmentId, BLL.Const.InspectionEquipmentMenuId))); + // PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=-1&toKeyId={0}&path=FileUpload/CQMS/inspectionPerson&menuId={1}", this.hdAttachUrl.Text, BLL.Const.InspectionPersonMenuId))); //} //else //{ - PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/CQMS/InspectionEquipment&menuId={1}", this.InspectionEquipmentId, BLL.Const.InspectionEquipmentMenuId))); + PageContext.RegisterStartupScript(WindowAtt.GetShowReference(String.Format("../../AttachFile/webuploader.aspx?type=0&toKeyId={0}&path=FileUpload/CQMS/InspectionEquipment&menuId={1}", this.hdAttachUrl.Text, BLL.Const.InspectionEquipmentMenuId))); //} } #endregion diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx index f66409a9..9be113a7 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx @@ -22,7 +22,7 @@ - + diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs index 12c49d5a..4f7aca93 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/NCRManagement.aspx.cs @@ -41,8 +41,8 @@ namespace FineUIPro.Web.Comprehensive listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId)); if (sdrpUnitId.SelectedValue != BLL.Const._Null) { - strSql += " AND C.SendUnit=@UnitId"; - listStr.Add(new SqlParameter("@UnitId", sdrpUnitId.SelectedValue)); + strSql += " AND C.ReceiveUnit like @UnitId"; + listStr.Add(new SqlParameter("@UnitId", "%" + sdrpUnitId.SelectedValue + "%")); } if (this.drpProfessionalId.SelectedValue != BLL.Const._Null) { @@ -348,7 +348,7 @@ namespace FineUIPro.Web.Comprehensive select x); if (sdrpUnitId.SelectedValue != BLL.Const._Null) { - lists = lists.Where(x => x.SendUnit == sdrpUnitId.SelectedValue); + lists = lists.Where(x => x.ReceiveUnit.Contains(sdrpUnitId.SelectedValue)); } if (this.drpProfessionalId.SelectedValue != BLL.Const._Null) { diff --git a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs index abb39d36..8f0fcaf5 100644 --- a/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/Comprehensive/SpecialEquipmentEdit.aspx.cs @@ -49,6 +49,7 @@ namespace FineUIPro.Web.CQMS.Comprehensive if (specialEquipment != null) { this.SpecialEquipmentId = specialEquipment.SpecialEquipmentId; + this.hdAttachUrl.Text = this.SpecialEquipmentId; if (!string.IsNullOrEmpty(specialEquipment.UnitId)) { this.drpUnit.SelectedValue = specialEquipment.UnitId; diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs index 917d1479..6da8ad1a 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/MonthReportEdit.aspx.cs @@ -2212,7 +2212,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew var query = from c in db.Comprehensive_NCRManagement join u in db.Base_Unit on c.SendUnit equals u.UnitId into unitJoin from u in unitJoin.DefaultIfEmpty() - where c.ProjectId == this.CurrUser.LoginProjectId && c.ReceiveUnit == item.UnitId + where c.ProjectId == this.CurrUser.LoginProjectId && c.ReceiveUnit.Contains(item.UnitId) select new { c.NCRManagementId, diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs index 31034041..b3854711 100644 --- a/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ManageReportNew/WeekReportEdit.aspx.cs @@ -2167,7 +2167,7 @@ namespace FineUIPro.Web.CQMS.ManageReportNew var query = from c in db.Comprehensive_NCRManagement join u in db.Base_Unit on c.SendUnit equals u.UnitId into unitJoin from u in unitJoin.DefaultIfEmpty() - where c.ProjectId == this.CurrUser.LoginProjectId && c.ReceiveUnit == item.UnitId + where c.ProjectId == this.CurrUser.LoginProjectId && c.ReceiveUnit.Contains(item.UnitId) select new { c.NCRManagementId, diff --git a/SGGL/FineUIPro.Web/indexProject.aspx b/SGGL/FineUIPro.Web/indexProject.aspx index 28c9bcbe..aae40e42 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx +++ b/SGGL/FineUIPro.Web/indexProject.aspx @@ -239,8 +239,8 @@
- - + +
diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs index a13b715c..0447df07 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/indexProject.aspx.designer.cs @@ -7,11 +7,13 @@ // //------------------------------------------------------------------------------ -namespace FineUIPro.Web { - - - public partial class indexProject { - +namespace FineUIPro.Web +{ + + + public partial class indexProject + { + /// /// form1 控件。 /// @@ -20,7 +22,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlForm form1; - + /// /// PageManager1 控件。 /// @@ -29,7 +31,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.PageManager PageManager1; - + /// /// Panel1 控件。 /// @@ -38,7 +40,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel Panel1; - + /// /// topPanel 控件。 /// @@ -47,7 +49,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel topPanel; - + /// /// ContentPanel1 控件。 /// @@ -56,7 +58,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.ContentPanel ContentPanel1; - + /// /// drpSelectLan 控件。 /// @@ -65,7 +67,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpSelectLan; - + /// /// drpProject 控件。 /// @@ -74,7 +76,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.DropDownList drpProject; - + /// /// Button21 控件。 /// @@ -83,7 +85,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button Button21; - + /// /// btnCall 控件。 /// @@ -92,7 +94,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnCall; - + /// /// btnTodo 控件。 /// @@ -101,7 +103,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnTodo; - + /// /// lblName 控件。 /// @@ -110,7 +112,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Label lblName; - + /// /// btnPersonal 控件。 /// @@ -119,7 +121,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnPersonal; - + /// /// btnProjectSet 控件。 /// @@ -128,7 +130,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnProjectSet; - + /// /// btnHelp 控件。 /// @@ -137,7 +139,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnHelp; - + /// /// Button18 控件。 /// @@ -146,7 +148,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button Button18; - + /// /// leftPanel 控件。 /// @@ -155,7 +157,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Panel leftPanel; - + /// /// leftPanelToolCollapse 控件。 /// @@ -164,7 +166,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tool leftPanelToolCollapse; - + /// /// leftPanelToolGear 控件。 /// @@ -173,7 +175,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tool leftPanelToolGear; - + /// /// btnExpandAll 控件。 /// @@ -182,7 +184,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnExpandAll; - + /// /// btnCollapseAll 控件。 /// @@ -191,7 +193,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton btnCollapseAll; - + /// /// MenuMode 控件。 /// @@ -200,7 +202,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton MenuMode; - + /// /// MenuModeNormal 控件。 /// @@ -209,7 +211,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuCheckBox MenuModeNormal; - + /// /// MenuModeCompact 控件。 /// @@ -218,7 +220,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuCheckBox MenuModeCompact; - + /// /// MenuModeLarge 控件。 /// @@ -227,7 +229,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuCheckBox MenuModeLarge; - + /// /// MenuStyle 控件。 /// @@ -236,7 +238,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton MenuStyle; - + /// /// MenuStyleTree 控件。 /// @@ -245,7 +247,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuCheckBox MenuStyleTree; - + /// /// MenuStyleMiniModeTree 控件。 /// @@ -254,7 +256,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuCheckBox MenuStyleMiniModeTree; - + /// /// MenuStylePlainTree 控件。 /// @@ -263,7 +265,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuCheckBox MenuStylePlainTree; - + /// /// MenuLang 控件。 /// @@ -272,7 +274,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuButton MenuLang; - + /// /// MenuLangZHCN 控件。 /// @@ -281,7 +283,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.MenuCheckBox MenuLangZHCN; - + /// /// mainTabStrip 控件。 /// @@ -290,7 +292,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.TabStrip mainTabStrip; - + /// /// Tab1 控件。 /// @@ -299,7 +301,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tab Tab1; - + /// /// toolRefresh 控件。 /// @@ -308,7 +310,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tool toolRefresh; - + /// /// toolNewWindow 控件。 /// @@ -317,7 +319,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tool toolNewWindow; - + /// /// toolMaximize 控件。 /// @@ -326,7 +328,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tool toolMaximize; - + /// /// toolSignOut 控件。 /// @@ -335,7 +337,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Tool toolSignOut; - + /// /// windowCustomQuery 控件。 /// @@ -344,7 +346,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window windowCustomQuery; - + /// /// WindowAtt 控件。 /// @@ -353,7 +355,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window WindowAtt; - + /// /// Window1 控件。 /// @@ -362,7 +364,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window1; - + /// /// Window2 控件。 /// @@ -371,7 +373,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Window Window2; - + /// /// XmlDataSource1 控件。 /// @@ -380,7 +382,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.WebControls.XmlDataSource XmlDataSource1; - + /// /// ProjectZJ 控件。 /// @@ -389,7 +391,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button ProjectZJ; - + /// /// ProjectTG 控件。 /// @@ -398,7 +400,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button ProjectTG; - + /// /// ProjectJG 控件。 /// @@ -407,7 +409,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button ProjectJG; - + /// /// btnCQMS 控件。 /// @@ -416,7 +418,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnCQMS; - + /// /// btnHSSE 控件。 /// @@ -425,7 +427,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnHSSE; - + /// /// btnJDGL 控件。 /// @@ -434,7 +436,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnJDGL; - + /// /// btnHJGL 控件。 /// @@ -443,7 +445,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnHJGL; - + /// /// btnCLGL 控件。 /// @@ -452,7 +454,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnCLGL; - + /// /// btnTestRun 控件。 /// @@ -461,7 +463,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnTestRun; - + /// /// btnTransfer 控件。 /// @@ -470,7 +472,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnTransfer; - + /// /// btnPGJSX 控件。 /// @@ -479,7 +481,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnPGJSX; - + /// /// btnDigitalSite 控件。 /// @@ -488,7 +490,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnDigitalSite; - + /// /// btnPDigData 控件。 /// @@ -497,7 +499,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnPDigData; - + /// /// btnOpinion 控件。 /// @@ -506,7 +508,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnOpinion; - + /// /// btnDoc 控件。 /// @@ -515,7 +517,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.Button btnDoc; - + /// /// SimpleForm1 控件。 /// @@ -524,7 +526,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.SimpleForm SimpleForm1; - + /// /// hfProjectCode 控件。 /// @@ -533,7 +535,7 @@ namespace FineUIPro.Web { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::FineUIPro.HiddenField hfProjectCode; - + /// /// hfMonitorPW 控件。 /// From 15bbe21c670664ea2b7f875c6a39815462187c69 Mon Sep 17 00:00:00 2001 From: wendy <408182087@qq.com> Date: Wed, 19 Mar 2025 15:02:56 +0800 Subject: [PATCH 05/10] =?UTF-8?q?20250319=20=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../App_GlobalResources/Lan.en-US.resx | 547 +++++ .../App_GlobalResources/Lan.resx | 522 +++++ .../App_GlobalResources/Lan.zh-CN.resx | 522 +++++ .../App_GlobalResources/Lan1.designer.cs | 1942 +++++++++++++++-- SGGL/FineUIPro.Web/common/mainI.aspx | 44 +- SGGL/FineUIPro.Web/common/main_new.aspx | 292 +-- SGGL/FineUIPro.Web/common/main_new.aspx.cs | 34 +- SGGL/FineUIPro.Web/common/main_new0.aspx | 166 +- SGGL/FineUIPro.Web/common/main_new0.aspx.cs | 34 + SGGL/FineUIPro.Web/common/main_new1.aspx | 82 +- SGGL/FineUIPro.Web/common/main_new1.aspx.cs | 19 + SGGL/FineUIPro.Web/index.aspx | 164 +- SGGL/FineUIPro.Web/index.aspx.cs | 32 +- SGGL/FineUIPro.Web/index.aspx.designer.cs | 13 +- SGGL/FineUIPro.Web/indexProject.aspx | 75 +- SGGL/FineUIPro.Web/indexProject.aspx.cs | 2 +- .../indexProject.aspx.designer.cs | 26 +- SGGL/WebAPI/WebAPI.csproj.user | 2 +- 18 files changed, 3900 insertions(+), 618 deletions(-) diff --git a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx index 77beae4b..2fef81b0 100644 --- a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx +++ b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.en-US.resx @@ -793,4 +793,551 @@ total 总计 + + my + 我的 + + + Project Profile + 项目概况 + + + Safe production + 安全生产 + + + Bolt + + + Project + + + Pipe + + + Pipe Fitting + + + Valve + + + Safe Training Cumulative Personnel + + + Safety Management Personnel + + + Near Miss Events + + + Ongoing Projects + + + Projects + + + Remaining Days + + + Progress + + + Project Details + + + Quality Issues Rectification Rate + + + First Inspection Pass Rate + + + Welding First Pass Rate + + + Total + + + Completed + + + Quality Management Personnel + + + Quality Training Cumulative Personnel + + + Overdue + + + Rectification Rate + + + Quality Overview + + + Equipment Materials + + + Home + + + Safety Data Statistics + + + Safe Man Hours + + + Safety Hazard Rectification Orders + + + Total (items) + + + Completed (items) + + + Incomplete (items) + + + Quality First Acceptance Pass Rate + + + Welding First Pass Rate Statistics + + + Monitoring + + + Progress Statistics + + + Project Site Name + + + Status + + + Progress + + + Under Construction + + + Suspended + + + Completed Project + + + Units: (items) + + + Project Personnel + + + Current On-site Personnel + + + Total Number of Workers + + + Total Number of Managers + + + Welding Statistics + + + Welds + + + Welding + + + Points + + + Inspection + + + Rework + + + Number of Welds + + + Dyne + + + Arrival of materials + 材料到货 + + + Due should be completed + 到期应完成 + + + Key item total + 关键事项总计 + + + Not finished on time + 未准点完成 + + + On-time rate + 准点率 + + + Percentage of progress + 进度百分比 + + + progress + 进度情况 + + + Safety rectification data + 安全整改数据 + + + Production Safety + + + Head Office Personnel + + + Director + + + Full-Time + + + Branch + + + Director + + + Full-Time + + + Project Personnel + + + Director + + + Full-Time + + + Participants + + + Safety Engineer + + + Total + + + Safety Meeting Data + + + Company Safety Committee + + + Company Special Topic + + + Project Safety Leadership Group + + + Project Safety Meeting + + + Under Construction Projects + + + Shutdown Projects + + + Major Projects Under Construction + + + Safety Working Hours + + + Safety Cloud Monitoring + + + Real-Time Video: Line 1 + + + Safety Cost Data + + + Cost Extraction (10,000 RMB) + + + Cost Usage + + + Construction Equipment Data + + + In Use + + + Special Equipment + + + High-Risk Work Permit Data + + + Permit Items + + + Closed Items + + + Hidden Hazard Inspection Data + + + General Hidden Hazard + + + Major Hidden Hazard + + + Closed Items + + + Unfinished Items + + + Safety Supervision and Inspection Data + + + Accident Event Data + + + Near Miss + + + Recordable Event + + + Emergency Management Data + + + Comprehensive Plan + + + Special Plan + + + On-Site Disposal Plan + + + Drill Number + + + Safety Training Data + + + Level Three Training + + + Special Training + + + Special Operation Training + + + Risk Analysis Data + + + Emergency Management Data + + + Large Engineering + + + Super Large Engineering + + + Completed Items + + + Training Person Number + + + Construction Number + + + Finished Number + + + Quality Management + + + Quality Management Personnel Data + + + Company Head Office Personnel + + + Branch Personnel + + + Project Department Personnel + + + Measuring Instruments Data + + + In-Use Measuring Instruments + + + Calibration Qualified + + + Qualification Warning + + + Mechanical Warning + + + Quality Training Data + + + Quality Training Person Count + + + Technical Disclosure Person Count + + + Quality Inspection Data + + + Total Inspection Count + + + First-Time Qualified Count + + + First-Time Inspection Pass Rate + + + Welding Data + + + Total Welders + + + Total Dine Factor + + + Completed Dine Factor + + + Total Radiographs + + + Qualified Radiographs + + + First-Time Radiograph Pass Rate + + + Quality Inspection Problem Management Data + + + Closed Loop Items + + + Unfinished Items + + + Closure Rate + + + NCR Data + + + Closed Loop Items + + + Unfinished Items + + + Closure Rate + + + Accident event data + 事故事件数据 + + + All + 全部 + + + The pass rate of construction quality in one test + 施工质量一次合格率 + + + Emergency management data + 应急管理数据 + + + General accident + 一般事故 + + + Hidden danger investigation and management data + 隐患排除治理数据 + + + High risk + 高风险 + + + Major accident + 重大事故 + + + Medium risk + 中风险 + + + Number of corrections completed + 整改完成数 + + + Number of questions + 问题个数 + + + Particularly serious accident + 特别重大事故 + + + Relatively major accident + 较大事故 + + + Safety supervision personnel data + 安监人员数据 + + + To be rectified + 待整改 + + + Uncorrected number + 未整改数 + + + Up to standard + 合格 + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.resx b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.resx index 3b65cf19..dc4f33c7 100644 --- a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.resx +++ b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.resx @@ -663,4 +663,526 @@ 总计 + + 我的 + + + 项目概况 + + + 安全生产 + + + 垫片 + + + 紧固件 + + + 项目 + + + 管子 + + + 管件 + + + 阀门 + + + 安全培训累计人员 + + + 安全管理人员 + + + 未遂事件 + + + 在建项目 + + + 项目 + + + 剩余天数 + + + 进度 + + + 项目详情 + + + 质量问题整改率 + + + 一次共检合格率 + + + 焊接一次合格率 + + + 总计 + + + 完成 + + + 质量管理人员 + + + 质量培训累计人员 + + + 未完成 + + + 整改率 + + + 质量概况 + + + 设备材料 + + + 首页 + + + 安全数据统计 + + + 安全人工时 + + + 安全隐患整改单 + + + 总数(个) + + + 已完成(个) + + + 未完成(个) + + + 质量一次验收合格率 + + + 焊接一次合格率统计 + + + 监控 + + + 进度统计 + + + 工地名称 + + + 状态 + + + 进度 + + + 在建 + + + 停工 + + + 竣工 + + + 单位:(个) + + + 项目人员 + + + 当前现场人数 + + + 作业人员总数 + + + 管理人员总数 + + + 焊接统计 + + + 焊口 + + + 焊接 + + + 点口 + + + 检测 + + + 返修 + + + 焊口数 + + + 达因 + + + 材料到货 + + + 到期应完成 + + + 关键事项总计 + + + 未准点完成 + + + 准点率 + + + 进度百分比 + + + 进度情况 + + + 安全整改数据 + + + 安全生产 + + + 企业总部人数 + + + 总监 + + + 专职 + + + 分支机构 + + + 总监 + + + 专职 + + + 项目人数 + + + 总监 + + + 专职 + + + 参建人数 + + + 注安师 + + + 总数 + + + 安全会议数据 + + + 企业安委会 + + + 企业专题 + + + 项目安全领导小组 + + + 项目安全例会 + + + 在建项目 + + + 停工项目 + + + 在施危大工程 + + + 安全工时 + + + 安全云监控 + + + 实时视频:线路1 + + + 安全费用数据 + + + 费用提取(万元) + + + 费用使用 + + + 施工机具设备数据 + + + 在用 + + + 特种设备 + + + 高风险作业许可数据 + + + 许可项 + + + 关闭项 + + + 隐患排查治理数据 + + + 一般隐患 + + + 重大隐患 + + + 整改闭环项 + + + 未整改完成项 + + + 安全监督检查数据 + + + 事故事件数据 + + + 未遂事件 + + + 可记录 + + + 应急管理数据 + + + 综合预案 + + + 专项预案 + + + 现场处置预案 + + + 演练次数 + + + 安全教育培训人次数数据 + + + 三级安全教育培训 + + + 专项培训 + + + 特种作业培训 + + + 风险数据分析 + + + 应急管理数据 + + + 危大工程 + + + 超危大工程 + + + 审批完成 + + + 培训人次数 + + + 施工个数 + + + 完工个数 + + + 质量管理 + + + 质量管理人员数据 + + + 企业总部人数 + + + 分支机构人数 + + + 项目部人数 + + + 计量器具数据 + + + 在用计量器具 + + + 校准合格 + + + 资质预警 + + + 机械预警 + + + 质量培训数据 + + + 质量培训人次数 + + + 技术交底人次数 + + + 质量验收数据 + + + 共检总数 + + + 一次合格数量 + + + 施工质量一次共检合格率 + + + 焊接数据 + + + 焊工总数 + + + 总达因数 + + + 完成达因数 + + + 拍片总数 + + + 合格片数 + + + 一次拍片合格率 + + + 质量巡检问题治理数据 + + + 整改闭环项 + + + 未整改完成项 + + + 整改率 + + + NCR数据 + + + 整改闭环项 + + + 未整改完成项 + + + 整改率 + + + 事故事件数据 + + + 全部 + + + 施工质量一次合格率 + + + 应急管理数据 + + + 一般事故 + + + 隐患排除治理数据 + + + 高风险 + + + 重大事故 + + + 中风险 + + + 整改完成数 + + + 问题个数 + + + 特别重大事故 + + + 较大事故 + + + 安监人员数据 + + + 待整改 + + + 未整改数 + + + 合格 + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.zh-CN.resx b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.zh-CN.resx index 7a0ef950..1eaf9d2d 100644 --- a/SGGL/FineUIPro.Web/App_GlobalResources/Lan.zh-CN.resx +++ b/SGGL/FineUIPro.Web/App_GlobalResources/Lan.zh-CN.resx @@ -663,4 +663,526 @@ 总计 + + 我的 + + + 项目概况 + + + 安全生产 + + + 垫片 + + + 紧固件 + + + 项目 + + + 管子 + + + 管件 + + + 阀门 + + + 安全培训累计人员 + + + 安全管理人员 + + + 未遂事件 + + + 在建项目 + + + 项目 + + + 剩余天数 + + + 进度 + + + 项目详情 + + + 质量问题整改率 + + + 一次共检合格率 + + + 焊接一次合格率 + + + 总计 + + + 完成 + + + 质量管理人员 + + + 质量培训累计人员 + + + 未完成 + + + 整改率 + + + 质量概况 + + + 设备材料 + + + 首页 + + + 安全数据统计 + + + 安全人工时 + + + 安全隐患整改单 + + + 总数(个) + + + 已完成(个) + + + 未完成(个) + + + 质量一次验收合格率 + + + 焊接一次合格率统计 + + + 监控 + + + 进度统计 + + + 工地名称 + + + 状态 + + + 进度 + + + 在建 + + + 停工 + + + 竣工 + + + 单位:(个) + + + 项目人员 + + + 当前现场人数 + + + 作业人员总数 + + + 管理人员总数 + + + 焊接统计 + + + 焊口 + + + 焊接 + + + 点口 + + + 检测 + + + 返修 + + + 焊口数 + + + 达因 + + + 材料到货 + + + 到期应完成 + + + 关键事项总计 + + + 未准点完成 + + + 准点率 + + + 进度百分比 + + + 进度情况 + + + 安全整改数据 + + + 安全生产 + + + 企业总部人数 + + + 总监 + + + 专职 + + + 分支机构 + + + 总监 + + + 专职 + + + 项目人数 + + + 总监 + + + 专职 + + + 参建人数 + + + 注安师 + + + 总数 + + + 安全会议数据 + + + 企业安委会 + + + 企业专题 + + + 项目安全领导小组 + + + 项目安全例会 + + + 在建项目 + + + 停工项目 + + + 在施危大工程 + + + 安全工时 + + + 安全云监控 + + + 实时视频:线路1 + + + 安全费用数据 + + + 费用提取(万元) + + + 费用使用 + + + 施工机具设备数据 + + + 在用 + + + 特种设备 + + + 高风险作业许可数据 + + + 许可项 + + + 关闭项 + + + 隐患排查治理数据 + + + 一般隐患 + + + 重大隐患 + + + 整改闭环项 + + + 未整改完成项 + + + 安全监督检查数据 + + + 事故事件数据 + + + 未遂事件 + + + 可记录 + + + 应急管理数据 + + + 综合预案 + + + 专项预案 + + + 现场处置预案 + + + 演练次数 + + + 安全教育培训人次数数据 + + + 三级安全教育培训 + + + 专项培训 + + + 特种作业培训 + + + 风险数据分析 + + + 应急管理数据 + + + 危大工程 + + + 超危大工程 + + + 审批完成 + + + 培训人次数 + + + 施工个数 + + + 完工个数 + + + 质量管理 + + + 质量管理人员数据 + + + 企业总部人数 + + + 分支机构人数 + + + 项目部人数 + + + 计量器具数据 + + + 在用计量器具 + + + 校准合格 + + + 资质预警 + + + 机械预警 + + + 质量培训数据 + + + 质量培训人次数 + + + 技术交底人次数 + + + 质量验收数据 + + + 共检总数 + + + 一次合格数量 + + + 施工质量一次共检合格率 + + + 焊接数据 + + + 焊工总数 + + + 总达因数 + + + 完成达因数 + + + 拍片总数 + + + 合格片数 + + + 一次拍片合格率 + + + 质量巡检问题治理数据 + + + 整改闭环项 + + + 未整改完成项 + + + 整改率 + + + NCR数据 + + + 整改闭环项 + + + 未整改完成项 + + + 整改率 + + + 事故事件数据 + + + 全部 + + + 施工质量一次合格率 + + + 应急管理数据 + + + 一般事故 + + + 隐患排查治理数据 + + + 高风险 + + + 重大事故 + + + 中风险 + + + 整改完成数 + + + 问题个数 + + + 特别重大事故 + + + 较大事故 + + + 安监人员数据 + + + 待整改 + + + 未整改数 + + + 合格 + \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/App_GlobalResources/Lan1.designer.cs b/SGGL/FineUIPro.Web/App_GlobalResources/Lan1.designer.cs index 591860a1..fd5dd46e 100644 --- a/SGGL/FineUIPro.Web/App_GlobalResources/Lan1.designer.cs +++ b/SGGL/FineUIPro.Web/App_GlobalResources/Lan1.designer.cs @@ -13,13 +13,13 @@ namespace Resources { /// - /// 强类型资源类,用于查找本地化字符串等。 + /// 一个强类型的资源类,用于查找本地化的字符串等。 /// // 此类是由 StronglyTypedResourceBuilder // 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 - // 若要添加或删除成员,请编辑 .ResX 文件,然后重新运行 ResGen + // 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // (以 /str 作为命令选项),或重新生成 Visual Studio 项目。 - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "15.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Web.Application.StronglyTypedResourceProxyBuilder", "17.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Lan { @@ -33,7 +33,7 @@ namespace Resources { } /// - /// 返回此类使用的缓存 ResourceManager 实例。 + /// 返回此类使用的缓存的 ResourceManager 实例。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Resources.ResourceManager ResourceManager { @@ -47,8 +47,8 @@ namespace Resources { } /// - /// 覆盖当前线程的 CurrentUICulture 属性 - /// 使用此强类型的资源类的资源查找。 + /// 重写当前线程的 CurrentUICulture 属性,对 + /// 使用此强类型资源类的所有资源查找执行重写。 /// [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] internal static global::System.Globalization.CultureInfo Culture { @@ -61,7 +61,16 @@ namespace Resources { } /// - /// 查找类似 实际值 的本地化字符串。 + /// 查找类似 事故事件数据 的本地化字符串。 + /// + internal static string Accident_event_data { + get { + return ResourceManager.GetString("Accident_event_data", resourceCulture); + } + } + + /// + /// 查找类似 实际值 的本地化字符串。 /// internal static string ActualValue { get { @@ -70,7 +79,16 @@ namespace Resources { } /// - /// 查找类似 高处 的本地化字符串。 + /// 查找类似 全部 的本地化字符串。 + /// + internal static string All { + get { + return ResourceManager.GetString("All", resourceCulture); + } + } + + /// + /// 查找类似 高处 的本地化字符串。 /// internal static string altitude { get { @@ -79,7 +97,7 @@ namespace Resources { } /// - /// 查找类似 审批完成 的本地化字符串。 + /// 查找类似 审批完成 的本地化字符串。 /// internal static string ApprovalCompleted { get { @@ -88,7 +106,16 @@ namespace Resources { } /// - /// 查找类似 竣工 的本地化字符串。 + /// 查找类似 材料到货 的本地化字符串。 + /// + internal static string Arrival_of_materials { + get { + return ResourceManager.GetString("Arrival_of_materials", resourceCulture); + } + } + + /// + /// 查找类似 竣工 的本地化字符串。 /// internal static string BeCompleted { get { @@ -97,7 +124,7 @@ namespace Resources { } /// - /// 查找类似 大数据中心 的本地化字符串。 + /// 查找类似 大数据中心 的本地化字符串。 /// internal static string BigDataCenter { get { @@ -106,7 +133,7 @@ namespace Resources { } /// - /// 查找类似 呼叫 的本地化字符串。 + /// 查找类似 呼叫 的本地化字符串。 /// internal static string call { get { @@ -115,7 +142,7 @@ namespace Resources { } /// - /// 查找类似 证书预警 的本地化字符串。 + /// 查找类似 证书预警 的本地化字符串。 /// internal static string CertificateWarning { get { @@ -124,7 +151,7 @@ namespace Resources { } /// - /// 查找类似 中国 的本地化字符串。 + /// 查找类似 中国 的本地化字符串。 /// internal static string China { get { @@ -133,7 +160,7 @@ namespace Resources { } /// - /// 查找类似 中文 的本地化字符串。 + /// 查找类似 中文 的本地化字符串。 /// internal static string Chinese { get { @@ -142,7 +169,7 @@ namespace Resources { } /// - /// 查找类似 土建基础交安 的本地化字符串。 + /// 查找类似 土建基础交安 的本地化字符串。 /// internal static string CivilInfrastructure { get { @@ -151,7 +178,7 @@ namespace Resources { } /// - /// 查找类似 已完成 的本地化字符串。 + /// 查找类似 已完成 的本地化字符串。 /// internal static string completed { get { @@ -160,7 +187,7 @@ namespace Resources { } /// - /// 查找类似 参建人数 的本地化字符串。 + /// 查找类似 参建人数 的本地化字符串。 /// internal static string ConPersonCount { get { @@ -169,7 +196,7 @@ namespace Resources { } /// - /// 查找类似 施工方案审批量 的本地化字符串。 + /// 查找类似 施工方案审批量 的本地化字符串。 /// internal static string ConPlanReviewBatch { get { @@ -178,7 +205,7 @@ namespace Resources { } /// - /// 查找类似 施工单位 的本地化字符串。 + /// 查找类似 施工单位 的本地化字符串。 /// internal static string ConstructionUnit { get { @@ -187,7 +214,16 @@ namespace Resources { } /// - /// 查找类似 合同到期时间 的本地化字符串。 + /// 查找类似 施工质量一次合格率 的本地化字符串。 + /// + internal static string construction_quality_pass_rate { + get { + return ResourceManager.GetString("construction_quality_pass_rate", resourceCulture); + } + } + + /// + /// 查找类似 合同到期时间 的本地化字符串。 /// internal static string ContractExpirationTime { get { @@ -196,7 +232,7 @@ namespace Resources { } /// - /// 查找类似 协调与沟通 的本地化字符串。 + /// 查找类似 协调与沟通 的本地化字符串。 /// internal static string CoordinationCommunication { get { @@ -205,7 +241,7 @@ namespace Resources { } /// - /// 查找类似 累计实际值 的本地化字符串。 + /// 查找类似 累计实际值 的本地化字符串。 /// internal static string Cumulative_actual_value { get { @@ -214,7 +250,7 @@ namespace Resources { } /// - /// 查找类似 累计计划值 的本地化字符串。 + /// 查找类似 累计计划值 的本地化字符串。 /// internal static string Cumulative_planned_value { get { @@ -223,7 +259,7 @@ namespace Resources { } /// - /// 查找类似 当前现场人数 的本地化字符串。 + /// 查找类似 当前现场人数 的本地化字符串。 /// internal static string CurrentPersonnel { get { @@ -232,7 +268,7 @@ namespace Resources { } /// - /// 查找类似 危大工程 的本地化字符串。 + /// 查找类似 危大工程 的本地化字符串。 /// internal static string DangerousProject { get { @@ -241,7 +277,7 @@ namespace Resources { } /// - /// 查找类似 隐患总数 的本地化字符串。 + /// 查找类似 隐患总数 的本地化字符串。 /// internal static string DangersCount { get { @@ -250,7 +286,25 @@ namespace Resources { } /// - /// 查找类似 员工管理 的本地化字符串。 + /// 查找类似 到期应完成 的本地化字符串。 + /// + internal static string Due_should_be_completed { + get { + return ResourceManager.GetString("Due_should_be_completed", resourceCulture); + } + } + + /// + /// 查找类似 应急管理数据 的本地化字符串。 + /// + internal static string Emergency_management_data { + get { + return ResourceManager.GetString("Emergency_management_data", resourceCulture); + } + } + + /// + /// 查找类似 员工管理 的本地化字符串。 /// internal static string EmployeeManage { get { @@ -259,7 +313,7 @@ namespace Resources { } /// - /// 查找类似 英文 的本地化字符串。 + /// 查找类似 英文 的本地化字符串。 /// internal static string English { get { @@ -268,7 +322,7 @@ namespace Resources { } /// - /// 查找类似 现场动态 的本地化字符串。 + /// 查找类似 现场动态 的本地化字符串。 /// internal static string FieldDynamics { get { @@ -277,7 +331,7 @@ namespace Resources { } /// - /// 查找类似 首台设备到货 的本地化字符串。 + /// 查找类似 首台设备到货 的本地化字符串。 /// internal static string FirstEquipmentArrived { get { @@ -286,7 +340,7 @@ namespace Resources { } /// - /// 查找类似 焊接一次合格率 的本地化字符串。 + /// 查找类似 焊接一次合格率 的本地化字符串。 /// internal static string FistPassRateWelding { get { @@ -295,7 +349,7 @@ namespace Resources { } /// - /// 查找类似 全屏 的本地化字符串。 + /// 查找类似 全屏 的本地化字符串。 /// internal static string FullScreen { get { @@ -304,7 +358,7 @@ namespace Resources { } /// - /// 查找类似 总承包商施工计划 的本地化字符串。 + /// 查找类似 总承包商施工计划 的本地化字符串。 /// internal static string GeneralConPlan { get { @@ -313,7 +367,7 @@ namespace Resources { } /// - /// 查找类似 一般风险 的本地化字符串。 + /// 查找类似 一般风险 的本地化字符串。 /// internal static string GeneralRisk { get { @@ -322,7 +376,16 @@ namespace Resources { } /// - /// 查找类似 较大风险 的本地化字符串。 + /// 查找类似 一般事故 的本地化字符串。 + /// + internal static string General_accident { + get { + return ResourceManager.GetString("General_accident", resourceCulture); + } + } + + /// + /// 查找类似 较大风险 的本地化字符串。 /// internal static string GreaterRisk { get { @@ -331,7 +394,7 @@ namespace Resources { } /// - /// 查找类似 已到货 的本地化字符串。 + /// 查找类似 已到货 的本地化字符串。 /// internal static string HaveArrived { get { @@ -340,7 +403,7 @@ namespace Resources { } /// - /// 查找类似 总部检查 的本地化字符串。 + /// 查找类似 总部检查 的本地化字符串。 /// internal static string HeadquartersInspection { get { @@ -349,7 +412,7 @@ namespace Resources { } /// - /// 查找类似 帮助 的本地化字符串。 + /// 查找类似 帮助 的本地化字符串。 /// internal static string help { get { @@ -358,7 +421,25 @@ namespace Resources { } /// - /// 查找类似 首页 的本地化字符串。 + /// 查找类似 隐患排除治理数据 的本地化字符串。 + /// + internal static string HiddenData { + get { + return ResourceManager.GetString("HiddenData", resourceCulture); + } + } + + /// + /// 查找类似 高风险 的本地化字符串。 + /// + internal static string High_risk { + get { + return ResourceManager.GetString("High_risk", resourceCulture); + } + } + + /// + /// 查找类似 首页 的本地化字符串。 /// internal static string HomePage { get { @@ -367,7 +448,7 @@ namespace Resources { } /// - /// 查找类似 安全管理 的本地化字符串。 + /// 查找类似 安全管理 的本地化字符串。 /// internal static string HSEManage { get { @@ -376,7 +457,7 @@ namespace Resources { } /// - /// 查找类似 湿度 的本地化字符串。 + /// 查找类似 湿度 的本地化字符串。 /// internal static string humidness { get { @@ -385,7 +466,7 @@ namespace Resources { } /// - /// 查找类似 综合管理 的本地化字符串。 + /// 查找类似 综合管理 的本地化字符串。 /// internal static string IntegratedManage { get { @@ -394,7 +475,7 @@ namespace Resources { } /// - /// 查找类似 关键事项与协调沟通 的本地化字符串。 + /// 查找类似 关键事项与协调沟通 的本地化字符串。 /// internal static string keyc { get { @@ -403,7 +484,16 @@ namespace Resources { } /// - /// 查找类似 在施危大工程数 的本地化字符串。 + /// 查找类似 关键事项总计 的本地化字符串。 + /// + internal static string Key_item_total { + get { + return ResourceManager.GetString("Key_item_total", resourceCulture); + } + } + + /// + /// 查找类似 在施危大工程数 的本地化字符串。 /// internal static string LargeRisk { get { @@ -412,7 +502,7 @@ namespace Resources { } /// - /// 查找类似 级 的本地化字符串。 + /// 查找类似 级 的本地化字符串。 /// internal static string Level { get { @@ -421,7 +511,7 @@ namespace Resources { } /// - /// 查找类似 吊装 的本地化字符串。 + /// 查找类似 吊装 的本地化字符串。 /// internal static string lifting { get { @@ -430,7 +520,7 @@ namespace Resources { } /// - /// 查找类似 现场视频 的本地化字符串。 + /// 查找类似 现场视频 的本地化字符串。 /// internal static string LiveVideo { get { @@ -439,7 +529,7 @@ namespace Resources { } /// - /// 查找类似 现场相册 的本地化字符串。 + /// 查找类似 现场相册 的本地化字符串。 /// internal static string Live_photo_album { get { @@ -448,7 +538,7 @@ namespace Resources { } /// - /// 查找类似 动火 的本地化字符串。 + /// 查找类似 动火 的本地化字符串。 /// internal static string LoseOneSTemper { get { @@ -457,7 +547,7 @@ namespace Resources { } /// - /// 查找类似 低风险 的本地化字符串。 + /// 查找类似 低风险 的本地化字符串。 /// internal static string LowRisk { get { @@ -466,7 +556,277 @@ namespace Resources { } /// - /// 查找类似 高空 的本地化字符串。 + /// 查找类似 已完成(个) 的本地化字符串。 + /// + internal static string mainI_completed { + get { + return ResourceManager.GetString("mainI_completed", resourceCulture); + } + } + + /// + /// 查找类似 竣工 的本地化字符串。 + /// + internal static string mainI_completedProject { + get { + return ResourceManager.GetString("mainI_completedProject", resourceCulture); + } + } + + /// + /// 查找类似 当前现场人数 的本地化字符串。 + /// + internal static string mainI_currentOnSitePersonnel { + get { + return ResourceManager.GetString("mainI_currentOnSitePersonnel", resourceCulture); + } + } + + /// + /// 查找类似 达因 的本地化字符串。 + /// + internal static string mainI_dyne { + get { + return ResourceManager.GetString("mainI_dyne", resourceCulture); + } + } + + /// + /// 查找类似 首页 的本地化字符串。 + /// + internal static string mainI_home { + get { + return ResourceManager.GetString("mainI_home", resourceCulture); + } + } + + /// + /// 查找类似 未完成(个) 的本地化字符串。 + /// + internal static string mainI_incomplete { + get { + return ResourceManager.GetString("mainI_incomplete", resourceCulture); + } + } + + /// + /// 查找类似 检测 的本地化字符串。 + /// + internal static string mainI_inspection { + get { + return ResourceManager.GetString("mainI_inspection", resourceCulture); + } + } + + /// + /// 查找类似 监控 的本地化字符串。 + /// + internal static string mainI_monitoring { + get { + return ResourceManager.GetString("mainI_monitoring", resourceCulture); + } + } + + /// + /// 查找类似 焊口数 的本地化字符串。 + /// + internal static string mainI_numberOfWelds { + get { + return ResourceManager.GetString("mainI_numberOfWelds", resourceCulture); + } + } + + /// + /// 查找类似 点口 的本地化字符串。 + /// + internal static string mainI_points { + get { + return ResourceManager.GetString("mainI_points", resourceCulture); + } + } + + /// + /// 查找类似 进度 的本地化字符串。 + /// + internal static string mainI_progress { + get { + return ResourceManager.GetString("mainI_progress", resourceCulture); + } + } + + /// + /// 查找类似 进度统计 的本地化字符串。 + /// + internal static string mainI_progressStatistics { + get { + return ResourceManager.GetString("mainI_progressStatistics", resourceCulture); + } + } + + /// + /// 查找类似 项目人员 的本地化字符串。 + /// + internal static string mainI_projectPersonnel { + get { + return ResourceManager.GetString("mainI_projectPersonnel", resourceCulture); + } + } + + /// + /// 查找类似 工地名称 的本地化字符串。 + /// + internal static string mainI_projectSiteName { + get { + return ResourceManager.GetString("mainI_projectSiteName", resourceCulture); + } + } + + /// + /// 查找类似 质量一次验收合格率 的本地化字符串。 + /// + internal static string mainI_qualityFirstAcceptancePassRate { + get { + return ResourceManager.GetString("mainI_qualityFirstAcceptancePassRate", resourceCulture); + } + } + + /// + /// 查找类似 返修 的本地化字符串。 + /// + internal static string mainI_rework { + get { + return ResourceManager.GetString("mainI_rework", resourceCulture); + } + } + + /// + /// 查找类似 安全人工时 的本地化字符串。 + /// + internal static string mainI_safeManHours { + get { + return ResourceManager.GetString("mainI_safeManHours", resourceCulture); + } + } + + /// + /// 查找类似 安全数据统计 的本地化字符串。 + /// + internal static string mainI_safetyDataStatistics { + get { + return ResourceManager.GetString("mainI_safetyDataStatistics", resourceCulture); + } + } + + /// + /// 查找类似 安全隐患整改单 的本地化字符串。 + /// + internal static string mainI_safetyHazardRectificationOrders { + get { + return ResourceManager.GetString("mainI_safetyHazardRectificationOrders", resourceCulture); + } + } + + /// + /// 查找类似 状态 的本地化字符串。 + /// + internal static string mainI_status { + get { + return ResourceManager.GetString("mainI_status", resourceCulture); + } + } + + /// + /// 查找类似 停工 的本地化字符串。 + /// + internal static string mainI_suspended { + get { + return ResourceManager.GetString("mainI_suspended", resourceCulture); + } + } + + /// + /// 查找类似 总数(个) 的本地化字符串。 + /// + internal static string mainI_total { + get { + return ResourceManager.GetString("mainI_total", resourceCulture); + } + } + + /// + /// 查找类似 管理人员总数 的本地化字符串。 + /// + internal static string mainI_totalNumberOfManagers { + get { + return ResourceManager.GetString("mainI_totalNumberOfManagers", resourceCulture); + } + } + + /// + /// 查找类似 作业人员总数 的本地化字符串。 + /// + internal static string mainI_totalNumberOfWorkers { + get { + return ResourceManager.GetString("mainI_totalNumberOfWorkers", resourceCulture); + } + } + + /// + /// 查找类似 在建 的本地化字符串。 + /// + internal static string mainI_underConstruction { + get { + return ResourceManager.GetString("mainI_underConstruction", resourceCulture); + } + } + + /// + /// 查找类似 单位:(个) 的本地化字符串。 + /// + internal static string mainI_units { + get { + return ResourceManager.GetString("mainI_units", resourceCulture); + } + } + + /// + /// 查找类似 焊接 的本地化字符串。 + /// + internal static string mainI_welding { + get { + return ResourceManager.GetString("mainI_welding", resourceCulture); + } + } + + /// + /// 查找类似 焊接一次合格率统计 的本地化字符串。 + /// + internal static string mainI_weldingFirstPassRateStatistics { + get { + return ResourceManager.GetString("mainI_weldingFirstPassRateStatistics", resourceCulture); + } + } + + /// + /// 查找类似 焊接统计 的本地化字符串。 + /// + internal static string mainI_weldingStatistics { + get { + return ResourceManager.GetString("mainI_weldingStatistics", resourceCulture); + } + } + + /// + /// 查找类似 焊口 的本地化字符串。 + /// + internal static string mainI_welds { + get { + return ResourceManager.GetString("mainI_welds", resourceCulture); + } + } + + /// + /// 查找类似 高空 的本地化字符串。 /// internal static string mainProject2_altitude { get { @@ -475,7 +835,7 @@ namespace Resources { } /// - /// 查找类似 审批完成 的本地化字符串。 + /// 查找类似 审批完成 的本地化字符串。 /// internal static string mainProject2_ApprovalCompleted { get { @@ -484,7 +844,7 @@ namespace Resources { } /// - /// 查找类似 到货量 的本地化字符串。 + /// 查找类似 到货量 的本地化字符串。 /// internal static string mainProject2_ArrivalQuantity { get { @@ -493,7 +853,7 @@ namespace Resources { } /// - /// 查找类似 已完成 的本地化字符串。 + /// 查找类似 已完成 的本地化字符串。 /// internal static string mainProject2_CompletedRectification { get { @@ -502,7 +862,7 @@ namespace Resources { } /// - /// 查找类似 已办任务 的本地化字符串。 + /// 查找类似 已办任务 的本地化字符串。 /// internal static string mainProject2_CompletedTasks { get { @@ -511,7 +871,7 @@ namespace Resources { } /// - /// 查找类似 施工方案审查批次 的本地化字符串。 + /// 查找类似 施工方案审查批次 的本地化字符串。 /// internal static string mainProject2_ConPlanReviewBatch { get { @@ -520,7 +880,7 @@ namespace Resources { } /// - /// 查找类似 合同工期 的本地化字符串。 + /// 查找类似 合同工期 的本地化字符串。 /// internal static string mainProject2_ContractDuration { get { @@ -529,7 +889,7 @@ namespace Resources { } /// - /// 查找类似 合同到期时间 的本地化字符串。 + /// 查找类似 合同到期时间 的本地化字符串。 /// internal static string mainProject2_ContractExpiryDate { get { @@ -538,7 +898,7 @@ namespace Resources { } /// - /// 查找类似 合同剩余 的本地化字符串。 + /// 查找类似 合同剩余 的本地化字符串。 /// internal static string mainProject2_ContractRemaining { get { @@ -547,7 +907,7 @@ namespace Resources { } /// - /// 查找类似 累计安全人工时 的本地化字符串。 + /// 查找类似 累计安全人工时 的本地化字符串。 /// internal static string mainProject2_CumulativeSafeWorkHours { get { @@ -556,7 +916,7 @@ namespace Resources { } /// - /// 查找类似 当前现场人数 的本地化字符串。 + /// 查找类似 当前现场人数 的本地化字符串。 /// internal static string mainProject2_CurrentOnsitePersonnel { get { @@ -565,7 +925,7 @@ namespace Resources { } /// - /// 查找类似 危险项目 的本地化字符串。 + /// 查找类似 危险项目 的本地化字符串。 /// internal static string mainProject2_DangerousProject { get { @@ -574,7 +934,7 @@ namespace Resources { } /// - /// 查找类似 设计量 的本地化字符串。 + /// 查找类似 设计量 的本地化字符串。 /// internal static string mainProject2_DesignQuantity { get { @@ -583,7 +943,7 @@ namespace Resources { } /// - /// 查找类似 设备材料 的本地化字符串。 + /// 查找类似 设备材料 的本地化字符串。 /// internal static string mainProject2_EquipmentMaterials { get { @@ -592,7 +952,7 @@ namespace Resources { } /// - /// 查找类似 全屏 的本地化字符串。 + /// 查找类似 全屏 的本地化字符串。 /// internal static string mainProject2_FullScreen { get { @@ -601,7 +961,7 @@ namespace Resources { } /// - /// 查找类似 领料量 的本地化字符串。 + /// 查找类似 领料量 的本地化字符串。 /// internal static string mainProject2_IssueQuantity { get { @@ -610,7 +970,7 @@ namespace Resources { } /// - /// 查找类似 关键事项 的本地化字符串。 + /// 查找类似 关键事项 的本地化字符串。 /// internal static string mainProject2_KeyMatters { get { @@ -619,7 +979,7 @@ namespace Resources { } /// - /// 查找类似 关键事项准点率 的本地化字符串。 + /// 查找类似 关键事项准点率 的本地化字符串。 /// internal static string mainProject2_KeyMattersTimelinessRate { get { @@ -628,7 +988,7 @@ namespace Resources { } /// - /// 查找类似 一级高温 的本地化字符串。 + /// 查找类似 一级高温 的本地化字符串。 /// internal static string mainProject2_LoseOneSTemper { get { @@ -637,7 +997,7 @@ namespace Resources { } /// - /// 查找类似 材料类别 的本地化字符串。 + /// 查找类似 材料类别 的本地化字符串。 /// internal static string mainProject2_MaterialCategory { get { @@ -646,7 +1006,7 @@ namespace Resources { } /// - /// 查找类似 材料统计 的本地化字符串。 + /// 查找类似 材料统计 的本地化字符串。 /// internal static string mainProject2_MaterialLabel { get { @@ -655,7 +1015,7 @@ namespace Resources { } /// - /// 查找类似 材料统计 的本地化字符串。 + /// 查找类似 材料统计 的本地化字符串。 /// internal static string mainProject2_MaterialStatistics { get { @@ -664,7 +1024,7 @@ namespace Resources { } /// - /// 查找类似 机械预警 的本地化字符串。 + /// 查找类似 机械预警 的本地化字符串。 /// internal static string mainProject2_MechanicalWarning { get { @@ -673,7 +1033,7 @@ namespace Resources { } /// - /// 查找类似 未遂事件 的本地化字符串。 + /// 查找类似 未遂事件 的本地化字符串。 /// internal static string mainProject2_NearMissIncidents { get { @@ -682,7 +1042,7 @@ namespace Resources { } /// - /// 查找类似 完工人数 的本地化字符串。 + /// 查找类似 完工人数 的本地化字符串。 /// internal static string mainProject2_NumberOfCompletions { get { @@ -691,7 +1051,7 @@ namespace Resources { } /// - /// 查找类似 施工人数 的本地化字符串。 + /// 查找类似 施工人数 的本地化字符串。 /// internal static string mainProject2_NumberOfConstructions { get { @@ -700,7 +1060,7 @@ namespace Resources { } /// - /// 查找类似 培训人数 的本地化字符串。 + /// 查找类似 培训人数 的本地化字符串。 /// internal static string mainProject2_NumberOfTrainees { get { @@ -709,7 +1069,7 @@ namespace Resources { } /// - /// 查找类似 打开代办 的本地化字符串。 + /// 查找类似 打开代办 的本地化字符串。 /// internal static string mainProject2_OpenPendingTasks { get { @@ -718,7 +1078,7 @@ namespace Resources { } /// - /// 查找类似 其他 的本地化字符串。 + /// 查找类似 其他 的本地化字符串。 /// internal static string mainProject2_other { get { @@ -727,7 +1087,7 @@ namespace Resources { } /// - /// 查找类似 待办事项 的本地化字符串。 + /// 查找类似 待办事项 的本地化字符串。 /// internal static string mainProject2_PendingMatters { get { @@ -736,7 +1096,7 @@ namespace Resources { } /// - /// 查找类似 百分比 的本地化字符串。 + /// 查找类似 百分比 的本地化字符串。 /// internal static string mainProject2_Percentage { get { @@ -745,7 +1105,7 @@ namespace Resources { } /// - /// 查找类似 个人流程 的本地化字符串。 + /// 查找类似 个人流程 的本地化字符串。 /// internal static string mainProject2_PersonalProcess { get { @@ -754,7 +1114,7 @@ namespace Resources { } /// - /// 查找类似 人员信息 的本地化字符串。 + /// 查找类似 人员信息 的本地化字符串。 /// internal static string mainProject2_PersonnelInformation { get { @@ -763,7 +1123,7 @@ namespace Resources { } /// - /// 查找类似 人员信息 的本地化字符串。 + /// 查找类似 人员信息 的本地化字符串。 /// internal static string mainProject2_PersonnelLabel { get { @@ -772,7 +1132,7 @@ namespace Resources { } /// - /// 查找类似 管道材料 的本地化字符串。 + /// 查找类似 管道材料 的本地化字符串。 /// internal static string mainProject2_PipeMaterials { get { @@ -781,7 +1141,7 @@ namespace Resources { } /// - /// 查找类似 进度统计 的本地化字符串。 + /// 查找类似 进度统计 的本地化字符串。 /// internal static string mainProject2_ProgressStatistics { get { @@ -790,7 +1150,7 @@ namespace Resources { } /// - /// 查找类似 采购量 的本地化字符串。 + /// 查找类似 采购量 的本地化字符串。 /// internal static string mainProject2_PurchaseQuantity { get { @@ -799,7 +1159,7 @@ namespace Resources { } /// - /// 查找类似 质量概况 的本地化字符串。 + /// 查找类似 质量概况 的本地化字符串。 /// internal static string mainProject2_QualityProfile { get { @@ -808,7 +1168,7 @@ namespace Resources { } /// - /// 查找类似 质量培训 的本地化字符串。 + /// 查找类似 质量培训 的本地化字符串。 /// internal static string mainProject2_QualityTraining { get { @@ -817,7 +1177,7 @@ namespace Resources { } /// - /// 查找类似 质量安全预警 的本地化字符串。 + /// 查找类似 质量安全预警 的本地化字符串。 /// internal static string mainProject2_Quawarning { get { @@ -826,7 +1186,7 @@ namespace Resources { } /// - /// 查找类似 整改率 的本地化字符串。 + /// 查找类似 整改率 的本地化字符串。 /// internal static string mainProject2_RectificationRate { get { @@ -835,7 +1195,7 @@ namespace Resources { } /// - /// 查找类似 风险预警 的本地化字符串。 + /// 查找类似 风险预警 的本地化字符串。 /// internal static string mainProject2_RiskEarlyWarning { get { @@ -844,7 +1204,7 @@ namespace Resources { } /// - /// 查找类似 安全管理人员 的本地化字符串。 + /// 查找类似 安全管理人员 的本地化字符串。 /// internal static string mainProject2_SafeManagementPersonnel { get { @@ -853,7 +1213,7 @@ namespace Resources { } /// - /// 查找类似 本月安全人工时 的本地化字符串。 + /// 查找类似 本月安全人工时 的本地化字符串。 /// internal static string mainProject2_SafeWorkHoursThisMonth { get { @@ -862,7 +1222,7 @@ namespace Resources { } /// - /// 查找类似 超危险项目 的本地化字符串。 + /// 查找类似 超危险项目 的本地化字符串。 /// internal static string mainProject2_SuperDangerousProject { get { @@ -871,7 +1231,7 @@ namespace Resources { } /// - /// 查找类似 项目级首页(新) 的本地化字符串。 + /// 查找类似 项目级首页(新) 的本地化字符串。 /// internal static string mainProject2_title { get { @@ -880,7 +1240,7 @@ namespace Resources { } /// - /// 查找类似 管理人员总数 的本地化字符串。 + /// 查找类似 管理人员总数 的本地化字符串。 /// internal static string mainProject2_TotalManagers { get { @@ -889,7 +1249,7 @@ namespace Resources { } /// - /// 查找类似 总数 的本地化字符串。 + /// 查找类似 总数 的本地化字符串。 /// internal static string mainProject2_TotalRectificationData { get { @@ -898,7 +1258,7 @@ namespace Resources { } /// - /// 查找类似 安全培训累计人员 的本地化字符串。 + /// 查找类似 安全培训累计人员 的本地化字符串。 /// internal static string mainProject2_TotalSafeTrainingPersonnel { get { @@ -907,7 +1267,7 @@ namespace Resources { } /// - /// 查找类似 作业人员总数 的本地化字符串。 + /// 查找类似 作业人员总数 的本地化字符串。 /// internal static string mainProject2_TotalWorkers { get { @@ -916,7 +1276,7 @@ namespace Resources { } /// - /// 查找类似 未完成 的本地化字符串。 + /// 查找类似 未完成 的本地化字符串。 /// internal static string mainProject2_UncompletedRectification { get { @@ -925,7 +1285,7 @@ namespace Resources { } /// - /// 查找类似 工作台面 的本地化字符串。 + /// 查找类似 工作台面 的本地化字符串。 /// internal static string mainProject2_Workbench { get { @@ -934,7 +1294,7 @@ namespace Resources { } /// - /// 查找类似 工作台面 的本地化字符串。 + /// 查找类似 工作台面 的本地化字符串。 /// internal static string mainProject2_WorkbenchLabel { get { @@ -943,7 +1303,7 @@ namespace Resources { } /// - /// 查找类似 工作许可 的本地化字符串。 + /// 查找类似 工作许可 的本地化字符串。 /// internal static string mainProject2_WorkPermit { get { @@ -952,7 +1312,1051 @@ namespace Resources { } /// - /// 查找类似 重大风险 的本地化字符串。 + /// 查找类似 事故事件数据 的本地化字符串。 + /// + internal static string main_new0_AccidentEventData_Label { + get { + return ResourceManager.GetString("main_new0_AccidentEventData_Label", resourceCulture); + } + } + + /// + /// 查找类似 未遂事件 的本地化字符串。 + /// + internal static string main_new0_AccidentEventData_NearMiss { + get { + return ResourceManager.GetString("main_new0_AccidentEventData_NearMiss", resourceCulture); + } + } + + /// + /// 查找类似 可记录 的本地化字符串。 + /// + internal static string main_new0_AccidentEventData_RecordableEvent { + get { + return ResourceManager.GetString("main_new0_AccidentEventData_RecordableEvent", resourceCulture); + } + } + + /// + /// 查找类似 在建项目 的本地化字符串。 + /// + internal static string main_new0_BeUnderConstructionNum_Label { + get { + return ResourceManager.GetString("main_new0_BeUnderConstructionNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 总监 的本地化字符串。 + /// + internal static string main_new0_Branch_Director { + get { + return ResourceManager.GetString("main_new0_Branch_Director", resourceCulture); + } + } + + /// + /// 查找类似 专职 的本地化字符串。 + /// + internal static string main_new0_Branch_FullTime { + get { + return ResourceManager.GetString("main_new0_Branch_FullTime", resourceCulture); + } + } + + /// + /// 查找类似 分支机构 的本地化字符串。 + /// + internal static string main_new0_Branch_Label { + get { + return ResourceManager.GetString("main_new0_Branch_Label", resourceCulture); + } + } + + /// + /// 查找类似 企业安委会 的本地化字符串。 + /// + internal static string main_new0_CompanySafetyCommittee { + get { + return ResourceManager.GetString("main_new0_CompanySafetyCommittee", resourceCulture); + } + } + + /// + /// 查找类似 企业专题 的本地化字符串。 + /// + internal static string main_new0_CompanySpecialTopic { + get { + return ResourceManager.GetString("main_new0_CompanySpecialTopic", resourceCulture); + } + } + + /// + /// 查找类似 在用 的本地化字符串。 + /// + internal static string main_new0_ConstructionEquipment_InUse { + get { + return ResourceManager.GetString("main_new0_ConstructionEquipment_InUse", resourceCulture); + } + } + + /// + /// 查找类似 施工机具设备数据 的本地化字符串。 + /// + internal static string main_new0_ConstructionEquipment_Label { + get { + return ResourceManager.GetString("main_new0_ConstructionEquipment_Label", resourceCulture); + } + } + + /// + /// 查找类似 特种设备 的本地化字符串。 + /// + internal static string main_new0_ConstructionEquipment_SpecialEquipment { + get { + return ResourceManager.GetString("main_new0_ConstructionEquipment_SpecialEquipment", resourceCulture); + } + } + + /// + /// 查找类似 综合预案 的本地化字符串。 + /// + internal static string main_new0_EmergencyManagementData_ComprehensivePlan { + get { + return ResourceManager.GetString("main_new0_EmergencyManagementData_ComprehensivePlan", resourceCulture); + } + } + + /// + /// 查找类似 演练次数 的本地化字符串。 + /// + internal static string main_new0_EmergencyManagementData_DrillNum { + get { + return ResourceManager.GetString("main_new0_EmergencyManagementData_DrillNum", resourceCulture); + } + } + + /// + /// 查找类似 应急管理数据 的本地化字符串。 + /// + internal static string main_new0_EmergencyManagementData_Label { + get { + return ResourceManager.GetString("main_new0_EmergencyManagementData_Label", resourceCulture); + } + } + + /// + /// 查找类似 现场处置预案 的本地化字符串。 + /// + internal static string main_new0_EmergencyManagementData_OnSiteDisposalPlan { + get { + return ResourceManager.GetString("main_new0_EmergencyManagementData_OnSiteDisposalPlan", resourceCulture); + } + } + + /// + /// 查找类似 专项预案 的本地化字符串。 + /// + internal static string main_new0_EmergencyManagementData_SpecialPlan { + get { + return ResourceManager.GetString("main_new0_EmergencyManagementData_SpecialPlan", resourceCulture); + } + } + + /// + /// 查找类似 总监 的本地化字符串。 + /// + internal static string main_new0_HeadOfficeNum_Director { + get { + return ResourceManager.GetString("main_new0_HeadOfficeNum_Director", resourceCulture); + } + } + + /// + /// 查找类似 专职 的本地化字符串。 + /// + internal static string main_new0_HeadOfficeNum_FullTime { + get { + return ResourceManager.GetString("main_new0_HeadOfficeNum_FullTime", resourceCulture); + } + } + + /// + /// 查找类似 企业总部人数 的本地化字符串。 + /// + internal static string main_new0_HeadOfficeNum_Label { + get { + return ResourceManager.GetString("main_new0_HeadOfficeNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 整改闭环项 的本地化字符串。 + /// + internal static string main_new0_HiddenHazardInspectionData_ClosedItems { + get { + return ResourceManager.GetString("main_new0_HiddenHazardInspectionData_ClosedItems", resourceCulture); + } + } + + /// + /// 查找类似 一般隐患 的本地化字符串。 + /// + internal static string main_new0_HiddenHazardInspectionData_GeneralHiddenHazard { + get { + return ResourceManager.GetString("main_new0_HiddenHazardInspectionData_GeneralHiddenHazard", resourceCulture); + } + } + + /// + /// 查找类似 隐患排查治理数据 的本地化字符串。 + /// + internal static string main_new0_HiddenHazardInspectionData_Label { + get { + return ResourceManager.GetString("main_new0_HiddenHazardInspectionData_Label", resourceCulture); + } + } + + /// + /// 查找类似 重大隐患 的本地化字符串。 + /// + internal static string main_new0_HiddenHazardInspectionData_MajorHiddenHazard { + get { + return ResourceManager.GetString("main_new0_HiddenHazardInspectionData_MajorHiddenHazard", resourceCulture); + } + } + + /// + /// 查找类似 未整改完成项 的本地化字符串。 + /// + internal static string main_new0_HiddenHazardInspectionData_UnfinishedItems { + get { + return ResourceManager.GetString("main_new0_HiddenHazardInspectionData_UnfinishedItems", resourceCulture); + } + } + + /// + /// 查找类似 关闭项 的本地化字符串。 + /// + internal static string main_new0_HighRiskWorkPermit_ClosedItems { + get { + return ResourceManager.GetString("main_new0_HighRiskWorkPermit_ClosedItems", resourceCulture); + } + } + + /// + /// 查找类似 许可项 的本地化字符串。 + /// + internal static string main_new0_HighRiskWorkPermit_Items { + get { + return ResourceManager.GetString("main_new0_HighRiskWorkPermit_Items", resourceCulture); + } + } + + /// + /// 查找类似 高风险作业许可数据 的本地化字符串。 + /// + internal static string main_new0_HighRiskWorkPermit_Label { + get { + return ResourceManager.GetString("main_new0_HighRiskWorkPermit_Label", resourceCulture); + } + } + + /// + /// 查找类似 审批完成 的本地化字符串。 + /// + internal static string main_new0_LargeEngineeringData_CompletedItems { + get { + return ResourceManager.GetString("main_new0_LargeEngineeringData_CompletedItems", resourceCulture); + } + } + + /// + /// 查找类似 施工个数 的本地化字符串。 + /// + internal static string main_new0_LargeEngineeringData_ConstructionNum { + get { + return ResourceManager.GetString("main_new0_LargeEngineeringData_ConstructionNum", resourceCulture); + } + } + + /// + /// 查找类似 完工个数 的本地化字符串。 + /// + internal static string main_new0_LargeEngineeringData_FinishedNum { + get { + return ResourceManager.GetString("main_new0_LargeEngineeringData_FinishedNum", resourceCulture); + } + } + + /// + /// 查找类似 应急管理数据 的本地化字符串。 + /// + internal static string main_new0_LargeEngineeringData_Label { + get { + return ResourceManager.GetString("main_new0_LargeEngineeringData_Label", resourceCulture); + } + } + + /// + /// 查找类似 危大工程 的本地化字符串。 + /// + internal static string main_new0_LargeEngineeringData_LargeEngineering { + get { + return ResourceManager.GetString("main_new0_LargeEngineeringData_LargeEngineering", resourceCulture); + } + } + + /// + /// 查找类似 超危大工程 的本地化字符串。 + /// + internal static string main_new0_LargeEngineeringData_SuperLargeEngineering { + get { + return ResourceManager.GetString("main_new0_LargeEngineeringData_SuperLargeEngineering", resourceCulture); + } + } + + /// + /// 查找类似 培训人次数 的本地化字符串。 + /// + internal static string main_new0_LargeEngineeringData_TrainingPersonNum { + get { + return ResourceManager.GetString("main_new0_LargeEngineeringData_TrainingPersonNum", resourceCulture); + } + } + + /// + /// 查找类似 在施危大工程 的本地化字符串。 + /// + internal static string main_new0_MajorProjectsUnderConstructionNum_Label { + get { + return ResourceManager.GetString("main_new0_MajorProjectsUnderConstructionNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 总监 的本地化字符串。 + /// + internal static string main_new0_ProjectNum_Director { + get { + return ResourceManager.GetString("main_new0_ProjectNum_Director", resourceCulture); + } + } + + /// + /// 查找类似 专职 的本地化字符串。 + /// + internal static string main_new0_ProjectNum_FullTime { + get { + return ResourceManager.GetString("main_new0_ProjectNum_FullTime", resourceCulture); + } + } + + /// + /// 查找类似 项目人数 的本地化字符串。 + /// + internal static string main_new0_ProjectNum_Label { + get { + return ResourceManager.GetString("main_new0_ProjectNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 参建人数 的本地化字符串。 + /// + internal static string main_new0_ProjectNum_Participants { + get { + return ResourceManager.GetString("main_new0_ProjectNum_Participants", resourceCulture); + } + } + + /// + /// 查找类似 项目安全领导小组 的本地化字符串。 + /// + internal static string main_new0_ProjectSafetyLeadershipGroup { + get { + return ResourceManager.GetString("main_new0_ProjectSafetyLeadershipGroup", resourceCulture); + } + } + + /// + /// 查找类似 项目安全例会 的本地化字符串。 + /// + internal static string main_new0_ProjectSafetyMeeting { + get { + return ResourceManager.GetString("main_new0_ProjectSafetyMeeting", resourceCulture); + } + } + + /// + /// 查找类似 风险数据分析 的本地化字符串。 + /// + internal static string main_new0_RiskAnalysisData_Label { + get { + return ResourceManager.GetString("main_new0_RiskAnalysisData_Label", resourceCulture); + } + } + + /// + /// 查找类似 费用提取(万元) 的本地化字符串。 + /// + internal static string main_new0_SafeCost_Extraction { + get { + return ResourceManager.GetString("main_new0_SafeCost_Extraction", resourceCulture); + } + } + + /// + /// 查找类似 安全费用数据 的本地化字符串。 + /// + internal static string main_new0_SafeCost_Label { + get { + return ResourceManager.GetString("main_new0_SafeCost_Label", resourceCulture); + } + } + + /// + /// 查找类似 费用使用 的本地化字符串。 + /// + internal static string main_new0_SafeCost_Usage { + get { + return ResourceManager.GetString("main_new0_SafeCost_Usage", resourceCulture); + } + } + + /// + /// 查找类似 注安师 的本地化字符串。 + /// + internal static string main_new0_SafetyInjectionEngineer_Label { + get { + return ResourceManager.GetString("main_new0_SafetyInjectionEngineer_Label", resourceCulture); + } + } + + /// + /// 查找类似 总数 的本地化字符串。 + /// + internal static string main_new0_SafetyInjectionEngineer_Total { + get { + return ResourceManager.GetString("main_new0_SafetyInjectionEngineer_Total", resourceCulture); + } + } + + /// + /// 查找类似 安全会议数据 的本地化字符串。 + /// + internal static string main_new0_SafetyMeetingData_Label { + get { + return ResourceManager.GetString("main_new0_SafetyMeetingData_Label", resourceCulture); + } + } + + /// + /// 查找类似 安全监督检查数据 的本地化字符串。 + /// + internal static string main_new0_SafetySupervisionAndInspectionData_Label { + get { + return ResourceManager.GetString("main_new0_SafetySupervisionAndInspectionData_Label", resourceCulture); + } + } + + /// + /// 查找类似 安全教育培训人次数数据 的本地化字符串。 + /// + internal static string main_new0_SafetyTrainingData_Label { + get { + return ResourceManager.GetString("main_new0_SafetyTrainingData_Label", resourceCulture); + } + } + + /// + /// 查找类似 三级安全教育培训 的本地化字符串。 + /// + internal static string main_new0_SafetyTrainingData_LevelThreeTraining { + get { + return ResourceManager.GetString("main_new0_SafetyTrainingData_LevelThreeTraining", resourceCulture); + } + } + + /// + /// 查找类似 特种作业培训 的本地化字符串。 + /// + internal static string main_new0_SafetyTrainingData_SpecialOperationTraining { + get { + return ResourceManager.GetString("main_new0_SafetyTrainingData_SpecialOperationTraining", resourceCulture); + } + } + + /// + /// 查找类似 专项培训 的本地化字符串。 + /// + internal static string main_new0_SafetyTrainingData_SpecialTraining { + get { + return ResourceManager.GetString("main_new0_SafetyTrainingData_SpecialTraining", resourceCulture); + } + } + + /// + /// 查找类似 停工项目 的本地化字符串。 + /// + internal static string main_new0_ShutdownNum_Label { + get { + return ResourceManager.GetString("main_new0_ShutdownNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 安全生产 的本地化字符串。 + /// + internal static string main_new0_Title { + get { + return ResourceManager.GetString("main_new0_Title", resourceCulture); + } + } + + /// + /// 查找类似 实时视频:线路1 的本地化字符串。 + /// + internal static string main_new0_Video_RealTimeVideo { + get { + return ResourceManager.GetString("main_new0_Video_RealTimeVideo", resourceCulture); + } + } + + /// + /// 查找类似 安全云监控 的本地化字符串。 + /// + internal static string main_new0_Video_Title { + get { + return ResourceManager.GetString("main_new0_Video_Title", resourceCulture); + } + } + + /// + /// 查找类似 安全工时 的本地化字符串。 + /// + internal static string main_new0_WorkingHourData_Label { + get { + return ResourceManager.GetString("main_new0_WorkingHourData_Label", resourceCulture); + } + } + + /// + /// 查找类似 完成达因数 的本地化字符串。 + /// + internal static string main_new1_HjData_CompleteDineNum_Label { + get { + return ResourceManager.GetString("main_new1_HjData_CompleteDineNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 拍片总数 的本地化字符串。 + /// + internal static string main_new1_HjData_HjallNumber_Label { + get { + return ResourceManager.GetString("main_new1_HjData_HjallNumber_Label", resourceCulture); + } + } + + /// + /// 查找类似 合格片数 的本地化字符串。 + /// + internal static string main_new1_HjData_HjfinishNumber_Label { + get { + return ResourceManager.GetString("main_new1_HjData_HjfinishNumber_Label", resourceCulture); + } + } + + /// + /// 查找类似 一次拍片合格率 的本地化字符串。 + /// + internal static string main_new1_HjData_Hjzgl_Label { + get { + return ResourceManager.GetString("main_new1_HjData_Hjzgl_Label", resourceCulture); + } + } + + /// + /// 查找类似 焊接数据 的本地化字符串。 + /// + internal static string main_new1_HjData_Label { + get { + return ResourceManager.GetString("main_new1_HjData_Label", resourceCulture); + } + } + + /// + /// 查找类似 总达因数 的本地化字符串。 + /// + internal static string main_new1_HjData_TotalDineNum_Label { + get { + return ResourceManager.GetString("main_new1_HjData_TotalDineNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 焊工总数 的本地化字符串。 + /// + internal static string main_new1_HjData_WelderNum_Label { + get { + return ResourceManager.GetString("main_new1_HjData_WelderNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 分支机构人数 的本地化字符串。 + /// + internal static string main_new1_ManagerData_BranchPersonNum_Label { + get { + return ResourceManager.GetString("main_new1_ManagerData_BranchPersonNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 企业总部人数 的本地化字符串。 + /// + internal static string main_new1_ManagerData_CompanyPersonNum_Label { + get { + return ResourceManager.GetString("main_new1_ManagerData_CompanyPersonNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 质量管理人员数据 的本地化字符串。 + /// + internal static string main_new1_ManagerData_Label { + get { + return ResourceManager.GetString("main_new1_ManagerData_Label", resourceCulture); + } + } + + /// + /// 查找类似 项目部人数 的本地化字符串。 + /// + internal static string main_new1_ManagerData_ProjectPersonNum_Label { + get { + return ResourceManager.GetString("main_new1_ManagerData_ProjectPersonNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 机械预警 的本地化字符串。 + /// + internal static string main_new1_MeasuringInstrumentsData_JxyjNum_Label { + get { + return ResourceManager.GetString("main_new1_MeasuringInstrumentsData_JxyjNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 计量器具数据 的本地化字符串。 + /// + internal static string main_new1_MeasuringInstrumentsData_Label { + get { + return ResourceManager.GetString("main_new1_MeasuringInstrumentsData_Label", resourceCulture); + } + } + + /// + /// 查找类似 校准合格 的本地化字符串。 + /// + internal static string main_new1_MeasuringInstrumentsData_OKNum_Label { + get { + return ResourceManager.GetString("main_new1_MeasuringInstrumentsData_OKNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 资质预警 的本地化字符串。 + /// + internal static string main_new1_MeasuringInstrumentsData_QualityChartAnalysis_Label { + get { + return ResourceManager.GetString("main_new1_MeasuringInstrumentsData_QualityChartAnalysis_Label", resourceCulture); + } + } + + /// + /// 查找类似 在用计量器具 的本地化字符串。 + /// + internal static string main_new1_MeasuringInstrumentsData_UseNum_Label { + get { + return ResourceManager.GetString("main_new1_MeasuringInstrumentsData_UseNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 NCR数据 的本地化字符串。 + /// + internal static string main_new1_NCRData_Label { + get { + return ResourceManager.GetString("main_new1_NCRData_Label", resourceCulture); + } + } + + /// + /// 查找类似 未整改完成项 的本地化字符串。 + /// + internal static string main_new1_NCRData_NcrwZgbhx_Label { + get { + return ResourceManager.GetString("main_new1_NCRData_NcrwZgbhx_Label", resourceCulture); + } + } + + /// + /// 查找类似 整改闭环项 的本地化字符串。 + /// + internal static string main_new1_NCRData_NcrZgbhx_Label { + get { + return ResourceManager.GetString("main_new1_NCRData_NcrZgbhx_Label", resourceCulture); + } + } + + /// + /// 查找类似 整改率 的本地化字符串。 + /// + internal static string main_new1_NCRData_NcrZgl_Label { + get { + return ResourceManager.GetString("main_new1_NCRData_NcrZgl_Label", resourceCulture); + } + } + + /// + /// 查找类似 共检总数 的本地化字符串。 + /// + internal static string main_new1_QualityInspection_AllInspectionManagement_Label { + get { + return ResourceManager.GetString("main_new1_QualityInspection_AllInspectionManagement_Label", resourceCulture); + } + } + + /// + /// 查找类似 施工质量一次共检合格率 的本地化字符串。 + /// + internal static string main_new1_QualityInspection_InspectionManagementZgl_Label { + get { + return ResourceManager.GetString("main_new1_QualityInspection_InspectionManagementZgl_Label", resourceCulture); + } + } + + /// + /// 查找类似 一次合格数量 的本地化字符串。 + /// + internal static string main_new1_QualityInspection_IsOnceInspectionManagement_Label { + get { + return ResourceManager.GetString("main_new1_QualityInspection_IsOnceInspectionManagement_Label", resourceCulture); + } + } + + /// + /// 查找类似 质量验收数据 的本地化字符串。 + /// + internal static string main_new1_QualityInspection_Label { + get { + return ResourceManager.GetString("main_new1_QualityInspection_Label", resourceCulture); + } + } + + /// + /// 查找类似 质量巡检问题治理数据 的本地化字符串。 + /// + internal static string main_new1_QualityProblem_Label { + get { + return ResourceManager.GetString("main_new1_QualityProblem_Label", resourceCulture); + } + } + + /// + /// 查找类似 整改闭环项 的本地化字符串。 + /// + internal static string main_new1_QualityProblem_ProblemCompletedNum_Label { + get { + return ResourceManager.GetString("main_new1_QualityProblem_ProblemCompletedNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 未整改完成项 的本地化字符串。 + /// + internal static string main_new1_QualityProblem_ProblemNotCompletedNum_Label { + get { + return ResourceManager.GetString("main_new1_QualityProblem_ProblemNotCompletedNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 整改率 的本地化字符串。 + /// + internal static string main_new1_QualityProblem_ProblemZgl_Label { + get { + return ResourceManager.GetString("main_new1_QualityProblem_ProblemZgl_Label", resourceCulture); + } + } + + /// + /// 查找类似 质量培训数据 的本地化字符串。 + /// + internal static string main_new1_QualityTrainingData_Label { + get { + return ResourceManager.GetString("main_new1_QualityTrainingData_Label", resourceCulture); + } + } + + /// + /// 查找类似 技术交底人次数 的本地化字符串。 + /// + internal static string main_new1_QualityTrainingData_TechnicalDisclosePersonNum_Label { + get { + return ResourceManager.GetString("main_new1_QualityTrainingData_TechnicalDisclosePersonNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 质量培训人次数 的本地化字符串。 + /// + internal static string main_new1_QualityTrainingData_TrainPersonNum_Label { + get { + return ResourceManager.GetString("main_new1_QualityTrainingData_TrainPersonNum_Label", resourceCulture); + } + } + + /// + /// 查找类似 质量管理 的本地化字符串。 + /// + internal static string main_new1_Title { + get { + return ResourceManager.GetString("main_new1_Title", resourceCulture); + } + } + + /// + /// 查找类似 紧固件 的本地化字符串。 + /// + internal static string main_new_bolt { + get { + return ResourceManager.GetString("main_new_bolt", resourceCulture); + } + } + + /// + /// 查找类似 完成 的本地化字符串。 + /// + internal static string main_new_completed { + get { + return ResourceManager.GetString("main_new_completed", resourceCulture); + } + } + + /// + /// 查找类似 设备材料 的本地化字符串。 + /// + internal static string main_new_equipmentMaterials { + get { + return ResourceManager.GetString("main_new_equipmentMaterials", resourceCulture); + } + } + + /// + /// 查找类似 一次共检合格率 的本地化字符串。 + /// + internal static string main_new_firstInspectionPassRate { + get { + return ResourceManager.GetString("main_new_firstInspectionPassRate", resourceCulture); + } + } + + /// + /// 查找类似 垫片 的本地化字符串。 + /// + internal static string main_new_gasket { + get { + return ResourceManager.GetString("main_new_gasket", resourceCulture); + } + } + + /// + /// 查找类似 未遂事件 的本地化字符串。 + /// + internal static string main_new_nearMissEvents { + get { + return ResourceManager.GetString("main_new_nearMissEvents", resourceCulture); + } + } + + /// + /// 查找类似 在建项目 的本地化字符串。 + /// + internal static string main_new_ongoingProjects { + get { + return ResourceManager.GetString("main_new_ongoingProjects", resourceCulture); + } + } + + /// + /// 查找类似 未完成 的本地化字符串。 + /// + internal static string main_new_overdue { + get { + return ResourceManager.GetString("main_new_overdue", resourceCulture); + } + } + + /// + /// 查找类似 管子 的本地化字符串。 + /// + internal static string main_new_pipe { + get { + return ResourceManager.GetString("main_new_pipe", resourceCulture); + } + } + + /// + /// 查找类似 管件 的本地化字符串。 + /// + internal static string main_new_pipeFitting { + get { + return ResourceManager.GetString("main_new_pipeFitting", resourceCulture); + } + } + + /// + /// 查找类似 进度 的本地化字符串。 + /// + internal static string main_new_progress { + get { + return ResourceManager.GetString("main_new_progress", resourceCulture); + } + } + + /// + /// 查找类似 项目 的本地化字符串。 + /// + internal static string main_new_project { + get { + return ResourceManager.GetString("main_new_project", resourceCulture); + } + } + + /// + /// 查找类似 项目详情 的本地化字符串。 + /// + internal static string main_new_projectDetails { + get { + return ResourceManager.GetString("main_new_projectDetails", resourceCulture); + } + } + + /// + /// 查找类似 项目 的本地化字符串。 + /// + internal static string main_new_projects { + get { + return ResourceManager.GetString("main_new_projects", resourceCulture); + } + } + + /// + /// 查找类似 质量问题整改率 的本地化字符串。 + /// + internal static string main_new_qualityIssuesRectificationRate { + get { + return ResourceManager.GetString("main_new_qualityIssuesRectificationRate", resourceCulture); + } + } + + /// + /// 查找类似 质量管理人员 的本地化字符串。 + /// + internal static string main_new_qualityManagementPersonnel { + get { + return ResourceManager.GetString("main_new_qualityManagementPersonnel", resourceCulture); + } + } + + /// + /// 查找类似 质量概况 的本地化字符串。 + /// + internal static string main_new_qualityOverview { + get { + return ResourceManager.GetString("main_new_qualityOverview", resourceCulture); + } + } + + /// + /// 查找类似 质量培训累计人员 的本地化字符串。 + /// + internal static string main_new_qualityTrainingCumulativePersonnel { + get { + return ResourceManager.GetString("main_new_qualityTrainingCumulativePersonnel", resourceCulture); + } + } + + /// + /// 查找类似 整改率 的本地化字符串。 + /// + internal static string main_new_rectificationRate { + get { + return ResourceManager.GetString("main_new_rectificationRate", resourceCulture); + } + } + + /// + /// 查找类似 剩余天数 的本地化字符串。 + /// + internal static string main_new_remainingDays { + get { + return ResourceManager.GetString("main_new_remainingDays", resourceCulture); + } + } + + /// + /// 查找类似 安全培训累计人员 的本地化字符串。 + /// + internal static string main_new_safeTrainingCumulativePersonnel { + get { + return ResourceManager.GetString("main_new_safeTrainingCumulativePersonnel", resourceCulture); + } + } + + /// + /// 查找类似 安全管理人员 的本地化字符串。 + /// + internal static string main_new_safetyManagementPersonnel { + get { + return ResourceManager.GetString("main_new_safetyManagementPersonnel", resourceCulture); + } + } + + /// + /// 查找类似 总计 的本地化字符串。 + /// + internal static string main_new_total { + get { + return ResourceManager.GetString("main_new_total", resourceCulture); + } + } + + /// + /// 查找类似 阀门 的本地化字符串。 + /// + internal static string main_new_valve { + get { + return ResourceManager.GetString("main_new_valve", resourceCulture); + } + } + + /// + /// 查找类似 焊接一次合格率 的本地化字符串。 + /// + internal static string main_new_weldingFirstPassRate { + get { + return ResourceManager.GetString("main_new_weldingFirstPassRate", resourceCulture); + } + } + + /// + /// 查找类似 重大风险 的本地化字符串。 /// internal static string MajorRisk { get { @@ -961,7 +2365,16 @@ namespace Resources { } /// - /// 查找类似 管理人员总数 的本地化字符串。 + /// 查找类似 重大事故 的本地化字符串。 + /// + internal static string Major_accident { + get { + return ResourceManager.GetString("Major_accident", resourceCulture); + } + } + + /// + /// 查找类似 管理人员总数 的本地化字符串。 /// internal static string managersCount { get { @@ -970,7 +2383,7 @@ namespace Resources { } /// - /// 查找类似 材料管理 的本地化字符串。 + /// 查找类似 材料管理 的本地化字符串。 /// internal static string MaterialManagement { get { @@ -979,7 +2392,7 @@ namespace Resources { } /// - /// 查找类似 已领料 的本地化字符串。 + /// 查找类似 已领料 的本地化字符串。 /// internal static string MaterialReceived { get { @@ -988,7 +2401,7 @@ namespace Resources { } /// - /// 查找类似 最大化 的本地化字符串。 + /// 查找类似 最大化 的本地化字符串。 /// internal static string maximize { get { @@ -997,7 +2410,7 @@ namespace Resources { } /// - /// 查找类似 机械竣工 的本地化字符串。 + /// 查找类似 机械竣工 的本地化字符串。 /// internal static string MechanicalCompletion { get { @@ -1006,7 +2419,7 @@ namespace Resources { } /// - /// 查找类似 机械预警 的本地化字符串。 + /// 查找类似 机械预警 的本地化字符串。 /// internal static string MechanicalWarning { get { @@ -1015,7 +2428,16 @@ namespace Resources { } /// - /// 查找类似 消息 的本地化字符串。 + /// 查找类似 中风险 的本地化字符串。 + /// + internal static string Medium_risk { + get { + return ResourceManager.GetString("Medium_risk", resourceCulture); + } + } + + /// + /// 查找类似 消息 的本地化字符串。 /// internal static string message { get { @@ -1024,7 +2446,16 @@ namespace Resources { } /// - /// 查找类似 更多 的本地化字符串。 + /// 查找类似 我的 的本地化字符串。 + /// + internal static string mine { + get { + return ResourceManager.GetString("mine", resourceCulture); + } + } + + /// + /// 查找类似 更多 的本地化字符串。 /// internal static string more { get { @@ -1033,7 +2464,7 @@ namespace Resources { } /// - /// 查找类似 您没有此模块操作权限,请联系管理员授权! 的本地化字符串。 + /// 查找类似 您没有此模块操作权限,请联系管理员授权! 的本地化字符串。 /// internal static string NoAuthorize { get { @@ -1042,7 +2473,7 @@ namespace Resources { } /// - /// 查找类似 噪音 的本地化字符串。 + /// 查找类似 噪音 的本地化字符串。 /// internal static string noise { get { @@ -1051,7 +2482,7 @@ namespace Resources { } /// - /// 查找类似 您没有权限进入项目管理模块! 的本地化字符串。 + /// 查找类似 您没有权限进入项目管理模块! 的本地化字符串。 /// internal static string NoPermission { get { @@ -1060,7 +2491,7 @@ namespace Resources { } /// - /// 查找类似 通知管理 的本地化字符串。 + /// 查找类似 通知管理 的本地化字符串。 /// internal static string NoticeManage { get { @@ -1069,7 +2500,16 @@ namespace Resources { } /// - /// 查找类似 完工个数 的本地化字符串。 + /// 查找类似 未准点完成 的本地化字符串。 + /// + internal static string Not_finished_on_time { + get { + return ResourceManager.GetString("Not_finished_on_time", resourceCulture); + } + } + + /// + /// 查找类似 完工个数 的本地化字符串。 /// internal static string NumberOfCompletions { get { @@ -1078,7 +2518,7 @@ namespace Resources { } /// - /// 查找类似 施工个数 的本地化字符串。 + /// 查找类似 施工个数 的本地化字符串。 /// internal static string NumberOfConstructions { get { @@ -1087,7 +2527,7 @@ namespace Resources { } /// - /// 查找类似 培训人次数 的本地化字符串。 + /// 查找类似 培训人次数 的本地化字符串。 /// internal static string NumberOfTrainees { get { @@ -1096,7 +2536,25 @@ namespace Resources { } /// - /// 查找类似 一次共检合格率 的本地化字符串。 + /// 查找类似 整改完成数 的本地化字符串。 + /// + internal static string Number_of_corrections_completed { + get { + return ResourceManager.GetString("Number_of_corrections_completed", resourceCulture); + } + } + + /// + /// 查找类似 问题个数 的本地化字符串。 + /// + internal static string Number_of_questions { + get { + return ResourceManager.GetString("Number_of_questions", resourceCulture); + } + } + + /// + /// 查找类似 一次共检合格率 的本地化字符串。 /// internal static string OnePassRate { get { @@ -1105,7 +2563,7 @@ namespace Resources { } /// - /// 查找类似 焊接一次合格率 的本地化字符串。 + /// 查找类似 焊接一次合格率 的本地化字符串。 /// internal static string OnePassRateOfWelding { get { @@ -1114,7 +2572,7 @@ namespace Resources { } /// - /// 查找类似 现场考勤 的本地化字符串。 + /// 查找类似 现场考勤 的本地化字符串。 /// internal static string OnSiteAttendance { get { @@ -1123,7 +2581,16 @@ namespace Resources { } /// - /// 查找类似 在新标签页中打开 的本地化字符串。 + /// 查找类似 准点率 的本地化字符串。 + /// + internal static string On_time_rate { + get { + return ResourceManager.GetString("On_time_rate", resourceCulture); + } + } + + /// + /// 查找类似 在新标签页中打开 的本地化字符串。 /// internal static string OpensNewTab { get { @@ -1132,7 +2599,7 @@ namespace Resources { } /// - /// 查找类似 意见收集 的本地化字符串。 + /// 查找类似 意见收集 的本地化字符串。 /// internal static string OpinionGathering { get { @@ -1141,7 +2608,7 @@ namespace Resources { } /// - /// 查找类似 其他 的本地化字符串。 + /// 查找类似 其他 的本地化字符串。 /// internal static string other { get { @@ -1150,7 +2617,16 @@ namespace Resources { } /// - /// 查找类似 合格率 的本地化字符串。 + /// 查找类似 特别重大事故 的本地化字符串。 + /// + internal static string Particularly_serious_accident { + get { + return ResourceManager.GetString("Particularly_serious_accident", resourceCulture); + } + } + + /// + /// 查找类似 合格率 的本地化字符串。 /// internal static string PassRate { get { @@ -1159,7 +2635,16 @@ namespace Resources { } /// - /// 查找类似 桩基施工 的本地化字符串。 + /// 查找类似 进度百分比 的本地化字符串。 + /// + internal static string Percentage_of_progress { + get { + return ResourceManager.GetString("Percentage_of_progress", resourceCulture); + } + } + + /// + /// 查找类似 桩基施工 的本地化字符串。 /// internal static string Pilefoundationconstruction { get { @@ -1168,7 +2653,7 @@ namespace Resources { } /// - /// 查找类似 管道安装开始 的本地化字符串。 + /// 查找类似 管道安装开始 的本地化字符串。 /// internal static string PipeInstallationStarts { get { @@ -1177,7 +2662,7 @@ namespace Resources { } /// - /// 查找类似 计划值 的本地化字符串。 + /// 查找类似 计划值 的本地化字符串。 /// internal static string PlannedValue { get { @@ -1186,7 +2671,7 @@ namespace Resources { } /// - /// 查找类似 变电所受电 的本地化字符串。 + /// 查找类似 变电所受电 的本地化字符串。 /// internal static string PowerReceived { get { @@ -1195,7 +2680,7 @@ namespace Resources { } /// - /// 查找类似 问题总数 的本地化字符串。 + /// 查找类似 问题总数 的本地化字符串。 /// internal static string ProblemTotal { get { @@ -1204,7 +2689,16 @@ namespace Resources { } /// - /// 查找类似 项目地址 的本地化字符串。 + /// 查找类似 进度情况 的本地化字符串。 + /// + internal static string progress { + get { + return ResourceManager.GetString("progress", resourceCulture); + } + } + + /// + /// 查找类似 项目地址 的本地化字符串。 /// internal static string ProjectAddress { get { @@ -1213,7 +2707,7 @@ namespace Resources { } /// - /// 查找类似 项目清单 的本地化字符串。 + /// 查找类似 项目清单 的本地化字符串。 /// internal static string ProjectList { get { @@ -1222,7 +2716,7 @@ namespace Resources { } /// - /// 查找类似 项目名称 的本地化字符串。 + /// 查找类似 项目名称 的本地化字符串。 /// internal static string ProjectName { get { @@ -1231,7 +2725,16 @@ namespace Resources { } /// - /// 查找类似 项目进度计划 的本地化字符串。 + /// 查找类似 项目概况 的本地化字符串。 + /// + internal static string ProjectProfile { + get { + return ResourceManager.GetString("ProjectProfile", resourceCulture); + } + } + + /// + /// 查找类似 项目进度计划 的本地化字符串。 /// internal static string ProjectSchedule { get { @@ -1240,7 +2743,7 @@ namespace Resources { } /// - /// 查找类似 项目统计 的本地化字符串。 + /// 查找类似 项目统计 的本地化字符串。 /// internal static string ProjectStatistics { get { @@ -1249,7 +2752,7 @@ namespace Resources { } /// - /// 查找类似 在建项目 的本地化字符串。 + /// 查找类似 在建项目 的本地化字符串。 /// internal static string ProjectUnderConstruction { get { @@ -1258,7 +2761,7 @@ namespace Resources { } /// - /// 查找类似 质量管理 的本地化字符串。 + /// 查找类似 质量管理 的本地化字符串。 /// internal static string QualityManage { get { @@ -1267,7 +2770,7 @@ namespace Resources { } /// - /// 查找类似 质量概况 的本地化字符串。 + /// 查找类似 质量概况 的本地化字符串。 /// internal static string QualityProfile { get { @@ -1276,7 +2779,7 @@ namespace Resources { } /// - /// 查找类似 质量问题整改率 的本地化字符串。 + /// 查找类似 质量问题整改率 的本地化字符串。 /// internal static string QualityRate { get { @@ -1285,7 +2788,7 @@ namespace Resources { } /// - /// 查找类似 质量统计 的本地化字符串。 + /// 查找类似 质量统计 的本地化字符串。 /// internal static string QualityStatistics { get { @@ -1294,7 +2797,7 @@ namespace Resources { } /// - /// 查找类似 质量培训累计人员 的本地化字符串。 + /// 查找类似 质量培训累计人员 的本地化字符串。 /// internal static string QualityTraining { get { @@ -1303,7 +2806,7 @@ namespace Resources { } /// - /// 查找类似 质量预警 的本地化字符串。 + /// 查找类似 质量预警 的本地化字符串。 /// internal static string QualityWarning { get { @@ -1312,7 +2815,7 @@ namespace Resources { } /// - /// 查找类似 质量问题统计 的本地化字符串。 + /// 查找类似 质量问题统计 的本地化字符串。 /// internal static string Quality_problem_statistics { get { @@ -1321,7 +2824,7 @@ namespace Resources { } /// - /// 查找类似 资质预警 的本地化字符串。 + /// 查找类似 资质预警 的本地化字符串。 /// internal static string Quawarning { get { @@ -1330,7 +2833,7 @@ namespace Resources { } /// - /// 查找类似 退出 的本地化字符串。 + /// 查找类似 退出 的本地化字符串。 /// internal static string quit { get { @@ -1339,7 +2842,7 @@ namespace Resources { } /// - /// 查找类似 实时视频 的本地化字符串。 + /// 查找类似 实时视频 的本地化字符串。 /// internal static string RealTimeVideo { get { @@ -1348,7 +2851,7 @@ namespace Resources { } /// - /// 查找类似 整改数据 的本地化字符串。 + /// 查找类似 整改数据 的本地化字符串。 /// internal static string RectificationData { get { @@ -1357,7 +2860,7 @@ namespace Resources { } /// - /// 查找类似 整改率 的本地化字符串。 + /// 查找类似 整改率 的本地化字符串。 /// internal static string RectificationRate { get { @@ -1366,7 +2869,7 @@ namespace Resources { } /// - /// 查找类似 刷新 的本地化字符串。 + /// 查找类似 刷新 的本地化字符串。 /// internal static string Refresh { get { @@ -1375,7 +2878,7 @@ namespace Resources { } /// - /// 查找类似 刷新本页 的本地化字符串。 + /// 查找类似 刷新本页 的本地化字符串。 /// internal static string RefreshPage { get { @@ -1384,7 +2887,16 @@ namespace Resources { } /// - /// 查找类似 距竣工剩余 的本地化字符串。 + /// 查找类似 较大事故 的本地化字符串。 + /// + internal static string Relatively_major_accident { + get { + return ResourceManager.GetString("Relatively_major_accident", resourceCulture); + } + } + + /// + /// 查找类似 距竣工剩余 的本地化字符串。 /// internal static string RemainingTimeCompletion { get { @@ -1393,7 +2905,7 @@ namespace Resources { } /// - /// 查找类似 风险管控 的本地化字符串。 + /// 查找类似 风险管控 的本地化字符串。 /// internal static string RiskControl { get { @@ -1402,7 +2914,7 @@ namespace Resources { } /// - /// 查找类似 风险预警 的本地化字符串。 + /// 查找类似 风险预警 的本地化字符串。 /// internal static string RiskEarlyWarning { get { @@ -1411,7 +2923,7 @@ namespace Resources { } /// - /// 查找类似 安全人工时 的本地化字符串。 + /// 查找类似 安全人工时 的本地化字符串。 /// internal static string SafeLaborHours { get { @@ -1420,7 +2932,16 @@ namespace Resources { } /// - /// 查找类似 安全问题统计 的本地化字符串。 + /// 查找类似 安全生产 的本地化字符串。 + /// + internal static string SafeProduction { + get { + return ResourceManager.GetString("SafeProduction", resourceCulture); + } + } + + /// + /// 查找类似 安全问题统计 的本地化字符串。 /// internal static string SafeProStat { get { @@ -1429,7 +2950,7 @@ namespace Resources { } /// - /// 查找类似 累计安全人工时 的本地化字符串。 + /// 查找类似 累计安全人工时 的本地化字符串。 /// internal static string SafetyLaborHours { get { @@ -1438,7 +2959,7 @@ namespace Resources { } /// - /// 查找类似 安全统计 的本地化字符串。 + /// 查找类似 安全统计 的本地化字符串。 /// internal static string SafetyStatistics { get { @@ -1447,7 +2968,25 @@ namespace Resources { } /// - /// 查找类似 进度管理 的本地化字符串。 + /// 查找类似 安全整改数据 的本地化字符串。 + /// + internal static string Safety_rectification_data { + get { + return ResourceManager.GetString("Safety_rectification_data", resourceCulture); + } + } + + /// + /// 查找类似 安监人员数据 的本地化字符串。 + /// + internal static string Safety_supervision_personnel_data { + get { + return ResourceManager.GetString("Safety_supervision_personnel_data", resourceCulture); + } + } + + /// + /// 查找类似 进度管理 的本地化字符串。 /// internal static string ScheduleManage { get { @@ -1456,7 +2995,7 @@ namespace Resources { } /// - /// 查找类似 选择语言 的本地化字符串。 + /// 查找类似 选择语言 的本地化字符串。 /// internal static string SelectLanguage { get { @@ -1465,7 +3004,7 @@ namespace Resources { } /// - /// 查找类似 劳务数据 的本地化字符串。 + /// 查找类似 劳务数据 的本地化字符串。 /// internal static string ServiceData { get { @@ -1474,7 +3013,7 @@ namespace Resources { } /// - /// 查找类似 设置 的本地化字符串。 + /// 查找类似 设置 的本地化字符串。 /// internal static string Settings { get { @@ -1483,7 +3022,7 @@ namespace Resources { } /// - /// 查找类似 停工 的本地化字符串。 + /// 查找类似 停工 的本地化字符串。 /// internal static string ShutDown { get { @@ -1492,7 +3031,7 @@ namespace Resources { } /// - /// 查找类似 注销 的本地化字符串。 + /// 查找类似 注销 的本地化字符串。 /// internal static string SignOUT { get { @@ -1501,7 +3040,7 @@ namespace Resources { } /// - /// 查找类似 开工时间 的本地化字符串。 + /// 查找类似 开工时间 的本地化字符串。 /// internal static string Start_time { get { @@ -1510,7 +3049,7 @@ namespace Resources { } /// - /// 查找类似 分包管理 的本地化字符串。 + /// 查找类似 分包管理 的本地化字符串。 /// internal static string SubManagement { get { @@ -1519,7 +3058,7 @@ namespace Resources { } /// - /// 查找类似 超危大工程 的本地化字符串。 + /// 查找类似 超危大工程 的本地化字符串。 /// internal static string SuperDangerousProject { get { @@ -1528,7 +3067,7 @@ namespace Resources { } /// - /// 查找类似 监理单位 的本地化字符串。 + /// 查找类似 监理单位 的本地化字符串。 /// internal static string SupervisionUnit { get { @@ -1537,7 +3076,7 @@ namespace Resources { } /// - /// 查找类似 切换首页 的本地化字符串。 + /// 查找类似 切换首页 的本地化字符串。 /// internal static string SwitchHomePage { get { @@ -1546,7 +3085,7 @@ namespace Resources { } /// - /// 查找类似 系统菜单 的本地化字符串。 + /// 查找类似 系统菜单 的本地化字符串。 /// internal static string SystemMenu { get { @@ -1555,7 +3094,7 @@ namespace Resources { } /// - /// 查找类似 智慧施工管理信息系统 的本地化字符串。 + /// 查找类似 智慧施工管理信息系统 的本地化字符串。 /// internal static string SystemName { get { @@ -1564,7 +3103,7 @@ namespace Resources { } /// - /// 查找类似 温度 的本地化字符串。 + /// 查找类似 温度 的本地化字符串。 /// internal static string temperature { get { @@ -1573,7 +3112,7 @@ namespace Resources { } /// - /// 查找类似 试车管理 的本地化字符串。 + /// 查找类似 试车管理 的本地化字符串。 /// internal static string TestManagement { get { @@ -1582,7 +3121,7 @@ namespace Resources { } /// - /// 查找类似 竣工时间 的本地化字符串。 + /// 查找类似 竣工时间 的本地化字符串。 /// internal static string TimeCompletion { get { @@ -1591,7 +3130,7 @@ namespace Resources { } /// - /// 查找类似 待办事项 的本地化字符串。 + /// 查找类似 待办事项 的本地化字符串。 /// internal static string TodoList { get { @@ -1600,7 +3139,7 @@ namespace Resources { } /// - /// 查找类似 总计 的本地化字符串。 + /// 查找类似 总计 的本地化字符串。 /// internal static string total { get { @@ -1609,7 +3148,7 @@ namespace Resources { } /// - /// 查找类似 合同总工期 的本地化字符串。 + /// 查找类似 合同总工期 的本地化字符串。 /// internal static string TotalContractDuration { get { @@ -1618,7 +3157,16 @@ namespace Resources { } /// - /// 查找类似 移交管理 的本地化字符串。 + /// 查找类似 待整改 的本地化字符串。 + /// + internal static string To_be_rectified { + get { + return ResourceManager.GetString("To_be_rectified", resourceCulture); + } + } + + /// + /// 查找类似 移交管理 的本地化字符串。 /// internal static string TransferManagement { get { @@ -1627,7 +3175,7 @@ namespace Resources { } /// - /// 查找类似 未完成 的本地化字符串。 + /// 查找类似 未完成 的本地化字符串。 /// internal static string uncompleted { get { @@ -1636,7 +3184,16 @@ namespace Resources { } /// - /// 查找类似 在建 的本地化字符串。 + /// 查找类似 未整改数 的本地化字符串。 + /// + internal static string Uncorrected_number { + get { + return ResourceManager.GetString("Uncorrected_number", resourceCulture); + } + } + + /// + /// 查找类似 在建 的本地化字符串。 /// internal static string UnderConstruction { get { @@ -1645,7 +3202,16 @@ namespace Resources { } /// - /// 查找类似 用户 的本地化字符串。 + /// 查找类似 合格 的本地化字符串。 + /// + internal static string Up_to_standard { + get { + return ResourceManager.GetString("Up_to_standard", resourceCulture); + } + } + + /// + /// 查找类似 用户 的本地化字符串。 /// internal static string user { get { @@ -1654,7 +3220,7 @@ namespace Resources { } /// - /// 查找类似 视频监控 的本地化字符串。 + /// 查找类似 视频监控 的本地化字符串。 /// internal static string VideoSurveillance { get { @@ -1663,7 +3229,7 @@ namespace Resources { } /// - /// 查找类似 焊接管理 的本地化字符串。 + /// 查找类似 焊接管理 的本地化字符串。 /// internal static string WeldingManage { get { @@ -1672,7 +3238,7 @@ namespace Resources { } /// - /// 查找类似 风速 的本地化字符串。 + /// 查找类似 风速 的本地化字符串。 /// internal static string WindSpeed { get { @@ -1681,7 +3247,7 @@ namespace Resources { } /// - /// 查找类似 作业许可 的本地化字符串。 + /// 查找类似 作业许可 的本地化字符串。 /// internal static string WorkPermit { get { @@ -1690,7 +3256,7 @@ namespace Resources { } /// - /// 查找类似 作业人员总数 的本地化字符串。 + /// 查找类似 作业人员总数 的本地化字符串。 /// internal static string WorkPersonnel { get { diff --git a/SGGL/FineUIPro.Web/common/mainI.aspx b/SGGL/FineUIPro.Web/common/mainI.aspx index b48203ad..ed55f5fe 100644 --- a/SGGL/FineUIPro.Web/common/mainI.aspx +++ b/SGGL/FineUIPro.Web/common/mainI.aspx @@ -4,7 +4,7 @@ - 首页 + <asp:Literal runat="server" Text="<%$ Resources:Lan,mainI_home%>"/> @@ -328,10 +328,10 @@ padding-left: 2em;
-
安全数据统计
+
-
安全人工时
+
0
@@ -348,19 +348,19 @@ padding-left: 2em;
-
安全隐患整改单
+
0
-
总数(个)
+
0
-
已完成(个)
+
0
-
未完成(个)
+
@@ -369,13 +369,13 @@ padding-left: 2em;
-
质量一次验收合格率
+
<%--
-
焊接一次合格率统计
+
--%> @@ -408,19 +408,19 @@ padding-left: 2em;
-
在建
+
-
停工
+
-
竣工
+
-
单位:(个)
+
@@ -430,7 +430,7 @@ padding-left: 2em;
-
项目人员
+
@@ -464,7 +464,7 @@ padding-left: 2em;
-
监控
+
@@ -473,16 +473,16 @@ padding-left: 2em;
-
进度统计
+
-
工地名称
-
状态
-
进度
+
+
+
工地1
-
在建
+
@@ -491,7 +491,7 @@ padding-left: 2em;
工地2
-
在建
+
@@ -500,7 +500,7 @@ padding-left: 2em;
工地3
-
在建
+
diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx b/SGGL/FineUIPro.Web/common/main_new.aspx index d5afd85d..06ddcd07 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx +++ b/SGGL/FineUIPro.Web/common/main_new.aspx @@ -5,7 +5,7 @@ - 项目概况 + 首页> @@ -52,39 +52,39 @@
- 安全整改数据 +
256
-
总数
+
256
-
已完成
+
0
-
未完成
+
100%
-
整改率
+
- 质量概况 +
-
质量管理人员
+
1307
-
质量培训累计人员
+
5217
@@ -97,19 +97,19 @@
- 人员信息 +
-
当前现场人数
+
1307
-
作业人员总数
+
5217
-
管理人员总数
+
5217
@@ -120,37 +120,37 @@
1656059
-
累计安全人工时
+
0
-
本月安全人工时
+
1161
-
安全培训累计人员
+
3
-
安全管理人员
+
4564
-
未遂事件
+
-
在建项目
+
16
-
参建人数
+
20164
-
在施危大工程
+
0
@@ -158,20 +158,20 @@
- 关键事项 +
-
关键事项总计
+
719
-
到期应完成
+
681
-
未准点完成
+
120
@@ -180,152 +180,152 @@
- 进度情况 +
- 材料到货 +
-
管道材料
-
设备材料
+
+
<%=gdclHead %> - <%--
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
--%> + <%--
+
+
+
+
+
--%>
<%=gdclHtml %> <%--
项目321322132132121321321213213
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
-
项目
-
管子
-
管件
-
阀门
-
垫片
-
紧固件
+
+
+
+
+
+
--%>
@@ -842,7 +842,7 @@ series: [ { center: ['50%', '50%'], - id: '准点率', + id: '<%=On_time_rate%>', radius: '75%', type: 'gauge', startAngle: 225, @@ -893,7 +893,7 @@ data: [ { value: <%=gjsxZdl%>, - name: '准点率', + name: '<%=On_time_rate%>', title: { color: '#63CAFF', offsetCenter: ['0%', '60%'], @@ -1030,7 +1030,7 @@ legend: { top: fontSize(10), left: 'center', - data: [{ name: '进度统计', textStyle: { color: '#63CAFF' } }, { name: '进度百分比', textStyle: { color: '#12CDA2' } }] + data: [{ name: '<%=mainI_progressStatistics %>', textStyle: { color: '#63CAFF' } }, { name: '<%=Percentage_of_progress %>', textStyle: { color: '#12CDA2' } }] }, grid: { top: fontSize(60), @@ -1068,7 +1068,7 @@ }, series: [ { - name: '进度统计', + name: '<%=mainI_progressStatistics %>', data: value, type: 'bar', barWidth: fontSize(20), @@ -1087,7 +1087,7 @@ }, }, { - name: '进度百分比', + name: '<%=Percentage_of_progress %>', data: value, type: 'line', barWidth: fontSize(20), @@ -1134,9 +1134,9 @@
${obj.projectName}
开工日期
${obj.startTime}
完工日期
${obj.endTime}
-
剩余天数
${obj.residue}天
-
进度
${obj.progress}%
- 项目详情 +
${obj.residue}天
+
${obj.progress}%
+
` var point = new BMapGL.Point(obj.lng, obj.lat); var marker = new BMapGL.Marker(point); // 创建标注 @@ -1704,7 +1704,7 @@ content = content + ' 剩余天数:' + item.split(',')[11] + '' content = content + ' 进度:' + item.split(',')[4] + '' /* content = content + ' 合同额:(' + item.split(',')[5] + ');收款额:(' + item.split(',')[6] + ')'*/ - content = content + '项目详情 ' + content = content + ' ' content += '' var infowindow = new BMapGL.InfoWindow(content, { title: item.split(',')[7] }) // 点标记添加点击事件 @@ -1896,9 +1896,9 @@ { name: '一次共检合格率', value1: <%=zlgjallNumber%>, value2: <%=zlgjfinishNumber%>, el: 'zl-map2' }, { name: '焊接一次合格率', value1: <%=hjallNumber%>, value2: <%=hjfinishNumber%>, el: 'zl-map3' }, ]--%> - createZL({ name: '质量问题整改率', value1: <%=zlallNumber%>, value2: <%=zlfinishNumber%>, el: 'zl-map1' }) - createZL({ name: '一次共检合格率', value1: <%=zlgjallNumber%>, value2: <%=zlgjfinishNumber%>, el: 'zl-map2' }) - createZL({ name: '焊接一次合格率', value1: <%=hjallNumber%>, value2: <%=hjfinishNumber%>, el: 'zl-map3' }) + createZL({ name: '<%=main_new_qualityIssuesRectificationRate%>', value1: <%=zlallNumber%>, value2: <%=zlfinishNumber%>, el: 'zl-map1' }) + createZL({ name: '<%=OnePassRate%>', value1: <%=zlgjallNumber%>, value2: <%=zlgjfinishNumber%>, el: 'zl-map2' }) + createZL({ name: '<%=OnePassRateOfWelding%>', value1: <%=hjallNumber%>, value2: <%=hjfinishNumber%>, el: 'zl-map3' }) function createZL(obj) { let AOption1 = { @@ -1913,7 +1913,7 @@ } }, { // text: `总计:${obj.value1} | 完成:${obj.value2}`, - text: [`{a|总计:}{b|${obj.value1}}{c||}{a|完成:}{d|${obj.value2}}`], + text: [`{a|<%=total%>:}{b|${obj.value1}}{c||}{a|<%=completed%>:}{d|${obj.value2}}`], top: '80%', left: 'center', textStyle: { @@ -2168,7 +2168,7 @@ let guardData = [ { value: <%=gjsxZdl%>, - name: '准点率', + name: '<%=On_time_rate%>', title: { color: '#F9F9F9', offsetCenter: ['0%', '160%'], @@ -2183,7 +2183,7 @@ series: [ { center: ['50%', '50%'], - id: '准点率', + id: '<%=On_time_rate%>', radius: '50%', type: 'gauge', startAngle: 45, @@ -2302,13 +2302,13 @@ top: 30, data: [ { - name: "进度统计", + name: "<%=mainI_progressStatistics %>", textStyle: { color: '#2FC4AC' } }, { - name: "进度百分比", + name: "<%=Percentage_of_progress %>", textStyle: { color: '#E29C18' } @@ -2392,7 +2392,7 @@ ], series: [ { - name: '进度统计', + name: '<%=mainI_progressStatistics %>', data: value, type: 'bar', barWidth: 20, @@ -2406,7 +2406,7 @@ } }, { - name: '进度百分比', + name: '<%=Percentage_of_progress %>', data: value1, type: 'line', symbol: 'none', @@ -2495,11 +2495,11 @@ let name = h.data.name; let data = h.data.value; let str = ` -
项目名称:${data[2].value}
+
:${data[2].value}
开工日期:${data[2].value2}
完工日期:${data[2].value3}
-
剩余天数:${data[2].value4}
-
进度:${data[2].value5}
+
:${data[2].value4}
+
:${data[2].value5}
` return str }, diff --git a/SGGL/FineUIPro.Web/common/main_new.aspx.cs b/SGGL/FineUIPro.Web/common/main_new.aspx.cs index 6187f01e..2144b5d2 100644 --- a/SGGL/FineUIPro.Web/common/main_new.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new.aspx.cs @@ -20,7 +20,19 @@ namespace FineUIPro.Web.common List allProjects; public static List LargerHazard = new List(); - public string[] pids { get; set; } + public string[] pids { get; set; } + + + protected string On_time_rate = string.Empty; + protected string main_new_qualityIssuesRectificationRate = string.Empty; + protected string OnePassRate = string.Empty; + protected string OnePassRateOfWelding = string.Empty; + protected string total = string.Empty; + protected string completed = string.Empty; + protected string mainI_progressStatistics = string.Empty; + protected string Percentage_of_progress = string.Empty; + + protected async void Page_Load(object sender, EventArgs e) { if (!IsPostBack) @@ -42,7 +54,8 @@ namespace FineUIPro.Web.common //GetProjectSitePersonAsync(), // 项目人员图表 GetJdAsync(), // 进度 GetZgsjAsync(), // 整改数据 - GetCldhAsync() // 材料到货表格 + GetCldhAsync(), // 材料到货表格 + getCNEN() //中英文翻译 }; await Task.WhenAll(otherTasks.Concat(new[] { projectTask, project2Task })); @@ -1164,5 +1177,22 @@ namespace FineUIPro.Web.common } + + #region 中英文翻译 + private async Task getCNEN() + { + await Task.Run(() => + { + On_time_rate = Resources.Lan.On_time_rate; + main_new_qualityIssuesRectificationRate = Resources.Lan.main_new_qualityIssuesRectificationRate; + OnePassRate = Resources.Lan.OnePassRate; + OnePassRateOfWelding = Resources.Lan.OnePassRateOfWelding; + total = Resources.Lan.total; + completed = Resources.Lan.completed; + mainI_progressStatistics = Resources.Lan.mainI_progressStatistics; + Percentage_of_progress = Resources.Lan.Percentage_of_progress; + }); + } + #endregion } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/main_new0.aspx b/SGGL/FineUIPro.Web/common/main_new0.aspx index 18da8bca..71f2c7cc 100644 --- a/SGGL/FineUIPro.Web/common/main_new0.aspx +++ b/SGGL/FineUIPro.Web/common/main_new0.aspx @@ -5,7 +5,7 @@ - 安全生产 + <asp:Literal runat="server" Text="<%$ Resources:Lan,main_new0_Title%>"/> @@ -16,32 +16,32 @@
-
安监人员数据
+
-
企业总部人数
+
0
-
总监
+
0
-
专职
+
-
分支机构
+
0
-
总监
+
0
-
专职
+
@@ -49,28 +49,28 @@
-
项目人数
+
0
-
总监
+
0
-
专职
+
0
-
参建人数
+
-
注安师
+
0
-
总数
+
@@ -78,19 +78,19 @@
-
项目人数
+
0
-
总监
+
0
-
专职
+
0
-
参建人数
+
@@ -99,16 +99,16 @@
-
安全会议数据
+
-
企业安委会
+
0
-
企业专题
+
0
@@ -117,13 +117,13 @@
0
-
项目安全领导小组
+
0
-
项目安全例会
+
@@ -134,49 +134,49 @@
-
在建项目
+
0
-
停工项目
+
0
-
在施危大工程
+
0
-
安全工时
+
0
-
安全云监控
+
-
实时视频:线路12020-10-10 12:40:26
+
2020-10-10 12:40:26
-
安全云监控
+
-
实时视频:线路12020-10-10 12:40:26
+
2020-10-10 12:40:26
-
安全云监控
+
-
实时视频:线路12020-10-10 12:40:26
+
2020-10-10 12:40:26
-
安全云监控
+
-
实时视频:线路12020-10-10 12:40:26
+
2020-10-10 12:40:26
@@ -184,56 +184,56 @@
-
安全费用数据
+
-
费用提取(万元)
+
0
-
费用使用
+
<%=GetCostUse() %>
-
施工机具设备数据
+
-
在用
+
<%=GetUseEquipmentNum() %>
-
特种设备
+
<%=GetSpecialEquipmentNum() %>
-
高风险作业许可数据
+
-
许可项
+
<%=GetLicensesNum() %>
-
关闭项
+
<%=GetLicensesCloseNum() %>
-
隐患排查治理数据 +
- 一般隐患 - 重大隐患 + +
-
整改闭环项
+
<%=GetGeneralClosedNum() %>
-
未整改完成项
+
<%=GetGeneralNotClosedNum() %>
@@ -249,11 +249,11 @@
-
安全监督检查数据
+
-
事故事件数据 +
<%--
企业级 项目级 @@ -262,11 +262,11 @@
-
未遂事件
+
<%=GetNearMissNum() %>
-
可记录
+
<%=GetRecordableEventNum() %>
@@ -274,71 +274,71 @@
-
应急管理数据
+
<%=GetCompanyComprehensivePlanNum() %>
-
综合预案
+
<%=GetCompanySpecialPlanNum() %>
-
专项预案
+
<%=GetCompanyOnSiteDisposalPlan() %>
-
现场处置预案
+
<%=GetCompanyDrillNum() %>
-
演练次数
+
-
安全教育培训人次数数据
+
-
三级安全教育培训
+
<%=GetSafeTrainNum() %>
-
专项培训
+
<%=GetSpecialTrainNum() %>
-
特种作业培训
+
<%=GetSpecialOperationTrainNum() %>
-
风险数据分析
+
-
应急管理数据 +
- 危大工程 - 超危大工程 + +
-
审批完成
+
<%=GetCompletedNum() %>
-
培训人次数
+
<%=GetTrainPersonNum() %>
<%=GetConstructionNum() %>
-
施工个数
+
<%=GetFinishedNum() %>
-
完工个数
+
@@ -584,7 +584,7 @@ series: [ { center: ['50%', '50%'], - id: '整改率', + id: '<%=main_new_rectificationRate%>', radius: '75%', type: 'gauge', startAngle: 225, @@ -635,7 +635,7 @@ data: [ { value: value, - name: '整改率', + name: '<%=main_new_rectificationRate%>', title: { color: '#63CAFF', offsetCenter: ['0%', '110%'], @@ -693,7 +693,7 @@ legend: { top: fontSize(10), left: 'center', - data: [{ name: '全部', textStyle: { color: '#2F69D6' } }, { name: '待整改', textStyle: { color: '#FFA602' } }] + data: [{ name: '<%=All%>', textStyle: { color: '#2F69D6' } }, { name: '<%=To_be_rectified%>', textStyle: { color: '#FFA602' } }] }, grid: { top: fontSize(60), @@ -772,7 +772,7 @@ }, series: [ { - name: '全部', + name: '<%=All%>', data: value, type: 'bar', barWidth: fontSize(20), @@ -791,7 +791,7 @@ }, }, { - name: '待整改', + name: '<%=To_be_rectified%>', data: value1, type: 'bar', barWidth: fontSize(20), @@ -901,10 +901,10 @@ sjmap() function sjmap() { let data = [ - { value: <%=GetSpecialSeriousAccidentNum()%>, name: '特别重大事故', label: { color: '#FF7473' }, itemStyle: { color: '#FF7473' }, labelLine: { lineStyle: { color: '#FF7473' } } }, - { value:<%=GetGeneralAccidentNum()%>, name: '一般事故', label: { color: '#5C5AFF' }, itemStyle: { color: '#5C5AFF' }, labelLine: { lineStyle: { color: '#5C5AFF' } } }, - { value:<%=GetSeriousAccidentNum()%>, name: '重大事故', label: { color: '#FFA502' }, itemStyle: { color: '#FFA502' }, labelLine: { lineStyle: { color: '#FFA502' } } }, - { value: <%=GetMajorAccidentNum()%>, name: '较大事故', label: { color: '#E7EA2E' }, itemStyle: { color: '#E7EA2E' }, labelLine: { lineStyle: { color: '#E7EA2E' } } }, + { value: <%=GetSpecialSeriousAccidentNum()%>, name: '<%=Particularly_serious_accident%>', label: { color: '#FF7473' }, itemStyle: { color: '#FF7473' }, labelLine: { lineStyle: { color: '#FF7473' } } }, + { value:<%=GetGeneralAccidentNum()%>, name: '<%=General_accident%>', label: { color: '#5C5AFF' }, itemStyle: { color: '#5C5AFF' }, labelLine: { lineStyle: { color: '#5C5AFF' } } }, + { value:<%=GetSeriousAccidentNum()%>, name: '<%=Major_accident%>', label: { color: '#FFA502' }, itemStyle: { color: '#FFA502' }, labelLine: { lineStyle: { color: '#FFA502' } } }, + { value: <%=GetMajorAccidentNum()%>, name: '<%=Relatively_major_accident%>', label: { color: '#E7EA2E' }, itemStyle: { color: '#E7EA2E' }, labelLine: { lineStyle: { color: '#E7EA2E' } } }, ] let opt = { @@ -970,10 +970,10 @@ fontSize:fontSize(12) }, data: [ - { value: <%=GetGeneralRiskNum()%>, name: '高风险' }, - { value: <%=GetMediumRiskNum()%>, name: '中风险' }, - { value: <%=GetLowRiskNum()%>, name: '低风险' }, - { value: <%=GetHighRiskNum()%>, name: '一般风险' }, + { value: <%=GetGeneralRiskNum()%>, name: '<%=High_risk%>' }, + { value: <%=GetMediumRiskNum()%>, name: '<%=Medium_risk%>' }, + { value: <%=GetLowRiskNum()%>, name: '<%=LowRisk%>' }, + { value: <%=GetHighRiskNum()%>, name: '<%=GeneralRisk%>' }, ] } ] diff --git a/SGGL/FineUIPro.Web/common/main_new0.aspx.cs b/SGGL/FineUIPro.Web/common/main_new0.aspx.cs index 7758e0f3..cf0636c2 100644 --- a/SGGL/FineUIPro.Web/common/main_new0.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new0.aspx.cs @@ -154,6 +154,8 @@ namespace FineUIPro.Web.common //加载项目全部和待整改的 getProjectYh(); + + getCNEN(); } } @@ -1388,5 +1390,37 @@ namespace FineUIPro.Web.common } } #endregion + + #region 中英文翻译 + protected string main_new_rectificationRate = string.Empty; + protected string All = string.Empty; + protected string To_be_rectified = string.Empty; + protected string Accident_event_data = string.Empty; + protected string Emergency_management_data = string.Empty; + protected string Particularly_serious_accident = string.Empty; + protected string General_accident = string.Empty; + protected string Major_accident = string.Empty; + protected string Relatively_major_accident = string.Empty; + protected string High_risk = string.Empty; + protected string Medium_risk = string.Empty; + protected string LowRisk = string.Empty; + protected string GeneralRisk = string.Empty; + protected void getCNEN() + { + main_new_rectificationRate = Resources.Lan.main_new_rectificationRate; + All = Resources.Lan.All; + To_be_rectified = Resources.Lan.To_be_rectified; + Accident_event_data = Resources.Lan.Accident_event_data; + Emergency_management_data = Resources.Lan.Emergency_management_data; + Particularly_serious_accident = Resources.Lan.Particularly_serious_accident; + General_accident = Resources.Lan.General_accident; + Major_accident = Resources.Lan.Major_accident; + Relatively_major_accident = Resources.Lan.Relatively_major_accident; + High_risk = Resources.Lan.High_risk; + Medium_risk = Resources.Lan.Medium_risk; + LowRisk = Resources.Lan.LowRisk; + GeneralRisk = Resources.Lan.GeneralRisk; + } + #endregion } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/common/main_new1.aspx b/SGGL/FineUIPro.Web/common/main_new1.aspx index b7ba157b..527bf28d 100644 --- a/SGGL/FineUIPro.Web/common/main_new1.aspx +++ b/SGGL/FineUIPro.Web/common/main_new1.aspx @@ -5,7 +5,7 @@ - 质量管理 + <asp:Literal runat="server" Text="<%$ Resources:Lan,main_new1_Title%>"/> @@ -43,70 +43,70 @@
-
质量管理人员数据
+

<%=GetCompanyPersonNum() %>

-
企业总部人数
+

<%=GetBranchPersonNum() %>

-
分支机构人数
+

<%=GetProjectPersonNum() %>

-
项目部人数
+
-
计量器具数据
+

<%=GetUseNum() %>

-

在用计量器具

+

<%=GetOKNum() %>

-

校准合格

+

7

-

资质预警

+

<%=GetJxyjNum() %>

-

机械预警

+

-
质量培训数据
+
<%=GetTrainPersonNum() %>
-
质量培训人次数
+
<%=GetTechnicalDisclosePersonNum() %>
-
技术交底人次数
+
@@ -134,19 +134,19 @@
-
质量验收数据
+
-
共检总数
+
<%=getAllInspectionManagement() %>
-
一次合格数量
+
<%=getIsOnceInspectionManagement() %>
-
施工质量一次共检合格率
+
<%=GetInspectionManagementZgl() %>
@@ -156,49 +156,49 @@
-
焊接数据
+
<%=GetWelderNum() %>
-
焊工总数
+
<%=GetTotalDineNum() %>
-
总达因数
+
<%=GetCompleteDineNum() %>
-
完成达因数
+
<%=hjallNumber %>
-
拍片总数
+
<%=hjfinishNumber %>
-
合格片数
+
<%=hjzgl %>
-
一次拍片合格率
+
-
质量巡检问题治理数据
+
-
整改闭环项
+
<%=GetProblemCompletedNum() %>
-
未整改完成项
+
<%=GetProblemNotCompletedNum() %>
-
整改率
+
<%=GetProblemZgl() %>
@@ -206,19 +206,19 @@
-
NCR数据
+
-
整改闭环项
+
<%=ncrZgbhx %>
-
未整改完成项
+
<%=ncrwZgbhx %>
-
整改率
+
<%=ncrZgl %>
@@ -276,7 +276,7 @@ zlmap() function zlmap() { let value = [<%=ProblemNum%>] - let label = ['问题个数', '整改完成数', '未整改数', '整改率'] + let label = ['<%=Number_of_questions%>', '<%=Number_of_corrections_completed%>', '<%=Uncorrected_number%>', '<%=RectificationRate%>'] let opt = { grid: { top: fontSize(30), @@ -330,7 +330,7 @@ formatter: (params) => { let str = params.value; console.log(params) - if (params.name === '整改率') { + if (params.name === '<%=RectificationRate%>') { str = str + '%' } return str @@ -402,7 +402,7 @@ formatter: (params) => { let str = params.value; console.log(params.name) - if (params.name == '整改率') { + if (params.name == '<%=RectificationRate%>') { str = str + '%' } return str @@ -434,7 +434,7 @@ legend: { top: fontSize(10), left: 'center', - data: [{ name: '总计', textStyle: { color: '#20AFFF' } }, { name: '合格', textStyle: { color: '#12CDA2' } }, { name: '施工质量一次共检合格率', textStyle: { color: '#FFA602' } }] + data: [{ name: '<%=total%>', textStyle: { color: '#20AFFF' } }, { name: '<%=Up_to_standard%>', textStyle: { color: '#12CDA2' } }, { name: '<%=construction_quality_pass_rate%>', textStyle: { color: '#FFA602' } }] }, xAxis: { type: 'category', @@ -468,7 +468,7 @@ }, series: [ { - name: '总计', + name: '<%=total%>', data: value, type: 'bar', barWidth: fontSize(20), @@ -484,7 +484,7 @@ formatter: (params) => { let str = params.value; console.log(params.name) - if (params.name == '整改率') { + if (params.name == '<%=RectificationRate%>') { str = str + '%' } return str @@ -492,7 +492,7 @@ }, }, { - name: '合格', + name: '<%=Up_to_standard%>', data: value1, type: 'bar', barWidth: fontSize(20), @@ -508,7 +508,7 @@ formatter: (params) => { let str = params.value; console.log(params.name) - if (params.name == '整改率') { + if (params.name == '<%=RectificationRate%>') { str = str + '%' } return str @@ -516,7 +516,7 @@ }, }, { - name: '施工质量一次共检合格率', + name: '<%=construction_quality_pass_rate%>', data: value2, type: 'line', itemStyle: { diff --git a/SGGL/FineUIPro.Web/common/main_new1.aspx.cs b/SGGL/FineUIPro.Web/common/main_new1.aspx.cs index eddc0f93..9b8b6cb7 100644 --- a/SGGL/FineUIPro.Web/common/main_new1.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new1.aspx.cs @@ -65,6 +65,7 @@ namespace FineUIPro.Web.common //资质预警 getEarlyWarningCounts(); + getCNEN(); //在建项目 var allProjects = ProjectService.GetAllProjectDropDownList(); //焊接数据 @@ -948,5 +949,23 @@ namespace FineUIPro.Web.common PageContext.RegisterStartupScript(script2); } + + protected string Number_of_questions = string.Empty; + protected string Number_of_corrections_completed = string.Empty; + protected string Uncorrected_number = string.Empty; + protected string RectificationRate = string.Empty; + protected string total = string.Empty; + protected string Up_to_standard = string.Empty; + protected string construction_quality_pass_rate = string.Empty; + protected void getCNEN() + { + Number_of_questions = Resources.Lan.Number_of_questions; + Number_of_corrections_completed = Resources.Lan.Number_of_corrections_completed; + Uncorrected_number = Resources.Lan.Uncorrected_number; + RectificationRate = Resources.Lan.RectificationRate; + total = Resources.Lan.total; + Up_to_standard = Resources.Lan.Up_to_standard; + construction_quality_pass_rate = Resources.Lan.construction_quality_pass_rate; + } } } \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/index.aspx b/SGGL/FineUIPro.Web/index.aspx index dd8ae329..a95afab2 100644 --- a/SGGL/FineUIPro.Web/index.aspx +++ b/SGGL/FineUIPro.Web/index.aspx @@ -194,15 +194,16 @@ padding-right: 23px; font-size: 14px; padding: 0; - border:none; - color:#ffffff; - padding-left: 10px; - background: rgba(0,0,0,0); - + border: none; + color: #ffffff; + padding-left: 10px; + background: rgba(0,0,0,0); } - .projcet-select input::placeholder { - color: #ffffff; -} + + .projcet-select input::placeholder { + color: #ffffff; + } + .projcet-select .f-field-triggerbox-icons { font-size: 16px; position: absolute; @@ -210,82 +211,84 @@ margin: 0; padding: 0; } - .projcet-select .f-field-triggerbox-icons i{ - position: absolute; - bottom: 0; - right: 0; + + .projcet-select .f-field-triggerbox-icons i { + position: absolute; + bottom: 0; + right: 0; + } + + .projcet-select .f-state-hover, .f-widget-content .f-state-hover, .f-widget-header .f-state-hover, .f-state-focus, .f-widget-content .f-state-focus, .f-widget-header .f-state-focus { + background: rgba(0,0,0,0); + border: none } - .projcet-select .f-state-hover, .f-widget-content .f-state-hover, .f-widget-header .f-state-hover, .f-state-focus, .f-widget-content .f-state-focus, .f-widget-header .f-state-focus{ - background: rgba(0,0,0,0); - border:none + .projcet-select .f-panel.f-panel-noheader.f-panel-noborder, .f-panel.f-panel-noheader.f-panel-noborder > .f-panel-bodyct > .f-panel-body { + font-size: 14px; } - .projcet-select .f-panel.f-panel-noheader.f-panel-noborder, .f-panel.f-panel-noheader.f-panel-noborder>.f-panel-bodyct>.f-panel-body{ - font-size: 14px; - } - - .f-field-body-cell-inner{ - font-size: 14px; - } - .grid1_class .f-field-body-cell-inner input{ - padding: 2px 10px; - } + + .f-field-body-cell-inner { + font-size: 14px; + } + + .grid1_class .f-field-body-cell-inner input { + padding: 2px 10px; + } + .grid1_class .f-state-hover { - border: none; + border: none; } + .grid1_toolbar { - background:#000231 + background: #000231 } - - .grid1_class thead{ - background: #d7ebf9; - color: #18A6F1; + + .grid1_class thead { + background: #d7ebf9; + color: #18A6F1; } .grid1_toolbar input { - background:#000231 - } - .grid1_toolbar .f-corner-all { - background:#000231 + background: #000231 } - /*表格第一行颜色*/ - .f-grid-row-selected{ - background-color:#E4F2FF !important; - color:black; - - } - /*表格单行颜色*/ - .f-grid-row{ - background-color:#E4F2FF; - color:black; + .grid1_toolbar .f-corner-all { + background: #000231 + } + + /*表格第一行颜色*/ + .f-grid-row-selected { + background-color: #E4F2FF !important; + color: black; + } + /*表格单行颜色*/ + .f-grid-row { + background-color: #E4F2FF; + color: black; } /*各行颜色*/ .f-grid-row-alt { background-color: #ffffff !important; - color:black; + color: black; } .f-state-active, .f-widget-content .f-state-active, .f-widget-header .f-state-active { - - color:black; + color: black; } - .f-state-active .f-icon { - color: darkcyan; -} + .f-state-active .f-icon { + color: darkcyan; + } .grid1_class .f-state-hover { - color:black; + color: black; background: #99e7ff !important; background: none; - } .grid1_class .f-grid-bodyct { - - background:#000231 !important + background: #000231 !important } @@ -301,21 +304,21 @@