|
|
@@ -8,7 +8,7 @@ import { ModalForm, ProFormText } from '@ant-design/pro-form'
|
|
|
import './index.less'
|
|
|
const { DirectoryTree } = Tree
|
|
|
|
|
|
-const RoleMenu = props => {
|
|
|
+const DepartmentMenu = props => {
|
|
|
const { dispatch, departments = [], onSelect } = props
|
|
|
const hasPerm = useAccess()?.validatePermByType('employee_del_department')
|
|
|
const newList = [...departments]
|
|
|
@@ -87,7 +87,7 @@ const RoleMenu = props => {
|
|
|
style={{
|
|
|
height: `calc(100vh - 96px)`
|
|
|
}}>
|
|
|
- <div className="px-4 py-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-hex-f7f9fa flex justify-around items-center">
|
|
|
<span className="text-[0.9375rem]">组织架构</span>
|
|
|
{hasPerm && (
|
|
|
<ModalForm
|
|
|
@@ -136,4 +136,4 @@ const RoleMenu = props => {
|
|
|
|
|
|
export default connect(({ staff }) => ({
|
|
|
departments: staff.departments
|
|
|
-}))(RoleMenu)
|
|
|
+}))(DepartmentMenu)
|