|
|
|
@ -22,7 +22,7 @@ const GroupList = () => {
|
|
|
|
|
|
|
|
|
|
const groupList = customerServicesStore.groupList;
|
|
|
|
|
const groupListColumns = customerServicesStore.groupListColumns;
|
|
|
|
|
const {startDate, endDate, dateType} = customerServicesStore;
|
|
|
|
|
const {startDate, endDate, dateType, inProgress} = customerServicesStore;
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
@ -63,7 +63,7 @@ const GroupList = () => {
|
|
|
|
|
<Button
|
|
|
|
|
type="primary"
|
|
|
|
|
icon={<SearchOutlined />}
|
|
|
|
|
loading={false}
|
|
|
|
|
loading={inProgress}
|
|
|
|
|
onClick={() => {
|
|
|
|
|
customerServicesStore.fetchGroupListByAgentId(agentId);
|
|
|
|
|
customerServicesStore.fetchAgentList();
|
|
|
|
@ -75,7 +75,7 @@ const GroupList = () => {
|
|
|
|
|
<Row>
|
|
|
|
|
<Col span={24}>
|
|
|
|
|
<Typography.Title level={3}>{customerServicesStore.selectedAgent.VendorName}</Typography.Title>
|
|
|
|
|
<Table dataSource={groupList} columns={groupListColumns} size="small" rowKey={(record) => record.key} loading={false} pagination={false} scroll={{ x: "100%" }} />
|
|
|
|
|
<Table dataSource={groupList} columns={groupListColumns} size="small" rowKey={(record) => record.key} loading={inProgress} pagination={false} scroll={{ x: "100%" }} />
|
|
|
|
|
</Col>
|
|
|
|
|
</Row>
|
|
|
|
|
</Space>
|
|
|
|
|