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
32925d0d
Commit
32925d0d
authored
Nov 25, 2019
by
季圣华
Browse files
优化用户模块
parent
1f2bf33d
Changes
3
Show whitespace changes
Inline
Side-by-side
README.md
View file @
32925d0d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
*
很多人说华夏ERP(英文名:jshERP)是目前唯一完整开源的进销存系统
*
很多人说华夏ERP(英文名:jshERP)是目前唯一完整开源的进销存系统
*
虽然目前只有进销存+财务的功能,但后面将会推出ERP的全部功能,大家一起努力吧
*
虽然目前只有进销存+财务的功能,但后面将会推出ERP的全部功能,大家一起努力吧
*
官网地址:
[
https://www.huaxiaerp.com
](
https://www.huaxiaerp.com
)
,演示账号:jsh,密码:123456
*
官网地址:
[
https://www.huaxiaerp.com
](
https://www.huaxiaerp.com
)
,演示账号:jsh,密码:123456
*
**商家入驻通道:[https://www.huaxiaerp.com/register.html](https://www.huaxiaerp.com/register.html) 欢迎注册
,免费试
用**
*
**商家入驻通道:[https://www.huaxiaerp.com/register.html](https://www.huaxiaerp.com/register.html) 欢迎注册
使
用**
*
商务合作-请联系QQ:514869858,技术交流-请联系QQ:752718920
*
商务合作-请联系QQ:514869858,技术交流-请联系QQ:752718920
*
欢迎加入华夏ERP交流QQ群,群1:120725710(满)、群2:732152262
*
欢迎加入华夏ERP交流QQ群,群1:120725710(满)、群2:732152262
*
系统默认租户账号:jsh,默认超管账户:admin,默认密码均为:123456
*
系统默认租户账号:jsh,默认超管账户:admin,默认密码均为:123456
...
...
erp_web/js/modules/sys/sysIndex.js
View file @
32925d0d
...
@@ -436,7 +436,7 @@ $(function () {
...
@@ -436,7 +436,7 @@ $(function () {
//消息弹窗
//消息弹窗
var
loginName
=
sessionStorage
.
getItem
(
"
loginName
"
);
var
loginName
=
sessionStorage
.
getItem
(
"
loginName
"
);
if
(
loginName
==
"
jsh
"
)
{
if
(
loginName
==
"
jsh
"
)
{
toastr
.
info
(
'
您当前正在使用
测试
账号,<br/>如需正式使用请注册 <a href="/register.html"><b>点击注册</b></a>
'
);
toastr
.
info
(
'
您当前正在使用
演示
账号,<br/>如需正式使用请注册 <a href="/register.html"><b>点击注册</b></a>
'
);
}
}
//广告循环
//广告循环
...
...
erp_web/pages/manage/user.html
View file @
32925d0d
...
@@ -179,7 +179,9 @@
...
@@ -179,7 +179,9 @@
{
{
title
:
'
操作
'
,
field
:
'
isystem
'
,
align
:
"
center
"
,
width
:
80
,
formatter
:
function
(
value
,
rec
,
index
)
{
title
:
'
操作
'
,
field
:
'
isystem
'
,
align
:
"
center
"
,
width
:
80
,
formatter
:
function
(
value
,
rec
,
index
)
{
var
str
=
''
;
var
str
=
''
;
if
(
rec
.
loginame
!=
"
jsh
"
)
{
str
+=
'
<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUser(
\'
'
+
index
+
'
\'
);"/>
'
;
str
+=
'
<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUser(
\'
'
+
index
+
'
\'
);"/>
'
;
}
if
(
rec
.
id
!=
rec
.
tenantId
)
{
if
(
rec
.
id
!=
rec
.
tenantId
)
{
str
+=
'
<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteUser(
'
+
rec
.
id
+
'
);"/>
'
;
str
+=
'
<img src="/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteUser(
'
+
rec
.
id
+
'
);"/>
'
;
}
}
...
@@ -317,7 +319,7 @@
...
@@ -317,7 +319,7 @@
ids
+=
row
[
i
].
id
+
"
,
"
;
ids
+=
row
[
i
].
id
+
"
,
"
;
}
}
if
(
row
[
i
].
loginame
==
"
jsh
"
){
if
(
row
[
i
].
loginame
==
"
jsh
"
){
$
.
messager
.
alert
(
'
提示
'
,
'
管理员
jsh不能删除!
'
,
'
warning
'
);
$
.
messager
.
alert
(
'
提示
'
,
'
租户
jsh不能删除!
'
,
'
warning
'
);
return
;
return
;
}
else
if
(
row
[
i
].
id
==
row
[
i
].
tenantId
)
{
}
else
if
(
row
[
i
].
id
==
row
[
i
].
tenantId
)
{
$
.
messager
.
alert
(
'
提示
'
,
'
不能删除自己!
'
,
'
warning
'
);
$
.
messager
.
alert
(
'
提示
'
,
'
不能删除自己!
'
,
'
warning
'
);
...
...
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