Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
c212ae6f
Commit
c212ae6f
authored
Jun 11, 2020
by
季圣华
Browse files
解决admin会被误删的bug
parent
753c865d
Changes
1
Show whitespace changes
Inline
Side-by-side
erp_web/pages/manage/user.html
View file @
c212ae6f
...
...
@@ -174,10 +174,10 @@
{
title
:
'
操作
'
,
field
:
'
isystem
'
,
align
:
"
center
"
,
width
:
80
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
if
(
rec
.
loginame
!=
"
jsh
"
)
{
if
(
rec
.
login
N
ame
!=
"
jsh
"
)
{
str
+=
'
<img src="/js/easyui/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUser(
\'
'
+
index
+
'
\'
);"/>
'
;
}
if
(
rec
.
id
!=
rec
.
tenantId
)
{
if
(
rec
.
id
!=
rec
.
tenantId
&&
rec
.
loginName
!=
"
admin
"
)
{
str
+=
'
<img src="/js/easyui/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteUser(
'
+
rec
.
id
+
'
);"/>
'
;
}
else
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment