优化用户模块
This commit is contained in:
parent
1f2bf33def
commit
32925d0d66
@ -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
|
||||||
|
|||||||
@ -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>');
|
||||||
}
|
}
|
||||||
|
|
||||||
//广告循环
|
//广告循环
|
||||||
|
|||||||
@ -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 = '';
|
||||||
str += '<img src="/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editUser(\'' + index + '\');"/> ';
|
if(rec.loginame != "jsh") {
|
||||||
|
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 @@
|
|||||||
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');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user