| | |
| | | })) |
| | | } |
| | | showModal = (id) => { |
| | | this.props.history.push("/entry/policeSecurity/" + id); |
| | | this.props.history.push("/entry/policeSecurityEdit/" + id); |
| | | } |
| | | |
| | | Seaech = () => { |
| | |
| | | dataIndex: 'status', |
| | | key: 'status', |
| | | render: text => ( |
| | | text == 1 ? <Badge style={{ backgroundColor: '#6C757C' }} count={'待处理'} /> : text == 2 ? <Badge style={{ backgroundColor: '#F1C40F' }} count={'已受理'} /> : <Badge style={{ backgroundColor: '#2ECC71' }} count={'已反馈'} /> |
| | | text == 1 ? <Badge style={{ backgroundColor: '#6C757C' }} count={'待处理'} /> : text == 2 ? <Badge style={{ backgroundColor: '#F1C40F' }} count={'检察院已审核'} /> : <Badge style={{ backgroundColor: '#2ECC71' }} count={'已反馈'} /> |
| | | ) |
| | | }, { |
| | | title: '操作', |
| | | key: 'action', |
| | | render: (text, record) => ( |
| | | <span> |
| | | <a onClick={() => this.showModal(record.id)}>审核</a> |
| | | </span> |
| | | record.status == 2 ? |
| | | <span> |
| | | <a onClick={() => this.showModal(record.id)}>审核</a> |
| | | </span> |
| | | : <span> |
| | | <a onClick={() => this.showModal(record.id)}>详情</a> |
| | | </span> |
| | | ), |
| | | }]; |
| | | const { data, loading, resetKey, formData } = this.state; |