| | |
| | | </div> |
| | | { |
| | | |
| | | savedate.status == 2 || savedate.status == 99 ? |
| | | savedate ? |
| | | <div style={{ display: 'flex', justifyContent: 'center' }}> |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> |
| | | </div> |
| | | : |
| | | savedate.status == 1 ? |
| | | <div style={{ display: 'flex', justifyContent: 'center' }}> |
| | | <Button style={{ marginRight: '15px', width: '150px' }} type="primary" onClick={this.showModal}>结束任务</Button> |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> |
| | | </div> : |
| | | <div style={{ display: 'flex', justifyContent: 'center' }}> |
| | | <Button style={{ marginRight: '15px', width: '150px' }} type="primary" onClick={this.submit}>提交</Button> |
| | | <Button style={{ marginLeft: '15px', width: '150px' }} onClick={this.cancle}>返回</Button> |