| | |
| | | _this.setState({ |
| | | iconLoading: false, |
| | | }); |
| | | message.success("提交成功!"); |
| | | this.props.history.goBack() |
| | | }); |
| | | // Fetch.savePatrolCom(savedate) |
| | | // .then(res => { |
| | |
| | | cancle = () => { |
| | | // this.props.history.push("/index/workbench"); |
| | | const { id } = this.props.match.params; |
| | | if(id){ |
| | | if (id) { |
| | | this.props.history.goBack() |
| | | }else { |
| | | } else { |
| | | this.props.history.push("/index/workbench"); |
| | | } |
| | | // console.log(this.props) |
| | |
| | | {savedate.documentType == 'DT00001' && |
| | | <Row gutter={16} > |
| | | <Col className="gutter-row" > |
| | | <Upload disabled={disabled} {...props}> |
| | | <Button> |
| | | <Upload {...props}> |
| | | <Button disabled={disabled}> |
| | | <Icon type="upload" />上传文件</Button> |
| | | </Upload> |
| | | </Col> |