| | |
| | | 'commont.enter':'Please enter', |
| | | 'commont.select':'Please select', |
| | | 'common.submit':'Submit', |
| | | 'common.confirm':'Confirm', |
| | | 'common.cancel':'Cancel', |
| | | 'common.reset':'Reset', |
| | | 'common.username':'Username', |
| | |
| | | 'map.settings.bottom': 'Bottom', |
| | | 'map.settings.map.param': 'Map Parameters', |
| | | 'map.settings.config.param': 'Config Parameters', |
| | | 'map.settings.batch.select.shelf': 'Select Shelfs', |
| | | 'map.settings.batch.set.params': 'Set Parameters', |
| | | 'map.settings.batch.result': 'Result', |
| | | 'map.settings.batch.result.title': 'Batch settings successful!', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | '': '', |
| | | 'map.settings.no': 'No.', |
| | |
| | | message.success('提交成功'); |
| | | }} |
| | | formProps={{ |
| | | validateMessages: { |
| | | required: '此项为必填项', |
| | | }, |
| | | variant: 'filled', |
| | | layout: 'horizontal', |
| | | labelCol: { |
| | |
| | | {/************************* first ****************************/} |
| | | <StepsForm.StepForm |
| | | name="base" |
| | | title="选择货架" |
| | | title={intl.formatMessage({ id: 'map.settings.batch.select.shelf', defaultMessage: '选择货架' })} |
| | | onFinish={() => { |
| | | return true; |
| | | }} |
| | |
| | | {/************************* second ****************************/} |
| | | <StepsForm.StepForm |
| | | name="checkbox" |
| | | title="设置参数" |
| | | title={intl.formatMessage({ id: 'map.settings.batch.set.params', defaultMessage: '设置参数' })} |
| | | onFinish={(values) => { |
| | | console.log(values); |
| | | return true; |
| | |
| | | {/************************* third ****************************/} |
| | | <StepsForm.StepForm |
| | | name="time" |
| | | title="结果" |
| | | title={intl.formatMessage({ id: 'map.settings.batch.result', defaultMessage: '结果' })} |
| | | submitter={false} |
| | | > |
| | | <Result |
| | | status="success" |
| | | title="Successfully Purchased Cloud Server ECS!" |
| | | subTitle="Order number: 2017182818828182881 Cloud server configuration takes 1-5 minutes, please wait." |
| | | title={intl.formatMessage({ id: 'map.settings.batch.result.title', defaultMessage: '批量设置成功' })} |
| | | subTitle="" |
| | | extra={[ |
| | | <Button type="primary" key="console"> |
| | | Go Console |
| | | <Button type="primary" key="console" onClick={handleCancel}> |
| | | <FormattedMessage id='common.confirm' defaultMessage='确定' /> |
| | | </Button>, |
| | | ]} |
| | | /> |