From 4f97b3d41a5d390fef6f618416746f6d84594cc0 Mon Sep 17 00:00:00 2001 From: liangkun Date: Thu, 6 May 2021 09:46:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E8=AE=BF=E9=97=AE=E7=BB=9F?= =?UTF-8?q?=E4=B8=80=E5=BA=94=E7=94=A8=E7=A8=8B=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LR_SystemModule/Views/Log/OnlineUserIndex.cshtml | 3 +++ .../LR_SystemModule/Views/Log/OnlineUserIndex.js | 12 ++++++++++++ .../Learun.Application.Web/XmlConfig/database.config | 6 +++--- 3 files changed, 18 insertions(+), 3 deletions(-) diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.cshtml b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.cshtml index b074ad26b..373376657 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.cshtml +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.cshtml @@ -13,6 +13,9 @@
+
+  在线会话监控 +
diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js index 266c69772..8250c4a8d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Areas/LR_SystemModule/Views/Log/OnlineUserIndex.js @@ -19,6 +19,18 @@ var bootstrap = function ($, learun) { $('#lr_refresh').on('click', function () { location.reload(); }); + $('#lr_viewlog').on('click', function () { + learun.layerForm({ + id: 'form', + title: '清空', + url: top.$.rootUrl + '/LR_SystemModule/Log/Form?categoryId=' + categoryId, + height: 200, + width: 400, + callBack: function (id) { + return top[id].acceptClick(refreshGirdData); + } + }); + }); }, initGrid: function () { $('#gridtable').jfGrid({ diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config index 5d293d24b..9bf9ddc7d 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/XmlConfig/database.config @@ -24,9 +24,9 @@ --> - - - + + +