|
@@ -83,11 +83,11 @@ const RoleMenu = props => {
|
|
|
|
|
|
|
|
return (
|
|
return (
|
|
|
<div
|
|
<div
|
|
|
- className="w-12rem rounded-4px"
|
|
|
|
|
|
|
+ className="w-12rem rounded-4px flex flex-col"
|
|
|
style={{
|
|
style={{
|
|
|
height: `calc(100vh - 96px)`
|
|
height: `calc(100vh - 96px)`
|
|
|
}}>
|
|
}}>
|
|
|
- <div className="p-4 pb-3 border-b-1 border-solid border-black border-opacity-10 bg-[#f7f9fa] flex justify-around items-center">
|
|
|
|
|
|
|
+ <div className="px-4 py-3 border-b-1 border-solid border-black border-opacity-10 bg-[#f7f9fa] flex justify-around items-center">
|
|
|
<span className="text-[0.9375rem]">组织架构</span>
|
|
<span className="text-[0.9375rem]">组织架构</span>
|
|
|
{hasPerm && (
|
|
{hasPerm && (
|
|
|
<ModalForm
|
|
<ModalForm
|
|
@@ -118,7 +118,7 @@ const RoleMenu = props => {
|
|
|
</ModalForm>
|
|
</ModalForm>
|
|
|
)}
|
|
)}
|
|
|
</div>
|
|
</div>
|
|
|
- <div className="py-4 bg-white" style={{ height: 'calc(100% - 44px)' }}>
|
|
|
|
|
|
|
+ <div className="py-4 bg-white flex-1">
|
|
|
{departments.length ? (
|
|
{departments.length ? (
|
|
|
<DirectoryTree
|
|
<DirectoryTree
|
|
|
multiple
|
|
multiple
|