Commit 74dc1f6501c8074de6dc109a8ed761909da01eb1
Merge branch 'main' of http://git.xlyprint.cn/zhangz/xlyUmi into main
Showing
19 changed files
with
19 additions
and
19 deletions
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/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/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/CommonPartsInfo/index.js
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/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/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/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/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/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/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/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/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/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"; /* 可编辑公共列表 */ | ... | ... |