| | |
| | | }, |
| | | taskType: res.taskType || 1, |
| | | // status: res.activityStatus || '', |
| | | socialTaskObject: res.socialTaskObject?{id:res.socialTaskObject.objectId,objectName:res.socialTaskObject.objectName}:{}, |
| | | socialTaskObject: res.socialTaskObject ? { id: res.socialTaskObject.objectId, objectName: res.socialTaskObject.objectName, taskReport:res.socialTaskObject.taskReport } : {}, |
| | | disabled: res.status ? true : false, |
| | | fileList: res.attachments || [], |
| | | loading: false, |
| | | }); |
| | | }) |
| | |
| | | <Col span={12} pull={0}></Col> |
| | | </Row> |
| | | </div> |
| | | |
| | | { |
| | | savedate.status !== 0 ? |
| | | <div style={divStyle}> |
| | | <Row type="flex" align='middle' justify="space-around"> |
| | | <Col span={6} pull={0} style={{ textAlign: 'center' }}><span>任务汇报</span></Col> |
| | | <Col span={6} push={0} > |
| | | <TextArea disabled={disabled} rows={4} style={{ width: '92%' }} value={socialTaskObject.taskReport || ""} onChange={this.saveInputChange} name='taskReport' /> |
| | | </Col> |
| | | <Col span={12} pull={0}></Col> |
| | | </Row> |
| | | </div> : '' |
| | | } |
| | | |
| | | { |
| | | savedate.status !== 0 ? |
| | | <div style={divStyle}> |
| | | <div style={divStyle}> |
| | | <Row type="flex" align='top' justify="space-around"> |
| | | <Col span={6} pull={0} style={{ textAlign: 'center' }}><span>汇报附件</span></Col> |
| | | <Col span={18} push={0} > |
| | | <Upload disabled={disabled} listType="picture-card" onPreview={this.handlePreview} {...props}> |
| | | |
| | | </Upload> |
| | | </Col> |
| | | </Row> |
| | | </div> |
| | | </div> :'' |
| | | } |
| | | |
| | | { |
| | | |
| | | savedate.status == 2 || savedate.status == 99 ? |