import { Component } from 'react'; import { TabAndContentPropsType } from '../../indextypes'; import { Department, Staff } from '../../typeSolo'; import { StaffListType, StateTypes, TabType } from './types'; declare class TabAndContent extends Component { private activeTabName; constructor(props: TabAndContentPropsType); private departmentContainer; [index: string]: any; /** * tab页面点击 * 取消搜索结果显示,展示tab页面相关的数据 * */ onChange: (activeTabName: TabType) => void; autoFocusFirstStaff: () => void; storeCurrentTabData: (res: (Staff | Department)[], activeTabName: TabType) => void; componentWillReceiveProps(nextProps: Readonly, nextContext: any): void; fetchTabData: (activeTabName: TabType | undefined) => void; getCurrentStaffData: (type: StaffListType) => any; isCurItemHasInitialFocus: (index: any) => boolean; creatStaffList: (type: StaffListType) => any[]; renderStaffList: (type: StaffListType) => JSX.Element; selectAllStaff: (arrayData: Staff[]) => void; getTypeName: (type: StaffListType) => any; gSummary: (type: StaffListType) => JSX.Element; createTreeData: (treeData: Department[]) => any[]; createTree: (allTreeData: any) => any; renderDepartmentTree: () => JSX.Element; renderTabContentByTabName: (tabName: TabType) => any; componentDidMount(): void; renderContent: () => any; render(): JSX.Element; } export default TabAndContent;