From ea037964dba48654bdaf7169517c64508984841e Mon Sep 17 00:00:00 2001 From: username@email.com <yzy2002yzy@163.com> Date: 星期一, 19 七月 2021 14:53:45 +0800 Subject: [PATCH] 今日开发: 工作考评 按部门排序。不显示离职员工 工作统计,去掉标题 所有查询,只选择开始或者结束日期,自动补充另外一个日期 工作统计增加根据日期查询,只显示有数据的项 增加全员工作统计菜单,可以查询每个每个在职员工的工作统计 --- zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-) diff --git a/zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml b/zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml index eb8e61e..ceaa890 100644 --- a/zhengcaioa/zhengcaioa/Views/Shared/_Layout.cshtml +++ b/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(); -- Gitblit v1.9.1