|
@@ -12,6 +12,7 @@ import AboutPage from '@/pages/demo/AboutPage';
|
|
import HomePage from '@/pages/demo/HomePage';
|
|
import HomePage from '@/pages/demo/HomePage';
|
|
import RegisterPage from '@/pages/patient/register';
|
|
import RegisterPage from '@/pages/patient/register';
|
|
import WorklistPage from '@/pages/patient/worklist';
|
|
import WorklistPage from '@/pages/patient/worklist';
|
|
|
|
+import HistorylistPage from '@/pages/patient/HistoryList';
|
|
|
|
|
|
// import { Link } from 'react-router-dom';
|
|
// import { Link } from 'react-router-dom';
|
|
// import { MenuOutlined } from '@ant-design/icons';
|
|
// import { MenuOutlined } from '@ant-design/icons';
|
|
@@ -45,7 +46,8 @@ const BasicLayout: React.FC<BasicLayoutProps> = ({ children }) => {
|
|
'sub2': <AboutPage />,
|
|
'sub2': <AboutPage />,
|
|
'process': <HomePage />,
|
|
'process': <HomePage />,
|
|
'register':<RegisterPage />,
|
|
'register':<RegisterPage />,
|
|
- 'worklist':<WorklistPage />
|
|
|
|
|
|
+ 'worklist':<WorklistPage />,
|
|
|
|
+ 'historylist':<HistorylistPage />
|
|
};
|
|
};
|
|
//感知菜单项点击
|
|
//感知菜单项点击
|
|
const handleMenuClick=(key:string)=>{
|
|
const handleMenuClick=(key:string)=>{
|