Authored by wangtao
@@ -226,6 +226,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' @@ -226,6 +226,7 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
226 laytpl($('#resindexTpl').html()).render({list: res.data}, function (html) { 226 laytpl($('#resindexTpl').html()).render({list: res.data}, function (html) {
227 resindexTable.html(html); 227 resindexTable.html(html);
228 }); 228 });
  229 + renderIndex('')
229 } 230 }
230 loadParamSelect(); 231 loadParamSelect();
231 //joke add 20200407,如果没有资源树,则默认资源页给提示无数据 开始 232 //joke add 20200407,如果没有资源树,则默认资源页给提示无数据 开始
@@ -699,9 +700,10 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', ' @@ -699,9 +700,10 @@ layui.define(['common', 'tree', 'laypage', 'laytpl', 'admin', 'form', 'table', '
699 }); 700 });
700 $(".layui-input-search").keydown(function (e) { 701 $(".layui-input-search").keydown(function (e) {
701 if (e.keyCode === 13) { 702 if (e.keyCode === 13) {
702 - loadResTree($(this).val());  
703 resHealthKeyWord = $(this).val(); 703 resHealthKeyWord = $(this).val();
704 resindexKeyword = $(this).val(); 704 resindexKeyword = $(this).val();
  705 + loadResTree($(this).val());
  706 +
705 } 707 }
706 }); 708 });
707 //搜索按钮 709 //搜索按钮