开始整新权限管理系统

This commit is contained in:
yutou
2021-06-25 18:26:19 +08:00
parent d6734600fe
commit 590b26dac0
11 changed files with 398 additions and 38 deletions

View File

@@ -47,7 +47,7 @@
let tabid = -1;
layui.use(['layer', 'form', 'element', 'table'], function () {
var layer = layui.layer
let layer = layui.layer
, form = layui.form
, table = layui.table
, element = layui.element;
@@ -66,7 +66,6 @@
}
});
form.render()
console.log(1)
element.on('tab(type)', function (data) {
tabid = $(this).attr('lay-id')
@@ -84,6 +83,9 @@
, { field: 'info', title: '备注', width: 200 }
, { field: "right", width: 200, toolbar: '#listTools' }
]]
,done:function (res,curr,count) {
form.render();
}
});
})
element.on('tabDelete(type)', function (data) {
@@ -114,7 +116,6 @@
})
})
table.on('tool(listTools)', function (obj) {
if (obj.event === 'edit') {
$.get('/tools/password/get/password.do?id=' + obj.data.id, function (udata) {
let json = JSON.parse(udata);