更新树组件的插件名

pull/65/head
fengshuonan 4 years ago
parent 3ef27a03c7
commit cee819554f

@ -62,7 +62,7 @@ ${layoutContent}
<!--其他插件js-->
@if(isNotEmpty(plugins)){
@if(array.contain(plugins,"ztree")){
@if(array.contain(plugins,"jquery-layout")){
<script src="${ctxPath}/assets/expand/plugins/jquery-layout/jquery-2.1.4.min.js?v=${constants.getReleaseVersion()}"></script>
<script type="text/javascript" src="${ctxPath}/assets/expand/plugins/jquery-layout/jquery.layout-latest.js?v=${constants.getReleaseVersion()}"></script>
@}
@ -77,4 +77,4 @@ ${layoutContent}
@}
@}
</body>
</html>
</html>

@ -1,4 +1,4 @@
@layout("/layout/_tree_container.html",{plugins:["ztree"],js:["/assets/modular/system/dept/dept.js"]}){
@layout("/layout/_tree_container.html",{plugins:["jquery-layout"],js:["/assets/modular/system/dept/dept.js"]}){
<div class="layui-body-header">
<span class="layui-body-header-title">部门管理</span>
@ -50,4 +50,4 @@
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
@}
</script>
@}
@}

@ -1,4 +1,4 @@
@layout("/layout/_tree_container.html",{plugins:["ztree"],js:["/assets/modular/system/organization/organization.js"]}){
@layout("/layout/_tree_container.html",{plugins:["jquery-layout"],js:["/assets/modular/system/organization/organization.js"]}){
<div class="layui-body-header">
<span class="layui-body-header-title">机构管理</span>
@ -52,4 +52,4 @@
<script type="text/html" id="statusTpl">
<input type="checkbox" lay-filter="status" value="{{d.userId}}" lay-skin="switch" lay-text="正常|锁定" {{d.statusFlag=='1'?'checked':''}}/>
</script>
@}
@}

@ -1,4 +1,4 @@
@layout("/layout/_tree_container.html",{plugins:["ztree"],js:["/assets/modular/system/user/user.js"]}){
@layout("/layout/_tree_container.html",{plugins:["jquery-layout"],js:["/assets/modular/system/user/user.js"]}){
<div class="layui-body-header">
<span class="layui-body-header-title">用户管理</span>
@ -54,4 +54,4 @@
<script type="text/html" id="statusTpl">
<input type="checkbox" lay-filter="status" value="{{d.userId}}" lay-skin="switch" lay-text="正常|锁定" {{d.statusFlag=='1'?'checked':''}}/>
</script>
@}
@}

Loading…
Cancel
Save