From 2bfaab21576ba77575344d28b7eea8da428500c1 Mon Sep 17 00:00:00 2001 From: gaofei <231232131@163.com> Date: Sat, 23 Apr 2022 22:49:21 +0800 Subject: [PATCH] 0423-001 --- .../版本日志/SGGLDB_V2022-04-23-001.sql | 31 + .../JDGL/Check/QuantityCompletion.aspx.cs | 2 +- SGGL/FineUIPro.Web/common/mainIII.aspx | 554 ++++++++++-------- SGGL/FineUIPro.Web/common/mainIII.aspx.cs | 121 ++-- .../common/mainIII.aspx.designer.cs | 18 + SGGL/FineUIPro.Web/common/mainProject.aspx.cs | 2 +- 6 files changed, 446 insertions(+), 282 deletions(-) create mode 100644 DataBase/版本日志/SGGLDB_V2022-04-23-001.sql diff --git a/DataBase/版本日志/SGGLDB_V2022-04-23-001.sql b/DataBase/版本日志/SGGLDB_V2022-04-23-001.sql new file mode 100644 index 00000000..bf119b91 --- /dev/null +++ b/DataBase/版本日志/SGGLDB_V2022-04-23-001.sql @@ -0,0 +1,31 @@ +alter table [dbo].[JDGL_QuantityList] add SortIndex int null +GO + + +ALTER VIEW [dbo].[View_JDGL_QuantityCompletion] +AS +select qc.*,ql.DesignNum,ql.Name,ql.Unit,ql.SortIndex, + CONVERT(FLOAT,(select sum(ISNULL(PlanNum,0)) from JDGL_QuantityCompletion where ProjectId=ql.ProjectId and QuantityListId=qc.QuantityListId and EndDate<=getdate())) as TotalPlanNum, + CONVERT(FLOAT,(select sum(ISNULL(RealNum,0)) from JDGL_QuantityCompletion where ProjectId=ql.ProjectId and QuantityListId=qc.QuantityListId and EndDate<=getdate())) as TotalRealNum, + CONVERT(NVARCHAR(10),((CAST(CASE ISNULL(qc.PlanNum,0) WHEN 0 THEN 0 + ELSE 100*ISNULL(qc.RealNum,0) / (1.0 *qc.PlanNum) END AS DECIMAL(9,2)))))+'%' + AS Rate, + CONVERT(NVARCHAR(10),((CAST(CASE (select sum(ISNULL(PlanNum,0)) from JDGL_QuantityCompletion where ProjectId=ql.ProjectId and QuantityListId=qc.QuantityListId and EndDate<=getdate()) WHEN 0 THEN 0 + ELSE 100*(select sum(ISNULL(RealNum,0)) from JDGL_QuantityCompletion where ProjectId=ql.ProjectId and QuantityListId=qc.QuantityListId and EndDate<=getdate()) / (1.0 *(select sum(ISNULL(PlanNum,0)) from JDGL_QuantityCompletion where ProjectId=ql.ProjectId and QuantityListId=qc.QuantityListId and EndDate<=getdate())) END AS DECIMAL(9,2)))))+'%' + AS TotalRate, + CONVERT(NVARCHAR(10),((CAST(CASE ISNULL(ql.DesignNum,0) WHEN 0 THEN 0 + ELSE 100*(select sum(ISNULL(RealNum,0)) from JDGL_QuantityCompletion where ProjectId=ql.ProjectId and QuantityListId=qc.QuantityListId and EndDate<=getdate()) / (1.0 *ql.DesignNum) END AS DECIMAL(9,2)))))+'%' + AS SumRate, + CONVERT(FLOAT,(select sum(ISNULL(PlanNum,0)) from JDGL_QuantityCompletion where ProjectId=ql.ProjectId and QuantityListId=qc.QuantityListId and Months listStr = new List(); listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId)); SqlParameter[] parameter = listStr.ToArray(); diff --git a/SGGL/FineUIPro.Web/common/mainIII.aspx b/SGGL/FineUIPro.Web/common/mainIII.aspx index 9656661d..fd699c61 100644 --- a/SGGL/FineUIPro.Web/common/mainIII.aspx +++ b/SGGL/FineUIPro.Web/common/mainIII.aspx @@ -9,240 +9,295 @@
-
+
-
+
施工进度曲线
更多
@@ -252,11 +307,11 @@ padding-left: 2em;
- -
+ +
-
+
各工种人力情况
总数:
@@ -269,7 +324,14 @@ padding-left: 2em;
-
关键事项
+
+ 关键事项
+ +
@@ -284,9 +346,9 @@ padding-left: 2em;
-
-
HSE绩效
-
+
+
HSE绩效
+
0
作业许可
@@ -310,8 +372,8 @@ padding-left: 2em;
-
质量管理
-
+
质量管理
+
@@ -358,9 +420,20 @@ padding-left: 2em;
-
专业工作量表
+
 
+
+
+
材料到货情况
+
+
材料出库情况
+
+
建筑单位工程
+
+
专业
+
+
-
+
序号
类型
@@ -369,7 +442,7 @@ padding-left: 2em;
计划完成
实际完成
计划完成率
-
累计计划完成
+
累计计划完成
累计实际完成
累计计划完成率
总完成率
@@ -388,7 +461,7 @@ padding-left: 2em;
50%
-
2
+
2
钢筋
T
200
@@ -413,8 +486,8 @@ padding-left: 2em;
67%
50%
-
-
4
+
+
4
钢筋
T
200
@@ -427,7 +500,7 @@ padding-left: 2em;
50%
-
5
+
5
钢结构
200
@@ -440,7 +513,7 @@ padding-left: 2em;
50%
-
6
+
6
设备
200
@@ -453,7 +526,7 @@ padding-left: 2em;
50%
-
7
+
7
管道安装
达因
200
@@ -465,8 +538,8 @@ padding-left: 2em;
67%
50%
-
-
8
+
+
8
其他
200
@@ -483,11 +556,11 @@ padding-left: 2em;
更多
- +
-