独立 department 样式代码

develop
Crush 2020-09-25 15:32:36 +08:00
parent 2e9aac56a1
commit b57287be5e
3 changed files with 9 additions and 10 deletions

View File

@ -0,0 +1,6 @@
.organizationTree {
width: 100% !important;
height: -webkit-calc(100vh - 130px);
height: -moz-calc(100vh - 130px);
height: calc(100vh - 130px);
}

View File

@ -8,7 +8,7 @@ layui.define(['layer', 'jquery', 'element'], function(exports) {
var popup = new function() {
this.success = function(msg) {
this.success = function(msg) {
layer.msg(msg, {
icon: 1,
time: 1000

View File

@ -4,14 +4,7 @@
<meta charset="utf-8">
<title>部门管理</title>
<link rel="stylesheet" href="../../component/pear/css/pear.css" />
<style>
#organizationTree{
width: 100% !important;
height: -webkit-calc(100vh - 130px);
height: -moz-calc(100vh - 130px);
height: calc(100vh - 130px);
}
</style>
<link rel="stylesheet" href="../../admin/css/other/department.css"/>
</head>
<body class="pear-container">
<div class="layui-card">
@ -55,7 +48,7 @@
<div class="layui-card">
<div class="layui-card-body">
<div id="organizationTreeContent" style="overflow: auto">
<ul id="organizationTree" class="dtree" data-id="9527"></ul>
<ul id="organizationTree" class="dtree organizationTree" data-id="9527"></ul>
</div>
</div>
</div>