commit
45f477f19f
|
|
@ -8,8 +8,11 @@
|
||||||
<link href="../../admin/css/pear-tree/dtree.css" rel="stylesheet" />
|
<link href="../../admin/css/pear-tree/dtree.css" rel="stylesheet" />
|
||||||
<link href="../../admin/css/pear-tree/font/dtreefont.css" rel="stylesheet" />
|
<link href="../../admin/css/pear-tree/font/dtreefont.css" rel="stylesheet" />
|
||||||
<style>
|
<style>
|
||||||
.dtree{
|
#organizationTree{
|
||||||
width: 100% !important;
|
width: 100% !important;
|
||||||
|
height: -webkit-calc(100vh - 130px);
|
||||||
|
height: -moz-calc(100vh - 130px);
|
||||||
|
height: calc(100vh - 130px);
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
@ -149,8 +152,6 @@
|
||||||
}, 'filter', 'print', 'exports']
|
}, 'filter', 'print', 'exports']
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#organizationTreeContent").height($(".layui-col-md9 .layui-card-body").height());
|
|
||||||
|
|
||||||
// 绑定节点点击事件
|
// 绑定节点点击事件
|
||||||
dtree.on("node(organizationTree)", function (obj) {
|
dtree.on("node(organizationTree)", function (obj) {
|
||||||
if (!obj.param.leaf) {
|
if (!obj.param.leaf) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue