|
@@ -1,15 +1,5 @@
|
|
|
import React from 'react';
|
|
|
-import {
|
|
|
- Row,
|
|
|
- Col,
|
|
|
- Collapse,
|
|
|
- Grid,
|
|
|
- Divider,
|
|
|
- Button,
|
|
|
- Space,
|
|
|
- Form,
|
|
|
- message,
|
|
|
-} from 'antd';
|
|
|
+import { Row, Col, Collapse, Grid, Button, Space, Form, message } from 'antd';
|
|
|
import { FormattedMessage } from 'react-intl';
|
|
|
import BasicInfoForm from './components/register.form';
|
|
|
import SelectedProtocolList from './components/register.selected.view.list';
|
|
@@ -26,7 +16,7 @@ import registerToExam from '@/domain/patient/registerToExam';
|
|
|
import dayjs from 'dayjs';
|
|
|
import utc from 'dayjs/plugin/utc';
|
|
|
import { View } from '@/API/patient/viewActions';
|
|
|
-import HumanBody from '@/components/HumanBody';
|
|
|
+import BodyPositionFilter from './components/bodyPositionFilter';
|
|
|
dayjs.extend(utc);
|
|
|
|
|
|
const { useBreakpoint } = Grid;
|
|
@@ -113,12 +103,27 @@ const RegisterPage: React.FC = () => {
|
|
|
>
|
|
|
<BasicInfoForm form={form} style={{ overflow: 'auto' }} />
|
|
|
</Col>
|
|
|
- <Col xs={24} sm={24} md={8} lg={8} xl={8} xxl={9} className="h-full">
|
|
|
- <HumanBody />
|
|
|
+ <Col
|
|
|
+ xs={24}
|
|
|
+ sm={24}
|
|
|
+ md={8}
|
|
|
+ lg={8}
|
|
|
+ xl={8}
|
|
|
+ xxl={9}
|
|
|
+ className="h-full flex justify-center items-center"
|
|
|
+ >
|
|
|
+ <BodyPositionFilter />
|
|
|
{/* <RegisterAvailableList /> */}
|
|
|
</Col>
|
|
|
<Col xs={24} sm={24} md={8} lg={8} xl={8} xxl={9} className="h-full">
|
|
|
- <SelectedProtocolList />
|
|
|
+ <Row style={{ height: '100%' }}>
|
|
|
+ <Col span={24} style={{ height: '50%' }}>
|
|
|
+ <RegisterAvailableList />
|
|
|
+ </Col>
|
|
|
+ <Col span={24} style={{ height: '50%' }}>
|
|
|
+ <SelectedProtocolList />
|
|
|
+ </Col>
|
|
|
+ </Row>
|
|
|
</Col>
|
|
|
</Row>
|
|
|
) : screens.md || screens.lg ? (
|
|
@@ -136,12 +141,11 @@ const RegisterPage: React.FC = () => {
|
|
|
/>
|
|
|
</Col>
|
|
|
<Col xs={24} sm={24} md={12} lg={12}>
|
|
|
- <Row gutter={[0, 16]}>
|
|
|
- <Col span={24}>
|
|
|
+ <Row gutter={[0, 16]} style={{ height: '100%' }}>
|
|
|
+ <Col span={24} style={{ height: '50%' }}>
|
|
|
<RegisterAvailableList />
|
|
|
</Col>
|
|
|
- <Divider />
|
|
|
- <Col span={24}>
|
|
|
+ <Col span={24} style={{ height: '50%' }}>
|
|
|
<SelectedProtocolList className="" />
|
|
|
</Col>
|
|
|
</Row>
|
|
@@ -172,6 +176,7 @@ const RegisterPage: React.FC = () => {
|
|
|
/>
|
|
|
}
|
|
|
key="2"
|
|
|
+ style={{ height: '50%' }}
|
|
|
>
|
|
|
<RegisterAvailableList />
|
|
|
</Panel>
|
|
@@ -183,6 +188,7 @@ const RegisterPage: React.FC = () => {
|
|
|
/>
|
|
|
}
|
|
|
key="3"
|
|
|
+ style={{ height: '50%' }}
|
|
|
>
|
|
|
<SelectedProtocolList />
|
|
|
</Panel>
|