1
This commit is contained in:
@@ -88,12 +88,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
|
|||||||
string url = string.Empty;
|
string url = string.Empty;
|
||||||
if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString()))
|
if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString()))
|
||||||
{
|
{
|
||||||
string httpUrl = string.Empty;
|
string httpUrl = Funs.SGGLUrl;
|
||||||
var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
|
//var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
|
||||||
if (sysSet6 != null)
|
//if (sysSet6 != null)
|
||||||
{
|
//{
|
||||||
httpUrl = sysSet6.SetValue;
|
// httpUrl = sysSet6.SetValue;
|
||||||
}
|
//}
|
||||||
url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString());
|
url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString());
|
||||||
}
|
}
|
||||||
return url;
|
return url;
|
||||||
@@ -268,7 +268,7 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
|
|||||||
{
|
{
|
||||||
return;
|
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.Count() > 0)
|
||||||
{
|
{
|
||||||
//if (buttonList.Contains(BLL.Const.BtnAdd))
|
//if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||||
|
|||||||
@@ -68,8 +68,8 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
|
|||||||
Model.CQMS_ProjectHighlightsSitePic model = new Model.CQMS_ProjectHighlightsSitePic();
|
Model.CQMS_ProjectHighlightsSitePic model = new Model.CQMS_ProjectHighlightsSitePic();
|
||||||
model.Id = this.Id;
|
model.Id = this.Id;
|
||||||
model.Resume = this.txtResume.Text.Trim();
|
model.Resume = this.txtResume.Text.Trim();
|
||||||
model.CompileMan = this.CurrUser.UserId;
|
model.CompileMan = this.CurrUser.PersonId;
|
||||||
model.CompileManName = this.CurrUser.UserName;
|
model.CompileManName = this.CurrUser.PersonName;
|
||||||
model.CompileDate = DateTime.Now;
|
model.CompileDate = DateTime.Now;
|
||||||
var attachFile = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == this.Id);
|
var attachFile = Funs.DB.AttachFile.FirstOrDefault(x => x.ToKeyId == this.Id);
|
||||||
if (attachFile != null)
|
if (attachFile != null)
|
||||||
|
|||||||
+7
-7
@@ -115,12 +115,12 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
|
|||||||
string url = string.Empty;
|
string url = string.Empty;
|
||||||
if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString()))
|
if (picUrl != null && !string.IsNullOrWhiteSpace(picUrl.ToString()))
|
||||||
{
|
{
|
||||||
string httpUrl = string.Empty;
|
string httpUrl = Funs.SGGLUrl;
|
||||||
var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
|
//var sysSet6 = (from x in Funs.DB.Sys_Set where x.SetName == "程序访问地址" select x).ToList().FirstOrDefault();
|
||||||
if (sysSet6 != null)
|
//if (sysSet6 != null)
|
||||||
{
|
//{
|
||||||
httpUrl = sysSet6.SetValue;
|
// httpUrl = sysSet6.SetValue;
|
||||||
}
|
//}
|
||||||
url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString());
|
url = BLL.UploadAttachmentService.ShowImage(httpUrl, picUrl.ToString());
|
||||||
}
|
}
|
||||||
return url;
|
return url;
|
||||||
@@ -333,7 +333,7 @@ namespace FineUIPro.Web.CQMS.ProjectHighlightsSite
|
|||||||
{
|
{
|
||||||
return;
|
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.Count() > 0)
|
||||||
{
|
{
|
||||||
//if (buttonList.Contains(BLL.Const.BtnAdd))
|
//if (buttonList.Contains(BLL.Const.BtnAdd))
|
||||||
|
|||||||
Reference in New Issue
Block a user