给系统设置增加演示用户禁止操作的判断
This commit is contained in:
@@ -231,6 +231,9 @@
|
||||
|
||||
//删除系统配置信息
|
||||
function deleteSystemConfig(systemConfigId) {
|
||||
if(checkIsTestUser()) {
|
||||
return;
|
||||
}
|
||||
$.messager.confirm('删除确认', '确定要删除此系统配置信息吗?', function (r) {
|
||||
if (r) {
|
||||
$.ajax({
|
||||
@@ -259,6 +262,9 @@
|
||||
|
||||
//批量删除系统配置
|
||||
function batDeleteSystemConfig() {
|
||||
if(checkIsTestUser()) {
|
||||
return;
|
||||
}
|
||||
var row = $('#tableData').datagrid('getChecked');
|
||||
if (row.length == 0) {
|
||||
$.messager.alert('删除提示', '没有记录被选中!', 'warning');
|
||||
@@ -335,6 +341,9 @@
|
||||
|
||||
//保存系统配置信息
|
||||
$("#saveSystemConfig").off("click").on("click", function () {
|
||||
if(checkIsTestUser()) {
|
||||
return;
|
||||
}
|
||||
if (checkCompanyName()) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user