/* * Author: 黎永顺 * Description: 异常列表 * Date: 2022-04-21 16:51:27 * LastEditTime: 2022-04-21 20:08:59 */ import React, { Component } from "react"; import { Button, Table, Dropdown, Menu, Tooltip, Icon } from "antd"; import { WeaSlideModal, WeaTable } from "ecCom"; import "./index.less"; export default class AbnormalDrawer extends Component { constructor(props) { super(props); this.state = { selectedRowKeys: [], }; } onSelectChange = (selectedRowKeys) => { this.setState({ selectedRowKeys }); }; render() { const { selectedRowKeys } = this.state; const { loading } = this.props; const rowSelection = { selectedRowKeys, onChange: this.onSelectChange, }; return (
忽略全部 取消全部忽略 }>
{/* table */} { this.props.onPageChange(value) }, total: this.props.total, showTotal: (total) => `共 ${total} 条`, }} rowSelection={rowSelection} scroll={{ x: 1200 }} /> } /> ); } }