|
|
@@ -51,7 +51,7 @@ const RoleMenu = props => {
|
|
|
const hasPerm = useAccess()?.validatePermByType('employee_add_department')
|
|
|
|
|
|
return (
|
|
|
- <div className="h-full w-max-234px rounded-4px">
|
|
|
+ <div className="h-full w-12rem rounded-4px">
|
|
|
<div className="p-4 pb-3 border-b-1 border-solid border-black border-opacity-10 bg-[#f7f9fa] flex justify-around items-center">
|
|
|
<span className="text-[0.9375rem]">组织架构</span>
|
|
|
{hasPerm && (
|
|
|
@@ -90,7 +90,7 @@ const RoleMenu = props => {
|
|
|
</ModalDragForm>
|
|
|
)}
|
|
|
</div>
|
|
|
- <div className="p-4 bg-white" style={{ height: 'calc(100% - 1rem*2 - 20px)' }}>
|
|
|
+ <div className="py-4 pt-4 bg-white" style={{ height: 'calc(100% - 1rem*2 - 20px)' }}>
|
|
|
{departments.length ? (
|
|
|
<DirectoryTree
|
|
|
multiple
|