Commit 094f239c09b71691f75cc15b5447e9f832f9be74

Authored by zhangzzzz
1 parent 43b4b35a

antd改antd-v4;

Showing 127 changed files with 129 additions and 129 deletions

Too many changes to show.

To preserve performance only 100 of 127 files are displayed.

src/components/Charts/Pie/index.js
1 1 /* eslint-disable no-undef, jsx-a11y/no-noninteractive-element-interactions */
2 2 import React, { Component } from 'react';
3 3 import G2 from '@antv/g2';
4   -import { Divider } from 'antd';
  4 +import { Divider } from 'antd-v4';
5 5 import classNames from 'classnames';
6 6 import ReactFitText from 'react-fittext';
7 7 import Debounce from 'lodash-decorators/debounce';
... ...
src/components/Charts/TimeLineGroup/index.js
1 1 /* eslint-disable object-curly-newline */
2 2 import React, { Component } from 'react';
3   -import { Row, Col, Tabs } from 'antd';
  3 +import { Row, Col, Tabs } from 'antd-v4';
4 4 import TimeLineChart from '../TimelineChart';
5 5 import NumberInfo from '../../NumberInfo';
6 6 import Pie from '../Pie';
... ...
src/components/Common/AntdDraggableModal.js
1 1 import React from 'react';
2   -import { Modal } from 'antd';
  2 +import { Modal } from 'antd-v4';
3 3 import './AntdDraggableModal/antDraggle.less';
4 4  
5 5  
... ...
src/components/Common/AssignmentField.js
... ... @@ -3,7 +3,7 @@
3 3 */
4 4 /* eslint-disable no-undef,import/first,prefer-destructuring,jsx-a11y/alt-text */
5 5 import React, { Component } from 'react';
6   -import { Modal } from 'antd';
  6 +import { Modal } from 'antd-v4';
7 7 import styles from '@/index.less';
8 8 import * as commonUtils from '@/utils/utils';
9 9 import StaticEditTable from '@/components/Common/CommonTable';/* 可编辑表格 */
... ...
src/components/Common/BoxDesignCompontent/index.js
1 1 /* eslint-disable */
2 2 import React, { useRef, useState, useEffect } from "react";
3   -import { Select, Button, message, Input, Spin } from "antd";
  3 +import { Select, Button, message, Input, Spin } from "antd-v4";
4 4 import { CompressOutlined, ExpandOutlined } from "@ant-design/icons";
5 5 import * as commonUtils from "@/utils/utils";
6 6 import * as commonFunc from "@/components/Common/commonFunc";
... ...
src/components/Common/CommonBill/index.js
... ... @@ -17,7 +17,7 @@ import {
17 17 Upload,
18 18 Input,
19 19 Modal
20   -} from 'antd';
  20 +} from 'antd-v4';
21 21 import { message } from '@/utils/common/message';
22 22 import CommonSales from '@/components/Common/CommonBillEvent';/* 继承销售模块业务功能 */
23 23 import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
... ...
src/components/Common/CommonBillEvent.js
1 1 /* eslint-disable */
2 2 /* eslint-disable prefer-destructuring,no-await-in-loop,radix,,no-loop-func */
3 3 import React, { Component } from 'react';
4   -import { Modal, notification, Progress } from 'antd';
  4 +import { Modal, notification, Progress } from 'antd-v4';
5 5 import { message } from '@/utils/common/message';
6 6 import moment from 'moment';
7 7 import * as commonUtils from '@/utils/utils'; /* 通用方法 */
... ...
src/components/Common/CommonCheckBill/index.js
... ... @@ -16,7 +16,7 @@ import {
16 16 Input,
17 17 Divider,
18 18 Collapse,
19   -} from 'antd';
  19 +} from 'antd-v4';
20 20 import { message } from '@/utils/common/message';
21 21 import CommonSales from '@/components/Common/CommonCheckBillEvent';/* 继承销售模块业务功能 */
22 22 import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
... ...
src/components/Common/CommonCheckBillEvent.js
1 1 /* eslint-disable */
2 2 import React, { Component } from 'react';
3   -import { Modal, Progress } from 'antd';
  3 +import { Modal, Progress } from 'antd-v4';
4 4 import { message } from '@/utils/common/message';
5 5 import moment from 'moment';
6 6 import * as commonUtils from '@/utils/utils'; /* 通用方法 */
... ...
src/components/Common/CommonClassifyEvent.js
1 1 /* eslint-disable array-callback-return,no-undef,prefer-destructuring */
2 2 import React, { Component } from 'react';
3 3 import moment from 'moment';
4   -import { Modal, message } from 'antd';
  4 +import { Modal, message } from 'antd-v4';
5 5 import * as commonFunc from './commonFunc';
6 6 import * as commonBusiness from './commonBusiness'; /* 单据业务功能 */
7 7 import * as commonUtils from '../../utils/utils'; /* 通用方法 */
... ...
src/components/Common/CommonComponent/index.js
... ... @@ -20,7 +20,7 @@ import {
20 20 Table,
21 21 Pagination,
22 22 Tooltip,
23   -} from 'antd';
  23 +} from 'antd-v4';
24 24 import {
25 25 EyeOutlined,
26 26 FilePdfOutlined,
... ...
src/components/Common/CommonComponent/index_new.js
... ... @@ -14,7 +14,7 @@ import {
14 14 Spin,
15 15 message,
16 16 Form,
17   -} from 'antd';
  17 +} from 'antd-v4';
18 18 import * as commonUtils from '@/utils/utils';
19 19 import styles from '@/index.less';
20 20 import Provinces from '@/assets/provinces.json';
... ...
src/components/Common/CommonComponentNew/index.tsx
1 1 import React, { useEffect, useState } from 'react';
2   -import { Form, Input, InputNumber, Select, Tooltip } from 'antd';
  2 +import { Form, Input, InputNumber, Select, Tooltip } from 'antd-v4';
3 3 import * as commonUtils from "@/utils/utils";
4   -import type { SelectProps } from 'antd';
  4 +import type { SelectProps } from 'antd-v4';
5 5 import type { PropsType, FormItemTypeKey } from './type';
6 6  
7 7 const FormItemTypeEvent = (props: PropsType) => {
... ...
src/components/Common/CommonElementEvent.js
1 1 /* eslint-disable array-callback-return,no-undef,prefer-destructuring */
2 2 import React, { Component } from 'react';
3   -import { Modal, message } from 'antd';
  3 +import { Modal, message } from 'antd-v4';
4 4 import commonConfig from '../../utils/config';
5 5 import * as commonFunc from './commonFunc';
6 6 import * as commonBusiness from './commonBusiness'; /* 单据业务功能 */
... ...
src/components/Common/CommonExamInfo/index.js
1 1 /* eslint-disable */
2 2 import React, { Component } from 'react';
3 3 import moment from 'moment';
4   -import { Input, Layout, Steps, Select, Button, Modal,message, Spin } from 'antd';
  4 +import { Input, Layout, Steps, Select, Button, Modal,message, Spin } from 'antd-v4';
5 5 import { UserOutlined } from '@ant-design/icons';
6 6 import * as commonUtils from '@/utils/utils';/* 通用方法 */
7 7 import * as commonServices from '@/services/services';/* 服务类 */
... ...
src/components/Common/CommonInstructSet.js
... ... @@ -2,7 +2,7 @@
2 2  
3 3 import lodash from "lodash";
4 4 import moment from "moment";
5   -import { Modal, notification } from "antd";
  5 +import { Modal, notification } from "antd-v4";
6 6 import { message } from "@/utils/common/message";
7 7 import * as commonUtils from "@/utils/utils";
8 8 import * as commonFunc from "@/components/Common/commonFunc";
... ...
src/components/Common/CommonListA.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Slider } from 'antd';
  5 +import { Layout, Spin, Slider } from 'antd-v4';
6 6 import CommonListEvent from '@/components/Common/CommonListEvent';/* 继承销售模块业务功能 */
7 7 import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
8 8 import Toolbar from '@/components/Common/ToolBar/ToolBarNew';
... ...
src/components/Common/CommonListEditEvent.js
... ... @@ -4,7 +4,7 @@
4 4 * Created by mar105 on 2019-03-27.
5 5 */
6 6 import React, { Component } from 'react';
7   -import { Modal, message } from 'antd';
  7 +import { Modal, message } from 'antd-v4';
8 8 import * as commonUtils from '../../utils/utils'; /* 通用方法 */
9 9 import * as commonFunc from './commonFunc'; /* 通用单据方法 */
10 10 import commonConfig from '../../utils/config';
... ...
src/components/Common/CommonListLeft/index.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form, Icon } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Slider, Button } from 'antd';
  5 +import { Layout, Spin, Slider, Button } from 'antd-v4';
6 6 import { MessageOutlined, MinusOutlined } from '@ant-design/icons';
7 7 import CommonListEvent from '@/components/Common/CommonListEvent';/* 继承销售模块业务功能 */
8 8 import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
... ...
src/components/Common/CommonListSelect/index.js
... ... @@ -3,7 +3,7 @@ import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5 5 import { UploadOutlined } from '@ant-design/icons';
6   -import { Layout, Spin, Button, message, Upload, Modal } from 'antd';
  6 +import { Layout, Spin, Button, message, Upload, Modal } from 'antd-v4';
7 7 import CommonListEvent from '@/components/Common/CommonListEvent';/* 继承销售模块业务功能 */
8 8 import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
9 9 import StaticEditTable from '@/components/Common/CommonTable';/* 可编辑表格 */
... ...
src/components/Common/CommonListSelectAssignment.js
... ... @@ -4,7 +4,7 @@
4 4 import React, { Component } from 'react';
5 5 import { Form } from '@ant-design/compatible';
6 6 import '@ant-design/compatible/assets/index.css';
7   -import { Layout, Spin, Button, Row, Col } from 'antd';
  7 +import { Layout, Spin, Button, Row, Col } from 'antd-v4';
8 8 import CommonListEvent from './CommonListEvent';/* 继承销售模块业务功能 */
9 9 // import * as commonUtils from '../../utils/utils'; /* 通用方法 */
10 10 import * as commonFunc from './commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
... ...
src/components/Common/CommonListSelectFlex/EditTableCommonListSelectFlex/index.jsx
... ... @@ -2,7 +2,7 @@
2 2 import React, { PureComponent } from "react";
3 3 import { Form } from "@ant-design/compatible";
4 4 import "@ant-design/compatible/assets/index.css";
5   -import { Layout, Spin, Button, Row, Col } from "antd";
  5 +import { Layout, Spin, Button, Row, Col } from "antd-v4";
6 6 import * as commonFunc from "@/components/Common/commonFunc"; /* 通用单据方法 */ /* 通用单据方法 */
7 7 import StaticEditTable from "@/components/Common//CommonTable"; /* 可编辑表格 */
8 8 import StaticEditTree from "@/components/Common/Tree/StaticTree";
... ...
src/components/Common/CommonListSelectFlex/index.js
1 1 import React, { Component } from 'react';
2 2 import { Form } from '@ant-design/compatible';
3 3 import '@ant-design/compatible/assets/index.css';
4   -import { Layout, Spin, Button, Row, Col, message } from 'antd';
  4 +import { Layout, Spin, Button, Row, Col, message } from 'antd-v4';
5 5 import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
6 6 import StaticEditTable from '@/components/Common//CommonTable';/* 可编辑表格 */
7 7 import StaticEditTree from '@/components/Common/Tree/StaticTree';
... ...
src/components/Common/CommonListSelectMulti/index.js
... ... @@ -2,7 +2,7 @@ import React, { Component } from 'react';
2 2 import { DownOutlined } from '@ant-design/icons';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Button, Row, Col, message } from 'antd';
  5 +import { Layout, Spin, Button, Row, Col, message } from 'antd-v4';
6 6 import CommonListEvent from '@/components/Common/CommonListEvent';/* 继承销售模块业务功能 */
7 7 // import * as commonUtils from '../../utils/utils'; /* 通用方法 */
8 8 import * as commonFunc from '@/components/Common//commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
... ...
src/components/Common/CommonListSelectProductMaterial.js
... ... @@ -8,7 +8,7 @@
8 8 import React, { Component } from 'react';
9 9 import { Form } from '@ant-design/compatible';
10 10 import '@ant-design/compatible/assets/index.css';
11   -import { Layout, Spin, Button, Row, Col } from 'antd';
  11 +import { Layout, Spin, Button, Row, Col } from 'antd-v4';
12 12 import CommonListEvent from './CommonListEvent';/* 继承销售模块业务功能 */
13 13 import * as commonFunc from './commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
14 14 import StaticEditTable from './CommonTable';/* 可编辑表格 */
... ...
src/components/Common/CommonListSelectTree/index.js
... ... @@ -2,7 +2,7 @@ import React, { Component } from 'react';
2 2 import { DownOutlined } from '@ant-design/icons';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Button, Row, Col, message } from 'antd';
  5 +import { Layout, Spin, Button, Row, Col, message } from 'antd-v4';
6 6 import CommonListEvent from '@/components/Common/CommonListEvent';/* 继承销售模块业务功能 */
7 7 // import * as commonUtils from '../../utils/utils'; /* 通用方法 */
8 8 import * as commonFunc from '@/components/Common//commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
... ...
src/components/Common/CommonListTabEvent.js
... ... @@ -4,7 +4,7 @@
4 4 * Created by mar105 on 2019-03-27.
5 5 */
6 6 import React, { Component } from 'react';
7   -import { Modal, message } from 'antd';
  7 +import { Modal, message } from 'antd-v4';
8 8 import * as commonUtils from '../../utils/utils'; /* 通用方法 */
9 9 import * as commonFunc from './commonFunc'; /* 通用单据方法 */
10 10 import commonConfig from '../../utils/config';
... ...
src/components/Common/CommonListTree/index.js
... ... @@ -9,7 +9,7 @@
9 9 import React, { Component } from 'react';
10 10 import { Form } from '@ant-design/compatible';
11 11 import '@ant-design/compatible/assets/index.css';
12   -import { Layout, Spin } from 'antd';
  12 +import { Layout, Spin } from 'antd-v4';
13 13 import CommonListTreeEvent from '../CommonListTreeEvent';/* 继承销售模块业务功能 */
14 14 import * as commonFunc from '../commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
15 15 import Toolbar from '../ToolBar/ToolBarNew';
... ...
src/components/Common/CommonListTreeEvent.js
... ... @@ -3,7 +3,7 @@
3 3 * Created by mar105 on 2019-03-27.
4 4 */
5 5 import React, { Component } from 'react';
6   -import { Modal, message } from 'antd';
  6 +import { Modal, message } from 'antd-v4';
7 7 import * as commonUtils from '../../utils/utils'; /* 通用方法 */
8 8 import * as commonFunc from './commonFunc'; /* 通用单据方法 */
9 9 import commonConfig from '../../utils/config';
... ...
src/components/Common/CommonListTreeSelect/index.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Layout, Spin, Button, message } from 'antd';
  8 +import { Layout, Spin, Button, message } from 'antd-v4';
9 9 import CommonListTreeEvent from '@/components/Common/CommonListTreeEvent';/* 继承销售模块业务功能 */
10 10 import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
11 11 import StaticEditTable from '@/components/Common/CommonTable';/* 可编辑表格 */
... ...
src/components/Common/CommonNewBill.js
... ... @@ -3,7 +3,7 @@
3 3 import React, { Component, useState, useRef, useEffect } from 'react';
4 4 import { Form } from '@ant-design/compatible';
5 5 import '@ant-design/compatible/assets/index.css';
6   -import {Row, Col, Checkbox, Layout, Spin, Tabs, Dropdown, Avatar, Button, Menu, Table, Upload} from 'antd';
  6 +import {Row, Col, Checkbox, Layout, Spin, Tabs, Dropdown, Avatar, Button, Menu, Table, Upload} from 'antd-v4';
7 7 import { message } from '@/utils/common/message';
8 8 import {DownOutlined, UploadOutlined,} from '@ant-design/icons';
9 9 import CommonNewSales from '@/components/Common/CommonNewBillEvent';/* 继承销售模块业务功能 */
... ...
src/components/Common/CommonNewBillEvent.js
1 1 /* eslint-disable */
2 2 import React, { Component } from 'react';
3   -import { Modal, Progress } from 'antd';
  3 +import { Modal, Progress } from 'antd-v4';
4 4 import { message } from '@/utils/common/message';
5 5 // import moment from 'moment';
6 6 import * as commonUtils from '@/utils/utils'; /* 通用方法 */
... ...
src/components/Common/CommonPartsInfo/index.js
... ... @@ -6,7 +6,7 @@ import React, {
6 6 useState,
7 7 useEffect
8 8 } from "react";
9   -import { Tree, Divider, Tabs, Button, Tooltip } from "antd";
  9 +import { Tree, Divider, Tabs, Button, Tooltip } from "antd-v4";
10 10 import {
11 11 ProfileOutlined,
12 12 FileTextOutlined,
... ...
src/components/Common/CommonSystemSettingEvent.js
1 1 /* eslint-disable array-callback-return,no-undef,prefer-destructuring */
2 2 import moment from 'moment';
3 3 import React, { Component } from 'react';
4   -import { Modal, message } from 'antd';
  4 +import { Modal, message } from 'antd-v4';
5 5 import * as commonFunc from './commonFunc';
6 6 import * as commonBusiness from './commonBusiness'; /* 单据业务功能 */
7 7 import * as commonUtils from '../../utils/utils'; /* 通用方法 */
... ...
src/components/Common/CommonTableNew/index.tsx
1 1 import React, { useContext, useEffect, useState, useRef } from 'react';
2   -import { Form, Table, Tooltip } from 'antd';
3   -import type { GetRef, InputRef, TableProps, } from 'antd';
  2 +import { Form, Table, Tooltip } from 'antd-v4';
  3 +import type { GetRef, InputRef, TableProps, } from 'antd-v4';
4 4 import * as commonUtils from '@/utils/utils';
5 5 import FormItemType from '@/components/Common/CommonComponentNew';
6 6  
... ...
src/components/Common/CommonTableNew/type.ts
1   -import type { TableProps } from 'antd';
  1 +import type { TableProps } from 'antd-v4';
2 2  
3 3 export interface RecordType {
4 4 [key: string]: any; // 根据实际需求调整类型
... ...
src/components/Common/CommonView/index.js
1 1 /* eslint-disable object-curly-newline,prefer-destructuring */
2 2 import React, { Component } from 'react';
3 3 import '@ant-design/compatible/assets/index.css';
4   -import { Row, Col, Form, Tooltip } from 'antd';
  4 +import { Row, Col, Form, Tooltip } from 'antd-v4';
5 5 import { DoubleRightOutlined } from '@ant-design/icons';
6 6 import commonConfig from '@/utils/config';
7 7 import ShowType from '@/components/Common/CommonComponent';
... ...
src/components/Common/CommonViewDragable/index.js
... ... @@ -7,7 +7,7 @@ import React, {
7 7 useState
8 8 } from "react";
9 9 import "@ant-design/compatible/assets/index.css";
10   -import { Tabs, Tooltip, message } from "antd";
  10 +import { Tabs, Tooltip, message } from "antd-v4";
11 11 import ShowType from "@/components/Common/CommonComponent";
12 12 import * as commonBusiness from "@/components/Common/commonBusiness";
13 13 import StaticEditTable from "@/components/Common/CommonTable";
... ...
src/components/Common/CommonViewFlex/index.js
1 1 /* eslint-disable object-curly-newline,prefer-destructuring */
2 2 import React, { Component } from 'react';
3 3 import '@ant-design/compatible/assets/index.css';
4   -import { Row, Col, Form } from 'antd';
  4 +import { Row, Col, Form } from 'antd-v4';
5 5 import ShowType from '@/components/Common/CommonComponent';
6 6 import AntdDraggableModal from '@/components/Common/AntdDraggableModal';
7 7 import CommonListSelectTree from '@/components/Common/CommonListSelectTree';
... ...
src/components/Common/CommonViewTable/index.js
... ... @@ -2,7 +2,7 @@
2 2 /* eslint-disable object-curly-newline,prefer-destructuring */
3 3 import React, { Component } from 'react';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Row, Col, Divider, Tooltip } from 'antd';
  5 +import { Row, Col, Divider, Tooltip } from 'antd-v4';
6 6 import ShowType from '@/components/Common/CommonComponent';
7 7 import AntdDraggableModal from '@/components/Common/AntdDraggableModal';
8 8 import CommonListSelectTree from '@/components/Common/CommonListSelectTree';
... ...
src/components/Common/ContextMenuModal.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Row, Col, Radio } from 'antd';
  8 +import { Row, Col, Radio } from 'antd-v4';
9 9 import * as commonUtils from '../../utils/utils';
10 10 import ShowType from './CommonComponent';/* 通用方法 */
11 11 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/FileImposition/index.js
... ... @@ -8,7 +8,7 @@ import {
8 8 Modal,
9 9 notification,
10 10 Spin
11   -} from "antd";
  11 +} from "antd-v4";
12 12 import { UploadOutlined } from "@ant-design/icons";
13 13 import AntdDraggableModal from "@/components/Common/AntdDraggableModal";
14 14 import * as commonBusiness from "@/components/Common/commonBusiness";
... ...
src/components/Common/Flows/CommonFlow.js
1 1 /* eslint-disable */
2 2 /* eslint-disable prefer-destructuring,no-await-in-loop,radix,,no-loop-func */
3 3 import React, { useState, useCallback, useNodes } from 'react';
4   -import { Button, Modal, Input } from 'antd';
  4 +import { Button, Modal, Input } from 'antd-v4';
5 5 import ReactFlow, {
6 6 addEdge,
7 7 MiniMap,
... ...
src/components/Common/Flows/OverviewFlow.js
1 1 /* eslint-disable */
2 2 /* eslint-disable prefer-destructuring,no-await-in-loop,radix,,no-loop-func */
3 3 import React, { useState, useCallback, useNodes } from 'react';
4   -import { Button, Modal, Input } from 'antd';
  4 +import { Button, Modal, Input } from 'antd-v4';
5 5 import ReactFlow, {
6 6 addEdge,
7 7 MiniMap,
... ...
src/components/Common/Gatte/CommonGatte.js
1 1 import React, { Component } from 'react';
2 2 import { Form } from '@ant-design/compatible';
3 3 import '@ant-design/compatible/assets/index.css';
4   -import { Layout, Spin } from 'antd';
  4 +import { Layout, Spin } from 'antd-v4';
5 5 import CommonListEvent from '../CommonListEvent';/* 继承销售模块业务功能 */
6 6 import * as commonFunc from '../commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
7 7 import Toolbar from '../ToolBar/ToolBarNew';
... ...
src/components/Common/MaterialRequirementsPlanning.js
... ... @@ -8,7 +8,7 @@
8 8 import React, { Component } from 'react';
9 9 import { Form } from '@ant-design/compatible';
10 10 import '@ant-design/compatible/assets/index.css';
11   -import { Layout, Spin } from 'antd';
  11 +import { Layout, Spin } from 'antd-v4';
12 12 import CommonListEvent from './CommonListEvent';/* 继承销售模块业务功能 */
13 13 import * as commonFunc from './commonFunc';/* 通用单据方法 */ /* 通用单据方法 */
14 14 import Toolbar from '../Common/ToolBar/ToolBarNew';
... ...
src/components/Common/OfficePreview/index.js
1 1 /* eslint-disable */
2   -import { Modal } from "antd";
  2 +import { Modal } from "antd-v4";
3 3 import React, { useEffect, useRef } from "react";
4 4 import commonConfig from "@/utils/config";
5 5 import PrintPdf from "@/components/PrintPdf/PrintPdf";
... ...
src/components/Common/PersonCenter/MenuSearchPopovor.js
1 1 /* eslint-disable */
2 2 import React, { useCallback, useMemo, useRef } from "react";
3 3 import { StarFilled } from "@ant-design/icons";
4   -import { AutoComplete, Input } from "antd";
  4 +import { AutoComplete, Input } from "antd-v4";
5 5 import * as commonUtils from "@/utils/utils"; /* 通用方法 */
6 6 import config from '@/utils/config';
7 7 const MenuSearchPopovor = props => {
... ...
src/components/Common/SearchComponent/index.js
... ... @@ -3,7 +3,7 @@ import React, { Component } from 'react';
3 3 import { MinusCircleOutlined, PlusOutlined, SettingOutlined ,SearchOutlined,CloseCircleOutlined} from '@ant-design/icons';
4 4 import { Form, Icon as LegacyIcon } from '@ant-design/compatible';
5 5 import '@ant-design/compatible/assets/index.css';
6   -import { Row, Col, Button, message, Space } from 'antd';
  6 +import { Row, Col, Button, message, Space } from 'antd-v4';
7 7 import moment from 'moment';
8 8 import commonConfig from '@/utils/config';
9 9 import * as commonUtils from '@/utils/utils';
... ...
src/components/Common/ShowImage/ShowImage.js
1 1 import React, { Component } from 'react';
2   -import { Image } from 'antd';
  2 +import { Image } from 'antd-v4';
3 3 import './ShowImage.less';
4 4 import FullScreen from '../../../assets/quanping.svg';
5 5  
... ...
src/components/Common/SlaveMemo copy 2.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Input, message } from 'antd';
  8 +import { Input, message } from 'antd-v4';
9 9 import * as commonUtils from '../../utils/utils';
10 10 import ShowType from './CommonComponent';/* 通用方法 */
11 11 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/SlaveMemo copy.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Input, message } from 'antd';
  8 +import { Input, message } from 'antd-v4';
9 9 import * as commonUtils from '../../utils/utils';
10 10 import ShowType from './CommonComponent';/* 通用方法 */
11 11 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/SlaveMemo.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Input, message } from 'antd';
  8 +import { Input, message } from 'antd-v4';
9 9 import * as commonUtils from '../../utils/utils';
10 10 import ShowType from './CommonComponent';/* 通用方法 */
11 11 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/SlaveMemo1 copy 2.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Input } from 'antd';
  8 +import { Input } from 'antd-v4';
9 9 import * as commonUtils from '../../utils/utils';
10 10 import ShowType from './CommonComponent';/* 通用方法 */
11 11 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/SlaveMemo1 copy.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Input } from 'antd';
  8 +import { Input } from 'antd-v4';
9 9 import * as commonUtils from '../../utils/utils';
10 10 import ShowType from './CommonComponent';/* 通用方法 */
11 11 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/SlaveMemo1.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Input } from 'antd';
  8 +import { Input } from 'antd-v4';
9 9 import * as commonUtils from '../../utils/utils';
10 10 import ShowType from './CommonComponent';/* 通用方法 */
11 11 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/SlavesInfo.js
... ... @@ -3,7 +3,7 @@
3 3 */
4 4 /* eslint-disable no-undef,import/first,prefer-destructuring,jsx-a11y/alt-text */
5 5 import React, { Component } from 'react';
6   -import { Input } from 'antd';
  6 +import { Input } from 'antd-v4';
7 7 import * as commonUtils from '../../utils/utils';
8 8 import * as commonFunc from './commonFunc'; /* 通用方法 */
9 9 import AntdDraggableModal from '../Common/AntdDraggableModal';
... ...
src/components/Common/Tree/StaticTree.js
... ... @@ -7,7 +7,7 @@ import file_single from '@/assets/file_single.svg';
7 7 import process from '@/assets/treeprocess.svg';
8 8 import material from '@/assets/treematerial.svg';
9 9 import '@ant-design/compatible/assets/index.css';
10   -import { Tree, Button, Input, Checkbox } from 'antd';
  10 +import { Tree, Button, Input, Checkbox } from 'antd-v4';
11 11 import StaticEditTable from '../CommonTable';/* 可编辑表格 */
12 12 import * as commonUtils from '../../../utils/utils';
13 13 import styles from './Tree.css';
... ...
src/components/Common/Typesetting/typesetting.js
1 1 /* eslint-disable */
2 2 import React, { useEffect, useState, useRef } from "react";
3   -import { Modal } from "antd";
  3 +import { Modal } from "antd-v4";
4 4 import { VerticalRightOutlined, VerticalLeftOutlined, LeftOutlined, RightOutlined, UpOutlined, DownOutlined } from "@ant-design/icons";
5 5 import * as commonUtils from "@/utils/utils"; /* 通用方法 */
6 6 import styles from "./index.less";
... ...
src/components/Common/WorkCalendar/WorkCalendar.js
... ... @@ -14,7 +14,7 @@ import {
14 14 message,
15 15 Select,
16 16 DatePicker
17   -} from "antd";
  17 +} from "antd-v4";
18 18 import { LeftOutlined, RightOutlined } from "@ant-design/icons";
19 19 import moment from "moment";
20 20 import * as commonUtils from "@/utils/utils"; /* 通用方法 */
... ...
src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
... ... @@ -11,7 +11,7 @@ import {
11 11 message,
12 12 DatePicker,
13 13 Spin
14   -} from "antd";
  14 +} from "antd-v4";
15 15 import { CheckOutlined, CloseOutlined } from "@ant-design/icons";
16 16 import BraftEditor from "braft-editor";
17 17 import "braft-editor/dist/index.css";
... ...
src/components/Common/WorkOrderSystem/WorkOrderSystemDetail.js
... ... @@ -13,7 +13,7 @@ import {
13 13 Spin,
14 14 Input,
15 15 Image
16   -} from "antd";
  16 +} from "antd-v4";
17 17 import {
18 18 CheckOutlined,
19 19 CloseCircleOutlined,
... ...
src/components/Common/WorkOrderSystem/WorkOrderSystemService/index.js
1 1 /* eslint-disable */
2 2 import * as commonServices from "@/services/services";
3 3 import commonConfig from "@/utils/config";
4   -import { message } from "antd";
  4 +import { message } from "antd-v4";
5 5  
6 6 //获取所属客户
7 7 const getsCustomerData = async () => {
... ...
src/components/Common/baseChar.js
1 1 /* eslint-disable object-curly-newline */
2 2 import React, { Component } from 'react';
3   -import { message } from 'antd';
  3 +import { message } from 'antd-v4';
4 4 import commonConfig from '../../utils/config';
5 5 import * as commonUtils from '../../utils/utils';
6 6 import * as commonServices from '../../services/services';
... ...
src/components/Common/commonBusiness.js
... ... @@ -2,7 +2,7 @@
2 2 * Created by mar105 on 2019-02-25.
3 3 */
4 4 /* eslint-disable */
5   -import { Modal, message } from 'antd';
  5 +import { Modal, message } from 'antd-v4';
6 6 // import { Modal as mobileModal } from 'antd-mobile';
7 7  
8 8 // import { message } from '@/utils/common/message';
... ...
src/components/CommonClassifyEvent/CommonClassify.js
... ... @@ -3,7 +3,7 @@
3 3 import React, { Component } from 'react';
4 4 import { Form } from '@ant-design/compatible';
5 5 // import '@ant-design/compatible/assets/index.css';
6   -import { Layout, Spin } from 'antd';
  6 +import { Layout, Spin } from 'antd-v4';
7 7 import styles from '@/index.less';
8 8 import Toolbar from '@/components/Common/ToolBar/ToolBarNew';
9 9 import CommonBase from '@/components/Common/CommonBase';
... ...
src/components/CommonElementEvent/BatchNPriceUpdate.js
... ... @@ -3,7 +3,7 @@
3 3 */
4 4 /* eslint-disable no-undef,import/first,prefer-destructuring,jsx-a11y/alt-text */
5 5 import React, { Component } from 'react';
6   -import { Input, message } from 'antd';
  6 +import { Input, message } from 'antd-v4';
7 7 import styles from '../../index.less';
8 8 import * as commonBusiness from '../Common/commonBusiness';
9 9 import * as commonServices from '../../services/services'; /* 服务类 */
... ...
src/components/CommonElementEvent/BatchPriceUpdate.js
... ... @@ -3,7 +3,7 @@
3 3 */
4 4 /* eslint-disable no-undef,import/first,prefer-destructuring,jsx-a11y/alt-text */
5 5 import React, { Component } from 'react';
6   -import { Input, message } from 'antd';
  6 +import { Input, message } from 'antd-v4';
7 7 import styles from '../../index.less';
8 8 import * as commonBusiness from '../Common/commonBusiness';
9 9 import * as commonServices from '../../services/services'; /* 服务类 */
... ...
src/components/CommonElementEvent/BatchWorkListPriceUpdate.js
... ... @@ -3,7 +3,7 @@
3 3 */
4 4 /* eslint-disable no-undef,import/first,prefer-destructuring,jsx-a11y/alt-text */
5 5 import React, { Component } from 'react';
6   -import { Input, message, Radio } from 'antd';
  6 +import { Input, message, Radio } from 'antd-v4';
7 7 import styles from '../../index.less';
8 8 import * as commonBusiness from '../Common/commonBusiness';
9 9 import * as commonServices from '../../services/services'; /* 服务类 */
... ...
src/components/CommonElementEvent/CheckModelInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/CheckPhaseInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/CustomerInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/ElemachineInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Tabs, Avatar } from 'antd';
  5 +import { Layout, Spin, Tabs, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/EleteamInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/EmployeeInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Avatar } from 'antd';
  5 +import { Layout, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/FilfileManageInfo.js
... ... @@ -5,7 +5,7 @@
5 5 import React, { Component } from 'react';
6 6 import { Form } from '@ant-design/compatible';
7 7 import '@ant-design/compatible/assets/index.css';
8   -import { Button, Layout, message, Spin } from 'antd';
  8 +import { Button, Layout, message, Spin } from 'antd-v4';
9 9 import StaticEditTable from '../Common/CommonTable';
10 10 import * as commonBusiness from '../Common/commonBusiness';
11 11 import CommonBase from '../Common/CommonBase';
... ...
src/components/CommonElementEvent/KnifeMouldInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar, message } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar, message } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/MaterialsInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/MonthEndingClosing.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin } from 'antd';
  5 +import { Layout, Spin } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 // import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/PaymentTermsInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin } from 'antd';
  5 +import { Layout, Spin } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/PrintInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar, message } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar, message } from 'antd-v4';
6 6 import styles from '@/index.less';
7 7 import Toolbar from '@/components/Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '@/components/Common/commonFunc';
... ...
src/components/CommonElementEvent/ProcessInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/ProductClassifyInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/SftLoginInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import * as commonUtils from '@/utils/utils';/* 通用方法 */
7 7 import styles from '../../index.less';
8 8 import Toolbar from '../Common/ToolBar/ToolBarNew';
... ...
src/components/CommonElementEvent/SisCommonStyle.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/SisformulaInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Tabs, Row, Col } from 'antd';
  5 +import { Layout, Spin, Tabs, Row, Col } from 'antd-v4';
6 6 import styles from '@/index.less';
7 7 import * as commonUtils from '@/utils/utils';
8 8 import Toolbar from '@/components/Common/ToolBar/ToolBarNew';
... ...
src/components/CommonElementEvent/StatementInfo.js
... ... @@ -13,7 +13,7 @@ import {
13 13 UploadOutlined,
14 14 } from '@ant-design/icons';
15 15  
16   -import { Modal, Upload, message } from 'antd';
  16 +import { Modal, Upload, message } from 'antd-v4';
17 17 import * as commonUtils from '../../utils/utils';
18 18 import * as commonServices from '../../services/services';
19 19 import commonConfig from '../../utils/config';
... ...
src/components/CommonElementEvent/SupplyInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/SysMsgInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin } from 'antd';// Tabs, Form,
  5 +import { Layout, Spin } from 'antd-v4';// Tabs, Form,
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonElementEvent/TestStandInfo.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Tabs, Spin, Avatar } from 'antd';
  5 +import { Layout, Tabs, Spin, Avatar } from 'antd-v4';
6 6 import styles from '../../index.less';
7 7 import Toolbar from '../Common/ToolBar/ToolBarNew';
8 8 import * as commonFunc from '../Common/commonFunc';
... ...
src/components/CommonSystemSettingEvent/CommonSystemSetting.js
... ... @@ -2,7 +2,7 @@
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Layout, Spin, Tabs } from 'antd';
  5 +import { Layout, Spin, Tabs } from 'antd-v4';
6 6 import styles from '@/index.less';
7 7 import * as commonUtils from '@/utils/utils';/* 通用方法 */
8 8 import CommonBase from '@/components/Common/CommonBase';
... ...
src/components/CommonSystemSettingEvent/TabFinanceOffer.js
1 1 import React, { Component } from 'react';
2 2 import { Form } from '@ant-design/compatible';
3 3 import '@ant-design/compatible/assets/index.css';
4   -import { Row, Col } from 'antd';
  4 +import { Row, Col } from 'antd-v4';
5 5 import ShowType from '@/components/Common/CommonComponent';
6 6 import styles from '@/index.less';
7 7 import * as commonUtils from '@/utils/utils';
... ...
src/components/CommonSystemSettingEvent/TabFinancePeriod.js
... ... @@ -2,7 +2,7 @@ import moment from 'moment';
2 2 import React, { Component } from 'react';
3 3 import { Form } from '@ant-design/compatible';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Row, Col, message, DatePicker, Button } from 'antd';
  5 +import { Row, Col, message, DatePicker, Button } from 'antd-v4';
6 6 import StaticEditTable from '@/components/Common/CommonTable';/* 可编辑表格 */
7 7 import * as commonBusiness from '@/components/Common/commonBusiness';/* 单据业务功能 */
8 8 import styles from '@/index.less';
... ...
src/components/CommonSystemSettingEvent/TabSalesBuyer.js
1 1 import React, { Component } from 'react';
2 2 import { Form } from '@ant-design/compatible';
3 3 import '@ant-design/compatible/assets/index.css';
4   -import { Row, Col } from 'antd';
  4 +import { Row, Col } from 'antd-v4';
5 5 import ShowType from '@/components/Common/CommonComponent';
6 6 import styles from '@/index.less';
7 7 import * as commonUtils from '@/utils/utils';
... ...
src/components/CommonSystemSettingEvent/TabSysParam.js
1 1 import React, { Component } from 'react';
2 2 import { Form } from '@ant-design/compatible';
3 3 import '@ant-design/compatible/assets/index.css';
4   -import { Row, Col } from 'antd';
  4 +import { Row, Col } from 'antd-v4';
5 5 import ShowType from '@/components/Common/CommonComponent';
6 6 import styles from '@/index.less';
7 7 import * as commonUtils from '@/utils/utils';
... ...
src/components/CommonSystemSettingEvent/TabSysParamsIcon.js
1 1 /* eslint-disable */
2 2 import React, { useEffect, useState } from "react";
3   -import { Form, Col, Upload, Image as ImageNew, message } from "antd";
  3 +import { Form, Col, Upload, Image as ImageNew, message } from "antd-v4";
4 4 import commonConfig from "@/utils/config";
5 5  
6 6 // 判断图片是否存在
... ...
src/components/FaceDetect/index.js
... ... @@ -2,7 +2,7 @@
2 2 import { Component } from 'react';
3 3 import { VideoCameraOutlined } from '@ant-design/icons';
4 4 import '@ant-design/compatible/assets/index.css';
5   -import { Progress, message } from 'antd';
  5 +import { Progress, message } from 'antd-v4';
6 6 import * as commonServices from "../../services/services";
7 7 import config from '@/utils/config';
8 8 import './index.less';
... ...
src/components/Manufacture/CommonPackEvent.js
1 1 /* eslint-disable */
2 2 import React, { useEffect, useState, useRef } from "react";
3   -import { Button, message } from "antd";
  3 +import { Button, message } from "antd-v4";
4 4 import * as commonBusiness from "@/components/Common/commonBusiness";
5 5 import * as commonUtils from "@/utils/utils";
6 6 import * as commonFunc from "@/components/Common/commonFunc";
... ...
src/components/Manufacture/ProcessCard/ProcessCard.js
... ... @@ -6,7 +6,7 @@
6 6 import React, { Component } from 'react';
7 7 import { Form } from '@ant-design/compatible';
8 8 import '@ant-design/compatible/assets/index.css';
9   -import { Modal, Layout, Spin, Avatar, Select, message, Button } from 'antd';
  9 +import { Modal, Layout, Spin, Avatar, Select, message, Button } from 'antd-v4';
10 10 import ProcessUp from '../../../assets/processUp.svg';
11 11 import ProcessDown from '../../../assets/processDown.svg';
12 12 import DisableProcessUp from '../../../assets/disableprocessUp.svg';
... ...
src/components/Manufacture/ProcessCardPack/ProcessCardPack.js
... ... @@ -7,7 +7,7 @@
7 7 import React, { Component } from 'react';
8 8 import { Form } from '@ant-design/compatible';
9 9 import '@ant-design/compatible/assets/index.css';
10   -import { Modal, Layout, Spin, Avatar, Select, message, Button, Tabs } from 'antd';
  10 +import { Modal, Layout, Spin, Avatar, Select, message, Button, Tabs } from 'antd-v4';
11 11 import AddIcon from '../../../assets/add.svg';
12 12 import DisableAddIcon from '../../../assets/disableadd.svg';
13 13 import DelIcon from '../../../assets/delete.svg';
... ...