You need to sign in before continuing.
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 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useRef, useState, useEffect } from "react"; | 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 | import { CompressOutlined, ExpandOutlined } from "@ant-design/icons"; | 4 | import { CompressOutlined, ExpandOutlined } from "@ant-design/icons"; |
| 5 | import * as commonUtils from "@/utils/utils"; | 5 | import * as commonUtils from "@/utils/utils"; |
| 6 | import * as commonFunc from "@/components/Common/commonFunc"; | 6 | import * as commonFunc from "@/components/Common/commonFunc"; |
src/components/Common/CommonInstructSet.js
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | 2 | ||
| 3 | import lodash from "lodash"; | 3 | import lodash from "lodash"; |
| 4 | import moment from "moment"; | 4 | import moment from "moment"; |
| 5 | -import { Modal, notification } from "antd"; | 5 | +import { Modal, notification } from "antd-v4"; |
| 6 | import { message } from "@/utils/common/message"; | 6 | import { message } from "@/utils/common/message"; |
| 7 | import * as commonUtils from "@/utils/utils"; | 7 | import * as commonUtils from "@/utils/utils"; |
| 8 | import * as commonFunc from "@/components/Common/commonFunc"; | 8 | import * as commonFunc from "@/components/Common/commonFunc"; |
src/components/Common/CommonListSelectFlex/EditTableCommonListSelectFlex/index.jsx
| @@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
| 2 | import React, { PureComponent } from "react"; | 2 | import React, { PureComponent } from "react"; |
| 3 | import { Form } from "@ant-design/compatible"; | 3 | import { Form } from "@ant-design/compatible"; |
| 4 | import "@ant-design/compatible/assets/index.css"; | 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 | import * as commonFunc from "@/components/Common/commonFunc"; /* 通用单据方法 */ /* 通用单据方法 */ | 6 | import * as commonFunc from "@/components/Common/commonFunc"; /* 通用单据方法 */ /* 通用单据方法 */ |
| 7 | import StaticEditTable from "@/components/Common//CommonTable"; /* 可编辑表格 */ | 7 | import StaticEditTable from "@/components/Common//CommonTable"; /* 可编辑表格 */ |
| 8 | import StaticEditTree from "@/components/Common/Tree/StaticTree"; | 8 | import StaticEditTree from "@/components/Common/Tree/StaticTree"; |
src/components/Common/CommonPartsInfo/index.js
| @@ -6,7 +6,7 @@ import React, { | @@ -6,7 +6,7 @@ import React, { | ||
| 6 | useState, | 6 | useState, |
| 7 | useEffect | 7 | useEffect |
| 8 | } from "react"; | 8 | } from "react"; |
| 9 | -import { Tree, Divider, Tabs, Button, Tooltip } from "antd"; | 9 | +import { Tree, Divider, Tabs, Button, Tooltip } from "antd-v4"; |
| 10 | import { | 10 | import { |
| 11 | ProfileOutlined, | 11 | ProfileOutlined, |
| 12 | FileTextOutlined, | 12 | FileTextOutlined, |
src/components/Common/CommonViewDragable/index.js
| @@ -7,7 +7,7 @@ import React, { | @@ -7,7 +7,7 @@ import React, { | ||
| 7 | useState | 7 | useState |
| 8 | } from "react"; | 8 | } from "react"; |
| 9 | import "@ant-design/compatible/assets/index.css"; | 9 | import "@ant-design/compatible/assets/index.css"; |
| 10 | -import { Tabs, Tooltip, message } from "antd"; | 10 | +import { Tabs, Tooltip, message } from "antd-v4"; |
| 11 | import ShowType from "@/components/Common/CommonComponent"; | 11 | import ShowType from "@/components/Common/CommonComponent"; |
| 12 | import * as commonBusiness from "@/components/Common/commonBusiness"; | 12 | import * as commonBusiness from "@/components/Common/commonBusiness"; |
| 13 | import StaticEditTable from "@/components/Common/CommonTable"; | 13 | import StaticEditTable from "@/components/Common/CommonTable"; |
src/components/Common/FileImposition/index.js
| @@ -8,7 +8,7 @@ import { | @@ -8,7 +8,7 @@ import { | ||
| 8 | Modal, | 8 | Modal, |
| 9 | notification, | 9 | notification, |
| 10 | Spin | 10 | Spin |
| 11 | -} from "antd"; | 11 | +} from "antd-v4"; |
| 12 | import { UploadOutlined } from "@ant-design/icons"; | 12 | import { UploadOutlined } from "@ant-design/icons"; |
| 13 | import AntdDraggableModal from "@/components/Common/AntdDraggableModal"; | 13 | import AntdDraggableModal from "@/components/Common/AntdDraggableModal"; |
| 14 | import * as commonBusiness from "@/components/Common/commonBusiness"; | 14 | import * as commonBusiness from "@/components/Common/commonBusiness"; |
src/components/Common/OfficePreview/index.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | -import { Modal } from "antd"; | 2 | +import { Modal } from "antd-v4"; |
| 3 | import React, { useEffect, useRef } from "react"; | 3 | import React, { useEffect, useRef } from "react"; |
| 4 | import commonConfig from "@/utils/config"; | 4 | import commonConfig from "@/utils/config"; |
| 5 | import PrintPdf from "@/components/PrintPdf/PrintPdf"; | 5 | import PrintPdf from "@/components/PrintPdf/PrintPdf"; |
src/components/Common/PersonCenter/MenuSearchPopovor.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useCallback, useMemo, useRef } from "react"; | 2 | import React, { useCallback, useMemo, useRef } from "react"; |
| 3 | import { StarFilled } from "@ant-design/icons"; | 3 | import { StarFilled } from "@ant-design/icons"; |
| 4 | -import { AutoComplete, Input } from "antd"; | 4 | +import { AutoComplete, Input } from "antd-v4"; |
| 5 | import * as commonUtils from "@/utils/utils"; /* 通用方法 */ | 5 | import * as commonUtils from "@/utils/utils"; /* 通用方法 */ |
| 6 | import config from '@/utils/config'; | 6 | import config from '@/utils/config'; |
| 7 | const MenuSearchPopovor = props => { | 7 | const MenuSearchPopovor = props => { |
src/components/Common/Typesetting/typesetting.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useEffect, useState, useRef } from "react"; | 2 | import React, { useEffect, useState, useRef } from "react"; |
| 3 | -import { Modal } from "antd"; | 3 | +import { Modal } from "antd-v4"; |
| 4 | import { VerticalRightOutlined, VerticalLeftOutlined, LeftOutlined, RightOutlined, UpOutlined, DownOutlined } from "@ant-design/icons"; | 4 | import { VerticalRightOutlined, VerticalLeftOutlined, LeftOutlined, RightOutlined, UpOutlined, DownOutlined } from "@ant-design/icons"; |
| 5 | import * as commonUtils from "@/utils/utils"; /* 通用方法 */ | 5 | import * as commonUtils from "@/utils/utils"; /* 通用方法 */ |
| 6 | import styles from "./index.less"; | 6 | import styles from "./index.less"; |
src/components/Common/WorkCalendar/WorkCalendar.js
| @@ -14,7 +14,7 @@ import { | @@ -14,7 +14,7 @@ import { | ||
| 14 | message, | 14 | message, |
| 15 | Select, | 15 | Select, |
| 16 | DatePicker | 16 | DatePicker |
| 17 | -} from "antd"; | 17 | +} from "antd-v4"; |
| 18 | import { LeftOutlined, RightOutlined } from "@ant-design/icons"; | 18 | import { LeftOutlined, RightOutlined } from "@ant-design/icons"; |
| 19 | import moment from "moment"; | 19 | import moment from "moment"; |
| 20 | import * as commonUtils from "@/utils/utils"; /* 通用方法 */ | 20 | import * as commonUtils from "@/utils/utils"; /* 通用方法 */ |
src/components/Common/WorkOrderSystem/WorkOrderSystemAdd.js
| @@ -11,7 +11,7 @@ import { | @@ -11,7 +11,7 @@ import { | ||
| 11 | message, | 11 | message, |
| 12 | DatePicker, | 12 | DatePicker, |
| 13 | Spin | 13 | Spin |
| 14 | -} from "antd"; | 14 | +} from "antd-v4"; |
| 15 | import { CheckOutlined, CloseOutlined } from "@ant-design/icons"; | 15 | import { CheckOutlined, CloseOutlined } from "@ant-design/icons"; |
| 16 | import BraftEditor from "braft-editor"; | 16 | import BraftEditor from "braft-editor"; |
| 17 | import "braft-editor/dist/index.css"; | 17 | import "braft-editor/dist/index.css"; |
src/components/Common/WorkOrderSystem/WorkOrderSystemDetail.js
src/components/Common/WorkOrderSystem/WorkOrderSystemService/index.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import * as commonServices from "@/services/services"; | 2 | import * as commonServices from "@/services/services"; |
| 3 | import commonConfig from "@/utils/config"; | 3 | import commonConfig from "@/utils/config"; |
| 4 | -import { message } from "antd"; | 4 | +import { message } from "antd-v4"; |
| 5 | 5 | ||
| 6 | //获取所属客户 | 6 | //获取所属客户 |
| 7 | const getsCustomerData = async () => { | 7 | const getsCustomerData = async () => { |
src/components/CommonSystemSettingEvent/TabSysParamsIcon.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useEffect, useState } from "react"; | 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 | import commonConfig from "@/utils/config"; | 4 | import commonConfig from "@/utils/config"; |
| 5 | 5 | ||
| 6 | // 判断图片是否存在 | 6 | // 判断图片是否存在 |
src/components/Manufacture/CommonPackEvent.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useEffect, useState, useRef } from "react"; | 2 | import React, { useEffect, useState, useRef } from "react"; |
| 3 | -import { Button, message } from "antd"; | 3 | +import { Button, message } from "antd-v4"; |
| 4 | import * as commonBusiness from "@/components/Common/commonBusiness"; | 4 | import * as commonBusiness from "@/components/Common/commonBusiness"; |
| 5 | import * as commonUtils from "@/utils/utils"; | 5 | import * as commonUtils from "@/utils/utils"; |
| 6 | import * as commonFunc from "@/components/Common/commonFunc"; | 6 | import * as commonFunc from "@/components/Common/commonFunc"; |
src/components/Manufacture/ProcessCardPackTableTreeNew/index.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useEffect, useState, useMemo, useRef } from "react"; | 2 | import React, { useEffect, useState, useMemo, useRef } from "react"; |
| 3 | import moment from "moment"; | 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 | import { RightOutlined } from "@ant-design/icons"; | 5 | import { RightOutlined } from "@ant-design/icons"; |
| 6 | import { Form } from "@ant-design/compatible"; | 6 | import { Form } from "@ant-design/compatible"; |
| 7 | import CommonBase from "@/components/Common/CommonBase"; | 7 | import CommonBase from "@/components/Common/CommonBase"; |
src/components/Manufacture/WorkOrderPackTableTreeNew/index.js
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useEffect, useState, useMemo, useRef } from "react"; | 2 | import React, { useEffect, useState, useMemo, useRef } from "react"; |
| 3 | import moment from "moment"; | 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 | import { RightOutlined } from "@ant-design/icons"; | 5 | import { RightOutlined } from "@ant-design/icons"; |
| 6 | import { Form } from "@ant-design/compatible"; | 6 | import { Form } from "@ant-design/compatible"; |
| 7 | import CommonBase from "@/components/Common/CommonBase"; | 7 | import CommonBase from "@/components/Common/CommonBase"; |
src/components/QuickQuote/index.jsx
| 1 | /* eslint-disable */ | 1 | /* eslint-disable */ |
| 2 | import React, { useRef, useEffect, useState, useCallback } from "react"; | 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 | import { ArrowLeftOutlined, FolderFilled, FolderOpenFilled, FileTextFilled, PlusOutlined, MinusOutlined } from "@ant-design/icons"; | 4 | import { ArrowLeftOutlined, FolderFilled, FolderOpenFilled, FileTextFilled, PlusOutlined, MinusOutlined } from "@ant-design/icons"; |
| 5 | import { cloneDeep } from "lodash"; | 5 | import { cloneDeep } from "lodash"; |
| 6 | import commonConfig from "@/utils/config"; | 6 | import commonConfig from "@/utils/config"; |
src/routes/tab/tab.js
| 1 | import { connect } from "umi"; | 1 | import { connect } from "umi"; |
| 2 | import { Icon as LegacyIcon } from "@ant-design/compatible"; | 2 | import { Icon as LegacyIcon } from "@ant-design/compatible"; |
| 3 | import { ExclamationCircleOutlined } from "@ant-design/icons"; | 3 | import { ExclamationCircleOutlined } from "@ant-design/icons"; |
| 4 | -import { Tabs, Modal } from "antd"; | 4 | +import { Tabs, Modal } from 'antd-v4'; |
| 5 | import IndexCenter from "@/routes/indexCenter/indexCenter"; /* 首页 */ | 5 | import IndexCenter from "@/routes/indexCenter/indexCenter"; /* 首页 */ |
| 6 | import TabComponent from "@/components/Tab/TabComponent"; | 6 | import TabComponent from "@/components/Tab/TabComponent"; |
| 7 | import CommonListEdit from "@/routes/commonList/commonListEdit"; /* 可编辑公共列表 */ | 7 | import CommonListEdit from "@/routes/commonList/commonListEdit"; /* 可编辑公共列表 */ |