开始整新权限管理系统
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user