From c212ae6feb416722f7040ce99be85daec2a1b41e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com>
Date: Thu, 11 Jun 2020 16:56:55 +0800
Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3admin=E4=BC=9A=E8=A2=AB?=
=?UTF-8?q?=E8=AF=AF=E5=88=A0=E7=9A=84bug?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
erp_web/pages/manage/user.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/erp_web/pages/manage/user.html b/erp_web/pages/manage/user.html
index e95e8416..a85da557 100644
--- a/erp_web/pages/manage/user.html
+++ b/erp_web/pages/manage/user.html
@@ -174,10 +174,10 @@
{
title: '操作', field: 'isystem', align: "center", width: 80, formatter: function (value, rec, index) {
var str = '';
- if(rec.loginame != "jsh") {
+ if(rec.loginName != "jsh") {
str += '
';
}
- if (rec.id != rec.tenantId) {
+ if (rec.id != rec.tenantId && rec.loginName != "admin") {
str += '
';
}
else {