|
|
@@ -1,6 +1,6 @@
|
|
|
import React, { useState } from 'react'
|
|
|
import consts from '@/consts'
|
|
|
-import RoleMenu from '@/pages/Hr/Employee/components/RoleMenu'
|
|
|
+import DepartmentMenu from '@/pages/Hr/Employee/components/DepartmentMenu'
|
|
|
import { queryStaff } from '@/services/staff'
|
|
|
import BasicTable from '@/components/Table'
|
|
|
import { useModal } from '@/components/ModalStore'
|
|
|
@@ -83,7 +83,7 @@ const Employee = props => {
|
|
|
return (
|
|
|
<PageContainer title={false} breadcrumb={false}>
|
|
|
<div className="h-full w-full flex flex-row">
|
|
|
- <RoleMenu onSelect={onSelect} />
|
|
|
+ <DepartmentMenu onSelect={onSelect} />
|
|
|
<div style={{ width: 'calc(100% - 12rem)' }}>
|
|
|
<div className="ml-6 shadow-hex-3e2c5a">
|
|
|
{state.params.id && (
|