This commit is contained in:
parent
8c09097e94
commit
d123dc5c9f
|
|
@ -88,12 +88,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
|
|||
string url = string.Empty;
|
||||
if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString()))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
//}
|
||||
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.UserId, BLL.Const.ProjectHighlightsSitePicMenuId);
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(this.ProjectId, this.CurrUser.PersonId, BLL.Const.ProjectHighlightsSitePicMenuId);
|
||||
if (buttonList.Count() > 0)
|
||||
{
|
||||
//if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
|
|
|
|||
|
|
@ -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.UserId;
|
||||
model.CompileManName = this.CurrUser.UserName;
|
||||
model.CompileMan = this.CurrUser.PersonId;
|
||||
model.CompileManName = this.CurrUser.PersonName;
|
||||
model.CompileDate = DateTime.Now;
|
||||
var attachFile = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == this.Id);
|
||||
if (attachFile != null)
|
||||
|
|
|
|||
|
|
@ -115,12 +115,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
|
|||
string url = string.Empty;
|
||||
if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString()))
|
||||
{
|
||||
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;
|
||||
}
|
||||
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;
|
||||
//}
|
||||
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.UserId, BLL.Const.ProjectHighlightsSitePicReportMenuId);
|
||||
var buttonList = BLL.CommonService.GetAllButtonList(null, this.CurrUser.PersonId, BLL.Const.ProjectHighlightsSitePicReportMenuId);
|
||||
if (buttonList.Count() > 0)
|
||||
{
|
||||
//if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||
|
|
|
|||
Loading…
Reference in New Issue