perf: 客服>地接: 隐藏提交日期; fix: 导出

feature/year-over-year
Lei OT 2 years ago
parent 40c8f37ff8
commit aa452b2f26

@ -33,6 +33,7 @@ const AgentGroupCount = () => {
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'] },
}, },
}} }}
onSubmit={(_err, obj, form) => { onSubmit={(_err, obj, form) => {

@ -37,6 +37,7 @@ const AgentGroupList = () => {
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'] },
}, },
}} }}
onSubmit={(_err, obj, form, str) => { onSubmit={(_err, obj, form, str) => {

@ -31,6 +31,7 @@ const DestinationGroupCount = () => {
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'] },
}, },
}} }}
onSubmit={(_err, obj, form) => { onSubmit={(_err, obj, form) => {
@ -55,14 +56,6 @@ const DestinationGroupCount = () => {
scroll={{ x: 1000 }} scroll={{ x: 1000 }}
/> />
<Divider orientation="right" plain> <Divider orientation="right" plain>
<a
onClick={() => {
const wb = utils.table_to_book(document.getElementById('destinationGroupCount').getElementsByTagName('table')[0]);
writeFileXLSX(wb, '目的地团信息.xlsx');
}}
>
导出excel
</a>
<TableExportBtn label={'目的地团信息'} {...{ columns: destinationGroupCountColumns, dataSource: destinationGroupCount }} /> <TableExportBtn label={'目的地团信息'} {...{ columns: destinationGroupCountColumns, dataSource: destinationGroupCount }} />
</Divider> </Divider>
</Col> </Col>

@ -39,6 +39,7 @@ const DestinationGroupList = () => {
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'] },
}, },
}} }}
onSubmit={(_err, obj, form) => { onSubmit={(_err, obj, form) => {

Loading…
Cancel
Save