Compare commits
No commits in common. "69b5ab72ff42cdb4367dc28acb4007f059ade728" and "500151c95757434f96d133529c67432d5d919014" have entirely different histories.
69b5ab72ff
...
500151c957
|
|
@ -81,8 +81,8 @@ const SyncForm: React.FC<SyncFormProps> = ({
|
|||
...values,
|
||||
dateRange: values.dateRange
|
||||
? [
|
||||
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]'),
|
||||
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]'),
|
||||
]
|
||||
: [],
|
||||
};
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { HistoryOrder } from '@/pages/Statistics/Order';
|
|||
import {
|
||||
customercontrollerAddtag,
|
||||
customercontrollerDeltag,
|
||||
customercontrollerGetcustomerstatisticlist,
|
||||
customercontrollerGetcustomerlist,
|
||||
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 customercontrollerGetcustomerstatisticlist({
|
||||
const { data, success } = await customercontrollerGetcustomerlist({
|
||||
...params,
|
||||
...(key ? { orderBy: `${key}:${sorter[key]}` } : {}),
|
||||
...(key ? { sorterKey: key, sorterValue: sorter[key] } : {}),
|
||||
});
|
||||
|
||||
return {
|
||||
|
|
|
|||
Loading…
Reference in New Issue