Showing
1 changed file
with
6 additions
and
5 deletions
@@ -92,11 +92,12 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'treeTable' | @@ -92,11 +92,12 @@ layui.define(['tree', 'laypage', 'laytpl', 'admin', 'form', 'table', 'treeTable' | ||
92 | } | 92 | } |
93 | }).done(function (res) { | 93 | }).done(function (res) { |
94 | let list = []; | 94 | let list = []; |
95 | - if (res && res.data && resType.indexOf('VIRTUALIZATION') !== -1) { | ||
96 | - list = res.data.filter(e => e.resType !== 'VIRTUALIZATION_VMWARE_CLUSTER' && e.resType !== 'VIRTUALIZATION_VMWARE_PHYSICSHOST') | ||
97 | - } else { | ||
98 | - list = res.data; | ||
99 | - } | 95 | + // if (res && res.data && resType.indexOf('VIRTUALIZATION') !== -1) { |
96 | + // list = res.data.filter(e => e.resType !== 'VIRTUALIZATION_VMWARE_CLUSTER' && e.resType !== 'VIRTUALIZATION_VMWARE_PHYSICSHOST') | ||
97 | + // } else { | ||
98 | + // | ||
99 | + // } | ||
100 | + list = res.data; | ||
100 | laytpl($('#domainIndexTpl').html()).render({list: list}, function (html) { | 101 | laytpl($('#domainIndexTpl').html()).render({list: list}, function (html) { |
101 | domainIndexTable.html(html); | 102 | domainIndexTable.html(html); |
102 | }); | 103 | }); |
-
Please register or login to post a comment