#
luxiaotao1123
2024-03-08 c84186d38103b3ef18b389700c51336879ed5758
#
2个文件已修改
61 ■■■■■ 已修改文件
zy-asrs-flow/src/locales/en-US/map.ts 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/pages/map/components/settings.jsx 60 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-asrs-flow/src/locales/en-US/map.ts
@@ -16,6 +16,7 @@
    'map.settings.position': 'Position',
    'map.settings.scale': 'Scale',
    'map.settings.rotation': 'Rotation',
    'map.settings.copy': 'Copy',
    '': '',
    '': '',
    '': '',
zy-asrs-flow/src/pages/map/components/settings.jsx
@@ -138,18 +138,25 @@
                        {/*  */}
                        <Col span={24}>
                            <Row gutter={24}>
                                <Col span={18}>
                            <Form.Item
                                label={intl.formatMessage({ id: 'map.settings.type', defaultMessage: '类型' })}
                                labelCol={{ span: 2 }}
                                        labelCol={{ span: 4 }}
                            >
                                <span className="ant-form-text">China</span>
                            </Form.Item>
                        </Col>
                            </Row>
                        </Col>
                        {/* position */}
                        <Col span={24}>
                            <Row gutter={24}>
                                <Col span={18}>
                            <Form.Item
                                label={intl.formatMessage({ id: 'map.settings.position', defaultMessage: '坐标' })}
                                        labelCol={{ span: 4 }}
                            >
                                <Space.Compact>
                                    <Form.Item
@@ -186,6 +193,8 @@
                                    </Form.Item>
                                </Space.Compact>
                            </Form.Item>
                                </Col>
                            </Row>
                        </Col>
                        {/* scale */}
@@ -270,6 +279,55 @@
                            </Row>
                        </Col>
                        {/* 复制 */}
                        <Col span={24}>
                            <Row gutter={24}>
                                <Col span={18}>
                                    <Form.Item
                                        label={intl.formatMessage({ id: 'map.settings.copy', defaultMessage: '复制' })}
                                        labelCol={{ span: 4 }}
                                    >
                                        <Space.Compact>
                                            <Form.Item
                                                name="copyDire"
                                            >
                                                <Select
                                                    defaultValue="left"
                                                    style={{ width: 80 }}
                                                    options={[
                                                        { value: 'left', label: '左' },
                                                        { value: 'right', label: '右' },
                                                        { value: 'top', label: '上' },
                                                        { value: 'bottom', label: '下' },
                                                    ]}
                                                />
                                            </Form.Item>
                                            <Form.Item
                                                name='copyCount'
                                                noStyle
                                                rules={[
                                                    {
                                                        required: true,
                                                    },
                                                ]}
                                            >
                                                <InputNumber
                                                    addonBefore={<Space.Compact></Space.Compact>}
                                                    style={{
                                                        width: '50%',
                                                    }}
                                                    min={1} defaultValue={1} step={1}
                                                />
                                            </Form.Item>
                                            <Form.Item>
                                                <Button>Start</Button>
                                            </Form.Item>
                                        </Space.Compact>
                                    </Form.Item>
                                </Col>
                            </Row>
                        </Col>
                        {/* <Col span={12}>
                            <Form.Item