Bläddra i källkod

消息提示

金隅分支
zhangli 3 år sedan
förälder
incheckning
320c17c6aa
3 ändrade filer med 24 tillägg och 45 borttagningar
  1. +0
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/MessageRindController.cs
  2. +23
    -43
      Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/MessageRind/UnreadIndex.cshtml
  3. +1
    -1
      Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-layer.js

+ 0
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Controllers/MessageRindController.cs Visa fil

@@ -171,7 +171,6 @@ namespace Learun.Application.Web.Areas.LR_Desktop.Controllers
/// <param name="strEntity">实体</param>
/// <returns></returns>
[HttpPost]
[ValidateAntiForgeryToken]
[AjaxOnly]
public ActionResult SaveReadSigns(string keyValue)
{


+ 23
- 43
Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_Desktop/Views/MessageRind/UnreadIndex.cshtml Visa fil

@@ -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,
// });

// }
// }
//})
})
}




+ 1
- 1
Learun.Framework.Ultimate V7/Learun.Application.Web/Views/LR_Content/script/lr-layer.js Visa fil

@@ -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层)


Laddar…
Avbryt
Spara