|
@@ -16,6 +16,8 @@ import {
|
|
|
CameraOutlined,
|
|
|
CloseOutlined,
|
|
|
} from '@ant-design/icons';
|
|
|
+import { patientSizes } from '../../states/patientSize';
|
|
|
+import { FormattedMessage } from 'react-intl';
|
|
|
|
|
|
const ContentAreaLarge = () => {
|
|
|
return (
|
|
@@ -40,8 +42,13 @@ const ContentAreaLarge = () => {
|
|
|
placeholder="选择体型"
|
|
|
style={{ width: '100%', marginBottom: 8 }}
|
|
|
>
|
|
|
- <Select.Option value="体型1">体型1</Select.Option>
|
|
|
- <Select.Option value="体型2">体型2</Select.Option>
|
|
|
+ {Object.entries(patientSizes).map(
|
|
|
+ ([key, value]: [string, string]) => (
|
|
|
+ <Select.Option key={key} value={key}>
|
|
|
+ <FormattedMessage id={value} />
|
|
|
+ </Select.Option>
|
|
|
+ )
|
|
|
+ )}
|
|
|
</Select>
|
|
|
</Col>
|
|
|
<Col span={15}>
|