zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml
@@ -161,6 +161,29 @@ } }); $.ajax({ type: "POST", url: "/WorkFlowTask/CountRemindRecord", dataType: "json", global: false, async: false, //data: $('form').serializeArray(), success: function (data) { // console.log(data); $("#wfmsgcount").text(data); if (parseInt(data) > 0) { $("#showmsgcounts").attr("style", 'font-size:18px; color:#0d9c63;'); } else { $("#showmsgcounts").attr("style", 'font-size: larger;'); } }, error: function () { parent.layer.msg('失败', { icon: 5 }); } }); }; timerId();