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