From a4445362d518cbe3fcdaf08f966fc1453a676e39 Mon Sep 17 00:00:00 2001 From: tikkhun Date: Fri, 30 Jan 2026 16:17:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?fix(SyncForm):=20=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=A0=BC=E5=BC=8F=E5=8C=96=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E7=A7=92=E6=95=B0=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/SyncForm.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/SyncForm.tsx b/src/components/SyncForm.tsx index 32c5395..c252847 100644 --- a/src/components/SyncForm.tsx +++ b/src/components/SyncForm.tsx @@ -81,8 +81,8 @@ const SyncForm: React.FC = ({ ...values, dateRange: values.dateRange ? [ - dayjs(values.dateRange[0]).format('YYYY-MM-DDTHH:mm:s[Z]'), - dayjs(values.dateRange[1]).add(1, 'day').format('YYYY-MM-DDTHH:mm:s[Z]'), + dayjs(values.dateRange[0]).format('YYYY-MM-DDTHH:mm:ss[Z]'), + dayjs(values.dateRange[1]).add(1, 'day').format('YYYY-MM-DDTHH:mm:ss[Z]'), ] : [], }; -- 2.40.1 From 69b5ab72ff42cdb4367dc28acb4007f059ade728 Mon Sep 17 00:00:00 2001 From: tikkhun Date: Fri, 30 Jan 2026 16:44:13 +0800 Subject: [PATCH 2/2] =?UTF-8?q?refactor(Customer/StatisticList):=20?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E5=AE=A2=E6=88=B7=E5=88=97=E8=A1=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E4=B8=BA=E7=BB=9F=E8=AE=A1=E5=88=97=E8=A1=A8=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E5=B9=B6=E8=B0=83=E6=95=B4=E6=8E=92=E5=BA=8F=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E6=A0=BC=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/Customer/StatisticList/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/Customer/StatisticList/index.tsx b/src/pages/Customer/StatisticList/index.tsx index 8ee1138..dbd0bbf 100644 --- a/src/pages/Customer/StatisticList/index.tsx +++ b/src/pages/Customer/StatisticList/index.tsx @@ -2,7 +2,7 @@ import { HistoryOrder } from '@/pages/Statistics/Order'; import { customercontrollerAddtag, customercontrollerDeltag, - customercontrollerGetcustomerlist, + customercontrollerGetcustomerstatisticlist, customercontrollerGettags, customercontrollerSetrate, } from '@/servers/api/customer'; @@ -200,9 +200,9 @@ const ListPage: React.FC = () => { rowKey="id" request={async (params, sorter) => { const key = Object.keys(sorter)[0]; - const { data, success } = await customercontrollerGetcustomerlist({ + const { data, success } = await customercontrollerGetcustomerstatisticlist({ ...params, - ...(key ? { sorterKey: key, sorterValue: sorter[key] } : {}), + ...(key ? { orderBy: `${key}:${sorter[key]}` } : {}), }); return { -- 2.40.1