Commit 094f239c09b71691f75cc15b5447e9f832f9be74
1 parent
43b4b35a
antd改antd-v4;
Showing
127 changed files
with
129 additions
and
129 deletions
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
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
src/components/Common/CommonComponent/index_new.js
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
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
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
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
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
src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
src/components/Common/WorkOrderSystem/WorkOrderSystemDetail.js
src/components/Common/WorkOrderSystem/WorkOrderSystemService/index.js
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'; | ... | ... |
src/components/Manufacture/ProcessCardPack/ProcessCardPackTableTree.js
| ... | ... | @@ -9,7 +9,7 @@ import { |
| 9 | 9 | RightOutlined, |
| 10 | 10 | } from '@ant-design/icons'; |
| 11 | 11 | import CloseRight from "../../../assets/close.svg"; |
| 12 | -import { Modal, Layout, Spin, Avatar, Select, message, Button, Tabs, Collapse, Radio, Row, Col, Divider } from 'antd'; | |
| 12 | +import { Modal, Layout, Spin, Avatar, Select, message, Button, Tabs, Collapse, Radio, Row, Col, Divider } from 'antd-v4'; | |
| 13 | 13 | import AddIcon from '../../../assets/add.svg'; |
| 14 | 14 | import DisableAddIcon from '../../../assets/disableadd.svg'; |
| 15 | 15 | import DelIcon from '../../../assets/delete.svg'; | ... | ... |
src/components/Manufacture/ProcessCardPackTableTreeNew/index.js
| 1 | 1 | /* eslint-disable */ |
| 2 | 2 | import React, { useEffect, useState, useMemo, useRef } from "react"; |
| 3 | 3 | import moment from "moment"; |
| 4 | -import { Avatar, Collapse, Radio, Row, Col, Divider, message, Modal } from "antd"; | |
| 4 | +import { Avatar, Collapse, Radio, Row, Col, Divider, message, Modal } from "antd-v4"; | |
| 5 | 5 | import { RightOutlined } from "@ant-design/icons"; |
| 6 | 6 | import { Form } from "@ant-design/compatible"; |
| 7 | 7 | import CommonBase from "@/components/Common/CommonBase"; | ... | ... |
src/components/Manufacture/WorkOrder/SplitPaste.js
| ... | ... | @@ -2,7 +2,7 @@ |
| 2 | 2 | /* eslint-disable function-paren-newline */ |
| 3 | 3 | import React, { Component } from 'react'; |
| 4 | 4 | import '@ant-design/compatible/assets/index.css'; |
| 5 | -import { Row, Col, List, Card, Checkbox, Select, Form, Tree } from 'antd'; | |
| 5 | +import { Row, Col, List, Card, Checkbox, Select, Form, Tree } from 'antd-v4'; | |
| 6 | 6 | import ShowType from '@/components/Common/CommonComponent'; |
| 7 | 7 | import * as commonUtils from '@/utils/utils'; |
| 8 | 8 | import splitstyles from '../SplitPaste.less'; | ... | ... |
src/components/Manufacture/WorkOrder/WorkOrder.js
src/components/Manufacture/WorkOrderPack/WorkOrderPack.js
src/components/Manufacture/WorkOrderPack/WorkOrderPackTableTree.js
src/components/Manufacture/WorkOrderPack/WorkOrderResearchTableTree.js
src/components/Manufacture/WorkOrderPackTableTreeNew/index.js
| 1 | 1 | /* eslint-disable */ |
| 2 | 2 | import React, { useEffect, useState, useMemo, useRef } from "react"; |
| 3 | 3 | import moment from "moment"; |
| 4 | -import { Avatar, Collapse, Radio, Row, Col, Divider, message, Modal } from "antd"; | |
| 4 | +import { Avatar, Collapse, Radio, Row, Col, Divider, message, Modal } from "antd-v4"; | |
| 5 | 5 | import { RightOutlined } from "@ant-design/icons"; |
| 6 | 6 | import { Form } from "@ant-design/compatible"; |
| 7 | 7 | import CommonBase from "@/components/Common/CommonBase"; | ... | ... |
src/components/MenuPanel/MenuPanel.js
| 1 | 1 | /* eslint-disable no-undef,function-paren-newline */ |
| 2 | 2 | import React, { Component } from 'react'; |
| 3 | 3 | import { BarsOutlined, StarFilled } from '@ant-design/icons'; |
| 4 | -import { Button } from 'antd'; | |
| 4 | +import { Button } from 'antd-v4'; | |
| 5 | 5 | import navdefault from '@/assets/navdefault.svg'; |
| 6 | 6 | import config from '@/utils/config'; |
| 7 | 7 | import * as commonFunc from '@/components/Common/commonFunc'; | ... | ... |
src/components/PrintPdf/PrintPdf.js
| 1 | 1 | /* eslint-disable */ |
| 2 | 2 | /* eslint-disable array-callback-return,no-undef */ |
| 3 | 3 | import React, { Component } from 'react'; |
| 4 | -import { Layout } from 'antd';// Tabs, Form, | |
| 4 | +import { Layout } from 'antd-v4';// Tabs, Form, | |
| 5 | 5 | // import * as commonUtils from '@/utils/utils'; /* 通用方法 */ |
| 6 | 6 | import PreviewPdf from './PreviewPdf'; |
| 7 | 7 | ... | ... |
src/components/ProductionPlan/ProductionPlan.js
src/components/QuickQuote/index.jsx
| 1 | 1 | /* eslint-disable */ |
| 2 | 2 | import React, { useRef, useEffect, useState, useCallback } from "react"; |
| 3 | -import { Button, Divider, Tabs, Tree, Radio, Image, Modal, Input, message } from "antd"; | |
| 3 | +import { Button, Divider, Tabs, Tree, Radio, Image, Modal, Input, message } from "antd-v4"; | |
| 4 | 4 | import { ArrowLeftOutlined, FolderFilled, FolderOpenFilled, FileTextFilled, PlusOutlined, MinusOutlined } from "@ant-design/icons"; |
| 5 | 5 | import { cloneDeep } from "lodash"; |
| 6 | 6 | import commonConfig from "@/utils/config"; | ... | ... |
src/components/QuoQuotation/Quotation/Quotation.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 { Modal, Layout, Spin, Avatar, Select, message, Button, Slider,Table, Checkbox,Row, Col, } from 'antd'; | |
| 6 | +import { Modal, Layout, Spin, Avatar, Select, message, Button, Slider,Table, Checkbox,Row, Col, } from 'antd-v4'; | |
| 7 | 7 | import AddIcon from '../../../assets/add.svg'; |
| 8 | 8 | import DisableAddIcon from '../../../assets/disableadd.svg'; |
| 9 | 9 | import DelIcon from '../../../assets/delete.svg'; | ... | ... |
src/components/QuoQuotation/Quotation/SplitPasteQuotation.js
| 1 | 1 | /* eslint-disable function-paren-newline */ |
| 2 | 2 | import React, { Component } from 'react'; |
| 3 | 3 | import '@ant-design/compatible/assets/index.css'; |
| 4 | -import { Row, Col, List, Card, Checkbox, Select, Form } from 'antd'; | |
| 4 | +import { Row, Col, List, Card, Checkbox, Select, Form } from 'antd-v4'; | |
| 5 | 5 | import ShowType from '@/components/Common/CommonComponent'; |
| 6 | 6 | import splitstyles from '@/components/Manufacture/SplitPaste.less'; |
| 7 | 7 | import * as commonUtils from '@/utils/utils'; | ... | ... |
src/components/QuoQuotation/QuotationPack/QuotationPack.js
| ... | ... | @@ -8,7 +8,7 @@ import React, { Component } from 'react'; |
| 8 | 8 | import moment from 'moment'; |
| 9 | 9 | import { Form } from '@ant-design/compatible'; |
| 10 | 10 | import '@ant-design/compatible/assets/index.css'; |
| 11 | -import { Modal, Layout, Spin, Avatar, Select, message, Button, Slider, Tabs, Table, Checkbox, Row, Col, } from 'antd'; | |
| 11 | +import { Modal, Layout, Spin, Avatar, Select, message, Button, Slider, Tabs, Table, Checkbox, Row, Col, } from 'antd-v4'; | |
| 12 | 12 | import AddIcon from '../../../assets/add.svg'; |
| 13 | 13 | import DisableAddIcon from '../../../assets/disableadd.svg'; |
| 14 | 14 | import DelIcon from '../../../assets/delete.svg'; | ... | ... |
src/components/QuoQuotation/QuotationPackTableTree/QuotationPackTableTree.js
| ... | ... | @@ -8,7 +8,7 @@ import React, { Component } from 'react'; |
| 8 | 8 | import moment from 'moment'; |
| 9 | 9 | import { Form } from '@ant-design/compatible'; |
| 10 | 10 | import '@ant-design/compatible/assets/index.css'; |
| 11 | -import { Modal, Layout, Spin, Avatar, Select, message, Button, Slider, Tabs, Collapse, Radio, Row, Col, Table, Checkbox, } from 'antd'; | |
| 11 | +import { Modal, Layout, Spin, Avatar, Select, message, Button, Slider, Tabs, Collapse, Radio, Row, Col, Table, Checkbox, } from 'antd-v4'; | |
| 12 | 12 | import { RightOutlined } from '@ant-design/icons'; |
| 13 | 13 | import AddIcon from '../../../assets/add.svg'; |
| 14 | 14 | import DisableAddIcon from '../../../assets/disableadd.svg'; | ... | ... |
src/components/Tab/TabComponent.js
| 1 | 1 | import React, { Component } from 'react'; |
| 2 | 2 | import { DownSquareOutlined } from '@ant-design/icons'; |
| 3 | 3 | import { Icon as LegacyIcon } from '@ant-design/compatible'; |
| 4 | -import { Tabs, Dropdown, Menu, Button } from 'antd'; | |
| 4 | +import { Tabs, Dropdown, Menu, Button } from 'antd-v4'; | |
| 5 | 5 | import MenuPanel from '@/routes/menuPanel/menuPanel'; |
| 6 | 6 | import * as commonUtils from '@/utils/utils'; |
| 7 | 7 | import * as commonFunc from '@/components/Common/commonFunc';/* 通用单据方法 */ | ... | ... |
src/components/login/Login.js
| ... | ... | @@ -3,7 +3,7 @@ import { LockOutlined, UserOutlined } from '@ant-design/icons'; |
| 3 | 3 | import { Form } from '@ant-design/compatible'; |
| 4 | 4 | import '@ant-design/compatible/assets/index.css'; |
| 5 | 5 | import { Input, Button, Select, message, Radio } from 'antd-v4'; |
| 6 | -import { FloatButton } from 'antd'; | |
| 6 | +import { FloatButton } from 'antd-v4'; | |
| 7 | 7 | import commonConfig from '../../utils/config'; |
| 8 | 8 | import * as commonServices from '../../services/services'; |
| 9 | 9 | import * as commonFunc from '../../components/Common/commonFunc'; | ... | ... |
src/components/productionPlanInfo/productionHeader.js
| ... | ... | @@ -4,7 +4,7 @@ |
| 4 | 4 | /* eslint-disable object-curly-newline,prefer-destructuring */ |
| 5 | 5 | import React, { Component } from 'react'; |
| 6 | 6 | import { ExportOutlined, PrinterOutlined, SaveOutlined } from '@ant-design/icons'; |
| 7 | -import { Row, Col } from 'antd'; | |
| 7 | +import { Row, Col } from 'antd-v4'; | |
| 8 | 8 | import styles from '../Common/ToolBar/index.less'; |
| 9 | 9 | import ShowType from '../Common/CommonComponent'; |
| 10 | 10 | import * as commonUtils from '../../utils/utils';/* 通用方法 */ | ... | ... |
src/components/productionPlanInfo/productionPlanChangeMacheInfo.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, Button, Row, Col } from 'antd'; | |
| 5 | +import { Layout, Spin, Button, Row, Col } from 'antd-v4'; | |
| 6 | 6 | import CommonListEvent from './CommonListEvent';/* 继承销售模块业务功能 */ |
| 7 | 7 | import * as commonFunc from './commonFunc';/* 通用单据方法 */ /* 通用单据方法 */ |
| 8 | 8 | import StaticEditTable from './CommonTable';/* 可编辑表格 */ | ... | ... |
src/components/productionPlanInfo/productionPlanInfo.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 { Modal, Layout, Spin, Card, Row, Col } from 'antd'; // Switch Select, Tabs, | |
| 5 | +import { Modal, Layout, Spin, Card, Row, Col } from 'antd-v4'; // Switch Select, Tabs, | |
| 6 | 6 | import styles from '../../index.less'; |
| 7 | 7 | import selfstyles from '../productionMainPlan/index.less'; |
| 8 | 8 | import * as commonFunc from '../Common/commonFunc'; | ... | ... |
src/components/productionPlanInfo/productionPlanInfo2.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, Select } from 'antd'; // Switch | |
| 5 | +import { Layout, Spin, Select } from 'antd-v4'; // Switch | |
| 6 | 6 | import styles from '../../index.less'; |
| 7 | 7 | import * as commonFunc from '../Common/commonFunc'; |
| 8 | 8 | import CommonBase from '../Common/CommonBase'; | ... | ... |
src/components/productionPlanInfo/productionPlanOutside.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 { Modal, Layout, Spin, Card, Row, Col, message } from 'antd'; // Switch Select, Tabs, | |
| 5 | +import { Modal, Layout, Spin, Card, Row, Col, message } from 'antd-v4'; // Switch Select, Tabs, | |
| 6 | 6 | import styles from '../../index.less'; |
| 7 | 7 | import selfstyles from '../productionMainPlan/index.less'; |
| 8 | 8 | import * as commonFunc from '../Common/commonFunc'; | ... | ... |
src/models/app.js
| ... | ... | @@ -2,7 +2,7 @@ import { history } from 'umi'; |
| 2 | 2 | import config from '../utils/config'; |
| 3 | 3 | import * as utils from '../utils/utils'; |
| 4 | 4 | import * as services from '../services/services'; |
| 5 | -import { message, notification, Modal } from 'antd'; | |
| 5 | +import { message, notification, Modal } from 'antd-v4'; | |
| 6 | 6 | // import { Toast } from 'antd-mobile'; |
| 7 | 7 | import * as commonFunc from '../components/Common/commonFunc';/* 通用单据方法 */ |
| 8 | 8 | ... | ... |
src/models/content.js
src/routes/tab/tab.js
| 1 | 1 | import { connect } from "umi"; |
| 2 | 2 | import { Icon as LegacyIcon } from "@ant-design/compatible"; |
| 3 | 3 | import { ExclamationCircleOutlined } from "@ant-design/icons"; |
| 4 | -import { Tabs, Modal } from "antd"; | |
| 4 | +import { Tabs, Modal } from 'antd-v4'; | |
| 5 | 5 | import IndexCenter from "@/routes/indexCenter/indexCenter"; /* 首页 */ |
| 6 | 6 | import TabComponent from "@/components/Tab/TabComponent"; |
| 7 | 7 | import CommonListEdit from "@/routes/commonList/commonListEdit"; /* 可编辑公共列表 */ | ... | ... |
src/utils/utils.js