From 6f9a0cdb6360ff80818ce9ac947fb686e3045f8a Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Wed, 07 Apr 2021 16:25:03 +0800 Subject: [PATCH] 登录权限加入redis --- zq-erp/src/main/resources/static/js/function/vip.js | 21 +-------------------- 1 files changed, 1 insertions(+), 20 deletions(-) diff --git a/zq-erp/src/main/resources/static/js/function/vip.js b/zq-erp/src/main/resources/static/js/function/vip.js index a1a4475..09dfe86 100644 --- a/zq-erp/src/main/resources/static/js/function/vip.js +++ b/zq-erp/src/main/resources/static/js/function/vip.js @@ -73,7 +73,6 @@ $("#levelName").html(loj.getString(0, "vipLevel.levelName")); vipId = loj.getString(0, "id"); - updateHistory(); if (isActive) { $(".isActive").removeAttr("disabled"); isActive = false; @@ -83,25 +82,7 @@ } } -/** - * 更新最近查询客户 - */ -function updateHistory() { - $ - .AjaxProxy() - .invoke( - basePath + "/admin/showHistoryUser", - function (loj) { - var html = ""; - for (var i = 0; i < loj.getRowCount(); i++) { - html += "<li class='list-group-item'onclick='selectHistory(\"" - + loj.getString(i, "phone") - + "\")' >" - + loj.getString(i, "vipName") + "</li>"; - } - $("#historyList").html(html); - }); -} + /* * 点击切换最近查询用户 -- Gitblit v1.9.1