Authored by 王涛

Merge branch 'master-v32-xwx' into 'master'

资源视图:左侧搜索之后无资源列表未刷新



See merge request !732
... ... @@ -226,6 +226,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
laytpl($('#resindexTpl').html()).render({list: res.data}, function (html) {
resindexTable.html(html);
});
renderIndex('')
}
loadParamSelect();
//joke add 20200407,如果没有资源树,则默认资源页给提示无数据 开始
... ... @@ -699,9 +700,10 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
});
$(".layui-input-search").keydown(function (e) {
if (e.keyCode === 13) {
loadResTree($(this).val());
resHealthKeyWord = $(this).val();
resindexKeyword = $(this).val();
loadResTree($(this).val());
}
});
//搜索按钮
... ...