|
@@ -14,6 +14,7 @@ import HistorylistPage from '@/pages/patient/HistoryList';
|
|
import ArchivelistPage from '@/pages/patient/ArchiveList';
|
|
import ArchivelistPage from '@/pages/patient/ArchiveList';
|
|
import BinPage from '@/pages/patient/Bin';
|
|
import BinPage from '@/pages/patient/Bin';
|
|
import OutputlistPage from '@/pages/patient/OutputList';
|
|
import OutputlistPage from '@/pages/patient/OutputList';
|
|
|
|
+import PatientManagement from '@/pages/patient/PatientManagement';
|
|
|
|
|
|
// import { Link } from 'react-router-dom';
|
|
// import { Link } from 'react-router-dom';
|
|
// import { MenuOutlined } from '@ant-design/icons';
|
|
// import { MenuOutlined } from '@ant-design/icons';
|
|
@@ -52,6 +53,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = () => {
|
|
archivelist: <ArchivelistPage />,
|
|
archivelist: <ArchivelistPage />,
|
|
bin: <BinPage />,
|
|
bin: <BinPage />,
|
|
outputlist: <OutputlistPage />,
|
|
outputlist: <OutputlistPage />,
|
|
|
|
+ patient_management: <PatientManagement />,
|
|
};
|
|
};
|
|
//感知菜单项点击
|
|
//感知菜单项点击
|
|
const handleMenuClick = (key: string) => {
|
|
const handleMenuClick = (key: string) => {
|
|
@@ -148,17 +150,20 @@ const BasicLayout: React.FC<BasicLayoutProps> = () => {
|
|
</Row>
|
|
</Row>
|
|
{/* Tabbar:固定在底部,仅在手机屏幕显示 */}
|
|
{/* Tabbar:固定在底部,仅在手机屏幕显示 */}
|
|
<div className="sticky bottom-0 w-full bg-red xl:hidden">
|
|
<div className="sticky bottom-0 w-full bg-red xl:hidden">
|
|
- <TabBar className="xl:hidden lg:hidden md:hidden sm:block xs:block">
|
|
|
|
|
|
+ <TabBar
|
|
|
|
+ className="xl:hidden lg:hidden md:hidden sm:block xs:block"
|
|
|
|
+ onChange={(key) => handleMenuClick(key)}
|
|
|
|
+ >
|
|
<TabBar.Item
|
|
<TabBar.Item
|
|
className="text-red-500"
|
|
className="text-red-500"
|
|
title="患者管理"
|
|
title="患者管理"
|
|
- key="home"
|
|
|
|
|
|
+ key="patient_management"
|
|
icon={<div>🏠</div>}
|
|
icon={<div>🏠</div>}
|
|
/>
|
|
/>
|
|
<TabBar.Item
|
|
<TabBar.Item
|
|
className="text-red-500"
|
|
className="text-red-500"
|
|
title="检查"
|
|
title="检查"
|
|
- key="profile"
|
|
|
|
|
|
+ key="examination"
|
|
icon={<div>👤</div>}
|
|
icon={<div>👤</div>}
|
|
/>
|
|
/>
|
|
<TabBar.Item
|
|
<TabBar.Item
|
|
@@ -170,7 +175,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = () => {
|
|
<TabBar.Item
|
|
<TabBar.Item
|
|
className="text-red-500"
|
|
className="text-red-500"
|
|
title="图像处理"
|
|
title="图像处理"
|
|
- key="image-handling"
|
|
|
|
|
|
+ key="process"
|
|
icon={<div>⚙️</div>}
|
|
icon={<div>⚙️</div>}
|
|
/>
|
|
/>
|
|
<TabBar.Item
|
|
<TabBar.Item
|
|
@@ -184,6 +189,7 @@ const BasicLayout: React.FC<BasicLayoutProps> = () => {
|
|
<NavbarFloat
|
|
<NavbarFloat
|
|
className="fixed hidden sm:hidden xs:hidden md:block lg:hidden xl:hidden"
|
|
className="fixed hidden sm:hidden xs:hidden md:block lg:hidden xl:hidden"
|
|
position="right"
|
|
position="right"
|
|
|
|
+ onMenuClick={handleMenuClick}
|
|
/>
|
|
/>
|
|
</Layout>
|
|
</Layout>
|
|
</ConfigProvider>
|
|
</ConfigProvider>
|