|
@@ -17,6 +17,7 @@ import {
|
|
CameraOutlined,
|
|
CameraOutlined,
|
|
CloseOutlined,
|
|
CloseOutlined,
|
|
} from '@ant-design/icons';
|
|
} from '@ant-design/icons';
|
|
|
|
+import { patientSizes } from '@/states/patientSize';
|
|
|
|
|
|
const ContentAreaSmall = ({ className }: { className?: string }) => {
|
|
const ContentAreaSmall = ({ className }: { className?: string }) => {
|
|
console.log('ContentAreaSmall component rendered');
|
|
console.log('ContentAreaSmall component rendered');
|
|
@@ -41,8 +42,13 @@ const ContentAreaSmall = ({ className }: { className?: string }) => {
|
|
placeholder="选择体型"
|
|
placeholder="选择体型"
|
|
style={{ width: '100%', marginBottom: 8 }}
|
|
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}>
|
|
|
|
+ {value}
|
|
|
|
+ </Select.Option>
|
|
|
|
+ )
|
|
|
|
+ )}
|
|
</Select>
|
|
</Select>
|
|
</Col>
|
|
</Col>
|
|
<Col span={15}>
|
|
<Col span={15}>
|