diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs
index 6151dc105..2f5a72623 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs
@@ -5,7 +5,9 @@ using System.Collections.Generic;
using System.Data;
using System.IO;
using System.Linq;
+using System.Net.Http;
using System.Web.Mvc;
+using Learun.Application.OA;
namespace Learun.Application.Web.Controllers
{
@@ -595,6 +597,24 @@ namespace Learun.Application.Web.Controllers
{
return View();
}
+
+ private NoticeIBLL noticeIBLL = new NoticeBLL();
+ [HttpGet]
+ public ActionResult ListContentView(string keyValue)
+ {
+ var data = noticeIBLL.GetEntity(keyValue);
+ data.F_NewsContent = WebHelper.HtmlDecode(data.F_NewsContent);
+ return Content(data.F_NewsContent);
+ }
+ ///
+ /// 失物招领
+ ///
+ ///
+ [HttpGet]
+ public ActionResult ListContentIndexLost()
+ {
+ return View();
+ }
#endregion
#region 开发向导
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml
index 4581f7574..25b3bc637 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.cshtml
@@ -23,9 +23,10 @@
发布:
公告类别:
-
*@
+
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js
index cfc21c109..d56a2b6ac 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Utility/ListContentIndex.js
@@ -26,7 +26,8 @@ var bootstrap = function ($, learun) {
$("#F_CreateDate").text(data.F_CreateDate);
$("#F_CreateUserName").text(data.F_CreateUserName);
$("#F_Category").text(data.F_Category);
- $("#F_NewsContent").html($('').html(data.F_NewsContent));
+ //$("#F_NewsContent").html($('').html(data.F_NewsContent));
+ $("#newscontentframe").attr("src","/Utility/ListContentView?keyValue="+id);
$('#F_NewsImage').lrUploaderSet(data.F_NewsImage);
});
}