Commit 74dc1f6501c8074de6dc109a8ed761909da01eb1

Authored by 陈鑫涛
2 parents d4888657 094f239c

Merge branch 'main' of http://git.xlyprint.cn/zhangz/xlyUmi into main

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
... ... @@ -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/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
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/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/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"; /* 可编辑公共列表 */
... ...