From aa452b2f26fddc6cc8e5ca71da226536ad7f5252 Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 17 Nov 2023 10:30:27 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E5=AE=A2=E6=9C=8D>=E5=9C=B0=E6=8E=A5:?= =?UTF-8?q?=20=E9=9A=90=E8=97=8F=E6=8F=90=E4=BA=A4=E6=97=A5=E6=9C=9F;=20fi?= =?UTF-8?q?x:=20=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/AgentGroupCount.jsx | 1 + src/views/AgentGroupList.jsx | 1 + src/views/DestinationGroupCount.jsx | 9 +-------- src/views/DestinationGroupList.jsx | 1 + 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/views/AgentGroupCount.jsx b/src/views/AgentGroupCount.jsx index 3aea2a4..b447fd9 100644 --- a/src/views/AgentGroupCount.jsx +++ b/src/views/AgentGroupCount.jsx @@ -33,6 +33,7 @@ const AgentGroupCount = () => { DepartmentList: { show_all: true }, WebCode: { show_all: false, mode: 'multiple' }, dates: { hide_vs: true }, + DateType: { disabledKeys: ['applyDate'] }, }, }} onSubmit={(_err, obj, form) => { diff --git a/src/views/AgentGroupList.jsx b/src/views/AgentGroupList.jsx index 561dbc9..1a23268 100644 --- a/src/views/AgentGroupList.jsx +++ b/src/views/AgentGroupList.jsx @@ -37,6 +37,7 @@ const AgentGroupList = () => { DepartmentList: { show_all: true }, WebCode: { show_all: false, mode: 'multiple' }, dates: { hide_vs: true }, + DateType: { disabledKeys: ['applyDate'] }, }, }} onSubmit={(_err, obj, form, str) => { diff --git a/src/views/DestinationGroupCount.jsx b/src/views/DestinationGroupCount.jsx index bfda615..f9ad7b7 100644 --- a/src/views/DestinationGroupCount.jsx +++ b/src/views/DestinationGroupCount.jsx @@ -31,6 +31,7 @@ const DestinationGroupCount = () => { orderStatus: { show_all: true }, countryArea: { show_all: false }, dates: { hide_vs: true }, + DateType: { disabledKeys: ['applyDate'] }, }, }} onSubmit={(_err, obj, form) => { @@ -55,14 +56,6 @@ const DestinationGroupCount = () => { scroll={{ x: 1000 }} /> - { - const wb = utils.table_to_book(document.getElementById('destinationGroupCount').getElementsByTagName('table')[0]); - writeFileXLSX(wb, '目的地团信息.xlsx'); - }} - > - 导出excel - diff --git a/src/views/DestinationGroupList.jsx b/src/views/DestinationGroupList.jsx index 9174956..7dbf37b 100644 --- a/src/views/DestinationGroupList.jsx +++ b/src/views/DestinationGroupList.jsx @@ -39,6 +39,7 @@ const DestinationGroupList = () => { orderStatus: { show_all: true }, countryArea: { show_all: false }, dates: { hide_vs: true }, + DateType: { disabledKeys: ['applyDate'] }, }, }} onSubmit={(_err, obj, form) => {