From 67a0042c5f29e4bb0e0b82f6190f2bc51480b45c Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期二, 28 二月 2023 13:25:09 +0800 Subject: [PATCH] 工资绩效改版 --- zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml | 25 ++++++++++++++++++++++++- 1 files changed, 24 insertions(+), 1 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml b/zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml index eb8e61e..792eefd 100644 --- a/zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml +++ b/zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml @@ -50,7 +50,7 @@ Html.RenderPartial("_Layout_Header"); } <div class="row J_mainContent" id="content-main"> - <iframe class="J_iframe" width="100%" height="100%" src="" data-id="/Home/HomeIndex" + <iframe class="J_iframe" width="100%" height="100%" src="/Home/HomeIndex" data-id="/Home/HomeIndex" name="iframe0" frameborder="0" seamless></iframe> </div> @*@RenderPage("_Layout_Footer.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(); -- Gitblit v1.9.1