import React, { PureComponent } from "react"; import Person from "./PersonMessage"; import Attendance from "./Attendance"; import Event from "./EventList"; import PersonSearchList from "./Attendance/PersonSearchList"; import "./index.less"; import { connect } from "dva"; import { Tabs, Button } from "antd"; const { TabPane } = Tabs; @connect((state) => ({ selectedAttenData: state.command.attendanceList.selectedAttenData, tabIndex: state.command.tabIndex, })) export default class SearchListTab extends PureComponent { constructor(props) { super(props); this.state = { buttonStatus: true, //true是打开,false是关闭 }; } render() { return (