perf: 客服: 增加按抵达日期统计;

main
Lei OT 3 months ago
parent e822b9bb3a
commit 6f640bac4d

@ -462,6 +462,7 @@ class CustomerServices {
searchValues = { searchValues = {
DateType: { key: 'departureDate', label: '抵达日期'}, DateType: { key: 'departureDate', label: '抵达日期'},
// departureDateType: { key: 'departureDate', label: '抵达日期'},
}; };
setSearchValues(obj, values) { setSearchValues(obj, values) {

@ -46,6 +46,9 @@ const AgentGroupCount = () => {
<Row> <Row>
<Col span={24}> <Col span={24}>
<Typography.Title level={3}>地接社团信息</Typography.Title> <Typography.Title level={3}>地接社团信息</Typography.Title>
<Divider orientation="right" plain>
<TableExportBtn label={'地接社团信息'} {...{ columns: agentGroupListColumns, dataSource: agentGroupList }} />
</Divider>
<Table <Table
sticky sticky
id="agentGroupList" id="agentGroupList"
@ -57,9 +60,6 @@ const AgentGroupCount = () => {
pagination={false} pagination={false}
scroll={{ x: 1000 }} scroll={{ x: 1000 }}
/> />
<Divider orientation="right" plain>
<TableExportBtn label={'地接社团信息'} {...{ columns: agentGroupListColumns, dataSource: agentGroupList }} />
</Divider>
</Col> </Col>
</Row> </Row>
</Space> </Space>

@ -32,12 +32,12 @@ const AgentGroupList = () => {
...date_picker_store.formValues, ...date_picker_store.formValues,
...customerServicesStore.searchValues, ...customerServicesStore.searchValues,
}, },
shows: ['DateType', 'DepartmentList', 'dates'], shows: ['departureDateType', 'DepartmentList', 'dates'],
fieldProps: { fieldProps: {
DepartmentList: { show_all: true }, DepartmentList: { show_all: true },
WebCode: { show_all: false, mode: 'multiple' }, WebCode: { show_all: false, mode: 'multiple' },
dates: { hide_vs: true }, dates: { hide_vs: true },
DateType: { disabledKeys: ['applyDate'] }, departureDateType: { disabledKeys: ['applyDate'] },
}, },
}} }}
onSubmit={(_err, obj, form, str) => { onSubmit={(_err, obj, form, str) => {

@ -44,6 +44,9 @@ const DestinationGroupCount = () => {
<Row> <Row>
<Col span={24}> <Col span={24}>
<Typography.Title level={3}>目的地团信息</Typography.Title> <Typography.Title level={3}>目的地团信息</Typography.Title>
<Divider orientation="right" plain>
<TableExportBtn label={'目的地团信息'} {...{ columns: destinationGroupCountColumns, dataSource: destinationGroupCount }} />
</Divider>
<Table <Table
sticky sticky
id="destinationGroupCount" id="destinationGroupCount"
@ -55,9 +58,6 @@ const DestinationGroupCount = () => {
pagination={false} pagination={false}
scroll={{ x: 1000 }} scroll={{ x: 1000 }}
/> />
<Divider orientation="right" plain>
<TableExportBtn label={'目的地团信息'} {...{ columns: destinationGroupCountColumns, dataSource: destinationGroupCount }} />
</Divider>
</Col> </Col>
</Row> </Row>
</Space> </Space>

@ -33,13 +33,13 @@ const DestinationGroupList = () => {
countryArea: { key: 'china', label: '国内' }, countryArea: { key: 'china', label: '国内' },
...customerServicesStore.searchValues, ...customerServicesStore.searchValues,
}, },
shows: ['DateType', 'DepartmentList', 'dates'], shows: ['departureDateType', 'DepartmentList', 'dates'],
fieldProps: { fieldProps: {
DepartmentList: { show_all: true }, DepartmentList: { show_all: true },
orderStatus: { show_all: true }, orderStatus: { show_all: true },
countryArea: { show_all: false }, countryArea: { show_all: false },
dates: { hide_vs: true }, dates: { hide_vs: true },
DateType: { disabledKeys: ['applyDate'] }, departureDateType: { disabledKeys: ['applyDate'] },
}, },
}} }}
onSubmit={(_err, obj, form) => { onSubmit={(_err, obj, form) => {

Loading…
Cancel
Save