| | |
| | | componentDidMount() { } |
| | | |
| | | link = (id) => { |
| | | console.log(id) |
| | | this.props.history.push({ pathname: "/document/detail/" + id }); |
| | | } |
| | | |
| | |
| | | |
| | | renderColumns = () => { |
| | | return [ |
| | | { title: '标题', dataIndex: 'documentTitle' }, |
| | | { title: '标题', dataIndex: 'documentTitle', ellipsis: true }, |
| | | { |
| | | title: '通知内容', dataIndex: 'documentContent', width: '40%', ellipsis: true, render: (cur, item) => { |
| | | title: '通知内容', dataIndex: 'documentContent', ellipsis: true, render: (cur, item) => { |
| | | return cur ? this.emoveTAG(cur) : '无' |
| | | } |
| | | }, |
| | |
| | | } |
| | | |
| | | setFormData = data => { |
| | | console.log('form', data); |
| | | this.setState({ |
| | | formData: data, |
| | | }); |
| | | } |
| | | |
| | | onTabsChange = (key) => { |
| | | console.log(key); |
| | | } |
| | | |
| | | |
| | |
| | | > |
| | | { |
| | | documentId && |
| | | <FindAlreadyReadOrNotView key={documentId} documentId={documentId}/> |
| | | <FindAlreadyReadOrNotView key={documentId} documentId={documentId} /> |
| | | } |
| | | |
| | | </Modal> |