| | |
| | | import React, {Component} from 'react' |
| | | import PropTypes from 'prop-types' |
| | | import { is, fromJS } from 'immutable' |
| | | import { Icon, Modal, Button, Popconfirm, Table } from 'antd' |
| | | import { Modal, Button, Popconfirm, Table } from 'antd' |
| | | import { RedoOutlined, CloseOutlined, RollbackOutlined } from '@ant-design/icons' |
| | | |
| | | import zhCN from '@/locales/zh-CN/model.js' |
| | | import enUS from '@/locales/en-US/model.js' |
| | |
| | | title="确定恢复记录吗?" |
| | | onConfirm={() => this.revert(record)} |
| | | > |
| | | <span title="恢复" style={{color: '#26C281', fontSize: '16px', marginRight: '5px', cursor: 'pointer', padding: '5px'}}><Icon type="redo" /></span> |
| | | <span title="恢复" style={{color: '#26C281', fontSize: '16px', marginRight: '5px', cursor: 'pointer', padding: '5px'}}><RedoOutlined /></span> |
| | | </Popconfirm> |
| | | <Popconfirm |
| | | overlayClassName="popover-confirm" |
| | | title="确定清除记录吗?" |
| | | onConfirm={() => this.handleDelete(record)} |
| | | > |
| | | <span title="清除" style={{color: '#ff4d4f', fontSize: '16px', cursor: 'pointer', padding: '5px'}}><Icon type="close" /></span> |
| | | <span title="清除" style={{color: '#ff4d4f', fontSize: '16px', cursor: 'pointer', padding: '5px'}}><CloseOutlined /></span> |
| | | </Popconfirm> |
| | | </div>) |
| | | } |
| | |
| | | |
| | | return ( |
| | | <div className="btn-log-wrap"> |
| | | <Icon type="rollback" title="解除冻结" onClick={this.trigger} /> |
| | | <RollbackOutlined title="解除冻结" onClick={this.trigger} /> |
| | | <Modal |
| | | wrapClassName="popview-modal" |
| | | title="历史记录" |