From 8c09097e9438896075deab8e529fbde878db1e93 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Fri, 26 Dec 2025 10:57:02 +0800 Subject: [PATCH] 1 --- .../ProjectHighlightsSitePic.aspx.cs | 14 ++++---- .../ProjectHighlightsSitePicEdit.aspx.cs | 4 +-- .../ProjectHighlightsSitePicReport.aspx.cs | 14 ++++---- SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 34 ++++++++++++++++++- 4 files changed, 49 insertions(+), 17 deletions(-) diff --git a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs index 51c19a21..e927f75f 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePic.aspx.cs @@ -88,12 +88,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite string url = string.Empty; if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString())) { - string httpUrl = Funs.SGGLUrl; - //var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); - //if (sysSet6 != null) - //{ - // httpUrl = sysSet6.SetValue; - //} + string httpUrl = string.Empty; + var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); + if (sysSet6 != null) + { + httpUrl = sysSet6.SetValue; + } url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString()); } return url; @@ -268,7 +268,7 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite { return; } - var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.PersonId, BLL.Const.ProjectHighlightsSitePicMenuId); + var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.UserId, BLL.Const.ProjectHighlightsSitePicMenuId); if (buttonList.Count() > 0) { //if (buttonList.Contains(BLL.Const.BtnAdd)) diff --git a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs index adb396a8..4149d05e 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicEdit.aspx.cs @@ -68,8 +68,8 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite Model.CQMS_ProjectHighlightsSitePic model = new Model.CQMS_ProjectHighlightsSitePic(); model.Id = this.Id; model.Resume = this.txtResume.Text.Trim(); - model.CompileMan = this.CurrUser.PersonId; - model.CompileManName = this.CurrUser.PersonName; + model.CompileMan = this.CurrUser.UserId; + model.CompileManName = this.CurrUser.UserName; model.CompileDate = DateTime.Now; var attachFile = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == this.Id); if (attachFile != null) diff --git a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs index 8c1714de..02f831a6 100644 --- a/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs +++ b/SGGL/FineUIPro.Web/CQMS/ProjectHighlightsSite/ProjectHighlightsSitePicReport.aspx.cs @@ -115,12 +115,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite string url = string.Empty; if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString())) { - string httpUrl = Funs.SGGLUrl; - //var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); - //if (sysSet6 != null) - //{ - // httpUrl = sysSet6.SetValue; - //} + string httpUrl = string.Empty; + var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault(); + if (sysSet6 != null) + { + httpUrl = sysSet6.SetValue; + } url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString()); } return url; @@ -333,7 +333,7 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite { return; } - var buttonList = BLL.CommonService.GetAllButtonList(null, this.CurrUser.PersonId, BLL.Const.ProjectHighlightsSitePicReportMenuId); + var buttonList = BLL.CommonService.GetAllButtonList(null, this.CurrUser.UserId, BLL.Const.ProjectHighlightsSitePicReportMenuId); if (buttonList.Count() > 0) { //if (buttonList.Contains(BLL.Const.BtnAdd)) diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index a36f6d86..017734c8 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -496,6 +496,10 @@ + + + + @@ -9228,6 +9232,34 @@ TechnicalProposalReviewView.aspx + + ProjectHighlightsSitePic.aspx + ASPXCodeBehind + + + ProjectHighlightsSitePic.aspx + + + ProjectHighlightsSitePicEdit.aspx + ASPXCodeBehind + + + ProjectHighlightsSitePicEdit.aspx + + + ProjectHighlightsSitePicReport.aspx + ASPXCodeBehind + + + ProjectHighlightsSitePicReport.aspx + + + ProjectHighlightsSiteType.aspx + ASPXCodeBehind + + + ProjectHighlightsSiteType.aspx + QCGroupRegistration.aspx ASPXCodeBehind @@ -16862,7 +16894,7 @@ - +