Showing
2 changed files
with
4 additions
and
4 deletions
@@ -48,7 +48,7 @@ layui.define(['form', 'admin', 'layer', 'laytpl', 'common', 'view', 'sessions', | @@ -48,7 +48,7 @@ layui.define(['form', 'admin', 'layer', 'laytpl', 'common', 'view', 'sessions', | ||
48 | var checks = reporttypeTable.checkStatus(false); | 48 | var checks = reporttypeTable.checkStatus(false); |
49 | var ids = []; | 49 | var ids = []; |
50 | $.each(checks, function (index, item) { | 50 | $.each(checks, function (index, item) { |
51 | - ids.push(item.it) | 51 | + ids.push(item.id) |
52 | }); | 52 | }); |
53 | deletereporttype(ids); | 53 | deletereporttype(ids); |
54 | }); | 54 | }); |
@@ -21,9 +21,9 @@ | @@ -21,9 +21,9 @@ | ||
21 | <button class="layui-btn layui-btn-sm layui-btn-normal" id="reporttype-create"> | 21 | <button class="layui-btn layui-btn-sm layui-btn-normal" id="reporttype-create"> |
22 | <i class="layui-icon"></i>新增 | 22 | <i class="layui-icon"></i>新增 |
23 | </button> | 23 | </button> |
24 | -<!-- <button class="layui-btn layui-btn-sm layui-btn-normal" id="btn-reporttype-delete">--> | ||
25 | -<!-- <i class="layui-icon"></i>删除--> | ||
26 | -<!-- </button>--> | 24 | + <button class="layui-btn layui-btn-sm layui-btn-normal" id="btn-reporttype-delete"> |
25 | + <i class="layui-icon"></i>删除 | ||
26 | + </button> | ||
27 | </div> | 27 | </div> |
28 | <table id="reporttype-table" lay-filter="reporttypetable"></table> | 28 | <table id="reporttype-table" lay-filter="reporttypetable"></table> |
29 | </div> | 29 | </div> |
-
Please register or login to post a comment