|
@@ -1,15 +1,11 @@
|
1
|
1
|
import React, { useRef } from 'react';
|
2
|
|
-import { history, Link } from 'umi';
|
|
2
|
+import { history } from 'umi';
|
3
|
3
|
import { Button, Popconfirm, message, Select, Modal } from 'antd';
|
4
|
4
|
import { PlusOutlined } from '@ant-design/icons';
|
5
|
5
|
import { PageHeaderWrapper } from '@ant-design/pro-layout';
|
6
|
|
-import moment from 'moment';
|
7
|
6
|
import PageTable from '@/components/PageTable';
|
8
|
7
|
import { getMachineryList, deleteMachinery, updateMachinery } from '@/services/machinery';
|
9
|
8
|
|
10
|
|
-const formatterTime = (val) => {
|
11
|
|
- return val ? moment(val).format('YYYY-MM-DD HH:mm:ss') : '';
|
12
|
|
-};
|
13
|
9
|
const { Option } = Select;
|
14
|
10
|
|
15
|
11
|
export default (props) => {
|