From b3a0193a38ff6d17762395a784d7d66e501a9365 Mon Sep 17 00:00:00 2001
From: fly-l <1420031550@qq.com>
Date: Mon, 30 Oct 2023 10:40:53 +0800
Subject: [PATCH] 2023-10-30
---
SGGL/BLL/BLL.csproj | 1 +
SGGL/BLL/Common/Const.cs | 4 +-
SGGL/BLL/Common/MultiHeaderTable.cs | 142 +++++++++++++++++
.../PhtglContracttrackService .cs | 97 ++++++------
...踪导入模板.xlsx => 合同价格信息导入模板.xlsx} | Bin
.../ContractTrackComparison.aspx | 144 +++++++++---------
.../ContractTrackComparison.aspx.cs | 8 +
.../ContractTrackComparison.aspx.designer.cs | 17 +--
.../ContractCompile/ContractTrackList.aspx | 52 +++----
...ContractTrackProgressDetectionGrid.aspx.cs | 76 ++++++++-
.../PHTGL/ContractCompile/ContractWBS.aspx | 68 ++++-----
SGGL/FineUIPro.Web/common/Menu_DigData.xml | 63 ++++++--
SGGL/FineUIPro.Web/common/Menu_HTGL.xml | 13 +-
SGGL/FineUIPro.Web/common/Menu_JDGL.xml | 6 +-
SGGL/FineUIPro.Web/common/Menu_PHTGL.xml | 21 +--
SGGL/FineUIPro.Web/common/Menu_ZHGL.xml | 37 -----
16 files changed, 485 insertions(+), 264 deletions(-)
create mode 100644 SGGL/BLL/Common/MultiHeaderTable.cs
rename SGGL/FineUIPro.Web/File/Excel/DataIn/{合同执行跟踪导入模板.xlsx => 合同价格信息导入模板.xlsx} (100%)
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index ea01de06..b8bfa829 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -271,6 +271,7 @@
+
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index b5f1c295..80b375dc 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -3424,9 +3424,9 @@ namespace BLL
///
public const string TemQuantityTemplateUrl = "File\\Excel\\DataIn\\工程量清单模板.xlsx";
///
- /// 合同执行跟踪导入模板
+ /// 合同价格信息导入模板
///
- public const string TemContractTrackTemplateUrl = "File\\Excel\\DataIn\\合同执行跟踪导入模板.xlsx";
+ public const string TemContractTrackTemplateUrl = "File\\Excel\\DataIn\\合同价格信息导入模板.xlsx";
#endregion
diff --git a/SGGL/BLL/Common/MultiHeaderTable.cs b/SGGL/BLL/Common/MultiHeaderTable.cs
new file mode 100644
index 00000000..1e99cd70
--- /dev/null
+++ b/SGGL/BLL/Common/MultiHeaderTable.cs
@@ -0,0 +1,142 @@
+using FineUIPro;
+using System.Collections.Generic;
+using System;
+///
+/// 处理多表头的类
+///
+public class MultiHeaderTable
+{
+ // 包含 rowspan,colspan 的多表头,方便生成 HTML 的 table 标签
+ public List> MultiTable = new List>();
+ // 最终渲染的列数组
+ public List Columns = new List();
+
+
+ public void ResolveMultiHeaderTable(GridColumnCollection columns)
+ {
+ List