| | |
| | | const { savedate, fileList, loading, disabled } = this.state; |
| | | const props = { |
| | | action: BASE_URL + `api/attachment/materials?associateId=${savedate.documentType == 'DT00002' ? 1001 : 1002}&entityId=` + savedate.id, |
| | | header: { |
| | | Authorization: window.localStorage.getItem('token') |
| | | }, |
| | | onChange: ({ file, fileList }) => { |
| | | if (file.status !== 'uploading') { |
| | | console.log(file); |
| | |
| | | <Row gutter={16}> |
| | | <Col className="gutter-row" > |
| | | 文档类型: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | <Row gutter={16}> |
| | | <Col className="gutter-row" style={{ margin: '12px 0' }} > |
| | |
| | | <Row gutter={16} style={{ marginTop: '12px' }}> |
| | | <Col className="gutter-row" style={{ marginTop: '12px' }}> |
| | | 通知标题: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | } |
| | | { |
| | |
| | | <Row gutter={16} style={{ marginTop: '12px' }}> |
| | | <Col className="gutter-row" style={{ marginTop: '12px' }}> |
| | | 规章制度标题: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | } |
| | | <Row gutter={16}> |
| | |
| | | <Row gutter={16}> |
| | | <Col className="gutter-row" > |
| | | 通知内容: |
| | | </Col> |
| | | </Col> |
| | | </Row> |
| | | } |
| | | { |
| | |
| | | </Col> |
| | | </Row> |
| | | } |
| | | <Row gutter={16} style={{ marginTop: '12px' }}> |
| | | <Col span={2} className="gutter-row" ><Button disabled={disabled} style={{ marginRight: '15px', width: '100px' }} type="primary" loading={this.state.iconLoading} onClick={this.submit}>发布</Button></Col> |
| | | <Col span={2} className="gutter-row" ><Button style={{ marginLeft: '15px', width: '100px' }} onClick={this.cancle}>返回</Button></Col> |
| | | <Row type="flex" gutter={20} style={{ marginTop: '12px' }}> |
| | | <Col className="gutter-row" ><Button onClick={this.cancle}>返回</Button></Col> |
| | | <Col className="gutter-row" ><Button disabled={disabled} type="primary" loading={this.state.iconLoading} onClick={this.submit}>发布</Button></Col> |
| | | </Row> |
| | | </Card> |
| | | </Spin> |