import { useContext, useEffect } from 'react'; import { Row, Col, Typography, Space, Table, List } from 'antd'; import { stores_Context } from '../config'; import { observer } from 'mobx-react'; import { NavLink, useParams } from 'react-router-dom'; import 'moment/locale/zh-cn'; import SearchForm from './../components/search/SearchForm'; const AgentGroupList = () => { const { agentId } = useParams(); const { customerServicesStore, date_picker_store } = useContext(stores_Context); useEffect(() => { customerServicesStore.fetchGroupListByAgentId(agentId); }, []); const groupList = customerServicesStore.groupList; const groupListColumns = customerServicesStore.groupListColumns; const { startDate, endDate, dateType, inProgress } = customerServicesStore; return ( <> 返回 { customerServicesStore.setSearchValues(obj, form); customerServicesStore.fetchGroupListByAgentId(agentId); }} /> {customerServicesStore.agentCompany} record.key} loading={inProgress} pagination={false} scroll={{ x: 1000 }} expandable={{ expandedRowRender: (record) => ( ), }} /> ); }; export default observer(AgentGroupList);