|
@@ -3,13 +3,14 @@ import {Link} from 'react-router-dom';
|
|
|
import {deployAll, graphqlUrl, storeFile, copyCos} from "../../../config";
|
|
import {deployAll, graphqlUrl, storeFile, copyCos} from "../../../config";
|
|
|
import {ADD_APIGROUP, ADD_APIGWPATH, ADD_DEPLOY, ADD_PROJECT, SHOW_CLOUD} from "../../../gql";
|
|
import {ADD_APIGROUP, ADD_APIGWPATH, ADD_DEPLOY, ADD_PROJECT, SHOW_CLOUD} from "../../../gql";
|
|
|
import {CloudConfig} from "../../../login/CloudConfig";
|
|
import {CloudConfig} from "../../../login/CloudConfig";
|
|
|
-import {Button, message, Modal, Icon, Steps, Row, Col} from 'antd';
|
|
|
|
|
|
|
+import {Layout,Button, message, Modal, Icon, Steps, Row, Col} from 'antd';
|
|
|
import {FormattedMessage} from 'react-intl';
|
|
import {FormattedMessage} from 'react-intl';
|
|
|
import {request} from 'graphql-request'
|
|
import {request} from 'graphql-request'
|
|
|
import {idGen} from "../../../func";
|
|
import {idGen} from "../../../func";
|
|
|
import axios from 'axios';
|
|
import axios from 'axios';
|
|
|
import './index.css';
|
|
import './index.css';
|
|
|
|
|
|
|
|
|
|
+const {Content} = Layout;
|
|
|
const Step = Steps.Step;
|
|
const Step = Steps.Step;
|
|
|
axios.defaults.withCredentials = true;
|
|
axios.defaults.withCredentials = true;
|
|
|
|
|
|
|
@@ -219,38 +220,41 @@ class UserCustom extends Component {
|
|
|
let {cloudName, customName, disableDeployButton, userID, check, dbKind, bucketName, deployFailed} = this.state;
|
|
let {cloudName, customName, disableDeployButton, userID, check, dbKind, bucketName, deployFailed} = this.state;
|
|
|
let {appId, secretID, secretKey} = this.cloudState;
|
|
let {appId, secretID, secretKey} = this.cloudState;
|
|
|
return (
|
|
return (
|
|
|
- <div>
|
|
|
|
|
- <div className="column-menu" onClick={() => {
|
|
|
|
|
- this.props.backToMe()
|
|
|
|
|
- }}>
|
|
|
|
|
- <Icon type="left" style={{color: '#3187FA'}}/>
|
|
|
|
|
- <FormattedMessage id="back to case show"/>
|
|
|
|
|
|
|
+ <Content className="content">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ <div className="column-menu" onClick={() => {
|
|
|
|
|
+ this.props.backToMe()
|
|
|
|
|
+ }}>
|
|
|
|
|
+ <Icon type="left" style={{color: '#3187FA'}}/>
|
|
|
|
|
+ <FormattedMessage id="back to case show"/>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <Row>
|
|
|
|
|
+ <Col span={9} offset={2}>
|
|
|
|
|
+ <div className='step-kind'>
|
|
|
|
|
+ 发布体验
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <Steps direction="vertical" current={2}>
|
|
|
|
|
+ <Step title=<Step00/> />
|
|
|
|
|
+ <Step title=<Step01/> />
|
|
|
|
|
+ </Steps>
|
|
|
|
|
+ </Col>
|
|
|
|
|
+ <Col span={9} offset={2}>
|
|
|
|
|
+ <div className='step-kind'>
|
|
|
|
|
+ 发布上线
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <Steps direction="vertical" current={5}>
|
|
|
|
|
+ <Step title=<Step10/> />
|
|
|
|
|
+ <Step title=<Step11 getCloudDetail={this.getCloudDetail} userID={userID}/> />
|
|
|
|
|
+ <Step title=<Step12/> />
|
|
|
|
|
+ <Step title=<Step13/> />
|
|
|
|
|
+ <Step title=<Step14/> />
|
|
|
|
|
+ </Steps>
|
|
|
|
|
+ </Col>
|
|
|
|
|
+ </Row>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+ </Content>
|
|
|
|
|
|
|
|
- <Row>
|
|
|
|
|
- <Col span={9} offset={2}>
|
|
|
|
|
- <div className='step-kind'>
|
|
|
|
|
- 发布体验
|
|
|
|
|
- </div>
|
|
|
|
|
- <Steps direction="vertical" current={2}>
|
|
|
|
|
- <Step title=<Step00/> />
|
|
|
|
|
- <Step title=<Step01/> />
|
|
|
|
|
- </Steps>
|
|
|
|
|
- </Col>
|
|
|
|
|
- <Col span={9} offset={2}>
|
|
|
|
|
- <div className='step-kind'>
|
|
|
|
|
- 发布上线
|
|
|
|
|
- </div>
|
|
|
|
|
- <Steps direction="vertical" current={5}>
|
|
|
|
|
- <Step title=<Step10/> />
|
|
|
|
|
- <Step title=<Step11 getCloudDetail={this.getCloudDetail} userID={userID}/> />
|
|
|
|
|
- <Step title=<Step12/> />
|
|
|
|
|
- <Step title=<Step13/> />
|
|
|
|
|
- <Step title=<Step14/> />
|
|
|
|
|
- </Steps>
|
|
|
|
|
- </Col>
|
|
|
|
|
- </Row>
|
|
|
|
|
- </div>
|
|
|
|
|
)
|
|
)
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|