@bit-sun/business-component 2.3.21 → 2.3.22-beta2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +16 -16
- package/.fatherrc.ts +5 -5
- package/.gitlab-ci.yml +179 -179
- package/.prettierignore +7 -7
- package/.prettierrc +11 -11
- package/.umirc.ts +74 -74
- package/README.md +27 -27
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
- package/dist/components/Business/BsLayouts/service.d.ts +1 -1
- package/dist/components/Business/SearchSelect/index.d.ts +1 -1
- package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
- package/dist/components/Functional/AddSelect/helps.d.ts +13 -0
- package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
- package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
- package/dist/index.esm.js +1369 -1289
- package/dist/index.js +1375 -1295
- package/dist/utils/utils.d.ts +1 -1
- package/docs/index.md +21 -21
- package/lib/assets/drag.svg +17 -17
- package/lib/assets/exportFail.svg +37 -37
- package/lib/assets/exportProcessing.svg +28 -28
- package/lib/assets/exportSuccess.svg +34 -34
- package/lib/assets/label_icon_bottom.svg +25 -25
- package/lib/assets/upExport.svg +22 -22
- package/package.json +78 -78
- package/src/assets/32.svg +27 -27
- package/src/assets/addIcon.svg +17 -17
- package/src/assets/allfunc.svg +27 -27
- package/src/assets/arrowRight.svg +24 -24
- package/src/assets/btn-delete.svg +29 -29
- package/src/assets/btn-edit.svg +19 -19
- package/src/assets/btn-more.svg +17 -17
- package/src/assets/btn-submit.svg +19 -19
- package/src/assets/caidan.svg +11 -11
- package/src/assets/close.svg +26 -26
- package/src/assets/drag.svg +17 -17
- package/src/assets/exportFail.svg +37 -37
- package/src/assets/exportProcessing.svg +28 -28
- package/src/assets/exportSuccess.svg +34 -34
- package/src/assets/fixed-left-active.svg +11 -11
- package/src/assets/fixed-left.svg +15 -15
- package/src/assets/fixed-right-active.svg +11 -11
- package/src/assets/fixed-right.svg +15 -15
- package/src/assets/guanbi.svg +15 -15
- package/src/assets/icon-quanping.svg +15 -15
- package/src/assets/icon-shezhi.svg +17 -17
- package/src/assets/label_icon_bottom.svg +25 -25
- package/src/assets/list-no-img.svg +21 -21
- package/src/assets/morentouxiang-32.svg +23 -23
- package/src/assets/scanning.svg +24 -24
- package/src/assets/upExport.svg +22 -22
- package/src/common/ENUM.ts +41 -41
- package/src/components/Business/AddSelectBusiness/index.md +162 -162
- package/src/components/Business/AddSelectBusiness/index.tsx +1060 -895
- package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
- package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
- package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
- package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
- package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
- package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
- package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
- package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
- package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
- package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
- package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
- package/src/components/Business/BsLayouts/index.less +79 -79
- package/src/components/Business/BsLayouts/index.tsx +1484 -1484
- package/src/components/Business/BsLayouts/service.ts +10 -10
- package/src/components/Business/BsLayouts/utils.tsx +203 -203
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +564 -564
- package/src/components/Business/BsSulaQueryTable/index.less +221 -221
- package/src/components/Business/BsSulaQueryTable/index.tsx +535 -535
- package/src/components/Business/BsSulaQueryTable/setting.tsx +852 -852
- package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
- package/src/components/Business/BsSulaQueryTable/utils.tsx +690 -690
- package/src/components/Business/CommodityEntry/index.md +70 -70
- package/src/components/Business/CommodityEntry/index.tsx +80 -80
- package/src/components/Business/CommonAlert/index.tsx +23 -23
- package/src/components/Business/CommonGuideWrapper/index.less +111 -111
- package/src/components/Business/CommonGuideWrapper/index.md +39 -39
- package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
- package/src/components/Business/DetailPageWrapper/index.less +79 -79
- package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
- package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
- package/src/components/Business/HomePageWrapper/index.less +33 -33
- package/src/components/Business/HomePageWrapper/index.md +45 -45
- package/src/components/Business/HomePageWrapper/index.tsx +162 -162
- package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
- package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +205 -205
- package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
- package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
- package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
- package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
- package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
- package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
- package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
- package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
- package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
- package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
- package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
- package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
- package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
- package/src/components/Business/JsonQueryTable/function.ts +62 -62
- package/src/components/Business/JsonQueryTable/index.less +16 -16
- package/src/components/Business/JsonQueryTable/index.md +328 -328
- package/src/components/Business/JsonQueryTable/index.tsx +535 -535
- package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
- package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
- package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
- package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
- package/src/components/Business/JsonQueryTable/static.ts +390 -390
- package/src/components/Business/SearchSelect/BusinessUtils.ts +1762 -1762
- package/src/components/Business/SearchSelect/common.ts +75 -75
- package/src/components/Business/SearchSelect/index.md +1329 -1329
- package/src/components/Business/SearchSelect/index.tsx +55 -55
- package/src/components/Business/SearchSelect/utils.ts +100 -100
- package/src/components/Business/StateFlow/index.less +130 -130
- package/src/components/Business/StateFlow/index.md +60 -60
- package/src/components/Business/StateFlow/index.tsx +29 -29
- package/src/components/Business/TreeSearchSelect/index.md +156 -156
- package/src/components/Business/TreeSearchSelect/index.tsx +33 -33
- package/src/components/Business/TreeSearchSelect/utils.ts +75 -75
- package/src/components/Business/columnSettingTable/columnSetting.tsx +764 -764
- package/src/components/Business/columnSettingTable/index.less +247 -247
- package/src/components/Business/columnSettingTable/index.md +357 -357
- package/src/components/Business/columnSettingTable/index.tsx +232 -232
- package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
- package/src/components/Business/columnSettingTable/utils.tsx +71 -71
- package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +87 -87
- package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
- package/src/components/Business/moreTreeTable/index.less +99 -99
- package/src/components/Business/moreTreeTable/index.md +448 -448
- package/src/components/Business/moreTreeTable/index.tsx +387 -387
- package/src/components/Business/moreTreeTable/utils.ts +126 -126
- package/src/components/Functional/AddSelect/helps.ts +79 -14
- package/src/components/Functional/AddSelect/index.less +367 -367
- package/src/components/Functional/AddSelect/index.md +155 -155
- package/src/components/Functional/AddSelect/index.tsx +1170 -1282
- package/src/components/Functional/BillEntry/index.less +371 -371
- package/src/components/Functional/BillEntry/index.md +39 -39
- package/src/components/Functional/BillEntry/index.tsx +772 -772
- package/src/components/Functional/BsAntdSula/BsCascader/index.md +62 -62
- package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +178 -178
- package/src/components/Functional/BsAntdSula/index.ts +2 -2
- package/src/components/Functional/DataImport/index.less +63 -63
- package/src/components/Functional/DataImport/index.md +44 -44
- package/src/components/Functional/DataImport/index.tsx +695 -695
- package/src/components/Functional/DataValidation/index.less +63 -63
- package/src/components/Functional/DataValidation/index.md +39 -39
- package/src/components/Functional/DataValidation/index.tsx +687 -687
- package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
- package/src/components/Functional/EllipsisTooltip/index.js +36 -36
- package/src/components/Functional/EllipsisTooltip/index.md +30 -30
- package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
- package/src/components/Functional/QueryMutipleInput/index.less +37 -37
- package/src/components/Functional/QueryMutipleInput/index.md +33 -33
- package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
- package/src/components/Functional/SearchSelect/index.less +115 -115
- package/src/components/Functional/SearchSelect/index.md +141 -141
- package/src/components/Functional/SearchSelect/index.tsx +879 -879
- package/src/components/Functional/SearchSelect/utils.ts +3 -3
- package/src/components/Functional/TreeSearchSelect/index.md +47 -47
- package/src/components/Functional/TreeSearchSelect/index.tsx +199 -199
- package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
- package/src/components/Solution/RuleComponent/index.d.ts +29 -29
- package/src/components/Solution/RuleComponent/index.js +2032 -2032
- package/src/components/Solution/RuleComponent/index.less +230 -230
- package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
- package/src/components/Solution/RuleComponent/ruleFiled.js +2107 -2107
- package/src/components/Solution/RuleComponent/services.ts +13 -13
- package/src/components/Solution/RuleComponent/util.js +139 -139
- package/src/index.ts +38 -38
- package/src/plugin/TableColumnSetting/index.less +247 -247
- package/src/plugin/TableColumnSetting/index.md +50 -50
- package/src/plugin/TableColumnSetting/index.tsx +724 -724
- package/src/plugin/TableColumnSetting/utils.ts +19 -19
- package/src/styles/bsDefault.less +1912 -1912
- package/src/utils/CheckOneUser/index.md +39 -39
- package/src/utils/CheckOneUser/index.ts +51 -51
- package/src/utils/LocalstorageUtils.ts +95 -95
- package/src/utils/TableUtils.tsx +18 -18
- package/src/utils/checkUtils.ts +39 -39
- package/src/utils/enumConfig.ts +11 -11
- package/src/utils/getFormMode.js +12 -12
- package/src/utils/index.ts +4 -4
- package/src/utils/requestUtils.ts +34 -34
- package/src/utils/serialize.js +7 -7
- package/src/utils/utils.ts +212 -212
- package/tsconfig.json +29 -29
- package/typings.d.ts +4 -4
package/dist/index.esm.js
CHANGED
|
@@ -2,7 +2,7 @@ import axios from 'axios';
|
|
|
2
2
|
import { message as message$1, Image, Popover, Card, Avatar, Tooltip, Menu, Space, Dropdown, Button, Checkbox, Input, Modal, Select, Form, Divider, Spin, Table, TreeSelect, Tag, InputNumber, Typography, Alert, Anchor, Breadcrumb, Drawer as Drawer$1, List, Tree, Row, Col, Tabs, Affix, Cascader, DatePicker, TimePicker, Switch } from 'antd';
|
|
3
3
|
import _, { omit, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
|
|
4
4
|
import { history, formatMessage, useLocation, Link, useModel, useIntl } from 'umi';
|
|
5
|
-
import isEqual
|
|
5
|
+
import isEqual from 'lodash/isEqual';
|
|
6
6
|
import React, { useState, useEffect, forwardRef, useImperativeHandle, useRef, useMemo, Component, useLayoutEffect, createRef } from 'react';
|
|
7
7
|
import moment$1 from 'moment';
|
|
8
8
|
import { UnorderedListOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, CopyOutlined, SearchOutlined, CaretLeftOutlined, CloseCircleOutlined, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, CaretDownOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, DashOutlined, SettingOutlined, BulbOutlined, PlayCircleOutlined, SaveOutlined, FullscreenExitOutlined, EditOutlined, MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons';
|
|
@@ -762,52 +762,41 @@ var precisionQuantity = function precisionQuantity(num, accuracy) {
|
|
|
762
762
|
return '';
|
|
763
763
|
};
|
|
764
764
|
|
|
765
|
-
var
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
function
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
765
|
+
var simpleIsEqual = function simpleIsEqual(a, b) {
|
|
766
|
+
return a === b;
|
|
767
|
+
};
|
|
768
|
+
|
|
769
|
+
function index$1 (resultFn, isEqual) {
|
|
770
|
+
if (isEqual === void 0) {
|
|
771
|
+
isEqual = simpleIsEqual;
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
var lastThis;
|
|
775
|
+
var lastArgs = [];
|
|
776
|
+
var lastResult;
|
|
777
|
+
var calledOnce = false;
|
|
778
|
+
|
|
779
|
+
var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
|
|
780
|
+
return isEqual(newArg, lastArgs[index], index);
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
var result = function result() {
|
|
784
|
+
for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
785
|
+
newArgs[_key] = arguments[_key];
|
|
781
786
|
}
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
}
|
|
787
|
+
|
|
788
|
+
if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
|
|
789
|
+
return lastResult;
|
|
786
790
|
}
|
|
787
|
-
return true;
|
|
788
|
-
}
|
|
789
791
|
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
for (var _i = 0; _i < arguments.length; _i++) {
|
|
799
|
-
newArgs[_i] = arguments[_i];
|
|
800
|
-
}
|
|
801
|
-
if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
|
|
802
|
-
return lastResult;
|
|
803
|
-
}
|
|
804
|
-
lastResult = resultFn.apply(this, newArgs);
|
|
805
|
-
calledOnce = true;
|
|
806
|
-
lastThis = this;
|
|
807
|
-
lastArgs = newArgs;
|
|
808
|
-
return lastResult;
|
|
809
|
-
}
|
|
810
|
-
return memoized;
|
|
792
|
+
lastResult = resultFn.apply(this, newArgs);
|
|
793
|
+
calledOnce = true;
|
|
794
|
+
lastThis = this;
|
|
795
|
+
lastArgs = newArgs;
|
|
796
|
+
return lastResult;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
return result;
|
|
811
800
|
}
|
|
812
801
|
|
|
813
802
|
function styleInject(css, ref) {
|
|
@@ -837,7 +826,7 @@ function styleInject(css, ref) {
|
|
|
837
826
|
}
|
|
838
827
|
}
|
|
839
828
|
|
|
840
|
-
var css_248z = ".cardContent {\n font-family: PingFangSC, PingFangSC-Regular;\n}\n.user_card_header {\n margin-top: -32px;\n}\n.user_card_header .card_name {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n color: #000000;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 6px;\n}\n.card_company {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin-bottom: 16px;\n}\n.card_detailInfo {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin: 0 0 5px !important;\n}\n.card_department {\n color: #
|
|
829
|
+
var css_248z = ".cardContent {\n font-family: PingFangSC, PingFangSC-Regular;\n}\n.user_card_header {\n margin-top: -32px;\n}\n.user_card_header .card_name {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n color: #000000;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 6px;\n}\n.card_company {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin-bottom: 16px;\n}\n.card_detailInfo {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin: 0 0 5px !important;\n}\n.card_department {\n color: #02B56E !important;\n}\n.user_info_card .ant-popover-inner-content {\n padding: 0px !important;\n}\n.user_info_card .ant-card-body {\n padding: 0px !important;\n}\n";
|
|
841
830
|
styleInject(css_248z);
|
|
842
831
|
|
|
843
832
|
var noImg = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2244px%22%20height%3D%2244px%22%20viewBox%3D%220%200%2044%2044%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E8%92%99%E7%89%88%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%22-1.56319402e-13%201.84741111e-13%2044%201.84741111e-13%2044%2044%20-1.56319402e-13%2044%22%3E%3C%2Fpolygon%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-354.000000%2C%20-672.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E4%B8%80%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28240.000000%2C%20664.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%8D%95%E6%8D%AE%E7%BC%96%E5%8F%B7%22%20transform%3D%22translate%28106.000000%2C%200.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20transform%3D%22translate%288.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23E6F3FF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.4962332%2C15%20C29.4007284%2C15%2030.1339666%2C15.7383979%2030.1339666%2C16.6492578%20L30.1339666%2C27.5596481%20C30.1339666%2C28.4705081%2029.4007284%2C29.208906%2028.4962332%2C29.208906%20L14.6377334%2C29.208906%20C13.7332382%2C29.208906%2013%2C28.4705081%2013%2C27.5596481%20L13%2C16.6492578%20C13%2C15.7383979%2013.7332382%2C15%2014.6377334%2C15%20L28.4956873%2C15%20L28.4962332%2C15%20Z%20M28.4962332%2C16.6492578%20L14.6377334%2C16.6492578%20L14.6377334%2C27.5596481%20L28.4956873%2C27.5596481%20L28.4956873%2C16.6492578%20L28.4962332%2C16.6492578%20Z%20M26.6996397%2C18.6899395%20L26.6996397%2C20.3369983%20C24.5001638%2C20.357889%2023.12283%2C21.0967565%2022.4448084%2C22.5305113%20L22.3847582%2C22.6624519%20L22.3137897%2C22.8224299%20C21.2241511%2C25.1880154%2019.0819959%2C26.322155%2016.0560105%2C26.1940627%20L16.243258%2C26.2001099%20L16.2443498%2C24.5508521%20C18.5633803%2C24.6206707%2020.0357026%2C23.8290269%2020.8190851%2C22.1473337%20L20.8824107%2C22.006597%20L20.9479201%2C21.8603628%20C21.9158205%2C19.7680044%2023.8767333%2C18.7196262%2026.6996397%2C18.6899395%20L26.6996397%2C18.6899395%20Z%20M17.5583579%2C18.3435954%20C18.1149239%2C18.3435954%2018.5661099%2C18.7979562%2018.5661099%2C19.3584387%20C18.5661099%2C19.9189212%2018.1149239%2C20.373282%2017.5583579%2C20.373282%20C17.0016411%2C20.373282%2016.550333%2C19.9187981%2016.550333%2C19.3581638%20C16.550333%2C18.7975295%2017.0016411%2C18.3430456%2017.5583579%2C18.3430456%20L17.5583579%2C18.3435954%20Z%22%20fill%3D%22%23A3D1FF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
@@ -1024,58 +1013,59 @@ var getItemDefaultWidth = function getItemDefaultWidth(item) {
|
|
|
1024
1013
|
* @returns 返回处理后的查询参数
|
|
1025
1014
|
*/
|
|
1026
1015
|
function queryParams(params, flag) {
|
|
1027
|
-
|
|
1016
|
+
var _loop = function _loop() {
|
|
1028
1017
|
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
1053
|
-
} else {
|
|
1054
|
-
params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
1055
|
-
}
|
|
1056
|
-
});
|
|
1057
|
-
delete params[key];
|
|
1058
|
-
} else if (element && key.indexOf('*') >= 0) {
|
|
1059
|
-
var _dataParams4 = key.split('*');
|
|
1060
|
-
_dataParams4.forEach(function (value, index) {
|
|
1061
|
-
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
1062
|
-
});
|
|
1063
|
-
delete params[key];
|
|
1064
|
-
} else if (element && key.indexOf('_likeIn_') >= 0) {
|
|
1065
|
-
var _dataParams5 = key.split('_likeIn_');
|
|
1066
|
-
if (element.indexOf(',') >= 0) {
|
|
1067
|
-
params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
|
|
1068
|
-
params["qp-".concat(_dataParams5[0], "-like")] = null;
|
|
1018
|
+
var element = params[key];
|
|
1019
|
+
if (element && key.indexOf('*number*') >= 0) {
|
|
1020
|
+
var dataParams = key.split('*number*');
|
|
1021
|
+
dataParams.forEach(function (value, index) {
|
|
1022
|
+
params[value] = element[index];
|
|
1023
|
+
});
|
|
1024
|
+
delete params[key];
|
|
1025
|
+
} else if (element && key.indexOf('*address*') >= 0) {
|
|
1026
|
+
var _dataParams = key.split('*address*');
|
|
1027
|
+
_dataParams.forEach(function (value, index) {
|
|
1028
|
+
params[value] = element.PCDCode[index];
|
|
1029
|
+
});
|
|
1030
|
+
delete params[key];
|
|
1031
|
+
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
1032
|
+
var _dataParams2 = key.split('*costType*');
|
|
1033
|
+
// eslint-disable-next-line prefer-destructuring
|
|
1034
|
+
params[_dataParams2[0]] = element[1];
|
|
1035
|
+
delete params[key];
|
|
1036
|
+
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
1037
|
+
var _dataParams3 = key.split('*fullDate*');
|
|
1038
|
+
_dataParams3.forEach(function (value, index) {
|
|
1039
|
+
if (index === 0) {
|
|
1040
|
+
params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
1069
1041
|
} else {
|
|
1070
|
-
params[
|
|
1071
|
-
params["qp-".concat(_dataParams5[0], "-in")] = null;
|
|
1042
|
+
params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
1072
1043
|
}
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1044
|
+
});
|
|
1045
|
+
delete params[key];
|
|
1046
|
+
} else if (element && key.indexOf('*') >= 0) {
|
|
1047
|
+
var _dataParams4 = key.split('*');
|
|
1048
|
+
_dataParams4.forEach(function (value, index) {
|
|
1049
|
+
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
1050
|
+
});
|
|
1051
|
+
delete params[key];
|
|
1052
|
+
} else if (element && key.indexOf('_likeIn_') >= 0) {
|
|
1053
|
+
var _dataParams5 = key.split('_likeIn_');
|
|
1054
|
+
if (element.indexOf(',') >= 0) {
|
|
1055
|
+
params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
|
|
1056
|
+
params["qp-".concat(_dataParams5[0], "-like")] = null;
|
|
1057
|
+
} else {
|
|
1058
|
+
params["qp-".concat(_dataParams5[0], "-like")] = element;
|
|
1059
|
+
params["qp-".concat(_dataParams5[0], "-in")] = null;
|
|
1076
1060
|
}
|
|
1077
|
-
|
|
1061
|
+
delete params[key];
|
|
1062
|
+
} else if (Array.isArray(element)) {
|
|
1063
|
+
params[key] = element.join(',');
|
|
1064
|
+
}
|
|
1078
1065
|
}
|
|
1066
|
+
};
|
|
1067
|
+
for (var key in params) {
|
|
1068
|
+
_loop();
|
|
1079
1069
|
}
|
|
1080
1070
|
return flag ? params : qs.stringify(params);
|
|
1081
1071
|
}
|
|
@@ -1121,7 +1111,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
|
|
|
1121
1111
|
return item;
|
|
1122
1112
|
});
|
|
1123
1113
|
};
|
|
1124
|
-
var memoizeOneFormatter =
|
|
1114
|
+
var memoizeOneFormatter = index$1(formatter, isEqual);
|
|
1125
1115
|
var go2BackAndClose = function go2BackAndClose() {
|
|
1126
1116
|
localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
|
|
1127
1117
|
history.goBack();
|
|
@@ -2804,84 +2794,85 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
2804
2794
|
});
|
|
2805
2795
|
}
|
|
2806
2796
|
// 数组对象处理,对带有特殊标记的name进行处理
|
|
2807
|
-
|
|
2797
|
+
var _loop = function _loop() {
|
|
2808
2798
|
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
2809
|
-
|
|
2810
|
-
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
|
|
2814
|
-
|
|
2815
|
-
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
2835
|
-
}
|
|
2836
|
-
});
|
|
2837
|
-
delete params[key];
|
|
2838
|
-
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
2839
|
-
var _dataParams4 = key.split('*checkBox*');
|
|
2840
|
-
if (element) {
|
|
2841
|
-
params[_dataParams4[0]] = 0;
|
|
2799
|
+
var element = params[key];
|
|
2800
|
+
if (element && key.indexOf('*number*') >= 0) {
|
|
2801
|
+
var dataParams = key.split('*number*');
|
|
2802
|
+
dataParams.forEach(function (value, index) {
|
|
2803
|
+
params[value] = element[index];
|
|
2804
|
+
});
|
|
2805
|
+
delete params[key];
|
|
2806
|
+
} else if (element && key.indexOf('*address*') >= 0) {
|
|
2807
|
+
var _dataParams = key.split('*address*');
|
|
2808
|
+
_dataParams.forEach(function (value, index) {
|
|
2809
|
+
params[value] = element.PCDCode[index];
|
|
2810
|
+
});
|
|
2811
|
+
delete params[key];
|
|
2812
|
+
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
2813
|
+
var _dataParams2 = key.split('*costType*');
|
|
2814
|
+
// eslint-disable-next-line prefer-destructuring
|
|
2815
|
+
params[_dataParams2[0]] = element[1];
|
|
2816
|
+
delete params[key];
|
|
2817
|
+
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
2818
|
+
var _dataParams3 = key.split('*fullDate*');
|
|
2819
|
+
_dataParams3.forEach(function (value, index) {
|
|
2820
|
+
if (index === 0) {
|
|
2821
|
+
params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
2822
|
+
} else {
|
|
2823
|
+
params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
2842
2824
|
}
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
|
|
2849
|
-
|
|
2850
|
-
|
|
2851
|
-
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
|
|
2855
|
-
|
|
2856
|
-
|
|
2857
|
-
|
|
2858
|
-
|
|
2859
|
-
|
|
2860
|
-
_dataParams7.forEach(function (value, index) {
|
|
2861
|
-
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
2862
|
-
});
|
|
2863
|
-
delete params[key];
|
|
2864
|
-
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
2865
|
-
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
2866
|
-
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
2867
|
-
if (params[key][0] === 'range') {
|
|
2868
|
-
if (params[key][1][0]) {
|
|
2869
|
-
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
2870
|
-
}
|
|
2871
|
-
if (params[key][1][1]) {
|
|
2872
|
-
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
2873
|
-
}
|
|
2825
|
+
});
|
|
2826
|
+
delete params[key];
|
|
2827
|
+
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
2828
|
+
var _dataParams4 = key.split('*checkBox*');
|
|
2829
|
+
if (element) {
|
|
2830
|
+
params[_dataParams4[0]] = 0;
|
|
2831
|
+
}
|
|
2832
|
+
delete params[key];
|
|
2833
|
+
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
2834
|
+
var _dataParams5 = key.split('*cascader*');
|
|
2835
|
+
params[_dataParams5[0]] = element[element.length - 1];
|
|
2836
|
+
delete params[key];
|
|
2837
|
+
} else if (element && key.indexOf('*date*') >= 0) {
|
|
2838
|
+
var _dataParams6 = key.split('*date*');
|
|
2839
|
+
_dataParams6.forEach(function (value, index) {
|
|
2840
|
+
if (index === 0) {
|
|
2841
|
+
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
2874
2842
|
} else {
|
|
2875
|
-
params[
|
|
2843
|
+
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
2844
|
+
}
|
|
2845
|
+
});
|
|
2846
|
+
delete params[key];
|
|
2847
|
+
} else if (element && key.indexOf('*') >= 0) {
|
|
2848
|
+
var _dataParams7 = key.split('*');
|
|
2849
|
+
_dataParams7.forEach(function (value, index) {
|
|
2850
|
+
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
2851
|
+
});
|
|
2852
|
+
delete params[key];
|
|
2853
|
+
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
2854
|
+
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
2855
|
+
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
2856
|
+
if (params[key][0] === 'range') {
|
|
2857
|
+
if (params[key][1][0]) {
|
|
2858
|
+
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
2876
2859
|
}
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
} else
|
|
2881
|
-
|
|
2860
|
+
if (params[key][1][1]) {
|
|
2861
|
+
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
2862
|
+
}
|
|
2863
|
+
} else {
|
|
2864
|
+
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
2882
2865
|
}
|
|
2883
|
-
|
|
2866
|
+
delete params[key];
|
|
2867
|
+
} else if (Array.isArray(element)) {
|
|
2868
|
+
params[key] = element.join(',');
|
|
2869
|
+
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
2870
|
+
delete params[key];
|
|
2871
|
+
}
|
|
2884
2872
|
}
|
|
2873
|
+
};
|
|
2874
|
+
for (var key in params) {
|
|
2875
|
+
_loop();
|
|
2885
2876
|
}
|
|
2886
2877
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
|
|
2887
2878
|
pageSize: pageSize,
|
|
@@ -3278,7 +3269,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
|
3278
3269
|
}
|
|
3279
3270
|
};
|
|
3280
3271
|
var themeColor = {
|
|
3281
|
-
color: '#
|
|
3272
|
+
color: '#02B56E'
|
|
3282
3273
|
};
|
|
3283
3274
|
var formItem = function formItem(list) {
|
|
3284
3275
|
if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
|
|
@@ -3581,11 +3572,11 @@ var drag = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
|
|
|
3581
3572
|
|
|
3582
3573
|
var fixedLeft = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1256.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28125.000000%2C%2020.000000%29%20scale%281%2C%20-1%29%20translate%28-125.000000%2C%20-20.000000%29%20translate%28116.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
3583
3574
|
|
|
3584
|
-
var fixedLeftActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-67.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2876.000000%2C%2052.000000%29%20scale%281%2C%20-1%29%20translate%28-76.000000%2C%20-52.000000%29%20translate%2867.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%
|
|
3575
|
+
var fixedLeftActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-67.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2876.000000%2C%2052.000000%29%20scale%281%2C%20-1%29%20translate%28-76.000000%2C%20-52.000000%29%20translate%2867.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%2302B56E%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
3585
3576
|
|
|
3586
3577
|
var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1278.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28138.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
3587
3578
|
|
|
3588
|
-
var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%
|
|
3579
|
+
var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%2302B56E%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
3589
3580
|
|
|
3590
3581
|
var css_248z$6 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
|
|
3591
3582
|
styleInject(css_248z$6);
|
|
@@ -4280,8 +4271,6 @@ var getSelectDataList = function getSelectDataList(record, item, selectKey) {
|
|
|
4280
4271
|
}
|
|
4281
4272
|
return result;
|
|
4282
4273
|
};
|
|
4283
|
-
|
|
4284
|
-
var _excluded$3 = ["onResize", "width"];
|
|
4285
4274
|
var loadSelectSource = function loadSelectSource(url, params) {
|
|
4286
4275
|
return new Promise(function (resolve, reject) {
|
|
4287
4276
|
axios.get("".concat(url, "?").concat(stringify(params))).then(function (result) {
|
|
@@ -4289,6 +4278,7 @@ var loadSelectSource = function loadSelectSource(url, params) {
|
|
|
4289
4278
|
result = result.data;
|
|
4290
4279
|
if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
|
|
4291
4280
|
message$1.error(result.msg);
|
|
4281
|
+
resolve(result);
|
|
4292
4282
|
return;
|
|
4293
4283
|
}
|
|
4294
4284
|
resolve(result);
|
|
@@ -4297,38 +4287,6 @@ var loadSelectSource = function loadSelectSource(url, params) {
|
|
|
4297
4287
|
});
|
|
4298
4288
|
});
|
|
4299
4289
|
};
|
|
4300
|
-
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
4301
|
-
return new Promise(function (resolve, reject) {
|
|
4302
|
-
axios.post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
|
|
4303
|
-
var _result3, _result4;
|
|
4304
|
-
result = result.data;
|
|
4305
|
-
if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
|
|
4306
|
-
message$1.error(result.msg);
|
|
4307
|
-
reject(false);
|
|
4308
|
-
return;
|
|
4309
|
-
}
|
|
4310
|
-
resolve(result);
|
|
4311
|
-
}).catch(function (err) {
|
|
4312
|
-
reject(err);
|
|
4313
|
-
});
|
|
4314
|
-
});
|
|
4315
|
-
};
|
|
4316
|
-
var ResizeableTitle = function ResizeableTitle(props) {
|
|
4317
|
-
var onResize = props.onResize,
|
|
4318
|
-
width = props.width,
|
|
4319
|
-
restProps = _objectWithoutProperties(props, _excluded$3);
|
|
4320
|
-
if (!width) {
|
|
4321
|
-
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
4322
|
-
}
|
|
4323
|
-
return /*#__PURE__*/React.createElement(Resizable, {
|
|
4324
|
-
width: width,
|
|
4325
|
-
height: 0,
|
|
4326
|
-
onResize: onResize,
|
|
4327
|
-
draggableOpts: {
|
|
4328
|
-
enableUserSelectHack: false
|
|
4329
|
-
}
|
|
4330
|
-
}, /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps)));
|
|
4331
|
-
};
|
|
4332
4290
|
var formatSource = function formatSource(reData, position, changePosition, changeSearchForm) {
|
|
4333
4291
|
var _reData$position;
|
|
4334
4292
|
var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['code', 'name'];
|
|
@@ -4368,6 +4326,52 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
|
|
|
4368
4326
|
}) || [];
|
|
4369
4327
|
changeSearchForm[changePosition].field.props.treeData = formatData;
|
|
4370
4328
|
};
|
|
4329
|
+
var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearchForm) {
|
|
4330
|
+
loadList.forEach(function (i, index) {
|
|
4331
|
+
if (i.resType == 'list') {
|
|
4332
|
+
var resKeyValue = i.resKeyValue || ['code', 'name'];
|
|
4333
|
+
formatSource(x, index, i.resPosition, tableSearchForm, resKeyValue);
|
|
4334
|
+
}
|
|
4335
|
+
if (i.resType == 'treeList') {
|
|
4336
|
+
var _resKeyValue = i.resKeyValue || ['id', 'name'];
|
|
4337
|
+
formatTreeDataSource(x, index, i.resPosition, tableSearchForm, _resKeyValue);
|
|
4338
|
+
}
|
|
4339
|
+
});
|
|
4340
|
+
};
|
|
4341
|
+
|
|
4342
|
+
var _excluded$3 = ["onResize", "width"];
|
|
4343
|
+
var checkSpuMatchCode = function checkSpuMatchCode(data) {
|
|
4344
|
+
return new Promise(function (resolve, reject) {
|
|
4345
|
+
axios.post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
|
|
4346
|
+
var _result, _result2;
|
|
4347
|
+
result = result.data;
|
|
4348
|
+
if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
|
|
4349
|
+
message$1.error(result.msg);
|
|
4350
|
+
reject(false);
|
|
4351
|
+
return;
|
|
4352
|
+
}
|
|
4353
|
+
resolve(result);
|
|
4354
|
+
}).catch(function (err) {
|
|
4355
|
+
reject(err);
|
|
4356
|
+
});
|
|
4357
|
+
});
|
|
4358
|
+
};
|
|
4359
|
+
var ResizeableTitle = function ResizeableTitle(props) {
|
|
4360
|
+
var onResize = props.onResize,
|
|
4361
|
+
width = props.width,
|
|
4362
|
+
restProps = _objectWithoutProperties(props, _excluded$3);
|
|
4363
|
+
if (!width) {
|
|
4364
|
+
return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
|
|
4365
|
+
}
|
|
4366
|
+
return /*#__PURE__*/React.createElement(Resizable, {
|
|
4367
|
+
width: width,
|
|
4368
|
+
height: 0,
|
|
4369
|
+
onResize: onResize,
|
|
4370
|
+
draggableOpts: {
|
|
4371
|
+
enableUserSelectHack: false
|
|
4372
|
+
}
|
|
4373
|
+
}, /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps)));
|
|
4374
|
+
};
|
|
4371
4375
|
var initTableCode = {
|
|
4372
4376
|
'sku': ['skuSelect-tableOptionsToChoosePartCode', 'skuSelect-tableSelectedItemPartCode'],
|
|
4373
4377
|
'skc': ['skcSelect-tableOptionsToChoosePartCode', 'skcSelect-tableSelectedItemPartCode'],
|
|
@@ -4400,9 +4404,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
4400
4404
|
_props$businessType = props.businessType,
|
|
4401
4405
|
businessType = _props$businessType === void 0 ? 'sku' : _props$businessType,
|
|
4402
4406
|
_props$isAllowRepeate = props.isAllowRepeatedSelect,
|
|
4403
|
-
isAllowRepeatedSelect = _props$isAllowRepeate === void 0 ? false : _props$isAllowRepeate
|
|
4404
|
-
_props$noUseItemEanco = props.noUseItemEancode,
|
|
4405
|
-
noUseItemEancode = _props$noUseItemEanco === void 0 ? true : _props$noUseItemEanco;
|
|
4407
|
+
isAllowRepeatedSelect = _props$isAllowRepeate === void 0 ? false : _props$isAllowRepeate;
|
|
4406
4408
|
var _ref = requestConfig || {},
|
|
4407
4409
|
url = _ref.url,
|
|
4408
4410
|
otherParams = _ref.otherParams,
|
|
@@ -4559,76 +4561,74 @@ var AddSelect = function AddSelect(props) {
|
|
|
4559
4561
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
|
|
4560
4562
|
var result;
|
|
4561
4563
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
4562
|
-
while (1) {
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
_context.next = 3;
|
|
4569
|
-
break;
|
|
4570
|
-
}
|
|
4571
|
-
message$1.warning('相同skc配码不可设置相同哦');
|
|
4572
|
-
return _context.abrupt("return", false);
|
|
4573
|
-
case 3:
|
|
4574
|
-
if (!(bType == 'spu')) {
|
|
4575
|
-
_context.next = 26;
|
|
4576
|
-
break;
|
|
4577
|
-
}
|
|
4578
|
-
if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
|
|
4579
|
-
return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
|
|
4580
|
-
}))) {
|
|
4581
|
-
_context.next = 7;
|
|
4582
|
-
break;
|
|
4583
|
-
}
|
|
4584
|
-
message$1.warning('相同商品相同配码颜色不可设置相同哦');
|
|
4585
|
-
return _context.abrupt("return", false);
|
|
4586
|
-
case 7:
|
|
4587
|
-
if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
|
|
4588
|
-
_context.next = 10;
|
|
4589
|
-
break;
|
|
4590
|
-
}
|
|
4591
|
-
message$1.warning('请先选择颜色!');
|
|
4592
|
-
return _context.abrupt("return", false);
|
|
4593
|
-
case 10:
|
|
4594
|
-
if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
|
|
4595
|
-
return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
|
|
4596
|
-
}))) {
|
|
4597
|
-
_context.next = 13;
|
|
4598
|
-
break;
|
|
4599
|
-
}
|
|
4600
|
-
message$1.warning('相同商品相同颜色配码不可设置相同哦');
|
|
4601
|
-
return _context.abrupt("return", false);
|
|
4602
|
-
case 13:
|
|
4603
|
-
if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
|
|
4604
|
-
_context.next = 26;
|
|
4605
|
-
break;
|
|
4606
|
-
}
|
|
4607
|
-
result = true;
|
|
4608
|
-
_context.prev = 15;
|
|
4609
|
-
_context.next = 18;
|
|
4610
|
-
return checkSpuMatchCode({
|
|
4611
|
-
skcCode: recordItem[recordKey],
|
|
4612
|
-
matchingCode: changeValue,
|
|
4613
|
-
ext1: recordItem.colorName
|
|
4614
|
-
});
|
|
4615
|
-
case 18:
|
|
4616
|
-
result = _context.sent;
|
|
4617
|
-
result = true;
|
|
4618
|
-
_context.next = 25;
|
|
4564
|
+
while (1) switch (_context.prev = _context.next) {
|
|
4565
|
+
case 0:
|
|
4566
|
+
if (!(bType == 'skc' && tList.some(function (i) {
|
|
4567
|
+
return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
|
|
4568
|
+
}))) {
|
|
4569
|
+
_context.next = 3;
|
|
4619
4570
|
break;
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
|
|
4623
|
-
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4631
|
-
|
|
4571
|
+
}
|
|
4572
|
+
message$1.warning('相同skc配码不可设置相同哦');
|
|
4573
|
+
return _context.abrupt("return", false);
|
|
4574
|
+
case 3:
|
|
4575
|
+
if (!(bType == 'spu')) {
|
|
4576
|
+
_context.next = 26;
|
|
4577
|
+
break;
|
|
4578
|
+
}
|
|
4579
|
+
if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
|
|
4580
|
+
return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
|
|
4581
|
+
}))) {
|
|
4582
|
+
_context.next = 7;
|
|
4583
|
+
break;
|
|
4584
|
+
}
|
|
4585
|
+
message$1.warning('相同商品相同配码颜色不可设置相同哦');
|
|
4586
|
+
return _context.abrupt("return", false);
|
|
4587
|
+
case 7:
|
|
4588
|
+
if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
|
|
4589
|
+
_context.next = 10;
|
|
4590
|
+
break;
|
|
4591
|
+
}
|
|
4592
|
+
message$1.warning('请先选择颜色!');
|
|
4593
|
+
return _context.abrupt("return", false);
|
|
4594
|
+
case 10:
|
|
4595
|
+
if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
|
|
4596
|
+
return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
|
|
4597
|
+
}))) {
|
|
4598
|
+
_context.next = 13;
|
|
4599
|
+
break;
|
|
4600
|
+
}
|
|
4601
|
+
message$1.warning('相同商品相同颜色配码不可设置相同哦');
|
|
4602
|
+
return _context.abrupt("return", false);
|
|
4603
|
+
case 13:
|
|
4604
|
+
if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
|
|
4605
|
+
_context.next = 26;
|
|
4606
|
+
break;
|
|
4607
|
+
}
|
|
4608
|
+
result = true;
|
|
4609
|
+
_context.prev = 15;
|
|
4610
|
+
_context.next = 18;
|
|
4611
|
+
return checkSpuMatchCode({
|
|
4612
|
+
skcCode: recordItem[recordKey],
|
|
4613
|
+
matchingCode: changeValue,
|
|
4614
|
+
ext1: recordItem.colorName
|
|
4615
|
+
});
|
|
4616
|
+
case 18:
|
|
4617
|
+
result = _context.sent;
|
|
4618
|
+
result = true;
|
|
4619
|
+
_context.next = 25;
|
|
4620
|
+
break;
|
|
4621
|
+
case 22:
|
|
4622
|
+
_context.prev = 22;
|
|
4623
|
+
_context.t0 = _context["catch"](15);
|
|
4624
|
+
result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
|
|
4625
|
+
case 25:
|
|
4626
|
+
return _context.abrupt("return", result);
|
|
4627
|
+
case 26:
|
|
4628
|
+
return _context.abrupt("return", true);
|
|
4629
|
+
case 27:
|
|
4630
|
+
case "end":
|
|
4631
|
+
return _context.stop();
|
|
4632
4632
|
}
|
|
4633
4633
|
}, _callee, null, [[15, 22]]);
|
|
4634
4634
|
}));
|
|
@@ -4820,29 +4820,27 @@ var AddSelect = function AddSelect(props) {
|
|
|
4820
4820
|
var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
|
|
4821
4821
|
var isConformToTheRules, newPopValue;
|
|
4822
4822
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
4823
|
-
while (1) {
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4832
|
-
|
|
4833
|
-
|
|
4823
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
4824
|
+
case 0:
|
|
4825
|
+
_context2.next = 2;
|
|
4826
|
+
return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
|
|
4827
|
+
case 2:
|
|
4828
|
+
isConformToTheRules = _context2.sent;
|
|
4829
|
+
if (isConformToTheRules) {
|
|
4830
|
+
record[item.dataIndex] = value;
|
|
4831
|
+
} else {
|
|
4832
|
+
record[item.dataIndex] = null;
|
|
4833
|
+
}
|
|
4834
|
+
newPopValue = popvalue.map(function (i, innerIndex) {
|
|
4835
|
+
if (innerIndex == index) {
|
|
4836
|
+
i[item.dataIndex] = record[item.dataIndex];
|
|
4834
4837
|
}
|
|
4835
|
-
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4839
|
-
|
|
4840
|
-
|
|
4841
|
-
setPopValue(newPopValue);
|
|
4842
|
-
case 6:
|
|
4843
|
-
case "end":
|
|
4844
|
-
return _context2.stop();
|
|
4845
|
-
}
|
|
4838
|
+
return i;
|
|
4839
|
+
});
|
|
4840
|
+
setPopValue(newPopValue);
|
|
4841
|
+
case 6:
|
|
4842
|
+
case "end":
|
|
4843
|
+
return _context2.stop();
|
|
4846
4844
|
}
|
|
4847
4845
|
}, _callee2);
|
|
4848
4846
|
}));
|
|
@@ -4874,7 +4872,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
4874
4872
|
return /*#__PURE__*/React.createElement("span", {
|
|
4875
4873
|
style: {
|
|
4876
4874
|
cursor: 'pointer',
|
|
4877
|
-
color: '#
|
|
4875
|
+
color: '#02B56E'
|
|
4878
4876
|
},
|
|
4879
4877
|
onClick: function onClick() {
|
|
4880
4878
|
deleteRecord(record);
|
|
@@ -4902,94 +4900,95 @@ var AddSelect = function AddSelect(props) {
|
|
|
4902
4900
|
});
|
|
4903
4901
|
}
|
|
4904
4902
|
// 数组对象处理,对带有特殊标记的name进行处理
|
|
4905
|
-
|
|
4903
|
+
var _loop = function _loop() {
|
|
4906
4904
|
if (Object.prototype.hasOwnProperty.call(params, key)) {
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
|
|
4943
|
-
|
|
4944
|
-
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
if (params[key][0]
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4974
|
-
}
|
|
4975
|
-
delete params[key];
|
|
4976
|
-
} else if (Array.isArray(element)) {
|
|
4977
|
-
params[key] = element.join(',');
|
|
4978
|
-
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4979
|
-
delete params[key];
|
|
4905
|
+
var element = params[key];
|
|
4906
|
+
if (element && key.indexOf('*number*') >= 0) {
|
|
4907
|
+
var dataParams = key.split('*number*');
|
|
4908
|
+
dataParams.forEach(function (value, index) {
|
|
4909
|
+
params[value] = element[index];
|
|
4910
|
+
});
|
|
4911
|
+
delete params[key];
|
|
4912
|
+
} else if (element && key.indexOf('*address*') >= 0) {
|
|
4913
|
+
var _dataParams = key.split('*address*');
|
|
4914
|
+
_dataParams.forEach(function (value, index) {
|
|
4915
|
+
params[value] = element.PCDCode[index];
|
|
4916
|
+
});
|
|
4917
|
+
delete params[key];
|
|
4918
|
+
} else if (element && key.indexOf('*costType*') >= 0) {
|
|
4919
|
+
var _dataParams2 = key.split('*costType*');
|
|
4920
|
+
// eslint-disable-next-line prefer-destructuring
|
|
4921
|
+
params[_dataParams2[0]] = element[1];
|
|
4922
|
+
delete params[key];
|
|
4923
|
+
} else if (element && key.indexOf('*fullDate*') >= 0) {
|
|
4924
|
+
var _dataParams3 = key.split('*fullDate*');
|
|
4925
|
+
_dataParams3.forEach(function (value, index) {
|
|
4926
|
+
if (index === 0) {
|
|
4927
|
+
params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
|
|
4928
|
+
} else {
|
|
4929
|
+
params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
|
|
4930
|
+
}
|
|
4931
|
+
});
|
|
4932
|
+
delete params[key];
|
|
4933
|
+
} else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
|
|
4934
|
+
var _dataParams4 = key.split('*checkBox*');
|
|
4935
|
+
if (element) {
|
|
4936
|
+
params[_dataParams4[0]] = 0;
|
|
4937
|
+
}
|
|
4938
|
+
delete params[key];
|
|
4939
|
+
} else if (element && key.indexOf('*cascader*') >= 0) {
|
|
4940
|
+
var _dataParams5 = key.split('*cascader*');
|
|
4941
|
+
params[_dataParams5[0]] = element[element.length - 1];
|
|
4942
|
+
delete params[key];
|
|
4943
|
+
} else if (element && key.indexOf('*date*') >= 0) {
|
|
4944
|
+
var _dataParams6 = key.split('*date*');
|
|
4945
|
+
_dataParams6.forEach(function (value, index) {
|
|
4946
|
+
if (index === 0) {
|
|
4947
|
+
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4948
|
+
} else {
|
|
4949
|
+
params[value] = moment(element[index]).format('YYYY-MM-DD');
|
|
4950
|
+
}
|
|
4951
|
+
});
|
|
4952
|
+
delete params[key];
|
|
4953
|
+
} else if (element && key.indexOf('*') >= 0) {
|
|
4954
|
+
var _dataParams7 = key.split('*');
|
|
4955
|
+
_dataParams7.forEach(function (value, index) {
|
|
4956
|
+
params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
|
|
4957
|
+
});
|
|
4958
|
+
delete params[key];
|
|
4959
|
+
} else if (element && key.indexOf('_selectNumberRange') >= 0) {
|
|
4960
|
+
// key = xxxxx_selectNumberRange qp-xxxxx-gt
|
|
4961
|
+
var _dataParams8 = key.split('_selectNumberRange')[0];
|
|
4962
|
+
if (params[key][0] === 'range') {
|
|
4963
|
+
if (params[key][1][0]) {
|
|
4964
|
+
params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
|
|
4965
|
+
}
|
|
4966
|
+
if (params[key][1][1]) {
|
|
4967
|
+
params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
|
|
4968
|
+
}
|
|
4969
|
+
} else {
|
|
4970
|
+
params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
|
|
4980
4971
|
}
|
|
4981
|
-
|
|
4972
|
+
delete params[key];
|
|
4973
|
+
} else if (Array.isArray(element)) {
|
|
4974
|
+
params[key] = element.join(',');
|
|
4975
|
+
} else if (element == null || element === undefined || String(element).trim() === '') {
|
|
4976
|
+
delete params[key];
|
|
4977
|
+
}
|
|
4982
4978
|
}
|
|
4979
|
+
};
|
|
4980
|
+
for (var key in params) {
|
|
4981
|
+
_loop();
|
|
4983
4982
|
}
|
|
4984
4983
|
var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
|
|
4985
4984
|
pageSize: pageSize,
|
|
4986
4985
|
currentPage: currentPage
|
|
4987
4986
|
}, otherParams), fixedParam), params);
|
|
4988
4987
|
axios.get("".concat(url, "?").concat(stringify(queryParams))).then(function (result) {
|
|
4989
|
-
var
|
|
4988
|
+
var _result3, _result4;
|
|
4990
4989
|
setFetching(false);
|
|
4991
4990
|
result = result.data;
|
|
4992
|
-
if (((
|
|
4991
|
+
if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
|
|
4993
4992
|
message$1.error(result.msg);
|
|
4994
4993
|
return;
|
|
4995
4994
|
}
|
|
@@ -5070,65 +5069,14 @@ var AddSelect = function AddSelect(props) {
|
|
|
5070
5069
|
};
|
|
5071
5070
|
|
|
5072
5071
|
useEffect(function () {
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
})]).then(function (x) {
|
|
5082
|
-
var searchPosition1 = noUseItemEancode ? 3 : 2;
|
|
5083
|
-
var searchPosition2 = noUseItemEancode ? 4 : 3;
|
|
5084
|
-
formatSource(x, 0, searchPosition1, tableSearchForm, ['id', 'name']);
|
|
5085
|
-
formatTreeDataSource(x, 1, searchPosition2, tableSearchForm);
|
|
5086
|
-
});
|
|
5087
|
-
}
|
|
5088
|
-
if (businessType == 'skc') {
|
|
5089
|
-
Promise.all([loadSelectSource("/items/item/propertyValue/sizeBySkcConfig", {
|
|
5090
|
-
pageSize: 10000,
|
|
5091
|
-
currentPage: 1,
|
|
5092
|
-
type: 2 // 类型:1尺码;2颜色
|
|
5093
|
-
}), loadSelectSource("/items/category/queryCategoryTree", {
|
|
5094
|
-
pageSize: 5000,
|
|
5095
|
-
currentPage: 1
|
|
5096
|
-
}), loadSelectSource("/items/class/withProperty", {
|
|
5097
|
-
pageSize: 5000,
|
|
5098
|
-
currentPage: 1
|
|
5099
|
-
}), loadSelectSource("/items/brand/queryBrandList", {
|
|
5100
|
-
pageSize: 5000,
|
|
5101
|
-
currentPage: 1,
|
|
5102
|
-
'ctl-withAuth': true
|
|
5103
|
-
})]).then(function (x) {
|
|
5104
|
-
formatSource(x, 0, 3, tableSearchForm, ['value', 'value']);
|
|
5105
|
-
formatTreeDataSource(x, 1, 4, tableSearchForm);
|
|
5106
|
-
formatSource(x, 2, 5, tableSearchForm, ['id', 'name']);
|
|
5107
|
-
formatSource(x, 3, 6, tableSearchForm, ['id', 'name']);
|
|
5108
|
-
});
|
|
5109
|
-
}
|
|
5110
|
-
if (businessType == 'spu') {
|
|
5111
|
-
Promise.all([loadSelectSource("/user/orgViewNode/listNoPage", {
|
|
5112
|
-
'qp-employeeId-eq': getEmployeeId(),
|
|
5113
|
-
'qp-orgViewCode-eq': 'business-organizational-view',
|
|
5114
|
-
'ctl-withDefaultOrg': true
|
|
5115
|
-
}), loadSelectSource("/items/brand/queryBrandList", {
|
|
5116
|
-
pageSize: 5000,
|
|
5117
|
-
currentPage: 1,
|
|
5118
|
-
'ctl-withAuth': true
|
|
5119
|
-
}), loadSelectSource("/items/category/queryCategoryTree", {
|
|
5120
|
-
pageSize: 5000,
|
|
5121
|
-
currentPage: 1
|
|
5122
|
-
}), loadSelectSource("/items/class/withProperty", {
|
|
5123
|
-
pageSize: 5000,
|
|
5124
|
-
currentPage: 1
|
|
5125
|
-
})]).then(function (x) {
|
|
5126
|
-
formatSource(x, 0, 2, tableSearchForm, ['targetId', 'name']);
|
|
5127
|
-
formatSource(x, 1, 3, tableSearchForm, ['id', 'name']);
|
|
5128
|
-
formatTreeDataSource(x, 2, 4, tableSearchForm);
|
|
5129
|
-
formatSource(x, 3, 5, tableSearchForm, ['id', 'name']);
|
|
5130
|
-
});
|
|
5131
|
-
}
|
|
5072
|
+
var pList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.promiseLoadList) || [];
|
|
5073
|
+
if (!(pList === null || pList === void 0 ? void 0 : pList.length)) return;
|
|
5074
|
+
var list = pList.map(function (i) {
|
|
5075
|
+
return loadSelectSource(i.url, i.params);
|
|
5076
|
+
});
|
|
5077
|
+
Promise.all(list).then(function (x) {
|
|
5078
|
+
formatFormSourceList(x, pList, tableSearchForm);
|
|
5079
|
+
});
|
|
5132
5080
|
}, [businessType]);
|
|
5133
5081
|
useEffect(function () {
|
|
5134
5082
|
if (value) {
|
|
@@ -5318,7 +5266,7 @@ var AddSelect = function AddSelect(props) {
|
|
|
5318
5266
|
}
|
|
5319
5267
|
};
|
|
5320
5268
|
var themeColor = {
|
|
5321
|
-
color: '#
|
|
5269
|
+
color: '#02B56E'
|
|
5322
5270
|
};
|
|
5323
5271
|
var formItem = function formItem(list) {
|
|
5324
5272
|
if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
|
|
@@ -5409,10 +5357,10 @@ var AddSelect = function AddSelect(props) {
|
|
|
5409
5357
|
setSelectedRowKeys([]);
|
|
5410
5358
|
} else {
|
|
5411
5359
|
setPopValue(popvalue.filter(function (item) {
|
|
5412
|
-
return item
|
|
5360
|
+
return item[selectRowKey] !== record[selectRowKey];
|
|
5413
5361
|
}));
|
|
5414
5362
|
setSelectedRowKeys(_toConsumableArray(selectedRowKeys.filter(function (item) {
|
|
5415
|
-
return item !== record
|
|
5363
|
+
return item !== record[selectRowKey];
|
|
5416
5364
|
})));
|
|
5417
5365
|
}
|
|
5418
5366
|
};
|
|
@@ -5512,8 +5460,8 @@ var AddSelect = function AddSelect(props) {
|
|
|
5512
5460
|
}, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
|
|
5513
5461
|
key: "save-and-continue",
|
|
5514
5462
|
style: {
|
|
5515
|
-
color: '#
|
|
5516
|
-
borderColor: '#
|
|
5463
|
+
color: '#02B56E',
|
|
5464
|
+
borderColor: '#02B56E'
|
|
5517
5465
|
},
|
|
5518
5466
|
onClick: function onClick() {
|
|
5519
5467
|
handleOk(true);
|
|
@@ -5763,7 +5711,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
5763
5711
|
var _tableRef$current;
|
|
5764
5712
|
var dom = tableRef === null || tableRef === void 0 ? void 0 : (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[0];
|
|
5765
5713
|
if (dom) {
|
|
5766
|
-
dom.style.background = '#
|
|
5714
|
+
dom.style.background = '#02B56E30';
|
|
5767
5715
|
}
|
|
5768
5716
|
}
|
|
5769
5717
|
}, [hoverVisibled, tableRef === null || tableRef === void 0 ? void 0 : tableRef.current]);
|
|
@@ -5813,7 +5761,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
5813
5761
|
if (dom) {
|
|
5814
5762
|
tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
|
|
5815
5763
|
setSelectIndex(currentIndex + 1);
|
|
5816
|
-
dom.style.background = '#
|
|
5764
|
+
dom.style.background = '#02B56E30';
|
|
5817
5765
|
dom.scrollIntoViewIfNeeded(false);
|
|
5818
5766
|
}
|
|
5819
5767
|
} else if (e.keyCode === 38) {
|
|
@@ -5821,7 +5769,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
5821
5769
|
if (_dom) {
|
|
5822
5770
|
tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
|
|
5823
5771
|
setSelectIndex(currentIndex - 1);
|
|
5824
|
-
_dom.style.background = '#
|
|
5772
|
+
_dom.style.background = '#02B56E30';
|
|
5825
5773
|
_dom.scrollIntoViewIfNeeded(false);
|
|
5826
5774
|
}
|
|
5827
5775
|
}
|
|
@@ -5834,7 +5782,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
5834
5782
|
// body: {
|
|
5835
5783
|
// cell: ({index, record, ...props}) => {
|
|
5836
5784
|
// debugger
|
|
5837
|
-
// return <td {...props} style={selectIndex === record?.index ? {background: '#
|
|
5785
|
+
// return <td {...props} style={selectIndex === record?.index ? {background: '#02B56E30'} : {} } />
|
|
5838
5786
|
// }
|
|
5839
5787
|
// }
|
|
5840
5788
|
// }
|
|
@@ -5847,7 +5795,7 @@ var InputElement = function InputElement(_ref) {
|
|
|
5847
5795
|
_toConsumableArray(tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')).map(function (item) {
|
|
5848
5796
|
item.style.background = '';
|
|
5849
5797
|
});
|
|
5850
|
-
dom.style.background = '#
|
|
5798
|
+
dom.style.background = '#02B56E30';
|
|
5851
5799
|
dom.scrollIntoViewIfNeeded(false);
|
|
5852
5800
|
}
|
|
5853
5801
|
setSelectIndex(index);
|
|
@@ -6354,7 +6302,7 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
6354
6302
|
return /*#__PURE__*/React.createElement("span", {
|
|
6355
6303
|
style: {
|
|
6356
6304
|
cursor: 'pointer',
|
|
6357
|
-
color: '#
|
|
6305
|
+
color: '#02B56E'
|
|
6358
6306
|
},
|
|
6359
6307
|
onClick: function onClick() {
|
|
6360
6308
|
deleteRecord(record);
|
|
@@ -6436,72 +6384,70 @@ var BillEntry = function BillEntry(_ref3) {
|
|
|
6436
6384
|
var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
6437
6385
|
var canEntryObject, _canEntryObject$error, messageInfo;
|
|
6438
6386
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
6439
|
-
while (1) {
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6468
|
-
|
|
6469
|
-
|
|
6470
|
-
|
|
6471
|
-
|
|
6472
|
-
|
|
6473
|
-
|
|
6474
|
-
|
|
6475
|
-
|
|
6476
|
-
|
|
6477
|
-
|
|
6478
|
-
messageInfo
|
|
6479
|
-
|
|
6480
|
-
|
|
6481
|
-
|
|
6482
|
-
|
|
6483
|
-
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
|
|
6492
|
-
|
|
6493
|
-
message$1.success(initSuccessMessage);
|
|
6494
|
-
}
|
|
6387
|
+
while (1) switch (_context.prev = _context.next) {
|
|
6388
|
+
case 0:
|
|
6389
|
+
if (data === null || data === void 0 ? void 0 : data.length) {
|
|
6390
|
+
_context.next = 3;
|
|
6391
|
+
break;
|
|
6392
|
+
}
|
|
6393
|
+
message$1.warning('至少录入一条数据');
|
|
6394
|
+
return _context.abrupt("return");
|
|
6395
|
+
case 3:
|
|
6396
|
+
if (data === null || data === void 0 ? void 0 : data.every(function (d) {
|
|
6397
|
+
return d.skuCode && d.name;
|
|
6398
|
+
})) {
|
|
6399
|
+
_context.next = 6;
|
|
6400
|
+
break;
|
|
6401
|
+
}
|
|
6402
|
+
message$1.warning('请选择商品!');
|
|
6403
|
+
return _context.abrupt("return");
|
|
6404
|
+
case 6:
|
|
6405
|
+
if (data === null || data === void 0 ? void 0 : data.every(function (d) {
|
|
6406
|
+
return d.count;
|
|
6407
|
+
})) {
|
|
6408
|
+
_context.next = 9;
|
|
6409
|
+
break;
|
|
6410
|
+
}
|
|
6411
|
+
message$1.warning('请填写商品数量!');
|
|
6412
|
+
return _context.abrupt("return");
|
|
6413
|
+
case 9:
|
|
6414
|
+
_context.next = 11;
|
|
6415
|
+
return isSkuCanEntry(data);
|
|
6416
|
+
case 11:
|
|
6417
|
+
canEntryObject = _context.sent;
|
|
6418
|
+
if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
|
|
6419
|
+
_context.next = 16;
|
|
6420
|
+
break;
|
|
6421
|
+
}
|
|
6422
|
+
messageInfo = (canEntryObject === null || canEntryObject === void 0 ? void 0 : (_canEntryObject$error = canEntryObject.errorList) === null || _canEntryObject$error === void 0 ? void 0 : _canEntryObject$error.length) && (canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.errorList.map(function (i) {
|
|
6423
|
+
return /*#__PURE__*/React.createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
|
|
6424
|
+
}));
|
|
6425
|
+
messageInfo && message$1.warning({
|
|
6426
|
+
content: messageInfo,
|
|
6427
|
+
duration: 6
|
|
6428
|
+
});
|
|
6429
|
+
return _context.abrupt("return");
|
|
6430
|
+
case 16:
|
|
6431
|
+
setLoading(true);
|
|
6432
|
+
onSaveCallback(data).then(function (res) {
|
|
6433
|
+
{
|
|
6434
|
+
var _Object$keys;
|
|
6435
|
+
var initSuccessMessage = '保存成功';
|
|
6436
|
+
var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
|
|
6437
|
+
if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
|
|
6438
|
+
(rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? message$1.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
|
|
6439
|
+
} else {
|
|
6440
|
+
message$1.success(initSuccessMessage);
|
|
6495
6441
|
}
|
|
6496
|
-
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
|
|
6501
|
-
|
|
6502
|
-
|
|
6503
|
-
|
|
6504
|
-
|
|
6442
|
+
}
|
|
6443
|
+
setLoading(false);
|
|
6444
|
+
}).catch(function (Error) {
|
|
6445
|
+
message$1.error(Error);
|
|
6446
|
+
setLoading(false);
|
|
6447
|
+
});
|
|
6448
|
+
case 18:
|
|
6449
|
+
case "end":
|
|
6450
|
+
return _context.stop();
|
|
6505
6451
|
}
|
|
6506
6452
|
}, _callee);
|
|
6507
6453
|
}));
|
|
@@ -8745,9 +8691,16 @@ var BusinessSearchSelect$1 = /*#__PURE__*/React.memo(BusinessSearchSelect, funct
|
|
|
8745
8691
|
// import { getCurrentTargetBgId } from '@/utils/LocalstorageUtils';
|
|
8746
8692
|
function handleSelectColumn(c, parentProps) {
|
|
8747
8693
|
var result = c;
|
|
8694
|
+
var showColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showColumns) || [];
|
|
8748
8695
|
var exceptColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptColumns) || [];
|
|
8749
8696
|
var coverColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverColumns) || [];
|
|
8750
8697
|
var additionColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.additionColumns) || [];
|
|
8698
|
+
// 仅展示内容
|
|
8699
|
+
if (showColumns === null || showColumns === void 0 ? void 0 : showColumns.length) {
|
|
8700
|
+
result = result.filter(function (i) {
|
|
8701
|
+
return showColumns.includes(i.dataIndex);
|
|
8702
|
+
});
|
|
8703
|
+
}
|
|
8751
8704
|
// 过滤不需要展示内容
|
|
8752
8705
|
if (exceptColumns === null || exceptColumns === void 0 ? void 0 : exceptColumns.length) {
|
|
8753
8706
|
result = result.filter(function (i) {
|
|
@@ -8766,6 +8719,57 @@ function handleSelectColumn(c, parentProps) {
|
|
|
8766
8719
|
}
|
|
8767
8720
|
return result;
|
|
8768
8721
|
}
|
|
8722
|
+
function handleSearchForm(c, parentProps) {
|
|
8723
|
+
var result = c;
|
|
8724
|
+
var showTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showTableSearchForm) || [];
|
|
8725
|
+
var exceptTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptTableSearchForm) || [];
|
|
8726
|
+
var coverTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableSearchForm) || [];
|
|
8727
|
+
// 仅展示内容
|
|
8728
|
+
if (showTableSearchForm === null || showTableSearchForm === void 0 ? void 0 : showTableSearchForm.length) {
|
|
8729
|
+
result = result.filter(function (i) {
|
|
8730
|
+
return showTableSearchForm.includes(i.name);
|
|
8731
|
+
});
|
|
8732
|
+
}
|
|
8733
|
+
// 过滤不需要展示内容
|
|
8734
|
+
if (exceptTableSearchForm === null || exceptTableSearchForm === void 0 ? void 0 : exceptTableSearchForm.length) {
|
|
8735
|
+
result = result.filter(function (i) {
|
|
8736
|
+
return !exceptTableSearchForm.includes(i.name);
|
|
8737
|
+
});
|
|
8738
|
+
}
|
|
8739
|
+
// 覆盖内容
|
|
8740
|
+
if (coverTableSearchForm === null || coverTableSearchForm === void 0 ? void 0 : coverTableSearchForm.length) {
|
|
8741
|
+
result = coverTableSearchForm;
|
|
8742
|
+
}
|
|
8743
|
+
return result;
|
|
8744
|
+
}
|
|
8745
|
+
function handleFormSearchSourceLoad(c, parentProps) {
|
|
8746
|
+
var result = c;
|
|
8747
|
+
var showTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showTableFormSearchSourceLoad) || [];
|
|
8748
|
+
var exceptTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptTableFormSearchSourceLoad) || [];
|
|
8749
|
+
var coverTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableFormSearchSourceLoad) || [];
|
|
8750
|
+
var noNeedTableFormSearchSourceLoad = parentProps === null || parentProps === void 0 ? void 0 : parentProps.noNeedTableFormSearchSourceLoad;
|
|
8751
|
+
// 仅展示内容
|
|
8752
|
+
if (showTableFormSearchSourceLoad === null || showTableFormSearchSourceLoad === void 0 ? void 0 : showTableFormSearchSourceLoad.length) {
|
|
8753
|
+
result = result.filter(function (i) {
|
|
8754
|
+
return showTableFormSearchSourceLoad.includes(i.url);
|
|
8755
|
+
});
|
|
8756
|
+
}
|
|
8757
|
+
// 过滤不需要展示内容
|
|
8758
|
+
if (exceptTableFormSearchSourceLoad === null || exceptTableFormSearchSourceLoad === void 0 ? void 0 : exceptTableFormSearchSourceLoad.length) {
|
|
8759
|
+
result = result.filter(function (i) {
|
|
8760
|
+
return !exceptTableFormSearchSourceLoad.includes(i.url);
|
|
8761
|
+
});
|
|
8762
|
+
}
|
|
8763
|
+
// 覆盖内容
|
|
8764
|
+
if (coverTableFormSearchSourceLoad === null || coverTableFormSearchSourceLoad === void 0 ? void 0 : coverTableFormSearchSourceLoad.length) {
|
|
8765
|
+
result = coverTableFormSearchSourceLoad;
|
|
8766
|
+
}
|
|
8767
|
+
// 不需要默认请求
|
|
8768
|
+
if (noNeedTableFormSearchSourceLoad) {
|
|
8769
|
+
result = [];
|
|
8770
|
+
}
|
|
8771
|
+
return result;
|
|
8772
|
+
}
|
|
8769
8773
|
var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
8770
8774
|
var _parProps$requestConf, _parProps$requestConf2;
|
|
8771
8775
|
var selectProps = {
|
|
@@ -8872,234 +8876,258 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
|
|
|
8872
8876
|
dataIndex: 'propertyNameAndValue'
|
|
8873
8877
|
}]);
|
|
8874
8878
|
var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
|
|
8875
|
-
var
|
|
8876
|
-
|
|
8877
|
-
|
|
8878
|
-
|
|
8879
|
-
|
|
8880
|
-
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
|
|
8884
|
-
otherParams: _objectSpread2({
|
|
8885
|
-
'qp-combination-eq': false,
|
|
8886
|
-
'qp-approveStatus-eq': 1,
|
|
8887
|
-
'qp-status-eq': 1
|
|
8888
|
-
}, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.addOtherParams) || {}),
|
|
8889
|
-
mappingTextField: 'name',
|
|
8890
|
-
mappingValueField: 'skuCode'
|
|
8891
|
-
}, parProps.requestConfig),
|
|
8892
|
-
selectProps: selectProps,
|
|
8893
|
-
onChange: function onChange(value) {
|
|
8894
|
-
console.log(value);
|
|
8895
|
-
setValue(value);
|
|
8879
|
+
var initialTableColumn = [{
|
|
8880
|
+
title: 'SKU编码',
|
|
8881
|
+
width: 150,
|
|
8882
|
+
dataIndex: 'skuCode'
|
|
8883
|
+
}, {
|
|
8884
|
+
title: 'SKU名称',
|
|
8885
|
+
width: 200,
|
|
8886
|
+
ellipsis: {
|
|
8887
|
+
showTitle: false
|
|
8896
8888
|
},
|
|
8897
|
-
|
|
8898
|
-
|
|
8899
|
-
|
|
8900
|
-
|
|
8901
|
-
|
|
8902
|
-
|
|
8903
|
-
|
|
8904
|
-
|
|
8905
|
-
|
|
8906
|
-
|
|
8907
|
-
|
|
8908
|
-
|
|
8909
|
-
|
|
8910
|
-
|
|
8911
|
-
|
|
8912
|
-
|
|
8913
|
-
|
|
8914
|
-
|
|
8915
|
-
|
|
8916
|
-
|
|
8917
|
-
|
|
8918
|
-
|
|
8919
|
-
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8931
|
-
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
8955
|
-
|
|
8956
|
-
|
|
8957
|
-
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8962
|
-
|
|
8963
|
-
|
|
8964
|
-
|
|
8965
|
-
|
|
8966
|
-
|
|
8967
|
-
|
|
8968
|
-
|
|
8969
|
-
|
|
8970
|
-
|
|
8971
|
-
|
|
8972
|
-
|
|
8973
|
-
|
|
8974
|
-
|
|
8975
|
-
|
|
8976
|
-
|
|
8977
|
-
|
|
8978
|
-
|
|
8979
|
-
|
|
8980
|
-
|
|
8981
|
-
|
|
8982
|
-
|
|
8983
|
-
|
|
8984
|
-
|
|
8985
|
-
|
|
8986
|
-
|
|
8987
|
-
|
|
8988
|
-
|
|
8989
|
-
|
|
8990
|
-
|
|
8991
|
-
|
|
8992
|
-
|
|
8993
|
-
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
|
|
9007
|
-
|
|
9008
|
-
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
8889
|
+
render: function render(text) {
|
|
8890
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8891
|
+
placement: "topLeft",
|
|
8892
|
+
title: text
|
|
8893
|
+
}, text);
|
|
8894
|
+
},
|
|
8895
|
+
dataIndex: 'name'
|
|
8896
|
+
}, {
|
|
8897
|
+
title: '图片',
|
|
8898
|
+
dataIndex: 'itemUrl',
|
|
8899
|
+
width: 200,
|
|
8900
|
+
ellipsis: {
|
|
8901
|
+
showTitle: false
|
|
8902
|
+
},
|
|
8903
|
+
render: function render(text, record) {
|
|
8904
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8905
|
+
placement: "topLeft",
|
|
8906
|
+
title: text
|
|
8907
|
+
}, tableColumnsImage(getSkuImg(record), {
|
|
8908
|
+
width: 20,
|
|
8909
|
+
height: 20
|
|
8910
|
+
}));
|
|
8911
|
+
}
|
|
8912
|
+
}].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
|
|
8913
|
+
title: '商品条码',
|
|
8914
|
+
width: 100,
|
|
8915
|
+
ellipsis: {
|
|
8916
|
+
showTitle: false
|
|
8917
|
+
},
|
|
8918
|
+
dataIndex: 'itemEancode',
|
|
8919
|
+
render: function render(text) {
|
|
8920
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8921
|
+
placement: "topLeft",
|
|
8922
|
+
title: text
|
|
8923
|
+
}, text);
|
|
8924
|
+
}
|
|
8925
|
+
}]), [{
|
|
8926
|
+
title: '所属SPU名称',
|
|
8927
|
+
width: 100,
|
|
8928
|
+
ellipsis: {
|
|
8929
|
+
showTitle: false
|
|
8930
|
+
},
|
|
8931
|
+
dataIndex: 'itemName',
|
|
8932
|
+
render: function render(text) {
|
|
8933
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8934
|
+
placement: "topLeft",
|
|
8935
|
+
title: text
|
|
8936
|
+
}, text);
|
|
8937
|
+
}
|
|
8938
|
+
}, {
|
|
8939
|
+
title: '所属SPU编码',
|
|
8940
|
+
width: 100,
|
|
8941
|
+
ellipsis: {
|
|
8942
|
+
showTitle: false
|
|
8943
|
+
},
|
|
8944
|
+
dataIndex: 'itemCode',
|
|
8945
|
+
render: function render(text) {
|
|
8946
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8947
|
+
placement: "topLeft",
|
|
8948
|
+
title: text
|
|
8949
|
+
}, text);
|
|
8950
|
+
}
|
|
8951
|
+
}, {
|
|
8952
|
+
title: '外部编码',
|
|
8953
|
+
width: 100,
|
|
8954
|
+
ellipsis: {
|
|
8955
|
+
showTitle: false
|
|
8956
|
+
},
|
|
8957
|
+
render: function render(text) {
|
|
8958
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8959
|
+
placement: "topLeft",
|
|
8960
|
+
title: text
|
|
8961
|
+
}, text);
|
|
8962
|
+
},
|
|
8963
|
+
dataIndex: 'externalCode'
|
|
8964
|
+
}, {
|
|
8965
|
+
title: '规格',
|
|
8966
|
+
width: 100,
|
|
8967
|
+
ellipsis: {
|
|
8968
|
+
showTitle: false
|
|
8969
|
+
},
|
|
8970
|
+
render: function render(text) {
|
|
8971
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8972
|
+
placement: "topLeft",
|
|
8973
|
+
title: text
|
|
8974
|
+
}, text);
|
|
8975
|
+
},
|
|
8976
|
+
dataIndex: 'propertyNameAndValue'
|
|
8977
|
+
}, {
|
|
8978
|
+
title: '类目',
|
|
8979
|
+
width: 100,
|
|
8980
|
+
ellipsis: {
|
|
8981
|
+
showTitle: false
|
|
8982
|
+
},
|
|
8983
|
+
render: function render(text) {
|
|
8984
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8985
|
+
placement: "topLeft",
|
|
8986
|
+
title: text
|
|
8987
|
+
}, text);
|
|
8988
|
+
},
|
|
8989
|
+
dataIndex: 'categoryName'
|
|
8990
|
+
}, {
|
|
8991
|
+
title: '品类',
|
|
8992
|
+
width: 100,
|
|
8993
|
+
ellipsis: {
|
|
8994
|
+
showTitle: false
|
|
8995
|
+
},
|
|
8996
|
+
render: function render(text) {
|
|
8997
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
8998
|
+
placement: "topLeft",
|
|
8999
|
+
title: text
|
|
9000
|
+
}, text);
|
|
9001
|
+
},
|
|
9002
|
+
dataIndex: 'className'
|
|
9003
|
+
}, {
|
|
9004
|
+
title: '品牌',
|
|
9005
|
+
width: 100,
|
|
9006
|
+
ellipsis: {
|
|
9007
|
+
showTitle: false
|
|
9008
|
+
},
|
|
9009
|
+
render: function render(text) {
|
|
9010
|
+
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
9011
|
+
placement: "topLeft",
|
|
9012
|
+
title: text
|
|
9013
|
+
}, text);
|
|
9014
|
+
},
|
|
9015
|
+
dataIndex: 'brandName'
|
|
9016
|
+
}]);
|
|
9017
|
+
var mTpTableColumn = handleSelectColumn(initialTableColumn, parProps);
|
|
9018
|
+
var initialTableSearchForm = [{
|
|
9019
|
+
name: 'qp-skuCode-like',
|
|
9020
|
+
label: 'SKU编码'
|
|
9021
|
+
}, {
|
|
9022
|
+
name: 'qp-skuName-like',
|
|
9023
|
+
label: 'SKU名称'
|
|
9024
|
+
}].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
|
|
9025
|
+
name: 'qp-code-in',
|
|
9026
|
+
label: '商品条码',
|
|
9027
|
+
field: {
|
|
9028
|
+
type: 'multipleQueryInput',
|
|
9029
|
+
props: _objectSpread2({}, ((_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.itemEancodeValueRequestConfig) || {})
|
|
9030
|
+
}
|
|
9031
|
+
}]), [{
|
|
9032
|
+
name: 'qp-brandId-in',
|
|
9033
|
+
type: 'select',
|
|
9034
|
+
label: '品牌',
|
|
9035
|
+
field: {
|
|
9036
|
+
type: 'select',
|
|
9037
|
+
props: {
|
|
9038
|
+
mode: 'multiple',
|
|
9039
|
+
notFoundContent: '暂无数据',
|
|
9040
|
+
allowClear: true,
|
|
9041
|
+
showSearch: true,
|
|
9042
|
+
showArrow: true,
|
|
9043
|
+
maxTagCount: 1,
|
|
9044
|
+
optionFilterProp: 'children',
|
|
9045
|
+
filterOption: function filterOption(input, option) {
|
|
9046
|
+
return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
|
|
9047
|
+
}
|
|
9022
9048
|
}
|
|
9023
|
-
}
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9034
|
-
|
|
9049
|
+
}
|
|
9050
|
+
}, {
|
|
9051
|
+
name: 'qp-categoryId-in',
|
|
9052
|
+
type: 'treeSelect',
|
|
9053
|
+
label: '类目',
|
|
9054
|
+
field: {
|
|
9055
|
+
type: 'treeSelect',
|
|
9056
|
+
props: {
|
|
9057
|
+
treeData: [],
|
|
9058
|
+
treeCheckable: true,
|
|
9059
|
+
showSearch: true,
|
|
9060
|
+
allowClear: true,
|
|
9061
|
+
showArrow: true,
|
|
9062
|
+
treeNodeFilterProp: 'title',
|
|
9063
|
+
treeDefaultExpandAll: true,
|
|
9064
|
+
maxTagCount: 1,
|
|
9065
|
+
placeholder: '请选择',
|
|
9066
|
+
style: {
|
|
9067
|
+
width: '100%'
|
|
9068
|
+
},
|
|
9069
|
+
dropdownStyle: {
|
|
9070
|
+
maxHeight: 400,
|
|
9071
|
+
maxWidth: 100,
|
|
9072
|
+
overflow: 'auto'
|
|
9073
|
+
}
|
|
9035
9074
|
}
|
|
9036
|
-
}
|
|
9037
|
-
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9046
|
-
|
|
9047
|
-
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9057
|
-
|
|
9058
|
-
|
|
9059
|
-
|
|
9060
|
-
|
|
9061
|
-
|
|
9062
|
-
|
|
9063
|
-
|
|
9064
|
-
|
|
9065
|
-
|
|
9066
|
-
|
|
9067
|
-
|
|
9068
|
-
|
|
9069
|
-
|
|
9070
|
-
|
|
9071
|
-
|
|
9072
|
-
|
|
9073
|
-
|
|
9074
|
-
|
|
9075
|
-
},
|
|
9076
|
-
|
|
9077
|
-
|
|
9078
|
-
|
|
9079
|
-
|
|
9080
|
-
|
|
9081
|
-
|
|
9082
|
-
|
|
9083
|
-
|
|
9084
|
-
|
|
9085
|
-
|
|
9086
|
-
|
|
9087
|
-
|
|
9088
|
-
|
|
9089
|
-
|
|
9090
|
-
|
|
9091
|
-
|
|
9092
|
-
showTitle: false
|
|
9093
|
-
},
|
|
9094
|
-
render: function render(text) {
|
|
9095
|
-
return /*#__PURE__*/React.createElement(Tooltip, {
|
|
9096
|
-
placement: "topLeft",
|
|
9097
|
-
title: text
|
|
9098
|
-
}, text);
|
|
9099
|
-
},
|
|
9100
|
-
dataIndex: 'brandName'
|
|
9101
|
-
}]),
|
|
9102
|
-
selectColumn: mTpSelectColumn
|
|
9075
|
+
}
|
|
9076
|
+
}], _toConsumableArray((parProps === null || parProps === void 0 ? void 0 : parProps.addTableSearchForm) || []));
|
|
9077
|
+
var mTpTableSearchForm = handleSearchForm(initialTableSearchForm, parProps);
|
|
9078
|
+
var initialPromiseLoadList = [{
|
|
9079
|
+
url: "/items/brand/queryBrandList",
|
|
9080
|
+
params: {
|
|
9081
|
+
pageSize: 5000,
|
|
9082
|
+
currentPage: 1,
|
|
9083
|
+
'ctl-withAuth': true
|
|
9084
|
+
},
|
|
9085
|
+
resType: 'list',
|
|
9086
|
+
resPosition: isNoUseItemBarcode ? 2 : 3,
|
|
9087
|
+
resKeyValue: ['id', 'name']
|
|
9088
|
+
}, {
|
|
9089
|
+
url: "/items/category/queryCategoryTree",
|
|
9090
|
+
params: {
|
|
9091
|
+
pageSize: 5000,
|
|
9092
|
+
currentPage: 1
|
|
9093
|
+
},
|
|
9094
|
+
resType: 'treeList',
|
|
9095
|
+
resPosition: isNoUseItemBarcode ? 3 : 4
|
|
9096
|
+
}];
|
|
9097
|
+
var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
|
|
9098
|
+
var props = {
|
|
9099
|
+
buttonText: parProps.buttonText || '新增',
|
|
9100
|
+
buttonProps: parProps.buttonProps || {},
|
|
9101
|
+
tableCodeList: parProps.tableCodeList || [],
|
|
9102
|
+
value: value,
|
|
9103
|
+
// labelInValue: true, // 非必填 默认为false
|
|
9104
|
+
requestConfig: _objectSpread2({
|
|
9105
|
+
url: "/items/sku/pager/v2",
|
|
9106
|
+
filter: 'qp-name-like',
|
|
9107
|
+
otherParams: _objectSpread2({
|
|
9108
|
+
'qp-combination-eq': false,
|
|
9109
|
+
'qp-approveStatus-eq': 1,
|
|
9110
|
+
'qp-status-eq': 1
|
|
9111
|
+
}, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.addOtherParams) || {}),
|
|
9112
|
+
mappingTextField: 'name',
|
|
9113
|
+
mappingValueField: 'skuCode'
|
|
9114
|
+
}, parProps.requestConfig),
|
|
9115
|
+
selectProps: selectProps,
|
|
9116
|
+
onChange: function onChange(value) {
|
|
9117
|
+
console.log(value);
|
|
9118
|
+
setValue(value);
|
|
9119
|
+
},
|
|
9120
|
+
beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
|
|
9121
|
+
onSaveCallback: parProps.onSaveCallback,
|
|
9122
|
+
businessType: 'sku',
|
|
9123
|
+
isAllowRepeatedSelect: !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect)
|
|
9124
|
+
};
|
|
9125
|
+
var modalTableProps = {
|
|
9126
|
+
modalTableTitle: '选择商品',
|
|
9127
|
+
tableSearchForm: mTpTableSearchForm,
|
|
9128
|
+
tableColumns: mTpTableColumn,
|
|
9129
|
+
selectColumn: mTpSelectColumn,
|
|
9130
|
+
promiseLoadList: mTpPromiseLoadList
|
|
9103
9131
|
};
|
|
9104
9132
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
9105
9133
|
modalTableProps: modalTableProps
|
|
@@ -9175,6 +9203,45 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
|
|
|
9175
9203
|
dataIndex: 'count'
|
|
9176
9204
|
}];
|
|
9177
9205
|
var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
|
|
9206
|
+
var initialPromiseLoadList = [{
|
|
9207
|
+
url: "/items/item/propertyValue/sizeBySkcConfig",
|
|
9208
|
+
params: {
|
|
9209
|
+
pageSize: 10000,
|
|
9210
|
+
currentPage: 1,
|
|
9211
|
+
type: 2 // 类型:1尺码;2颜色
|
|
9212
|
+
},
|
|
9213
|
+
|
|
9214
|
+
resType: 'list',
|
|
9215
|
+
resPosition: 3,
|
|
9216
|
+
resKeyValue: ['value', 'value']
|
|
9217
|
+
}, {
|
|
9218
|
+
url: "/items/category/queryCategoryTree",
|
|
9219
|
+
params: {
|
|
9220
|
+
pageSize: 5000,
|
|
9221
|
+
currentPage: 1
|
|
9222
|
+
},
|
|
9223
|
+
resType: 'treeList',
|
|
9224
|
+
resPosition: 4
|
|
9225
|
+
}, {
|
|
9226
|
+
url: "/items/class/withProperty",
|
|
9227
|
+
params: {
|
|
9228
|
+
pageSize: 5000,
|
|
9229
|
+
currentPage: 1
|
|
9230
|
+
},
|
|
9231
|
+
resType: 'list',
|
|
9232
|
+
resPosition: 5,
|
|
9233
|
+
resKeyValue: ['id', 'name']
|
|
9234
|
+
}, {
|
|
9235
|
+
url: "/items/brand/queryBrandList",
|
|
9236
|
+
params: {
|
|
9237
|
+
pageSize: 5000,
|
|
9238
|
+
currentPage: 1,
|
|
9239
|
+
'ctl-withAuth': true
|
|
9240
|
+
},
|
|
9241
|
+
resType: 'list',
|
|
9242
|
+
resPosition: 6,
|
|
9243
|
+
resKeyValue: ['id', 'name']
|
|
9244
|
+
}];
|
|
9178
9245
|
var props = {
|
|
9179
9246
|
buttonText: parProps.buttonText || '新增',
|
|
9180
9247
|
buttonProps: parProps.buttonProps || {},
|
|
@@ -9379,7 +9446,8 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
|
|
|
9379
9446
|
},
|
|
9380
9447
|
dataIndex: 'brandName'
|
|
9381
9448
|
}],
|
|
9382
|
-
selectColumn: mTpSelectColumn
|
|
9449
|
+
selectColumn: mTpSelectColumn,
|
|
9450
|
+
promiseLoadList: initialPromiseLoadList
|
|
9383
9451
|
};
|
|
9384
9452
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
9385
9453
|
modalTableProps: modalTableProps
|
|
@@ -9464,6 +9532,44 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
|
|
|
9464
9532
|
dataIndex: 'className'
|
|
9465
9533
|
}];
|
|
9466
9534
|
var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
|
|
9535
|
+
var initialPromiseLoadList = [{
|
|
9536
|
+
url: "/user/orgViewNode/listNoPage",
|
|
9537
|
+
params: {
|
|
9538
|
+
'qp-employeeId-eq': getEmployeeId(),
|
|
9539
|
+
'qp-orgViewCode-eq': 'business-organizational-view',
|
|
9540
|
+
'ctl-withDefaultOrg': true
|
|
9541
|
+
},
|
|
9542
|
+
resType: 'list',
|
|
9543
|
+
resPosition: 2,
|
|
9544
|
+
resKeyValue: ['targetId', 'name']
|
|
9545
|
+
}, {
|
|
9546
|
+
url: "/items/brand/queryBrandList",
|
|
9547
|
+
params: {
|
|
9548
|
+
pageSize: 5000,
|
|
9549
|
+
currentPage: 1,
|
|
9550
|
+
'ctl-withAuth': true
|
|
9551
|
+
},
|
|
9552
|
+
resType: 'list',
|
|
9553
|
+
resPosition: 3,
|
|
9554
|
+
resKeyValue: ['id', 'name']
|
|
9555
|
+
}, {
|
|
9556
|
+
url: "/items/category/queryCategoryTree",
|
|
9557
|
+
params: {
|
|
9558
|
+
pageSize: 5000,
|
|
9559
|
+
currentPage: 1
|
|
9560
|
+
},
|
|
9561
|
+
resType: 'treeList',
|
|
9562
|
+
resPosition: 4
|
|
9563
|
+
}, {
|
|
9564
|
+
url: "/items/class/withProperty",
|
|
9565
|
+
params: {
|
|
9566
|
+
pageSize: 5000,
|
|
9567
|
+
currentPage: 1
|
|
9568
|
+
},
|
|
9569
|
+
resType: 'list',
|
|
9570
|
+
resPosition: 5,
|
|
9571
|
+
resKeyValue: ['id', 'name']
|
|
9572
|
+
}];
|
|
9467
9573
|
var props = {
|
|
9468
9574
|
buttonText: parProps.buttonText || '新增',
|
|
9469
9575
|
buttonProps: parProps.buttonProps || {},
|
|
@@ -9653,7 +9759,8 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
|
|
|
9653
9759
|
},
|
|
9654
9760
|
dataIndex: 'className'
|
|
9655
9761
|
}],
|
|
9656
|
-
selectColumn: mTpSelectColumn
|
|
9762
|
+
selectColumn: mTpSelectColumn,
|
|
9763
|
+
promiseLoadList: initialPromiseLoadList
|
|
9657
9764
|
};
|
|
9658
9765
|
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
|
|
9659
9766
|
modalTableProps: modalTableProps
|
|
@@ -9745,7 +9852,7 @@ var CommodityEntry = function CommodityEntry(props) {
|
|
|
9745
9852
|
* @LastEditTime: 2022-01-14 17:17:26
|
|
9746
9853
|
* @LastEditors: rodchen
|
|
9747
9854
|
*/
|
|
9748
|
-
var index$
|
|
9855
|
+
var index$2 = (function (storageKeyString) {
|
|
9749
9856
|
var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
|
|
9750
9857
|
var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
|
|
9751
9858
|
if (typeof seconds !== 'number') throw new Error('seconds should be number');
|
|
@@ -9872,44 +9979,42 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
|
|
|
9872
9979
|
var _ctx$form;
|
|
9873
9980
|
var resData, coverData, data, dataList;
|
|
9874
9981
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
9875
|
-
while (1) {
|
|
9876
|
-
|
|
9877
|
-
|
|
9878
|
-
|
|
9879
|
-
|
|
9880
|
-
_context.next = 13;
|
|
9881
|
-
break;
|
|
9882
|
-
}
|
|
9883
|
-
data = resData.data;
|
|
9884
|
-
if (!remoteSource.converter) {
|
|
9885
|
-
_context.next = 9;
|
|
9886
|
-
break;
|
|
9887
|
-
}
|
|
9888
|
-
_context.next = 6;
|
|
9889
|
-
return remoteSource.converter({
|
|
9890
|
-
data: [data]
|
|
9891
|
-
});
|
|
9892
|
-
case 6:
|
|
9893
|
-
coverData = _context.sent;
|
|
9894
|
-
_context.next = 11;
|
|
9982
|
+
while (1) switch (_context.prev = _context.next) {
|
|
9983
|
+
case 0:
|
|
9984
|
+
resData = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
9985
|
+
if (!(resData.status === '0' || resData.code === '000000')) {
|
|
9986
|
+
_context.next = 13;
|
|
9895
9987
|
break;
|
|
9896
|
-
|
|
9897
|
-
|
|
9898
|
-
|
|
9899
|
-
|
|
9900
|
-
}) || [];
|
|
9901
|
-
case 11:
|
|
9902
|
-
_context.next = 14;
|
|
9988
|
+
}
|
|
9989
|
+
data = resData.data;
|
|
9990
|
+
if (!remoteSource.converter) {
|
|
9991
|
+
_context.next = 9;
|
|
9903
9992
|
break;
|
|
9904
|
-
|
|
9905
|
-
|
|
9906
|
-
|
|
9907
|
-
|
|
9908
|
-
|
|
9909
|
-
|
|
9910
|
-
|
|
9911
|
-
|
|
9912
|
-
|
|
9993
|
+
}
|
|
9994
|
+
_context.next = 6;
|
|
9995
|
+
return remoteSource.converter({
|
|
9996
|
+
data: [data]
|
|
9997
|
+
});
|
|
9998
|
+
case 6:
|
|
9999
|
+
coverData = _context.sent;
|
|
10000
|
+
_context.next = 11;
|
|
10001
|
+
break;
|
|
10002
|
+
case 9:
|
|
10003
|
+
dataList = data && Array.isArray(data) ? data : data && [data] || [];
|
|
10004
|
+
coverData = dataList.length && dataList.map(function (ites) {
|
|
10005
|
+
return mapSearchTree(ites);
|
|
10006
|
+
}) || [];
|
|
10007
|
+
case 11:
|
|
10008
|
+
_context.next = 14;
|
|
10009
|
+
break;
|
|
10010
|
+
case 13:
|
|
10011
|
+
coverData = [];
|
|
10012
|
+
case 14:
|
|
10013
|
+
setTreeData(coverData);
|
|
10014
|
+
ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
|
|
10015
|
+
case 16:
|
|
10016
|
+
case "end":
|
|
10017
|
+
return _context.stop();
|
|
9913
10018
|
}
|
|
9914
10019
|
}, _callee);
|
|
9915
10020
|
}));
|
|
@@ -10156,10 +10261,10 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React.memo(BusinessTreeSearchSelec
|
|
|
10156
10261
|
return true;
|
|
10157
10262
|
});
|
|
10158
10263
|
|
|
10159
|
-
var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #
|
|
10264
|
+
var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #02B56E;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #02B56E;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #02B56E;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
|
|
10160
10265
|
styleInject(css_248z$8);
|
|
10161
10266
|
|
|
10162
|
-
var index$
|
|
10267
|
+
var index$3 = (function (props) {
|
|
10163
10268
|
var _props$formStatusMapp = props.formStatusMapping,
|
|
10164
10269
|
formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
|
|
10165
10270
|
return /*#__PURE__*/React.createElement("div", {
|
|
@@ -10199,7 +10304,7 @@ var label_icon_bottom = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20en
|
|
|
10199
10304
|
|
|
10200
10305
|
var arrow_top = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAuBJREFUaEPtl0urjlEUx3/HXUkpErkkJAYoGbhkJB2SW2IgBibKVL6Cz2BgQMqAXCKXiHIGBhiIDJEJyjXlfu2vtWp36nj2fvZ+HG/tXW/n7bz7Wft/WXut9fTR46uvx/FTCQy3g9WB6kCmAjWFMgXMfrw6kC1hZoDqQKaA2Y//Cwd0xq9spEME6JLACOCnnRt+L8qlKwIOeDT8GRi/Ap2Q6ILASOAHsAo4DEwGDgAnAP+tmAulCTjANcBpA6/812e3kRgFfC/FoCQBByblzxl4Tx399hnYA5wq6UQpAq78ClN+mqWR/q+llNL3T8BO4AJQxIkSBBz8cgM2FfgCjAXOAC+A/cA3QJf6vZG4UoJELgEHvww4C8wMgF40oB+BI8Bey30p/xbYDtzITaccAg5+CXAJmB4oL3UF8IMBVD84DuwK9rwCNgO3cki0JeDgF9uFnRMof83AK1VU+7VEYBxwDNgR7H0GbAVutyXRhoCDXwhcBmYHql4HtlmeD+7EKqW6A6pCm4JnRGI9cL8NiVQCDn6RKT/fuuwY4CawBXg3BBAnNAE4aaD9Yj+ydHqYSiKFgIOfByjH5wYqDlgqvGkYGZzERCu3a4MYIrEOeJxCIpaAT5RSXE1KDqhJSXldQqXE68iDXYhJwHlgdRDrgTnxxGaoxik2hoCrNgu4CiwIVBN4pc3LxGHNY04xQVYGMXUX+oHnMTFjCPjYouoiyzUSqKLcBTYY+DZd1Z1Q41NKLg1iq4dsjJmXmgh46owHngJSTOuOKa8KkjMmh+4qndRTtHSXZtjo8dcXoiYCCuYB1IQOAfeAfTYitFF+sLDuhMrxUXPioHXvxre5GALhgarjGszUmBqDx6SA7fFYEkSENEtFrRQCfoj+6uOvi1EHRWxyLKo80eKkEIjAUGRLNHjP7yKnDleQ/9GBJC0qgSS5OthcHehA1KSQ1YEkuTrYXB3oQNSkkNWBJLk62NzzDvwGGnWoMahVpG4AAAAASUVORK5CYII=";
|
|
10201
10306
|
|
|
10202
|
-
var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #
|
|
10307
|
+
var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #02B56E;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
|
|
10203
10308
|
styleInject(css_248z$9);
|
|
10204
10309
|
|
|
10205
10310
|
var _excluded$6 = ["children"],
|
|
@@ -11524,7 +11629,7 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
|
|
|
11524
11629
|
return routerMap;
|
|
11525
11630
|
};
|
|
11526
11631
|
|
|
11527
|
-
var css_248z$b = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #
|
|
11632
|
+
var css_248z$b = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #02B56E;\n border: 1px solid #02B56E;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 16px;\n margin-top: 2px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
|
|
11528
11633
|
styleInject(css_248z$b);
|
|
11529
11634
|
|
|
11530
11635
|
var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
@@ -11557,7 +11662,7 @@ var CommonAlert = (function (props) {
|
|
|
11557
11662
|
className: 'common_Alert'
|
|
11558
11663
|
}, /*#__PURE__*/React.createElement(Alert, _objectSpread2({
|
|
11559
11664
|
style: {
|
|
11560
|
-
borderColor: '#
|
|
11665
|
+
borderColor: '#02B56E',
|
|
11561
11666
|
background: '#e5eeff',
|
|
11562
11667
|
borderRadius: '4px'
|
|
11563
11668
|
},
|
|
@@ -11583,7 +11688,7 @@ var iconMap = {
|
|
|
11583
11688
|
src: moreIcon
|
|
11584
11689
|
})
|
|
11585
11690
|
};
|
|
11586
|
-
var index$
|
|
11691
|
+
var index$4 = (function (props) {
|
|
11587
11692
|
var _useLocation = useLocation(),
|
|
11588
11693
|
pathname = _useLocation.pathname;
|
|
11589
11694
|
var _useState = useState(pathname + 'id'),
|
|
@@ -11800,7 +11905,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
|
|
|
11800
11905
|
styleInject(css_248z$d);
|
|
11801
11906
|
|
|
11802
11907
|
var _excluded$c = ["children"];
|
|
11803
|
-
var index$
|
|
11908
|
+
var index$5 = (function (props) {
|
|
11804
11909
|
var _useLocation = useLocation(),
|
|
11805
11910
|
pathname = _useLocation.pathname;
|
|
11806
11911
|
var _useState = useState(pathname + 'id'),
|
|
@@ -13627,7 +13732,7 @@ var BsSulaQueryTable = (function (props) {
|
|
|
13627
13732
|
}));
|
|
13628
13733
|
});
|
|
13629
13734
|
|
|
13630
|
-
var css_248z$f = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #
|
|
13735
|
+
var css_248z$f = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #02B56E;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #02B56E;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
|
|
13631
13736
|
styleInject(css_248z$f);
|
|
13632
13737
|
|
|
13633
13738
|
var cache = {};
|
|
@@ -13883,7 +13988,7 @@ var AllFunc = function AllFunc(props) {
|
|
|
13883
13988
|
})))));
|
|
13884
13989
|
};
|
|
13885
13990
|
|
|
13886
|
-
var css_248z$g = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #
|
|
13991
|
+
var css_248z$g = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
|
|
13887
13992
|
styleInject(css_248z$g);
|
|
13888
13993
|
|
|
13889
13994
|
var allfunc = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Eicon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-20.000000%2C%20-1016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%280.000000%2C%20900.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9F%A5%E7%9C%8B%E5%85%A8%E9%83%A8%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%2810.000000%2C%2046.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%22%20transform%3D%22translate%2810.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22navigation-icon-allfunctions%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22category%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%283.000000%2C%205.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.24999999%2C12.3585414%20L2.24999999%2C14%20L0%2C14%20L0%2C12.3585414%20L2.24999999%2C12.3585414%20Z%20M18%2C12.3585414%20L18%2C14%20L3.375%2C14%20L3.375%2C12.3585414%20L18%2C12.3585414%20Z%20M2.24999999%2C6.17954431%20L2.24999999%2C7.82100286%20L0%2C7.82100286%20L0%2C6.17954431%20L2.24999999%2C6.17954431%20L2.24999999%2C6.17954431%20Z%20M18%2C6.17954431%20L18%2C7.82100286%20L3.375%2C7.82100286%20L3.375%2C6.17954431%20L18%2C6.17954431%20L18%2C6.17954431%20Z%20M2.24999999%2C0%20L2.24999999%2C1.64145855%20L0%2C1.64145855%20L0%2C0%20L2.24999999%2C0%20L2.24999999%2C0%20Z%20M18%2C0%20L18%2C1.64145855%20L3.375%2C1.64145855%20L3.375%2C0%20L18%2C0%20L18%2C0%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
@@ -13991,7 +14096,7 @@ var DrawContent = function DrawContent(_ref) {
|
|
|
13991
14096
|
return /*#__PURE__*/React.createElement(List, {
|
|
13992
14097
|
className: classNames('allFunsList', 'allFunsListWarp'),
|
|
13993
14098
|
style: {
|
|
13994
|
-
color: '#
|
|
14099
|
+
color: '#02B56E'
|
|
13995
14100
|
},
|
|
13996
14101
|
header: /*#__PURE__*/React.createElement("b", null, formatMessage({
|
|
13997
14102
|
id: "".concat(item.name)
|
|
@@ -14083,7 +14188,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
14083
14188
|
})));
|
|
14084
14189
|
});
|
|
14085
14190
|
|
|
14086
|
-
var css_248z$h = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #
|
|
14191
|
+
var css_248z$h = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
|
|
14087
14192
|
styleInject(css_248z$h);
|
|
14088
14193
|
|
|
14089
14194
|
var Morentouxiang = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2240px%22%20height%3D%2240px%22%20viewBox%3D%220%200%2040%2040%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E32%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22path-1%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2213%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-40.4%25%22%20y%3D%22-40.4%25%22%20width%3D%22180.8%25%22%20height%3D%22180.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%220%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%223.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeComposite%20in%3D%22shadowBlurOuter1%22%20in2%3D%22SourceAlpha%22%20operator%3D%22out%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeComposite%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%200%200%200%201%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22-----6.1-%E9%BB%98%E8%AE%A4%E5%9B%BE%E7%89%87%2F-Default-picture%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22B-Design-%E4%BD%93%E9%AA%8C%E8%A7%84%E8%8C%83%22%20transform%3D%22translate%28-1119.000000%2C%20-988.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%2232%22%20transform%3D%22translate%281126.000000%2C%20995.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%9C%86%E5%BD%A2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url%28%23filter-2%29%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%220.8328125%22%20stroke-linejoin%3D%22square%22%20fill%3D%22%23EDF4FF%22%20fill-rule%3D%22evenodd%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2212.5835938%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.644709%2C13.6190476%20L18.9119048%2C15.0892857%20L18.9119048%2C19.5%20L7.15%2C19.5%20L7.15%2C15.0892857%20L10.4171958%2C13.6190476%20L15.644709%2C13.6190476%20Z%20M16.1261905%2C16.4047619%20L13.65%2C16.4047619%20L13.65%2C17.6428571%20L16.1261905%2C17.6428571%20L16.1261905%2C16.4047619%20Z%20M13.1857143%2C6.5%20C14.9806397%2C6.5%2016.4357143%2C7.95507456%2016.4357143%2C9.75%20C16.4357143%2C11.5449254%2014.9806397%2C13%2013.1857143%2C13%20C11.3907888%2C13%209.93571429%2C11.5449254%209.93571429%2C9.75%20C9.93571429%2C7.95507456%2011.3907888%2C6.5%2013.1857143%2C6.5%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%239AC4FF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
@@ -14099,21 +14204,19 @@ function _outLogin() {
|
|
|
14099
14204
|
_outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
14100
14205
|
var res;
|
|
14101
14206
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
14102
|
-
while (1) {
|
|
14103
|
-
|
|
14104
|
-
|
|
14105
|
-
|
|
14106
|
-
|
|
14107
|
-
|
|
14108
|
-
|
|
14109
|
-
|
|
14110
|
-
|
|
14111
|
-
|
|
14112
|
-
|
|
14113
|
-
|
|
14114
|
-
|
|
14115
|
-
return _context.stop();
|
|
14116
|
-
}
|
|
14207
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14208
|
+
case 0:
|
|
14209
|
+
_context.next = 2;
|
|
14210
|
+
return axios({
|
|
14211
|
+
url: '/user/web/loginOut',
|
|
14212
|
+
method: 'GET'
|
|
14213
|
+
});
|
|
14214
|
+
case 2:
|
|
14215
|
+
res = _context.sent;
|
|
14216
|
+
return _context.abrupt("return", res);
|
|
14217
|
+
case 4:
|
|
14218
|
+
case "end":
|
|
14219
|
+
return _context.stop();
|
|
14117
14220
|
}
|
|
14118
14221
|
}, _callee);
|
|
14119
14222
|
}));
|
|
@@ -14242,31 +14345,29 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
14242
14345
|
var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
14243
14346
|
var sessionId;
|
|
14244
14347
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
14245
|
-
while (1) {
|
|
14246
|
-
|
|
14247
|
-
|
|
14248
|
-
|
|
14249
|
-
|
|
14250
|
-
|
|
14251
|
-
|
|
14252
|
-
|
|
14253
|
-
|
|
14254
|
-
|
|
14348
|
+
while (1) switch (_context.prev = _context.next) {
|
|
14349
|
+
case 0:
|
|
14350
|
+
_context.next = 2;
|
|
14351
|
+
return getSessionId();
|
|
14352
|
+
case 2:
|
|
14353
|
+
sessionId = _context.sent;
|
|
14354
|
+
_context.next = 5;
|
|
14355
|
+
return outLogin({
|
|
14356
|
+
sessionId: sessionId
|
|
14357
|
+
});
|
|
14358
|
+
case 5:
|
|
14359
|
+
// @ts-ignore
|
|
14360
|
+
if (BUILD_TYPE) {
|
|
14361
|
+
message$1.success('退出登录成功');
|
|
14362
|
+
history.replace({
|
|
14363
|
+
pathname: '/user/login'
|
|
14255
14364
|
});
|
|
14256
|
-
|
|
14257
|
-
|
|
14258
|
-
|
|
14259
|
-
|
|
14260
|
-
|
|
14261
|
-
|
|
14262
|
-
});
|
|
14263
|
-
} else {
|
|
14264
|
-
setLoginOutPath();
|
|
14265
|
-
}
|
|
14266
|
-
case 6:
|
|
14267
|
-
case "end":
|
|
14268
|
-
return _context.stop();
|
|
14269
|
-
}
|
|
14365
|
+
} else {
|
|
14366
|
+
setLoginOutPath();
|
|
14367
|
+
}
|
|
14368
|
+
case 6:
|
|
14369
|
+
case "end":
|
|
14370
|
+
return _context.stop();
|
|
14270
14371
|
}
|
|
14271
14372
|
}, _callee);
|
|
14272
14373
|
}));
|
|
@@ -14335,7 +14436,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
|
|
|
14335
14436
|
}))))), loginModalParams.visible && /*#__PURE__*/React.createElement(LoginModal, _objectSpread2({}, loginModalParams)));
|
|
14336
14437
|
};
|
|
14337
14438
|
|
|
14338
|
-
var css_248z$i = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #
|
|
14439
|
+
var css_248z$i = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #02B56E;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
|
|
14339
14440
|
styleInject(css_248z$i);
|
|
14340
14441
|
|
|
14341
14442
|
var judgeIsEmpty$2 = function judgeIsEmpty(value) {
|
|
@@ -14412,7 +14513,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
|
|
|
14412
14513
|
var afterStr = newName.substr(index + keyWord.length);
|
|
14413
14514
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", null, beforeStr), /*#__PURE__*/React.createElement("span", {
|
|
14414
14515
|
style: {
|
|
14415
|
-
color: '#
|
|
14516
|
+
color: '#02B56E'
|
|
14416
14517
|
}
|
|
14417
14518
|
}, keyWord), /*#__PURE__*/React.createElement("span", null, afterStr));
|
|
14418
14519
|
}
|
|
@@ -15257,7 +15358,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
15257
15358
|
})));
|
|
15258
15359
|
});
|
|
15259
15360
|
|
|
15260
|
-
var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #
|
|
15361
|
+
var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #02B56E !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #02B56E;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #02B56E;\n}\n";
|
|
15261
15362
|
styleInject(css_248z$l);
|
|
15262
15363
|
|
|
15263
15364
|
var closeicon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAiZJREFUSEvFll1LVFEUhh/1QqjAxALrot+ggR9RQWh1UZl9kNCtv8ALf0Q3/YVuiyIqLKOUyI80RP0VXVSU+UGKF2W88q7hzPacOY4QHhiGmVn7fdZe691rTwP/+WlI9Bv9eQfQq55HWqH3NxamgOz3+q0SWEJSYpFQVWIBUIDE+oARYBj4ATQBf0rEI+Yk8Ah4CHwEdjUDoHeRnwN3gBngJrBaAgnxVmAMOA88A4aKAAp8A5wzZABYK4Dkic8CWqPEdpPO9iB20Qa8BnqBae9EkCijKhbixx2rzOeAG8CvEFdg2uRYKIh20mOIslo3RGvUlxaLXwDmgesWr+pbnovyIFPe+oYbLnHV/CLw2eIreaUssmlATngn3YAg17yL8f2I55Uo68is/VSuLuC9AZeBBQN/1nJa0Q4ClHVKuEu/fXJZihxWSbQMEM5pBlQWHUQ9E+7JduKuPWeyFiDEj7mhl2xFrdE5+WAL/64FKQJkxV858yXgqq09CXQAer8FFELyAFnxl0A/sOiaf3cN2u2usy7X7SJI3rjW0DsKSFxuUeY6RN/sFjF00ARRXzrtLkE203LljQqJvwCuAMu2YojHZA13nTJE5XrnQSlIjJ3KqIgvjlhctZa4Mv9aMuxOu1yCvAXuAlvpsAvAU+DePsTTc5KFPAHup+M6GjsIjDrgS50XzhngMfDAtq66cNIRoUYf5MqUaNUNeCiXfsUB9fylcOyetf8AAkCfGYuSNSEAAAAASUVORK5CYII=";
|
|
@@ -15422,8 +15523,8 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
15422
15523
|
return /*#__PURE__*/React.createElement("div", {
|
|
15423
15524
|
className: 'left_item',
|
|
15424
15525
|
style: {
|
|
15425
|
-
borderLeft: currentOneLevel === item.path ? '2px solid #
|
|
15426
|
-
color: currentOneLevel === item.path ? '#
|
|
15526
|
+
borderLeft: currentOneLevel === item.path ? '2px solid #02B56E' : 'none',
|
|
15527
|
+
color: currentOneLevel === item.path ? '#02B56E' : '#000000'
|
|
15427
15528
|
},
|
|
15428
15529
|
onClick: function onClick(e) {
|
|
15429
15530
|
e.stopPropagation();
|
|
@@ -15549,7 +15650,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
15549
15650
|
className: "allFunsList allFunsListWarp ".concat(currentOneLevel === item.path ? 'choosedStyle' : ''),
|
|
15550
15651
|
id: item.path,
|
|
15551
15652
|
style: {
|
|
15552
|
-
color: currentOneLevel === item.path ? '#fff' : '#
|
|
15653
|
+
color: currentOneLevel === item.path ? '#fff' : '#02B56E'
|
|
15553
15654
|
},
|
|
15554
15655
|
header: /*#__PURE__*/React.createElement("b", null, formatMessage({
|
|
15555
15656
|
id: "".concat(item.name)
|
|
@@ -15581,7 +15682,7 @@ var DrawContent$1 = function DrawContent(_ref) {
|
|
|
15581
15682
|
}, /*#__PURE__*/React.createElement(CaretDownOutlined, null), "\u4E0B\u6ED1\u52A0\u8F7D\u66F4\u591A"))))));
|
|
15582
15683
|
};
|
|
15583
15684
|
|
|
15584
|
-
var caidan = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-20.000000%2C%20-19.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%2820.000000%2C%2019.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%
|
|
15685
|
+
var caidan = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-20.000000%2C%20-19.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%2820.000000%2C%2019.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%2302B56E%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M34.4%2C30.5%20L34.4%2C33.1%20L13.6%2C33.1%20L13.6%2C30.5%20L34.4%2C30.5%20Z%20M34.4%2C22.7%20L34.4%2C25.3%20L13.6%2C25.3%20L13.6%2C22.7%20L34.4%2C22.7%20Z%20M34.4%2C14.9%20L34.4%2C17.5%20L13.6%2C17.5%20L13.6%2C14.9%20L34.4%2C14.9%20Z%22%20id%3D%22nav-line-%E5%AF%BC%E8%88%AA%E5%85%A5%E5%8F%A3%22%20fill%3D%22%23FFFFFF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15585
15686
|
|
|
15586
15687
|
var guanbi = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2249px%22%20height%3D%2249px%22%20viewBox%3D%220%200%2049%2049%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%402x%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28-327.000000%2C%20-7295.000000%29%22%20fill%3D%22%23FFFFFF%22%20id%3D%22%E7%BC%96%E7%BB%84-19%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28201.125000%2C%206939.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-12%22%20transform%3D%22translate%28120.750000%2C%20350.500000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%285.125000%2C%205.500000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20opacity%3D%220%22%20x%3D%220.875%22%20y%3D%220.5%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill-rule%3D%22nonzero%22%20points%3D%2216.1903531%2014.2124746%2014.6278957%2015.7683177%2023.3198919%2024.5%2014.6278957%2033.2316823%2016.1903531%2034.7875254%2024.875%2026.0624574%2033.5596469%2034.7875254%2035.1221043%2033.2316823%2026.4308431%2024.5007349%2035.1221043%2015.7683177%2033.5596469%2014.2124746%2024.875%2022.9368077%2016.1903531%2014.2132096%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
|
|
15587
15688
|
|
|
@@ -15673,7 +15774,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
|
|
|
15673
15774
|
})));
|
|
15674
15775
|
};
|
|
15675
15776
|
|
|
15676
|
-
var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #
|
|
15777
|
+
var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #02B56E;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
|
|
15677
15778
|
styleInject(css_248z$m);
|
|
15678
15779
|
|
|
15679
15780
|
var _excluded$g = ["route"];
|
|
@@ -16094,6 +16195,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
16094
16195
|
showSubMenu: isShow
|
|
16095
16196
|
});
|
|
16096
16197
|
}, 500);
|
|
16198
|
+
//设置tabs标签左右滚动
|
|
16097
16199
|
_this.setTabNavTransLate = function (num) {
|
|
16098
16200
|
var _document$getElementB, _document$getElementB2, _document$getElementB3, _document$getElementB4, _document$defaultView;
|
|
16099
16201
|
var globalTabsNav = (_document$getElementB = document.getElementById('globalTabs')) === null || _document$getElementB === void 0 ? void 0 : (_document$getElementB2 = _document$getElementB.getElementsByClassName('ant-tabs-nav-list')) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2[0];
|
|
@@ -16774,14 +16876,12 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
16774
16876
|
request: function () {
|
|
16775
16877
|
var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
16776
16878
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
16777
|
-
while (1) {
|
|
16778
|
-
|
|
16779
|
-
|
|
16780
|
-
|
|
16781
|
-
|
|
16782
|
-
|
|
16783
|
-
return _context.stop();
|
|
16784
|
-
}
|
|
16879
|
+
while (1) switch (_context.prev = _context.next) {
|
|
16880
|
+
case 0:
|
|
16881
|
+
return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
|
|
16882
|
+
case 1:
|
|
16883
|
+
case "end":
|
|
16884
|
+
return _context.stop();
|
|
16785
16885
|
}
|
|
16786
16886
|
}, _callee);
|
|
16787
16887
|
}));
|
|
@@ -16919,7 +17019,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
16919
17019
|
}]);
|
|
16920
17020
|
return WrapperComponent;
|
|
16921
17021
|
}(React.Component);
|
|
16922
|
-
var index$
|
|
17022
|
+
var index$6 = (function (props) {
|
|
16923
17023
|
var _useModel = useModel('@@initialState'),
|
|
16924
17024
|
_useModel$initialStat = _useModel.initialState,
|
|
16925
17025
|
initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
|
|
@@ -17161,7 +17261,7 @@ var FixedScrollBar = function FixedScrollBar(_ref, ref) {
|
|
|
17161
17261
|
};
|
|
17162
17262
|
var FixedScrollBar$1 = /*#__PURE__*/React.forwardRef(FixedScrollBar);
|
|
17163
17263
|
|
|
17164
|
-
var index$
|
|
17264
|
+
var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
17165
17265
|
var _useState = useState(false),
|
|
17166
17266
|
_useState2 = _slicedToArray(_useState, 2),
|
|
17167
17267
|
show = _useState2[0],
|
|
@@ -23511,7 +23611,7 @@ function registerSuggestions(monaco) {
|
|
|
23511
23611
|
});
|
|
23512
23612
|
}
|
|
23513
23613
|
|
|
23514
|
-
var css_248z$p = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #
|
|
23614
|
+
var css_248z$p = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #02B56E;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
|
|
23515
23615
|
styleInject(css_248z$p);
|
|
23516
23616
|
|
|
23517
23617
|
var Title = Typography.Title;
|
|
@@ -24462,28 +24562,26 @@ var valueType = {
|
|
|
24462
24562
|
var getDynamicDict = /*#__PURE__*/function () {
|
|
24463
24563
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
|
|
24464
24564
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
24465
|
-
while (1) {
|
|
24466
|
-
|
|
24467
|
-
|
|
24468
|
-
|
|
24469
|
-
|
|
24470
|
-
|
|
24471
|
-
|
|
24472
|
-
|
|
24473
|
-
return
|
|
24474
|
-
|
|
24475
|
-
|
|
24476
|
-
|
|
24477
|
-
|
|
24478
|
-
|
|
24479
|
-
|
|
24480
|
-
|
|
24481
|
-
|
|
24482
|
-
|
|
24483
|
-
|
|
24484
|
-
|
|
24485
|
-
return _context.stop();
|
|
24486
|
-
}
|
|
24565
|
+
while (1) switch (_context.prev = _context.next) {
|
|
24566
|
+
case 0:
|
|
24567
|
+
_context.next = 2;
|
|
24568
|
+
return request$1({
|
|
24569
|
+
url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
|
|
24570
|
+
converter: function converter(_ref2) {
|
|
24571
|
+
var data = _ref2.data;
|
|
24572
|
+
return data === null || data === void 0 ? void 0 : data.map(function (d) {
|
|
24573
|
+
return {
|
|
24574
|
+
text: d.name,
|
|
24575
|
+
value: d.code || d.brandCode
|
|
24576
|
+
};
|
|
24577
|
+
});
|
|
24578
|
+
}
|
|
24579
|
+
});
|
|
24580
|
+
case 2:
|
|
24581
|
+
return _context.abrupt("return", _context.sent);
|
|
24582
|
+
case 3:
|
|
24583
|
+
case "end":
|
|
24584
|
+
return _context.stop();
|
|
24487
24585
|
}
|
|
24488
24586
|
}, _callee);
|
|
24489
24587
|
}));
|
|
@@ -24533,55 +24631,53 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
24533
24631
|
useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
24534
24632
|
var _ref$current, source;
|
|
24535
24633
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
24536
|
-
while (1) {
|
|
24537
|
-
|
|
24538
|
-
|
|
24539
|
-
|
|
24540
|
-
|
|
24541
|
-
|
|
24542
|
-
|
|
24543
|
-
|
|
24544
|
-
|
|
24545
|
-
|
|
24546
|
-
};
|
|
24547
|
-
}
|
|
24548
|
-
return prev;
|
|
24549
|
-
});
|
|
24550
|
-
case 2:
|
|
24551
|
-
if (!record.dictionaryCode) {
|
|
24552
|
-
_context.next = 17;
|
|
24553
|
-
break;
|
|
24554
|
-
}
|
|
24555
|
-
if (!(record.choiceType == 20)) {
|
|
24556
|
-
_context.next = 7;
|
|
24557
|
-
break;
|
|
24634
|
+
while (1) switch (_context.prev = _context.next) {
|
|
24635
|
+
case 0:
|
|
24636
|
+
_context.next = 2;
|
|
24637
|
+
return setIsShowAndType(function (prev) {
|
|
24638
|
+
if (record.inputType === 20 || record.inputType === 30) {
|
|
24639
|
+
return {
|
|
24640
|
+
isShow: true,
|
|
24641
|
+
singleOrMultiple: record.inputType,
|
|
24642
|
+
type: record.choiceType
|
|
24643
|
+
};
|
|
24558
24644
|
}
|
|
24559
|
-
|
|
24560
|
-
|
|
24645
|
+
return prev;
|
|
24646
|
+
});
|
|
24647
|
+
case 2:
|
|
24648
|
+
if (!record.dictionaryCode) {
|
|
24649
|
+
_context.next = 17;
|
|
24561
24650
|
break;
|
|
24562
|
-
|
|
24563
|
-
|
|
24564
|
-
|
|
24565
|
-
break;
|
|
24566
|
-
}
|
|
24567
|
-
_context.next = 10;
|
|
24568
|
-
return getDynamicDict(record.dictionaryCode);
|
|
24569
|
-
case 10:
|
|
24570
|
-
_context.t1 = _context.sent;
|
|
24571
|
-
_context.next = 14;
|
|
24651
|
+
}
|
|
24652
|
+
if (!(record.choiceType == 20)) {
|
|
24653
|
+
_context.next = 7;
|
|
24572
24654
|
break;
|
|
24573
|
-
|
|
24574
|
-
|
|
24575
|
-
|
|
24576
|
-
|
|
24577
|
-
|
|
24578
|
-
|
|
24579
|
-
|
|
24580
|
-
|
|
24581
|
-
|
|
24582
|
-
|
|
24583
|
-
|
|
24584
|
-
|
|
24655
|
+
}
|
|
24656
|
+
_context.t0 = getDictionarySource(record.dictionaryCode);
|
|
24657
|
+
_context.next = 15;
|
|
24658
|
+
break;
|
|
24659
|
+
case 7:
|
|
24660
|
+
if (!(record.choiceType == 30)) {
|
|
24661
|
+
_context.next = 13;
|
|
24662
|
+
break;
|
|
24663
|
+
}
|
|
24664
|
+
_context.next = 10;
|
|
24665
|
+
return getDynamicDict(record.dictionaryCode);
|
|
24666
|
+
case 10:
|
|
24667
|
+
_context.t1 = _context.sent;
|
|
24668
|
+
_context.next = 14;
|
|
24669
|
+
break;
|
|
24670
|
+
case 13:
|
|
24671
|
+
_context.t1 = [];
|
|
24672
|
+
case 14:
|
|
24673
|
+
_context.t0 = _context.t1;
|
|
24674
|
+
case 15:
|
|
24675
|
+
source = _context.t0;
|
|
24676
|
+
// @ts-ignore
|
|
24677
|
+
ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
|
|
24678
|
+
case 17:
|
|
24679
|
+
case "end":
|
|
24680
|
+
return _context.stop();
|
|
24585
24681
|
}
|
|
24586
24682
|
}, _callee);
|
|
24587
24683
|
})));
|
|
@@ -24649,30 +24745,28 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
24649
24745
|
var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
|
|
24650
24746
|
var form, values, name, relates, source;
|
|
24651
24747
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
24652
|
-
while (1) {
|
|
24653
|
-
|
|
24654
|
-
|
|
24655
|
-
|
|
24656
|
-
if (values[0]) {
|
|
24657
|
-
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
|
|
24658
|
-
form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
|
|
24659
|
-
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
|
|
24660
|
-
}
|
|
24661
|
-
if (!values[1]) {
|
|
24662
|
-
_context2.next = 9;
|
|
24663
|
-
break;
|
|
24664
|
-
}
|
|
24665
|
-
_context2.next = 5;
|
|
24666
|
-
return getDynamicDict(record.dictionaryCode || values[1]);
|
|
24667
|
-
case 5:
|
|
24668
|
-
source = _context2.sent;
|
|
24748
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
24749
|
+
case 0:
|
|
24750
|
+
form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
|
|
24751
|
+
if (values[0]) {
|
|
24669
24752
|
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
|
|
24670
24753
|
form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
|
|
24671
|
-
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0],
|
|
24672
|
-
|
|
24673
|
-
|
|
24674
|
-
|
|
24675
|
-
|
|
24754
|
+
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
|
|
24755
|
+
}
|
|
24756
|
+
if (!values[1]) {
|
|
24757
|
+
_context2.next = 9;
|
|
24758
|
+
break;
|
|
24759
|
+
}
|
|
24760
|
+
_context2.next = 5;
|
|
24761
|
+
return getDynamicDict(record.dictionaryCode || values[1]);
|
|
24762
|
+
case 5:
|
|
24763
|
+
source = _context2.sent;
|
|
24764
|
+
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
|
|
24765
|
+
form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
|
|
24766
|
+
form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
|
|
24767
|
+
case 9:
|
|
24768
|
+
case "end":
|
|
24769
|
+
return _context2.stop();
|
|
24676
24770
|
}
|
|
24677
24771
|
}, _callee2);
|
|
24678
24772
|
}));
|
|
@@ -25132,43 +25226,41 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
25132
25226
|
var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
|
|
25133
25227
|
var values, name, form, source;
|
|
25134
25228
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
25135
|
-
while (1) {
|
|
25136
|
-
|
|
25137
|
-
|
|
25138
|
-
|
|
25139
|
-
|
|
25140
|
-
form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
|
|
25141
|
-
form.setFieldVisible(name, false);
|
|
25142
|
-
}
|
|
25143
|
-
if (!(values[0] === 30)) {
|
|
25144
|
-
_context3.next = 10;
|
|
25145
|
-
break;
|
|
25146
|
-
}
|
|
25147
|
-
_context3.next = 5;
|
|
25148
|
-
return request$1({
|
|
25149
|
-
url: '/basic/dictDynamicItem/queryList',
|
|
25150
|
-
converter: function converter(_ref11) {
|
|
25151
|
-
var data = _ref11.data;
|
|
25152
|
-
return data === null || data === void 0 ? void 0 : data.map(function (d) {
|
|
25153
|
-
return {
|
|
25154
|
-
text: d.dictCode,
|
|
25155
|
-
value: d.dictCode
|
|
25156
|
-
};
|
|
25157
|
-
});
|
|
25158
|
-
}
|
|
25159
|
-
});
|
|
25160
|
-
case 5:
|
|
25161
|
-
source = _context3.sent;
|
|
25162
|
-
form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
|
|
25163
|
-
form.setFieldVisible(name, true);
|
|
25164
|
-
_context3.next = 11;
|
|
25165
|
-
break;
|
|
25166
|
-
case 10:
|
|
25229
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
25230
|
+
case 0:
|
|
25231
|
+
values = _ref10.values, name = _ref10.name, form = _ref10.form;
|
|
25232
|
+
if (values[1] === 40) {
|
|
25233
|
+
form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
|
|
25167
25234
|
form.setFieldVisible(name, false);
|
|
25168
|
-
|
|
25169
|
-
|
|
25170
|
-
|
|
25171
|
-
|
|
25235
|
+
}
|
|
25236
|
+
if (!(values[0] === 30)) {
|
|
25237
|
+
_context3.next = 10;
|
|
25238
|
+
break;
|
|
25239
|
+
}
|
|
25240
|
+
_context3.next = 5;
|
|
25241
|
+
return request$1({
|
|
25242
|
+
url: '/basic/dictDynamicItem/queryList',
|
|
25243
|
+
converter: function converter(_ref11) {
|
|
25244
|
+
var data = _ref11.data;
|
|
25245
|
+
return data === null || data === void 0 ? void 0 : data.map(function (d) {
|
|
25246
|
+
return {
|
|
25247
|
+
text: d.dictCode,
|
|
25248
|
+
value: d.dictCode
|
|
25249
|
+
};
|
|
25250
|
+
});
|
|
25251
|
+
}
|
|
25252
|
+
});
|
|
25253
|
+
case 5:
|
|
25254
|
+
source = _context3.sent;
|
|
25255
|
+
form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
|
|
25256
|
+
form.setFieldVisible(name, true);
|
|
25257
|
+
_context3.next = 11;
|
|
25258
|
+
break;
|
|
25259
|
+
case 10:
|
|
25260
|
+
form.setFieldVisible(name, false);
|
|
25261
|
+
case 11:
|
|
25262
|
+
case "end":
|
|
25263
|
+
return _context3.stop();
|
|
25172
25264
|
}
|
|
25173
25265
|
}, _callee3);
|
|
25174
25266
|
}));
|
|
@@ -25357,66 +25449,64 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
|
|
|
25357
25449
|
var _ref$current4, _res$editableStatus;
|
|
25358
25450
|
var res, _res$defaultValue;
|
|
25359
25451
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
25360
|
-
while (1) {
|
|
25361
|
-
|
|
25362
|
-
|
|
25363
|
-
|
|
25364
|
-
|
|
25365
|
-
|
|
25366
|
-
|
|
25367
|
-
|
|
25368
|
-
|
|
25369
|
-
|
|
25370
|
-
res.
|
|
25371
|
-
|
|
25372
|
-
|
|
25373
|
-
|
|
25374
|
-
|
|
25375
|
-
|
|
25376
|
-
|
|
25377
|
-
|
|
25378
|
-
|
|
25379
|
-
|
|
25380
|
-
|
|
25381
|
-
|
|
25452
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
25453
|
+
case 0:
|
|
25454
|
+
_context4.next = 2;
|
|
25455
|
+
return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
|
|
25456
|
+
case 2:
|
|
25457
|
+
res = _context4.sent;
|
|
25458
|
+
res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
|
|
25459
|
+
res.fieldGroup = record.fieldGroup;
|
|
25460
|
+
res.businessType = record.businessType;
|
|
25461
|
+
res.info = {
|
|
25462
|
+
enumeration: res.enumeration,
|
|
25463
|
+
dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
|
|
25464
|
+
formula: res.formula,
|
|
25465
|
+
scale: res.scale,
|
|
25466
|
+
variable: res.variable
|
|
25467
|
+
};
|
|
25468
|
+
res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
|
|
25469
|
+
res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
|
|
25470
|
+
res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
|
|
25471
|
+
if (res.inputType === 40) {
|
|
25472
|
+
res.valueType = 22;
|
|
25473
|
+
}
|
|
25474
|
+
// 把数组处理成文本
|
|
25475
|
+
if (res.inputType === 30) {
|
|
25476
|
+
if (res.defaultValue) {
|
|
25477
|
+
res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
|
|
25382
25478
|
}
|
|
25383
|
-
|
|
25384
|
-
|
|
25385
|
-
|
|
25386
|
-
|
|
25387
|
-
|
|
25479
|
+
}
|
|
25480
|
+
res.fieldMapping = res.fieldMapping || '';
|
|
25481
|
+
delete res.formula;
|
|
25482
|
+
delete res.showValue;
|
|
25483
|
+
if (!(mode === 'create')) {
|
|
25484
|
+
_context4.next = 18;
|
|
25485
|
+
break;
|
|
25486
|
+
}
|
|
25487
|
+
request$1({
|
|
25488
|
+
url: "/basic/flow/businessField",
|
|
25489
|
+
method: 'POST',
|
|
25490
|
+
params: res,
|
|
25491
|
+
successMessage: '创建成功!',
|
|
25492
|
+
converter: function converter() {
|
|
25493
|
+
onParentOk();
|
|
25388
25494
|
}
|
|
25389
|
-
|
|
25390
|
-
|
|
25391
|
-
|
|
25392
|
-
|
|
25393
|
-
|
|
25394
|
-
|
|
25495
|
+
});
|
|
25496
|
+
return _context4.abrupt("return");
|
|
25497
|
+
case 18:
|
|
25498
|
+
request$1({
|
|
25499
|
+
url: "/basic/flow/businessField/".concat(record.id),
|
|
25500
|
+
method: 'PATCH',
|
|
25501
|
+
params: res,
|
|
25502
|
+
successMessage: '修改成功!',
|
|
25503
|
+
converter: function converter() {
|
|
25504
|
+
onParentOk();
|
|
25395
25505
|
}
|
|
25396
|
-
|
|
25397
|
-
|
|
25398
|
-
|
|
25399
|
-
|
|
25400
|
-
successMessage: '创建成功!',
|
|
25401
|
-
converter: function converter() {
|
|
25402
|
-
onParentOk();
|
|
25403
|
-
}
|
|
25404
|
-
});
|
|
25405
|
-
return _context4.abrupt("return");
|
|
25406
|
-
case 18:
|
|
25407
|
-
request$1({
|
|
25408
|
-
url: "/basic/flow/businessField/".concat(record.id),
|
|
25409
|
-
method: 'PATCH',
|
|
25410
|
-
params: res,
|
|
25411
|
-
successMessage: '修改成功!',
|
|
25412
|
-
converter: function converter() {
|
|
25413
|
-
onParentOk();
|
|
25414
|
-
}
|
|
25415
|
-
});
|
|
25416
|
-
case 19:
|
|
25417
|
-
case "end":
|
|
25418
|
-
return _context4.stop();
|
|
25419
|
-
}
|
|
25506
|
+
});
|
|
25507
|
+
case 19:
|
|
25508
|
+
case "end":
|
|
25509
|
+
return _context4.stop();
|
|
25420
25510
|
}
|
|
25421
25511
|
}, _callee4);
|
|
25422
25512
|
}));
|
|
@@ -26201,28 +26291,26 @@ var BsCascader = function BsCascader(_ref) {
|
|
|
26201
26291
|
useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
26202
26292
|
var resData, data;
|
|
26203
26293
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26204
|
-
while (1) {
|
|
26205
|
-
|
|
26206
|
-
|
|
26207
|
-
|
|
26208
|
-
|
|
26209
|
-
|
|
26210
|
-
|
|
26211
|
-
|
|
26212
|
-
|
|
26213
|
-
|
|
26214
|
-
|
|
26215
|
-
|
|
26216
|
-
|
|
26217
|
-
|
|
26218
|
-
|
|
26219
|
-
|
|
26220
|
-
|
|
26221
|
-
|
|
26222
|
-
|
|
26223
|
-
|
|
26224
|
-
return _context.stop();
|
|
26225
|
-
}
|
|
26294
|
+
while (1) switch (_context.prev = _context.next) {
|
|
26295
|
+
case 0:
|
|
26296
|
+
if (!(!source && initRequestSource)) {
|
|
26297
|
+
_context.next = 6;
|
|
26298
|
+
break;
|
|
26299
|
+
}
|
|
26300
|
+
_context.next = 3;
|
|
26301
|
+
return initRequestSource();
|
|
26302
|
+
case 3:
|
|
26303
|
+
resData = _context.sent;
|
|
26304
|
+
data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
|
|
26305
|
+
return _objectSpread2(_objectSpread2({}, item), {}, {
|
|
26306
|
+
label: item.text,
|
|
26307
|
+
isLeaf: false
|
|
26308
|
+
});
|
|
26309
|
+
})) || [];
|
|
26310
|
+
setHandSource(data);
|
|
26311
|
+
case 6:
|
|
26312
|
+
case "end":
|
|
26313
|
+
return _context.stop();
|
|
26226
26314
|
}
|
|
26227
26315
|
}, _callee);
|
|
26228
26316
|
})), []);
|
|
@@ -26354,20 +26442,18 @@ function getRegularThresholdRange(_x) {
|
|
|
26354
26442
|
function _getRegularThresholdRange() {
|
|
26355
26443
|
_getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
|
|
26356
26444
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26357
|
-
while (1) {
|
|
26358
|
-
|
|
26359
|
-
|
|
26360
|
-
|
|
26361
|
-
|
|
26362
|
-
|
|
26363
|
-
|
|
26364
|
-
|
|
26365
|
-
|
|
26366
|
-
|
|
26367
|
-
|
|
26368
|
-
|
|
26369
|
-
return _context.stop();
|
|
26370
|
-
}
|
|
26445
|
+
while (1) switch (_context.prev = _context.next) {
|
|
26446
|
+
case 0:
|
|
26447
|
+
return _context.abrupt("return", axios({
|
|
26448
|
+
url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
|
|
26449
|
+
method: 'POST',
|
|
26450
|
+
data: _objectSpread2(_objectSpread2({}, params), {}, {
|
|
26451
|
+
queryIdentify: undefined
|
|
26452
|
+
})
|
|
26453
|
+
}));
|
|
26454
|
+
case 1:
|
|
26455
|
+
case "end":
|
|
26456
|
+
return _context.stop();
|
|
26371
26457
|
}
|
|
26372
26458
|
}, _callee);
|
|
26373
26459
|
}));
|
|
@@ -26506,137 +26592,136 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
26506
26592
|
_this.getRegularThresholdRange(queryIdentify, propertyCode, queryIdentifyType);
|
|
26507
26593
|
});
|
|
26508
26594
|
};
|
|
26595
|
+
//规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
|
|
26509
26596
|
_this.getRegularThresholdRange = /*#__PURE__*/function () {
|
|
26510
26597
|
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
|
|
26511
26598
|
var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
|
|
26512
26599
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
26513
|
-
while (1) {
|
|
26514
|
-
|
|
26515
|
-
|
|
26516
|
-
|
|
26517
|
-
|
|
26518
|
-
|
|
26519
|
-
|
|
26520
|
-
|
|
26521
|
-
|
|
26522
|
-
|
|
26523
|
-
|
|
26524
|
-
|
|
26525
|
-
|
|
26526
|
-
|
|
26527
|
-
|
|
26528
|
-
|
|
26529
|
-
|
|
26530
|
-
|
|
26531
|
-
|
|
26532
|
-
|
|
26533
|
-
|
|
26534
|
-
|
|
26535
|
-
|
|
26536
|
-
|
|
26537
|
-
|
|
26538
|
-
|
|
26539
|
-
|
|
26540
|
-
|
|
26541
|
-
|
|
26542
|
-
|
|
26543
|
-
|
|
26544
|
-
|
|
26545
|
-
|
|
26546
|
-
|
|
26547
|
-
|
|
26548
|
-
|
|
26549
|
-
|
|
26550
|
-
|
|
26551
|
-
|
|
26552
|
-
|
|
26553
|
-
|
|
26554
|
-
|
|
26555
|
-
|
|
26556
|
-
|
|
26557
|
-
|
|
26558
|
-
|
|
26559
|
-
|
|
26560
|
-
|
|
26561
|
-
|
|
26562
|
-
|
|
26563
|
-
|
|
26564
|
-
|
|
26565
|
-
|
|
26566
|
-
|
|
26567
|
-
|
|
26568
|
-
|
|
26569
|
-
|
|
26570
|
-
|
|
26571
|
-
|
|
26572
|
-
|
|
26573
|
-
|
|
26574
|
-
|
|
26575
|
-
|
|
26576
|
-
|
|
26577
|
-
|
|
26578
|
-
|
|
26579
|
-
|
|
26580
|
-
|
|
26581
|
-
|
|
26582
|
-
|
|
26583
|
-
|
|
26584
|
-
}) : [];
|
|
26585
|
-
}
|
|
26586
|
-
if (queryIdentifyType === 'dynamicDictCodeIdentify') {
|
|
26587
|
-
var _handleData3;
|
|
26588
|
-
_handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
|
|
26589
|
-
return {
|
|
26590
|
-
code: i.code.toString(),
|
|
26591
|
-
name: i.name
|
|
26592
|
-
};
|
|
26593
|
-
}) : [];
|
|
26594
|
-
}
|
|
26595
|
-
_this.setState({
|
|
26596
|
-
thresholdList: _handleData
|
|
26597
|
-
});
|
|
26600
|
+
while (1) switch (_context.prev = _context.next) {
|
|
26601
|
+
case 0:
|
|
26602
|
+
if (queryIdentify) {
|
|
26603
|
+
_context.next = 2;
|
|
26604
|
+
break;
|
|
26605
|
+
}
|
|
26606
|
+
return _context.abrupt("return");
|
|
26607
|
+
case 2:
|
|
26608
|
+
thresholdQuery = _this.state.thresholdQuery;
|
|
26609
|
+
extraRequestUrl = '';
|
|
26610
|
+
querParams = setParams(propertyCode, thresholdQuery);
|
|
26611
|
+
if (!queryIdentityInfo.find(function (item) {
|
|
26612
|
+
return item.identity == propertyCode;
|
|
26613
|
+
})) {
|
|
26614
|
+
_context.next = 10;
|
|
26615
|
+
break;
|
|
26616
|
+
}
|
|
26617
|
+
//判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
|
|
26618
|
+
needQueryList = queryIdentityInfo.find(function (item) {
|
|
26619
|
+
return item.identity == propertyCode;
|
|
26620
|
+
}).queryParam.filter(function (item) {
|
|
26621
|
+
return item.isRequired;
|
|
26622
|
+
}).map(function (item) {
|
|
26623
|
+
return item.queryKey;
|
|
26624
|
+
});
|
|
26625
|
+
if (!needQueryList.some(function (item) {
|
|
26626
|
+
return !querParams[item] || !querParams[item].length;
|
|
26627
|
+
})) {
|
|
26628
|
+
_context.next = 9;
|
|
26629
|
+
break;
|
|
26630
|
+
}
|
|
26631
|
+
return _context.abrupt("return");
|
|
26632
|
+
case 9:
|
|
26633
|
+
extraRequestUrl = queryIdentityInfo.find(function (item) {
|
|
26634
|
+
return item.identity == propertyCode;
|
|
26635
|
+
}).requestUrl || '';
|
|
26636
|
+
case 10:
|
|
26637
|
+
if (queryIdentifyType === 'dictCodeIdentify') {
|
|
26638
|
+
extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
|
|
26639
|
+
querParams = {
|
|
26640
|
+
dictCode: queryIdentify
|
|
26641
|
+
};
|
|
26642
|
+
} else if (queryIdentifyType === 'dynamicDictCodeIdentify') {
|
|
26643
|
+
extraRequestUrl = "dictDynamicItem/getDynamicData/".concat(queryIdentify); // 字典接口
|
|
26644
|
+
// querParams = { dictCode: queryIdentify }
|
|
26645
|
+
}
|
|
26646
|
+
if (!extraRequestUrl) {
|
|
26647
|
+
_context.next = 16;
|
|
26648
|
+
break;
|
|
26649
|
+
}
|
|
26650
|
+
if (queryIdentify == 'maintain_area_code') {
|
|
26651
|
+
extraRequestUrl = "/basic/".concat(extraRequestUrl).concat(querParams.memberCardCode, "?").concat(stringify(querParams));
|
|
26652
|
+
} else if (queryIdentifyType == 'dictCodeIdentify') {
|
|
26653
|
+
extraRequestUrl = "/basic/".concat(extraRequestUrl, "?").concat(stringify(querParams));
|
|
26654
|
+
} else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
|
|
26655
|
+
extraRequestUrl = "/basic/".concat(extraRequestUrl);
|
|
26656
|
+
}
|
|
26657
|
+
request$1({
|
|
26658
|
+
url: extraRequestUrl,
|
|
26659
|
+
method: 'get',
|
|
26660
|
+
converter: function converter(res) {
|
|
26661
|
+
if (handleError(res)) {
|
|
26662
|
+
var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
|
|
26663
|
+
if (queryIdentifyType === 'dictCodeIdentify') {
|
|
26664
|
+
var _handleData2;
|
|
26665
|
+
_handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
|
|
26666
|
+
return {
|
|
26667
|
+
code: i.dictItemCode,
|
|
26668
|
+
name: i.dictItemName
|
|
26669
|
+
};
|
|
26670
|
+
}) : [];
|
|
26598
26671
|
}
|
|
26599
|
-
|
|
26672
|
+
if (queryIdentifyType === 'dynamicDictCodeIdentify') {
|
|
26673
|
+
var _handleData3;
|
|
26674
|
+
_handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
|
|
26675
|
+
return {
|
|
26676
|
+
code: i.code.toString(),
|
|
26677
|
+
name: i.name
|
|
26678
|
+
};
|
|
26679
|
+
}) : [];
|
|
26680
|
+
}
|
|
26681
|
+
_this.setState({
|
|
26682
|
+
thresholdList: _handleData
|
|
26683
|
+
});
|
|
26600
26684
|
}
|
|
26601
|
-
|
|
26602
|
-
_context.next = 29;
|
|
26603
|
-
break;
|
|
26604
|
-
case 16:
|
|
26605
|
-
if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
|
|
26606
|
-
_context.next = 20;
|
|
26607
|
-
break;
|
|
26685
|
+
return handleData;
|
|
26608
26686
|
}
|
|
26609
|
-
|
|
26610
|
-
|
|
26611
|
-
|
|
26612
|
-
|
|
26687
|
+
});
|
|
26688
|
+
_context.next = 29;
|
|
26689
|
+
break;
|
|
26690
|
+
case 16:
|
|
26691
|
+
if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
|
|
26692
|
+
_context.next = 20;
|
|
26613
26693
|
break;
|
|
26614
|
-
|
|
26615
|
-
|
|
26616
|
-
|
|
26617
|
-
|
|
26618
|
-
|
|
26619
|
-
|
|
26694
|
+
}
|
|
26695
|
+
_this.setState({
|
|
26696
|
+
thresholdList: queryIdentify
|
|
26697
|
+
});
|
|
26698
|
+
_context.next = 29;
|
|
26699
|
+
break;
|
|
26700
|
+
case 20:
|
|
26701
|
+
if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
|
|
26702
|
+
_context.next = 24;
|
|
26703
|
+
break;
|
|
26704
|
+
}
|
|
26705
|
+
// TODO待处理
|
|
26706
|
+
_this.setState({
|
|
26707
|
+
thresholdList: []
|
|
26708
|
+
});
|
|
26709
|
+
_context.next = 29;
|
|
26710
|
+
break;
|
|
26711
|
+
case 24:
|
|
26712
|
+
querParams.queryIdentify = queryIdentify;
|
|
26713
|
+
_context.next = 27;
|
|
26714
|
+
return getRegularThresholdRange(querParams);
|
|
26715
|
+
case 27:
|
|
26716
|
+
res = _context.sent;
|
|
26717
|
+
if (handleError(res)) {
|
|
26620
26718
|
_this.setState({
|
|
26621
|
-
thresholdList: []
|
|
26719
|
+
thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
|
|
26622
26720
|
});
|
|
26623
|
-
|
|
26624
|
-
|
|
26625
|
-
|
|
26626
|
-
|
|
26627
|
-
_context.next = 27;
|
|
26628
|
-
return getRegularThresholdRange(querParams);
|
|
26629
|
-
case 27:
|
|
26630
|
-
res = _context.sent;
|
|
26631
|
-
if (handleError(res)) {
|
|
26632
|
-
_this.setState({
|
|
26633
|
-
thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
|
|
26634
|
-
});
|
|
26635
|
-
}
|
|
26636
|
-
case 29:
|
|
26637
|
-
case "end":
|
|
26638
|
-
return _context.stop();
|
|
26639
|
-
}
|
|
26721
|
+
}
|
|
26722
|
+
case 29:
|
|
26723
|
+
case "end":
|
|
26724
|
+
return _context.stop();
|
|
26640
26725
|
}
|
|
26641
26726
|
}, _callee);
|
|
26642
26727
|
}));
|
|
@@ -27455,32 +27540,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
27455
27540
|
notChangeOnSelect: true,
|
|
27456
27541
|
initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
|
27457
27542
|
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
|
27458
|
-
while (1) {
|
|
27459
|
-
|
|
27460
|
-
|
|
27461
|
-
|
|
27462
|
-
|
|
27463
|
-
|
|
27464
|
-
|
|
27465
|
-
|
|
27466
|
-
|
|
27467
|
-
|
|
27468
|
-
|
|
27469
|
-
|
|
27470
|
-
|
|
27471
|
-
|
|
27472
|
-
|
|
27473
|
-
|
|
27474
|
-
|
|
27475
|
-
|
|
27476
|
-
|
|
27477
|
-
|
|
27478
|
-
|
|
27479
|
-
|
|
27480
|
-
|
|
27481
|
-
|
|
27482
|
-
return _context2.stop();
|
|
27483
|
-
}
|
|
27543
|
+
while (1) switch (_context2.prev = _context2.next) {
|
|
27544
|
+
case 0:
|
|
27545
|
+
_context2.next = 2;
|
|
27546
|
+
return request$1({
|
|
27547
|
+
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
27548
|
+
method: 'get',
|
|
27549
|
+
converter: function converter(_ref3) {
|
|
27550
|
+
var data = _ref3.data;
|
|
27551
|
+
var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
|
|
27552
|
+
return {
|
|
27553
|
+
text: item.name,
|
|
27554
|
+
value: item.id,
|
|
27555
|
+
level: item.level,
|
|
27556
|
+
id: item.id
|
|
27557
|
+
};
|
|
27558
|
+
}) : [];
|
|
27559
|
+
return handleData;
|
|
27560
|
+
}
|
|
27561
|
+
});
|
|
27562
|
+
case 2:
|
|
27563
|
+
return _context2.abrupt("return", _context2.sent);
|
|
27564
|
+
case 3:
|
|
27565
|
+
case "end":
|
|
27566
|
+
return _context2.stop();
|
|
27484
27567
|
}
|
|
27485
27568
|
}, _callee2);
|
|
27486
27569
|
})),
|
|
@@ -27506,32 +27589,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
27506
27589
|
notChangeOnSelect: true,
|
|
27507
27590
|
initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
|
|
27508
27591
|
return _regeneratorRuntime().wrap(function _callee3$(_context3) {
|
|
27509
|
-
while (1) {
|
|
27510
|
-
|
|
27511
|
-
|
|
27512
|
-
|
|
27513
|
-
|
|
27514
|
-
|
|
27515
|
-
|
|
27516
|
-
|
|
27517
|
-
|
|
27518
|
-
|
|
27519
|
-
|
|
27520
|
-
|
|
27521
|
-
|
|
27522
|
-
|
|
27523
|
-
|
|
27524
|
-
|
|
27525
|
-
|
|
27526
|
-
|
|
27527
|
-
|
|
27528
|
-
|
|
27529
|
-
|
|
27530
|
-
|
|
27531
|
-
|
|
27532
|
-
|
|
27533
|
-
return _context3.stop();
|
|
27534
|
-
}
|
|
27592
|
+
while (1) switch (_context3.prev = _context3.next) {
|
|
27593
|
+
case 0:
|
|
27594
|
+
_context3.next = 2;
|
|
27595
|
+
return request$1({
|
|
27596
|
+
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
27597
|
+
method: 'get',
|
|
27598
|
+
converter: function converter(_ref5) {
|
|
27599
|
+
var data = _ref5.data;
|
|
27600
|
+
var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
|
|
27601
|
+
return {
|
|
27602
|
+
text: item.name,
|
|
27603
|
+
value: item.id,
|
|
27604
|
+
level: item.level,
|
|
27605
|
+
id: item.id
|
|
27606
|
+
};
|
|
27607
|
+
}) : [];
|
|
27608
|
+
return handleData;
|
|
27609
|
+
}
|
|
27610
|
+
});
|
|
27611
|
+
case 2:
|
|
27612
|
+
return _context3.abrupt("return", _context3.sent);
|
|
27613
|
+
case 3:
|
|
27614
|
+
case "end":
|
|
27615
|
+
return _context3.stop();
|
|
27535
27616
|
}
|
|
27536
27617
|
}, _callee3);
|
|
27537
27618
|
})),
|
|
@@ -27559,32 +27640,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
27559
27640
|
notChangeOnSelect: true,
|
|
27560
27641
|
initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
|
|
27561
27642
|
return _regeneratorRuntime().wrap(function _callee4$(_context4) {
|
|
27562
|
-
while (1) {
|
|
27563
|
-
|
|
27564
|
-
|
|
27565
|
-
|
|
27566
|
-
|
|
27567
|
-
|
|
27568
|
-
|
|
27569
|
-
|
|
27570
|
-
|
|
27571
|
-
|
|
27572
|
-
|
|
27573
|
-
|
|
27574
|
-
|
|
27575
|
-
|
|
27576
|
-
|
|
27577
|
-
|
|
27578
|
-
|
|
27579
|
-
|
|
27580
|
-
|
|
27581
|
-
|
|
27582
|
-
|
|
27583
|
-
|
|
27584
|
-
|
|
27585
|
-
|
|
27586
|
-
return _context4.stop();
|
|
27587
|
-
}
|
|
27643
|
+
while (1) switch (_context4.prev = _context4.next) {
|
|
27644
|
+
case 0:
|
|
27645
|
+
_context4.next = 2;
|
|
27646
|
+
return request$1({
|
|
27647
|
+
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
27648
|
+
method: 'get',
|
|
27649
|
+
converter: function converter(_ref7) {
|
|
27650
|
+
var data = _ref7.data;
|
|
27651
|
+
var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
|
|
27652
|
+
return {
|
|
27653
|
+
text: item.name,
|
|
27654
|
+
value: item.id,
|
|
27655
|
+
level: item.level,
|
|
27656
|
+
id: item.id
|
|
27657
|
+
};
|
|
27658
|
+
}) : [];
|
|
27659
|
+
return handleData;
|
|
27660
|
+
}
|
|
27661
|
+
});
|
|
27662
|
+
case 2:
|
|
27663
|
+
return _context4.abrupt("return", _context4.sent);
|
|
27664
|
+
case 3:
|
|
27665
|
+
case "end":
|
|
27666
|
+
return _context4.stop();
|
|
27588
27667
|
}
|
|
27589
27668
|
}, _callee4);
|
|
27590
27669
|
})),
|
|
@@ -28701,8 +28780,6 @@ var RuleField = /*#__PURE__*/function (_Component) {
|
|
|
28701
28780
|
});
|
|
28702
28781
|
}
|
|
28703
28782
|
}
|
|
28704
|
-
|
|
28705
|
-
//规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
|
|
28706
28783
|
}, {
|
|
28707
28784
|
key: "render",
|
|
28708
28785
|
value: function render() {
|
|
@@ -29533,6 +29610,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
29533
29610
|
callBack(ruleClassData);
|
|
29534
29611
|
});
|
|
29535
29612
|
};
|
|
29613
|
+
// 树结构 转化成 平行树 (递归函数)
|
|
29536
29614
|
_this.coverToParallel = function (treeData, result) {
|
|
29537
29615
|
treeData.forEach(function (el) {
|
|
29538
29616
|
result.push(el);
|
|
@@ -29788,6 +29866,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
29788
29866
|
callBack(ruleClassData);
|
|
29789
29867
|
});
|
|
29790
29868
|
};
|
|
29869
|
+
// 场景需要返回值2022.11.15
|
|
29791
29870
|
_this.renderResItem = function (itemDetail, parentDetail, ruleReturnConfig, classDataIndex, disabled, boxStyle) {
|
|
29792
29871
|
var _ruleReturnConfig$rig;
|
|
29793
29872
|
var isShowResponse = itemDetail.response['enable'];
|
|
@@ -30085,32 +30164,30 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
30085
30164
|
notChangeOnSelect: true,
|
|
30086
30165
|
initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
|
|
30087
30166
|
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
|
30088
|
-
while (1) {
|
|
30089
|
-
|
|
30090
|
-
|
|
30091
|
-
|
|
30092
|
-
|
|
30093
|
-
|
|
30094
|
-
|
|
30095
|
-
|
|
30096
|
-
|
|
30097
|
-
|
|
30098
|
-
|
|
30099
|
-
|
|
30100
|
-
|
|
30101
|
-
|
|
30102
|
-
|
|
30103
|
-
|
|
30104
|
-
|
|
30105
|
-
|
|
30106
|
-
|
|
30107
|
-
|
|
30108
|
-
|
|
30109
|
-
|
|
30110
|
-
|
|
30111
|
-
|
|
30112
|
-
return _context.stop();
|
|
30113
|
-
}
|
|
30167
|
+
while (1) switch (_context.prev = _context.next) {
|
|
30168
|
+
case 0:
|
|
30169
|
+
_context.next = 2;
|
|
30170
|
+
return request$1({
|
|
30171
|
+
url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
|
|
30172
|
+
method: 'get',
|
|
30173
|
+
converter: function converter(_ref2) {
|
|
30174
|
+
var data = _ref2.data;
|
|
30175
|
+
var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
|
|
30176
|
+
return {
|
|
30177
|
+
text: item.name,
|
|
30178
|
+
value: item.id,
|
|
30179
|
+
level: item.level,
|
|
30180
|
+
id: item.id
|
|
30181
|
+
};
|
|
30182
|
+
}) : [];
|
|
30183
|
+
return handleData;
|
|
30184
|
+
}
|
|
30185
|
+
});
|
|
30186
|
+
case 2:
|
|
30187
|
+
return _context.abrupt("return", _context.sent);
|
|
30188
|
+
case 3:
|
|
30189
|
+
case "end":
|
|
30190
|
+
return _context.stop();
|
|
30114
30191
|
}
|
|
30115
30192
|
}, _callee);
|
|
30116
30193
|
})),
|
|
@@ -30444,6 +30521,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
30444
30521
|
}
|
|
30445
30522
|
}, "\u65B0\u589E\u8FD4\u56DE\u503C")), isHaveRuleReturnConfig && _this.renderResItem(itemDetail, parentDetail, ruleReturnConfig, classDataIndex, disabled, RuleActionItemStyle) || null, isHaveRuleTypeData && _this.renderActionList(itemDetail, parentDetail, handleRuleTypeData, selectRuleActionData, classDataIndex, disabled, RuleActionItemStyle) || null);
|
|
30446
30523
|
};
|
|
30524
|
+
//添加同一层级条件
|
|
30447
30525
|
_this.addPeerRule = function (itemDetail) {
|
|
30448
30526
|
var ruleClassData = _this.state.ruleClassData;
|
|
30449
30527
|
var _this$props4 = _this.props,
|
|
@@ -30464,6 +30542,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
30464
30542
|
callBack(ruleClassData);
|
|
30465
30543
|
});
|
|
30466
30544
|
};
|
|
30545
|
+
//添加子层级条件
|
|
30467
30546
|
_this.addChildRules = function (itemDetail) {
|
|
30468
30547
|
var ruleClassData = _this.state.ruleClassData;
|
|
30469
30548
|
var callBack = _this.props.callBack;
|
|
@@ -30539,6 +30618,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
30539
30618
|
callBack(ruleClassData);
|
|
30540
30619
|
});
|
|
30541
30620
|
};
|
|
30621
|
+
// 新增执行顺序
|
|
30542
30622
|
_this.handleSelectRuleAction = function (keys, classDataIndex, callback) {
|
|
30543
30623
|
callback();
|
|
30544
30624
|
var callBack = _this.props.callBack;
|
|
@@ -30689,4 +30769,4 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
|
|
|
30689
30769
|
return RuleObjectComponent;
|
|
30690
30770
|
}(Component);
|
|
30691
30771
|
|
|
30692
|
-
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, BsCascader, index$
|
|
30772
|
+
export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, BsCascader, index$6 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$2 as CheckOneUser, ColumnSettingTable, CommodityEntry, DataImport, DataValidation, index$4 as DetailPageWrapper, EllipsisTooltip, ExportIcon, GuideWrapper, index$5 as HomePageWrapper, JsonQueryTable, index$7 as MoreTreeTable, QueryMutipleInput, RuleObjectComponent as RuleComponent, SearchSelect, index$3 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect };
|