This commit is contained in:
parent
ce11450971
commit
deb62af5e8
@ -10,7 +10,6 @@ import {
|
|||||||
DatePicker,
|
DatePicker,
|
||||||
Select,
|
Select,
|
||||||
Space,
|
Space,
|
||||||
Tag,
|
|
||||||
Upload,
|
Upload,
|
||||||
Progress,
|
Progress,
|
||||||
} from 'antd';
|
} from 'antd';
|
||||||
@ -23,7 +22,6 @@ import {
|
|||||||
} from '@ant-design/icons';
|
} from '@ant-design/icons';
|
||||||
import { ProTable } from '@ant-design/pro-components';
|
import { ProTable } from '@ant-design/pro-components';
|
||||||
import type { ProColumns, ActionType } from '@ant-design/pro-components';
|
import type { ProColumns, ActionType } from '@ant-design/pro-components';
|
||||||
import dayjs from 'dayjs';
|
|
||||||
import {
|
import {
|
||||||
getBatches,
|
getBatches,
|
||||||
createBatch,
|
createBatch,
|
||||||
@ -36,7 +34,7 @@ import type { DeviceType } from '../../api/deviceType';
|
|||||||
|
|
||||||
const BatchPage: React.FC = () => {
|
const BatchPage: React.FC = () => {
|
||||||
const navigate = useNavigate();
|
const navigate = useNavigate();
|
||||||
const actionRef = useRef<ActionType>();
|
const actionRef = useRef<ActionType>(null);
|
||||||
const [modalVisible, setModalVisible] = useState(false);
|
const [modalVisible, setModalVisible] = useState(false);
|
||||||
const [importModalVisible, setImportModalVisible] = useState(false);
|
const [importModalVisible, setImportModalVisible] = useState(false);
|
||||||
const [selectedBatchId, setSelectedBatchId] = useState<number | null>(null);
|
const [selectedBatchId, setSelectedBatchId] = useState<number | null>(null);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user