|
@@ -5,6 +5,7 @@ import { Button, DatePicker, Select, Spin, Table } from 'antd';
|
|
|
import dayjs from 'dayjs';
|
|
|
import { useEffect, useState } from 'react';
|
|
|
import styles from './index.less';
|
|
|
+import PageTitle from '@/components/PageTitle';
|
|
|
|
|
|
const { RangePicker } = DatePicker;
|
|
|
const { Option } = Select;
|
|
@@ -148,7 +149,7 @@ const OperationRecord = (props) => {
|
|
|
tempParams[key] = value;
|
|
|
break;
|
|
|
case 'date':
|
|
|
- if (value.length === 2) {
|
|
|
+ if (value?.length === 2) {
|
|
|
tempParams.s_time = dayjs(value[0]).format('YYYY-MM-DD 00:00:00');
|
|
|
tempParams.e_time = dayjs(value[1]).format('YYYY-MM-DD 23:59:59');
|
|
|
} else {
|
|
@@ -181,6 +182,7 @@ const OperationRecord = (props) => {
|
|
|
|
|
|
return (
|
|
|
<PageContent>
|
|
|
+ <PageTitle returnable>操作记录</PageTitle>
|
|
|
<Spin spinning={loading}>
|
|
|
<div className={styles.searchContent}>
|
|
|
{/* <Button
|