From dadc004aa6a35a427934a3e5aeb2909edee8c5b4 Mon Sep 17 00:00:00 2001 From: hwh2023 <598694955@qq.com> Date: Tue, 5 Sep 2023 11:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E6=B6=88=E6=81=AF=E5=88=B7?= =?UTF-8?q?=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Views/Home/AdminDesktop/Index.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktop/Index.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktop/Index.js index fc17f7ef8..58be55ac4 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktop/Index.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Views/Home/AdminDesktop/Index.js @@ -346,11 +346,17 @@ // UnfileLeave = UnfileLeave, // UnfileLeaveZC = UnfileLeaveZC, // totalcount = totalcount - $('#btn_daiban').html("待办事项 " + data.data.UnreadTask + " 条") - $('#btn_tonggao').html("通告 " + data.data.UnreadNews + " 条") + + //$("#btn_daiban", window.parent.document).html("11") + //$('#btn_tonggao', window.parent.document).html("<22") + ////$('#btn_gongwen').text(data.totalcount) + //$('body > div.lr-im-bell2.open > ul > li:nth-child(5)', window.parent.document).html("44") + //$('body > div.lr-im-bell2 > a > span:nth-child(3)', window.parent.document).html("123") + $("#btn_daiban", window.parent.document).html("待办事项 " + data.data.UnreadTask + " 条") + $('#btn_tonggao', window.parent.document).html("通告 " + data.data.UnreadNews + " 条") //$('#btn_gongwen').text(data.totalcount) - $('body > div.lr-im-bell2.open > ul > li:nth-child(5)').html("共 " + data.data.totalcount+" 条") - $('body > div.lr-im-bell2 > a > span:nth-child(3)').html(data.data.totalcount) + $('body > div.lr-im-bell2.open > ul > li:nth-child(5)', window.parent.document).html("共 " + data.data.totalcount+" 条") + $('body > div.lr-im-bell2 > a > span:nth-child(3)', window.parent.document).html(data.data.totalcount) } } });