diff --git a/src/main/resources/modules/SpringBoot/resources/static/css/base.css b/src/main/resources/modules/SpringBoot/resources/static/css/base.css index 56d6528e..95e31e5e 100644 --- a/src/main/resources/modules/SpringBoot/resources/static/css/base.css +++ b/src/main/resources/modules/SpringBoot/resources/static/css/base.css @@ -634,8 +634,8 @@ code { .loading-bar { width: 100%; - padding: 0px; - top: 0px; + padding: 0!important; + top: 0!important; box-shadow: 0px 0px 0px 0px; border: 0px; } diff --git a/src/main/resources/modules/SpringBoot/resources/templates/control/nav.ftl b/src/main/resources/modules/SpringBoot/resources/templates/control/nav.ftl index b03a36a4..d3582266 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/control/nav.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/control/nav.ftl @@ -242,7 +242,7 @@ }, onReset: function (form) { this.$refs[form].resetFields(); - this.w('重置成功'); + nav.w('重置成功'); }, onPageChange: function (pageNumber) { this.vm.pageNumber = pageNumber; @@ -344,7 +344,7 @@ if (response.errors.length > 0) { nav.e(response.errors[0].message); } else { - this.s("删除成功"); + nav.s("删除成功"); this.onFind(); } }.bind(this)) @@ -354,7 +354,7 @@ }, onBitchDelete: function () { if (this.select.length == 0) { - this.w("至少选中一项"); + nav.w("至少选中一项"); } else { this.$confirm('将删除已选择的项, 是否继续?', '提示', { confirmButtonText: '确定', @@ -377,7 +377,7 @@ } } if (this.select.length === 0) { - this.s("删除成功") + nav.s("删除成功") this.onFind(); } } diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/home.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/home.ftl index 03aec9ea..a62c0e4e 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/home.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/home.ftl @@ -145,11 +145,11 @@
if (response.errors.length > 0) {
-this.e(response.errors[0].message);
+nav.e(response.errors[0].message);
} else {
-this.i("Ajax调用成功!");
+nav.i("Ajax调用成功!");
}
@@ -179,13 +179,13 @@req.onError();
-this.e(response.errors[0].message);
+nav.e(response.errors[0].message);
} else {
req.onSuccess();
-this.i("文件上传成功!");
+nav.i("文件上传成功!");
}
@@ -1030,9 +1030,9 @@ doAjax: function () { this.$ajax.login({}).then(function (response) { if (response.errors.length > 0) { - this.e(response.errors[0].message); + nav.e(response.errors[0].message); } else { - this.i("Ajax调用成功!"); + nav.i("Ajax调用成功!"); } }.bind(this)) }, @@ -1056,10 +1056,10 @@ this.$ajax.upload(req.file).then(function (response) { if (response.errors.length > 0) { req.onError(); - this.e(response.errors[0].message); + nav.e(response.errors[0].message); } else { req.onSuccess(); - this.i("文件上传成功!"); + nav.i("文件上传成功!"); } }.bind(this)) }, @@ -1077,7 +1077,7 @@ this.$refs[formName].resetFields(); }, handleEdit: function (index, row) { - this.i("编辑"); + nav.i("编辑"); }, showMessage: function () { diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/login.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/login.ftl index bce33493..26bbc049 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/login.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/login.ftl @@ -124,9 +124,9 @@ .post(function (response) { this.isSubmit = false; if (response.errors.length > 0) { - this.e(response.errors[0].message); + nav.e(response.errors[0].message); } else { - this.i("登录成功!", function () { + nav.i("登录成功!", function () { location.href = "/" }); } diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/mgr.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/mgr.ftl index 7076bbcf..5c359799 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/mgr.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/mgr.ftl @@ -312,7 +312,7 @@ this.onDelete(item); break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } }, diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dept.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dept.ftl index 9c975ddc..408a4d09 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dept.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dept.ftl @@ -342,7 +342,7 @@ this.onDelete(item); break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } }, diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dict.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dict.ftl index 49c879f7..7df2d40e 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dict.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dict.ftl @@ -247,7 +247,7 @@ } break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } } diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dictItem.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dictItem.ftl index a50baf67..cda470c1 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dictItem.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/dictItem.ftl @@ -231,7 +231,7 @@ this.onDelete(item); break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } } diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/file.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/file.ftl index 1164f815..7e00abb9 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/file.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/file.ftl @@ -239,7 +239,7 @@ this.onDelete(item); break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } }, diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/resource.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/resource.ftl index 2ed5c81a..8f8272be 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/resource.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/resource.ftl @@ -350,7 +350,7 @@ this.onDelete(item); break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } }, diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl index 728f50bf..afa1c512 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/role.ftl @@ -247,7 +247,7 @@ this.onDelete(item); break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } }, diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/tokens.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/tokens.ftl index e7204e87..90f081c0 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/tokens.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/tokens.ftl @@ -270,7 +270,7 @@ if (response.errors.length > 0) { nav.e(response.errors[0].message); } else { - this.s("注销成功"); + nav.s("注销成功"); this.onFind(); } }.bind(this)) @@ -279,7 +279,7 @@ }); break; default: - this.w("未找到对应的命令"); + nav.w("未找到对应的命令"); break; } }, diff --git a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/user.ftl b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/user.ftl index 185b0212..aba70449 100644 --- a/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/user.ftl +++ b/src/main/resources/modules/SpringBoot/resources/templates/screen/module/system/user.ftl @@ -15,7 +15,7 @@