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 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + -