From fcab29b4fbbc760955b5157f741bfeb028609b84 Mon Sep 17 00:00:00 2001 From: xiaju <1784803958@qq.com> Date: Fri, 14 Mar 2025 20:12:23 +0800 Subject: [PATCH 01/10] =?UTF-8?q?=E5=85=B3=E9=94=AE=E4=BA=8B=E9=A1=B9?= =?UTF-8?q?=E4=BC=98=E5=8C=96=EF=BC=9B=E8=BF=9B=E5=BA=A6=E7=AE=A1=E7=90=86?= =?UTF-8?q?=EF=BC=8C=E6=9C=88=E8=AE=A1=E5=88=92=E7=BB=9F=E8=AE=A1=E8=B0=83?= =?UTF-8?q?=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../版本日志/SGGLDB_WH_V2025-03-14-xiaj.sql | 89 ++++++++++++ SGGL/BLL/PZHGL/GJSX/GJSXItemService.cs | 7 +- SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 2 +- .../JDGL/Check/MonthPlanStatisc.aspx | 2 +- .../JDGL/Check/MonthPlanStatisc.aspx.cs | 43 +++++- SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXFind.aspx | 2 +- .../FineUIPro.Web/PZHGL/GJSX/GJSXFind.aspx.cs | 2 +- SGGL/FineUIPro.Web/PZHGL/GJSX/GJSXList.aspx | 2 +- .../PZHGL/GJSX/GJSXListEdit.aspx | 55 +++++-- .../PZHGL/GJSX/GJSXListEdit.aspx.cs | 134 ++++++++++-------- .../PZHGL/GJSX/GJSXListEdit.aspx.designer.cs | 81 +++++------ SGGL/FineUIPro.Web/common/Menu_PGJSX.xml | 3 +- SGGL/FineUIPro.Web/common/mainMenu_PGJSX.aspx | 20 +-- SGGL/Model/Model.cs | 30 +++- 14 files changed, 335 insertions(+), 137 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_WH_V2025-03-14-xiaj.sql diff --git a/DataBase/版本日志/SGGLDB_WH_V2025-03-14-xiaj.sql b/DataBase/版本日志/SGGLDB_WH_V2025-03-14-xiaj.sql new file mode 100644 index 00000000..61de85e9 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_V2025-03-14-xiaj.sql @@ -0,0 +1,89 @@ + + +--ؼȫ˵ +update Sys_Menu set SuperMenu='168A94C7-E37D-4B9C-8684-51DF4F8C5134',SortIndex=1,IsUsed=1,MenuName='ȫ' where MenuId='5F3B18D6-9FBA-4EF5-A7E4-DC9F6A4EA680'; +GO + +--2 +IF NOT EXISTS (SELECT 1 FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'GJSX_detail' AND COLUMN_NAME = 'ProgressStatus') +BEGIN + ALTER TABLE GJSX_detail ADD ProgressStatus nvarchar(20); +END +GO + + +SET ANSI_NULLS ON +GO +SET QUOTED_IDENTIFIER ON +GO +ALTER PROCEDURE [dbo].[Sp_GJSX_getlist] + -- Add the parameters for the stored procedure here + @ProjectId nvarchar(max), + @sql_where varchar(max) +AS +BEGIN + IF EXISTS(select * from tempdb..sysobjects where id=object_id('tempdb..#GJSX_List')) + BEGIN + DROP TABLE #GJSX_List + END + DECLARE @Sql NVARCHAR(max) + select * into #GJSX_List + from( + select + a.GJSXID + ,a.ProjectId + ,a.detail + ,b.username + ,a.createDate + ,User_ReceiveID=STUFF(( SELECT ',' + p2.UserName FROM dbo.Sys_User as p2 where PATINDEX('%,' + RTRIM(p2.UserId) + ',%',',' +a.User_ReceiveID + ',') >0 FOR XML PATH('')), 1, 1,'') + , CNProfessionalId=STUFF(( SELECT ',' + Base_CNProfessional.ProfessionalName FROM dbo.Base_CNProfessional where PATINDEX('%,' + RTRIM(Base_CNProfessional.CNProfessionalId) + ',%',',' +a.CNProfessional_ID + ',') >0 FOR XML PATH('')), 1, 1,'') + ,Base_Project.ProjectName + ,Base_Unit.unitname + ,a.CloseDate + ,case a.state when 2 then 'ڽ' when 3 then '' when 0 then 'ѹر' when 1 then '' end as state + ,QuestionTypeName=STUFF(( SELECT ',' + Base_QuestionType.QuestionTypeName FROM dbo.Base_QuestionType where PATINDEX('%,' + RTRIM(Base_QuestionType.QuestionTypeID) + ',%',',' +a.QuestionTypeID + ',') >0 FOR XML PATH('')), 1, 1,'') + ,GJSXTypeName = STUFF((SELECT ',' + Base_GJSXType.GJSXTypeName FROM dbo.Base_GJSXType where PATINDEX('%,' + RTRIM(Base_GJSXType.GJSXTypeID) + ',%', ',' + a.GJSXTypeID + ',') > 0 FOR XML PATH('')), 1, 1,'') + ,a.IsManypeople + ,a.CompleteDate + ,a.AttachUrl + ,user_Acceptance =STUFF(( SELECT ',' + p2.UserName FROM dbo.Sys_User as p2 where PATINDEX('%,' + RTRIM(p2.UserId) + ',%',',' +a.user_Acceptance + ',') >0 FOR XML PATH('')), 1, 1,'') + from GJSX as a left join Sys_User as b on a.UserId=b.UserId + left join [dbo].[Base_Project] on a.ProjectId =Base_Project.ProjectId + left join [dbo].[Base_Unit] on a.UnitId=Base_Unit.UnitId + --left join [dbo].[Base_QuestionType] on a.QuestionTypeID=Base_QuestionType.QuestionTypeID + --left join[dbo].[Base_GJSXType] on a.GJSXTypeID = Base_GJSXType.GJSXTypeID + where a.ProjectId=@ProjectId + ) as a + + set @Sql ='select * from #GJSX_List where 1=1 ' +@sql_where + + exec(@Sql) + + + --select + --a.GJSXID + --,a.ProjectId + --,a.detail + --,b.username + --,a.createDate + --,User_ReceiveID=STUFF(( SELECT ',' + p2.UserName FROM dbo.Sys_User as p2 where PATINDEX('%,' + RTRIM(p2.UserId) + ',%',',' +a.User_ReceiveID + ',') >0 FOR XML PATH('')), 1, 1,'') + --, CNProfessionalId=STUFF(( SELECT ',' + Base_CNProfessional.ProfessionalName FROM dbo.Base_CNProfessional where PATINDEX('%,' + RTRIM(Base_CNProfessional.CNProfessionalId) + ',%',',' +a.CNProfessional_ID + ',') >0 FOR XML PATH('')), 1, 1,'') + --,Base_Project.ProjectName + --,Base_Unit.unitname + --,a.CloseDate + --,case a.state when 2 then 'ڽ' when 3 then '' when 0 then 'ѹر' when 1 then '' end as state + --,QuestionTypeName=STUFF(( SELECT ',' + Base_QuestionType.QuestionTypeName FROM dbo.Base_QuestionType where PATINDEX('%,' + RTRIM(Base_QuestionType.QuestionTypeID) + ',%',',' +a.QuestionTypeID + ',') >0 FOR XML PATH('')), 1, 1,'') + --,GJSXTypeName = STUFF((SELECT ',' + Base_GJSXType.GJSXTypeName FROM dbo.Base_GJSXType where PATINDEX('%,' + RTRIM(Base_GJSXType.GJSXTypeID) + ',%', ',' + a.GJSXTypeID + ',') > 0 FOR XML PATH('')), 1, 1,'') + --,a.IsManypeople + --,a.CompleteDate + --,a.AttachUrl + --,user_Acceptance =STUFF(( SELECT ',' + p2.UserName FROM dbo.Sys_User as p2 where PATINDEX('%,' + RTRIM(p2.UserId) + ',%',',' +a.user_Acceptance + ',') >0 FOR XML PATH('')), 1, 1,'') + --from GJSX as a left join Sys_User as b on a.UserId=b.UserId + --left join [dbo].[Base_Project] on a.ProjectId =Base_Project.ProjectId + --left join [dbo].[Base_Unit] on a.UnitId=Base_Unit.UnitId + ----left join [dbo].[Base_QuestionType] on a.QuestionTypeID=Base_QuestionType.QuestionTypeID + ----left join[dbo].[Base_GJSXType] on a.GJSXTypeID = Base_GJSXType.GJSXTypeID + --where a.ProjectId=@ProjectId +END +GO + diff --git a/SGGL/BLL/PZHGL/GJSX/GJSXItemService.cs b/SGGL/BLL/PZHGL/GJSX/GJSXItemService.cs index c206c13c..cc17cf6c 100644 --- a/SGGL/BLL/PZHGL/GJSX/GJSXItemService.cs +++ b/SGGL/BLL/PZHGL/GJSX/GJSXItemService.cs @@ -1,4 +1,5 @@ -using System; +using Model; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -61,6 +62,7 @@ namespace BLL newGJSXMX.Date = gjsxmx.Date; newGJSXMX.Sort = gjsxmx.Sort; newGJSXMX.FilePath = gjsxmx.FilePath; + newGJSXMX.ProgressStatus = gjsxmx.ProgressStatus; db.GJSX_detail.InsertOnSubmit(newGJSXMX); db.SubmitChanges(); @@ -111,7 +113,8 @@ namespace BLL newGJSX_detail.Progress_detail = _GJSX_detail.Progress_detail; newGJSX_detail.Sort = _GJSX_detail.Sort; newGJSX_detail.FilePath = _GJSX_detail.FilePath; - + newGJSX_detail.ProgressStatus = newGJSX_detail.ProgressStatus; + db.SubmitChanges(); } } diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index fbb14cd0..3fa13380 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -19729,7 +19729,7 @@ - +
-
安监人员数据
+
-
企业总部人数
+
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 @@