diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/MessageRindController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/MessageRindController.cs
index 19bd02828..35f6e64ca 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/MessageRindController.cs
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/MessageRindController.cs
@@ -171,7 +171,6 @@ namespace Learun.Application.Web.Areas.LR_Desktop.Controllers
/// 实体
///
[HttpPost]
- [ValidateAntiForgeryToken]
[AjaxOnly]
public ActionResult SaveReadSigns(string keyValue)
{
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/MessageRind/UnreadIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/MessageRind/UnreadIndex.cshtml
index fb0603873..5012d734d 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/MessageRind/UnreadIndex.cshtml
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/MessageRind/UnreadIndex.cshtml
@@ -85,51 +85,31 @@
//更改状态为已读
var MessageId = params[2];
if (top.learun.checkrow(MessageId)) {
- top.learun.deleteForm(top.$.rootUrl + '/LR_Desktop/MessageRind/SaveReadSigns', { keyValue: MessageId }, function () {
- //弹窗查看详情
- var keyValue = params[1];
- var ConnectionUrl = params[3];
- var title = params[0];
- if (top.learun.checkrow(keyValue)) {
- top.learun.layerForm({
- id: 'formview',
- title: title,
- url: top.$.rootUrl + ConnectionUrl + keyValue,
- width: 1000,
- height: 650,
- maxmin: true,
- btn: null,
- });
+ $.ajax({
+ url: top.$.rootUrl + '/LR_Desktop/MessageRind/SaveReadSigns',
+ type: "post",
+ data: { keyValue: MessageId },
+ dataType: "json",
+ async: false,
+ success: function (data) {
+ //弹窗查看详情
+ var keyValue = params[1];
+ var ConnectionUrl = params[3];
+ var title = params[0];
+ if (top.learun.checkrow(keyValue)) {
+ top.learun.layerForm({
+ id: 'formview',
+ title: title,
+ url: top.$.rootUrl + ConnectionUrl + keyValue,
+ width: 1000,
+ height: 650,
+ maxmin: true,
+ btn: null,
+ });
+ }
}
- });
-
-
- //$.ajax({
- // url: top.$.rootUrl + '/LR_Desktop/MessageRind/SaveReadSigns',
- // type: "post",
- // data: { keyValue: MessageId },
- // dataType: "json",
- // async: false,
- // success: function (data) {
- // //弹窗查看详情
- // var keyValue = params[1];
- // var ConnectionUrl = params[3];
- // var title = params[0];
- // if (top.learun.checkrow(keyValue)) {
- // top.learun.layerForm({
- // id: 'formview',
- // title: title,
- // url: top.$.rootUrl + ConnectionUrl + keyValue,
- // width: 1000,
- // height: 650,
- // maxmin: true,
- // btn: null,
- // });
-
- // }
- // }
- //})
+ })
}
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-layer.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-layer.js
index 91d496ea3..6e90f97e0 100644
--- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-layer.js
+++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-layer.js
@@ -70,7 +70,7 @@
dfop.width = dfop.width > $(window).width() ? $(window).width() - 10 : dfop.width;
dfop.height = dfop.height > $(window).height() ? $(window).height() - 10 : dfop.height;
var r = 0;
- r=top.layer.open({
+ r = top.layer.open({
id: dfop.id,
maxmin: dfop.maxmin,
type: 2, //0(信息框,默认)1(页面层)2(iframe层)3(加载层)4(tips层)