用户,角色,权限增加是否启用,修补菜单排序

This commit is contained in:
mkg
2021-03-25 20:00:00 +08:00
parent 0672a13c0a
commit 2455351347
14 changed files with 818 additions and 79 deletions
+2 -2
View File
@@ -76,7 +76,7 @@
<script type="text/html" id="user-enable">
<input type="checkbox" name="enable" value="{{"{{ d.id }}"}}" lay-skin="switch" lay-text="启用|禁用" lay-filter="user-enable"
{{"{ { d.enable== true ? 'checked' : '' }}"|safe}} />
{{"{{# if(d.enable==1){ }} checked {{# } }}"}} />
</script>
<script type="text/html" id="user-createTime">
@@ -181,7 +181,7 @@
}
let loading = layer.load();
$.ajax({
url: '/system/user/' + operate,
url: '/admin/user/' + operate,
data: JSON.stringify({userId: this.value}),
dataType: 'json',
contentType: 'application/json',