From 9346f075db84d73492b318440da45b306da6a1e4 Mon Sep 17 00:00:00 2001
From: 10191 <506754232@qq.com>
Date: Thu, 25 May 2023 10:56:16 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B4=A8=E9=87=8F=E6=9C=88=E6=8A=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
SGGL/BLL/Common/Funs.cs | 6 +-
SGGL/BLL/OpenService/FileStructService.cs | 6 +-
.../CQMS/ManageReport/ManagerMonthC.aspx | 90 ++++---
.../CQMS/ManageReport/ManagerMonthC.aspx.cs | 238 +++++++++++++-----
SGGL/FineUIPro.Web/ErrLog.txt | 106 ++++++++
.../File/Excel/CQMS/质量月报导出模板.xlsx | Bin 0 -> 22990 bytes
SGGL/FineUIPro.Web/Global.asax.cs | 1 +
SGGL/FineUIPro.Web/Web.config | 2 +-
.../ZHGL/ServerCheck/CheckRectifyEdit.aspx.cs | 13 +-
SGGL/Model/Model.cs | 112 ++++-----
10 files changed, 419 insertions(+), 155 deletions(-)
create mode 100644 SGGL/FineUIPro.Web/File/Excel/CQMS/质量月报导出模板.xlsx
diff --git a/SGGL/BLL/Common/Funs.cs b/SGGL/BLL/Common/Funs.cs
index f0988fb2..82388ff2 100644
--- a/SGGL/BLL/Common/Funs.cs
+++ b/SGGL/BLL/Common/Funs.cs
@@ -80,7 +80,11 @@ namespace BLL
get;
set;
}
-
+ public static string localRoot
+ {
+ get;
+ set;
+ }
///
/// ŷ·
///
diff --git a/SGGL/BLL/OpenService/FileStructService.cs b/SGGL/BLL/OpenService/FileStructService.cs
index 91c1f4a4..b5743196 100644
--- a/SGGL/BLL/OpenService/FileStructService.cs
+++ b/SGGL/BLL/OpenService/FileStructService.cs
@@ -21,7 +21,7 @@ namespace BLL
if (!String.IsNullOrEmpty(attachUrl))
{
string filePath = string.Empty;
- string physicalpath = Funs.RootPath;
+ string physicalpath = Funs.localRoot;
//HttpContext.Current.Request.PhysicalApplicationPath;
filePath = physicalpath + attachUrl;
if (File.Exists(filePath))
@@ -66,7 +66,7 @@ namespace BLL
foreach (var item in strs)
{
string filePath = string.Empty;
- string physicalpath = Funs.RootPath;
+ string physicalpath = Funs.localRoot;
//HttpContext.Current.Request.PhysicalApplicationPath;
filePath = physicalpath + item;
if (File.Exists(filePath))
@@ -113,7 +113,7 @@ namespace BLL
foreach (var item in strs)
{
string filePath = string.Empty;
- string physicalpath = Funs.RootPath;
+ string physicalpath = Funs.localRoot;
//HttpContext.Current.Request.PhysicalApplicationPath;
filePath = physicalpath + item;
if (File.Exists(filePath))
diff --git a/SGGL/FineUIPro.Web/CQMS/ManageReport/ManagerMonthC.aspx b/SGGL/FineUIPro.Web/CQMS/ManageReport/ManagerMonthC.aspx
index 450725ce..4a004760 100644
--- a/SGGL/FineUIPro.Web/CQMS/ManageReport/ManagerMonthC.aspx
+++ b/SGGL/FineUIPro.Web/CQMS/ManageReport/ManagerMonthC.aspx
@@ -28,8 +28,8 @@
+ ClicksToEdit="1" DataIDField="MonthReportItemId" EnableColumnLines="true"
+ OnRowDataBound="Grid1_RowDataBound">
@@ -61,83 +61,83 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
-
+
@@ -152,6 +152,11 @@