@bit-sun/business-component 2.3.21 → 2.3.22-beta10

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.
Files changed (86) hide show
  1. package/dist/components/Business/AddSelectBusiness/index.d.ts +4 -3
  2. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +2 -1
  3. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  4. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
  5. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
  6. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +2 -1
  7. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +2 -1
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  9. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +2 -1
  10. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +2 -1
  11. package/dist/components/Business/BsLayouts/index.d.ts +1 -1
  12. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
  13. package/dist/components/Business/BsSulaQueryTable/index.d.ts +2 -1
  14. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +5 -5
  15. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -13
  16. package/dist/components/Business/CommodityEntry/index.d.ts +2 -1
  17. package/dist/components/Business/CommonAlert/index.d.ts +2 -1
  18. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  19. package/dist/components/Business/DetailPageWrapper/index.d.ts +6 -5
  20. package/dist/components/Business/HomePageWrapper/index.d.ts +2 -1
  21. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -1
  22. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -1
  23. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +2 -1
  24. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -1
  25. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -1
  26. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  27. package/dist/components/Business/StateFlow/index.d.ts +2 -1
  28. package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
  29. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +5 -5
  30. package/dist/components/Business/columnSettingTable/index.d.ts +2 -2
  31. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +2 -2
  32. package/dist/components/Business/columnSettingTable/utils.d.ts +2 -1
  33. package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
  34. package/dist/components/Functional/AddSelect/helps.d.ts +13 -0
  35. package/dist/components/Functional/AddSelect/index.d.ts +2 -1
  36. package/dist/components/Functional/DataImport/index.d.ts +3 -3
  37. package/dist/components/Functional/DataValidation/index.d.ts +3 -3
  38. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +2 -1
  39. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
  40. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  41. package/dist/components/Functional/TreeSearchSelect/index.d.ts +2 -1
  42. package/dist/components/Solution/RuleComponent/Formula.d.ts +2 -1
  43. package/dist/index.esm.js +1416 -1315
  44. package/dist/index.js +1422 -1321
  45. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  46. package/dist/utils/LocalstorageUtils.d.ts +5 -0
  47. package/dist/utils/utils.d.ts +1 -1
  48. package/lib/assets/exportFail.svg +9 -9
  49. package/lib/assets/exportProcessing.svg +9 -9
  50. package/lib/assets/exportSuccess.svg +9 -9
  51. package/package.json +3 -3
  52. package/src/assets/caidan.svg +1 -1
  53. package/src/assets/exportFail.svg +9 -9
  54. package/src/assets/exportProcessing.svg +9 -9
  55. package/src/assets/exportSuccess.svg +9 -9
  56. package/src/assets/fixed-left-active.svg +1 -1
  57. package/src/assets/fixed-right-active.svg +1 -1
  58. package/src/components/Business/AddSelectBusiness/index.tsx +352 -187
  59. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +1 -1
  60. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +1 -1
  61. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +3 -3
  62. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +4 -4
  63. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +1 -1
  64. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +1 -1
  65. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +1 -1
  66. package/src/components/Business/BsLayouts/Components/RightContent/home.less +1 -1
  67. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +3 -3
  68. package/src/components/Business/BsLayouts/index.less +2 -2
  69. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +7 -6
  70. package/src/components/Business/BsSulaQueryTable/index.tsx +1 -5
  71. package/src/components/Business/BsSulaQueryTable/setting.tsx +12 -9
  72. package/src/components/Business/BsSulaQueryTable/utils.less +1 -1
  73. package/src/components/Business/CommonAlert/index.tsx +1 -1
  74. package/src/components/Business/CommonGuideWrapper/index.less +2 -2
  75. package/src/components/Business/DetailPageWrapper/index.less +2 -2
  76. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +1 -1
  77. package/src/components/Business/StateFlow/index.less +3 -3
  78. package/src/components/Business/columnSettingTable/columnSetting.tsx +8 -6
  79. package/src/components/Functional/AddSelect/helps.ts +65 -0
  80. package/src/components/Functional/AddSelect/index.tsx +15 -127
  81. package/src/components/Functional/BillEntry/index.tsx +6 -6
  82. package/src/components/Functional/SearchSelect/index.tsx +1 -1
  83. package/src/plugin/TableColumnSetting/index.tsx +8 -6
  84. package/src/styles/bsDefault.less +12 -34
  85. package/src/utils/LocalstorageUtils.ts +19 -0
  86. package/src/utils/requestUtils.ts +13 -5
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$1 from 'lodash/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';
@@ -69,9 +69,6 @@ var getConfigTableColumns = function getConfigTableColumns(tableCode) {
69
69
  }
70
70
  return [];
71
71
  };
72
- var getCurrentTenantId = function getCurrentTenantId() {
73
- return localStorage.getItem('current_tenant_id') || 1;
74
- };
75
72
  function getEmployeeId() {
76
73
  var _resposne$employeeRes;
77
74
  return (resposne === null || resposne === void 0 ? void 0 : (_resposne$employeeRes = resposne.employeeResVo) === null || _resposne$employeeRes === void 0 ? void 0 : _resposne$employeeRes.id) || 2;
@@ -83,9 +80,24 @@ function getEmployeeCode() {
83
80
  function getSessionId() {
84
81
  return (resposne === null || resposne === void 0 ? void 0 : resposne.sessionId) || '';
85
82
  }
86
- function getAccountId() {
87
- var _resposne$accountPers;
88
- return (resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers = resposne.accountPersonDetail) === null || _resposne$accountPers === void 0 ? void 0 : _resposne$accountPers.accountId) || -1;
83
+ //--------赢家项目登录信息---------
84
+ function getEekaSessionId() {
85
+ return (resposne === null || resposne === void 0 ? void 0 : resposne.sessionId) || '';
86
+ }
87
+ function getEekaAccountId() {
88
+ var _resposne$personDetai;
89
+ return (resposne === null || resposne === void 0 ? void 0 : (_resposne$personDetai = resposne.personDetailResDto) === null || _resposne$personDetai === void 0 ? void 0 : _resposne$personDetai.accountId) || -1;
90
+ }
91
+ function getEekaEmployeeId() {
92
+ var _resposne$personDetai2;
93
+ return (resposne === null || resposne === void 0 ? void 0 : (_resposne$personDetai2 = resposne.personDetailResDto) === null || _resposne$personDetai2 === void 0 ? void 0 : _resposne$personDetai2.employeeId) || 2;
94
+ }
95
+ function getEekaTenantId() {
96
+ var _resposne$personDetai3;
97
+ return (resposne === null || resposne === void 0 ? void 0 : (_resposne$personDetai3 = resposne.personDetailResDto) === null || _resposne$personDetai3 === void 0 ? void 0 : _resposne$personDetai3.tenantId) || 1;
98
+ }
99
+ function getEekaToken() {
100
+ return resposne === null || resposne === void 0 ? void 0 : resposne.token;
89
101
  }
90
102
  function getUserId() {
91
103
  var _resposne$accountPers2;
@@ -121,10 +133,16 @@ function handleRequestAuthHeader(config) {
121
133
  }
122
134
  // 处理请求头
123
135
  var handleRequestHeader = function handleRequestHeader(config) {
124
- config.headers['sso-sessionid'] = getSessionId();
125
- config.headers['x-account-id'] = getAccountId();
126
- config.headers['x-employee-id'] = getEmployeeId();
127
- config.headers['x-tenant-id'] = getCurrentTenantId();
136
+ // config.headers['sso-sessionid'] = getSessionId()
137
+ // config.headers['x-account-id'] = getAccountId()
138
+ // config.headers['x-employee-id'] = getEmployeeId()
139
+ // config.headers['x-tenant-id'] = getCurrentTenantId()
140
+ //赢家项目请求头
141
+ config.headers['x-sso-sessionid'] = getEekaSessionId();
142
+ config.headers['x-account-id'] = getEekaAccountId();
143
+ config.headers['x-employee-id'] = getEekaEmployeeId();
144
+ config.headers['x-tenant-id'] = getEekaTenantId();
145
+ config.headers['x-user-token'] = getEekaToken();
128
146
  if (localStorage.getItem('x-user-auth-context')) {
129
147
  config.headers['x-user-auth-context'] = localStorage.getItem('x-user-auth-context');
130
148
  }
@@ -762,52 +780,41 @@ var precisionQuantity = function precisionQuantity(num, accuracy) {
762
780
  return '';
763
781
  };
764
782
 
765
- var safeIsNaN = Number.isNaN ||
766
- function ponyfill(value) {
767
- return typeof value === 'number' && value !== value;
768
- };
769
- function isEqual(first, second) {
770
- if (first === second) {
771
- return true;
772
- }
773
- if (safeIsNaN(first) && safeIsNaN(second)) {
774
- return true;
775
- }
776
- return false;
777
- }
778
- function areInputsEqual(newInputs, lastInputs) {
779
- if (newInputs.length !== lastInputs.length) {
780
- return false;
783
+ var simpleIsEqual = function simpleIsEqual(a, b) {
784
+ return a === b;
785
+ };
786
+
787
+ function index$1 (resultFn, isEqual) {
788
+ if (isEqual === void 0) {
789
+ isEqual = simpleIsEqual;
790
+ }
791
+
792
+ var lastThis;
793
+ var lastArgs = [];
794
+ var lastResult;
795
+ var calledOnce = false;
796
+
797
+ var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
798
+ return isEqual(newArg, lastArgs[index], index);
799
+ };
800
+
801
+ var result = function result() {
802
+ for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
803
+ newArgs[_key] = arguments[_key];
781
804
  }
782
- for (var i = 0; i < newInputs.length; i++) {
783
- if (!isEqual(newInputs[i], lastInputs[i])) {
784
- return false;
785
- }
805
+
806
+ if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
807
+ return lastResult;
786
808
  }
787
- return true;
788
- }
789
809
 
790
- function memoizeOne(resultFn, isEqual) {
791
- if (isEqual === void 0) { isEqual = areInputsEqual; }
792
- var lastThis;
793
- var lastArgs = [];
794
- var lastResult;
795
- var calledOnce = false;
796
- function memoized() {
797
- var newArgs = [];
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;
810
+ lastResult = resultFn.apply(this, newArgs);
811
+ calledOnce = true;
812
+ lastThis = this;
813
+ lastArgs = newArgs;
814
+ return lastResult;
815
+ };
816
+
817
+ return result;
811
818
  }
812
819
 
813
820
  function styleInject(css, ref) {
@@ -837,7 +844,7 @@ function styleInject(css, ref) {
837
844
  }
838
845
  }
839
846
 
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: #005cff !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";
847
+ 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
848
  styleInject(css_248z);
842
849
 
843
850
  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 +1031,59 @@ var getItemDefaultWidth = function getItemDefaultWidth(item) {
1024
1031
  * @returns 返回处理后的查询参数
1025
1032
  */
1026
1033
  function queryParams(params, flag) {
1027
- for (var key in params) {
1034
+ var _loop = function _loop() {
1028
1035
  if (Object.prototype.hasOwnProperty.call(params, key)) {
1029
- (function () {
1030
- var element = params[key];
1031
- if (element && key.indexOf('*number*') >= 0) {
1032
- var dataParams = key.split('*number*');
1033
- dataParams.forEach(function (value, index) {
1034
- params[value] = element[index];
1035
- });
1036
- delete params[key];
1037
- } else if (element && key.indexOf('*address*') >= 0) {
1038
- var _dataParams = key.split('*address*');
1039
- _dataParams.forEach(function (value, index) {
1040
- params[value] = element.PCDCode[index];
1041
- });
1042
- delete params[key];
1043
- } else if (element && key.indexOf('*costType*') >= 0) {
1044
- var _dataParams2 = key.split('*costType*');
1045
- // eslint-disable-next-line prefer-destructuring
1046
- params[_dataParams2[0]] = element[1];
1047
- delete params[key];
1048
- } else if (element && key.indexOf('*fullDate*') >= 0) {
1049
- var _dataParams3 = key.split('*fullDate*');
1050
- _dataParams3.forEach(function (value, index) {
1051
- if (index === 0) {
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;
1036
+ var element = params[key];
1037
+ if (element && key.indexOf('*number*') >= 0) {
1038
+ var dataParams = key.split('*number*');
1039
+ dataParams.forEach(function (value, index) {
1040
+ params[value] = element[index];
1041
+ });
1042
+ delete params[key];
1043
+ } else if (element && key.indexOf('*address*') >= 0) {
1044
+ var _dataParams = key.split('*address*');
1045
+ _dataParams.forEach(function (value, index) {
1046
+ params[value] = element.PCDCode[index];
1047
+ });
1048
+ delete params[key];
1049
+ } else if (element && key.indexOf('*costType*') >= 0) {
1050
+ var _dataParams2 = key.split('*costType*');
1051
+ // eslint-disable-next-line prefer-destructuring
1052
+ params[_dataParams2[0]] = element[1];
1053
+ delete params[key];
1054
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
1055
+ var _dataParams3 = key.split('*fullDate*');
1056
+ _dataParams3.forEach(function (value, index) {
1057
+ if (index === 0) {
1058
+ params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
1069
1059
  } else {
1070
- params["qp-".concat(_dataParams5[0], "-like")] = element;
1071
- params["qp-".concat(_dataParams5[0], "-in")] = null;
1060
+ params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
1072
1061
  }
1073
- delete params[key];
1074
- } else if (Array.isArray(element)) {
1075
- params[key] = element.join(',');
1062
+ });
1063
+ delete params[key];
1064
+ } else if (element && key.indexOf('*') >= 0) {
1065
+ var _dataParams4 = key.split('*');
1066
+ _dataParams4.forEach(function (value, index) {
1067
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
1068
+ });
1069
+ delete params[key];
1070
+ } else if (element && key.indexOf('_likeIn_') >= 0) {
1071
+ var _dataParams5 = key.split('_likeIn_');
1072
+ if (element.indexOf(',') >= 0) {
1073
+ params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
1074
+ params["qp-".concat(_dataParams5[0], "-like")] = null;
1075
+ } else {
1076
+ params["qp-".concat(_dataParams5[0], "-like")] = element;
1077
+ params["qp-".concat(_dataParams5[0], "-in")] = null;
1076
1078
  }
1077
- })();
1079
+ delete params[key];
1080
+ } else if (Array.isArray(element)) {
1081
+ params[key] = element.join(',');
1082
+ }
1078
1083
  }
1084
+ };
1085
+ for (var key in params) {
1086
+ _loop();
1079
1087
  }
1080
1088
  return flag ? params : qs.stringify(params);
1081
1089
  }
@@ -1121,7 +1129,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1121
1129
  return item;
1122
1130
  });
1123
1131
  };
1124
- var memoizeOneFormatter = memoizeOne(formatter, isEqual$1);
1132
+ var memoizeOneFormatter = index$1(formatter, isEqual);
1125
1133
  var go2BackAndClose = function go2BackAndClose() {
1126
1134
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1127
1135
  history.goBack();
@@ -2804,84 +2812,85 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
2804
2812
  });
2805
2813
  }
2806
2814
  // 数组对象处理,对带有特殊标记的name进行处理
2807
- for (var key in params) {
2815
+ var _loop = function _loop() {
2808
2816
  if (Object.prototype.hasOwnProperty.call(params, key)) {
2809
- (function () {
2810
- var element = params[key];
2811
- if (element && key.indexOf('*number*') >= 0) {
2812
- var dataParams = key.split('*number*');
2813
- dataParams.forEach(function (value, index) {
2814
- params[value] = element[index];
2815
- });
2816
- delete params[key];
2817
- } else if (element && key.indexOf('*address*') >= 0) {
2818
- var _dataParams = key.split('*address*');
2819
- _dataParams.forEach(function (value, index) {
2820
- params[value] = element.PCDCode[index];
2821
- });
2822
- delete params[key];
2823
- } else if (element && key.indexOf('*costType*') >= 0) {
2824
- var _dataParams2 = key.split('*costType*');
2825
- // eslint-disable-next-line prefer-destructuring
2826
- params[_dataParams2[0]] = element[1];
2827
- delete params[key];
2828
- } else if (element && key.indexOf('*fullDate*') >= 0) {
2829
- var _dataParams3 = key.split('*fullDate*');
2830
- _dataParams3.forEach(function (value, index) {
2831
- if (index === 0) {
2832
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2833
- } else {
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;
2817
+ var element = params[key];
2818
+ if (element && key.indexOf('*number*') >= 0) {
2819
+ var dataParams = key.split('*number*');
2820
+ dataParams.forEach(function (value, index) {
2821
+ params[value] = element[index];
2822
+ });
2823
+ delete params[key];
2824
+ } else if (element && key.indexOf('*address*') >= 0) {
2825
+ var _dataParams = key.split('*address*');
2826
+ _dataParams.forEach(function (value, index) {
2827
+ params[value] = element.PCDCode[index];
2828
+ });
2829
+ delete params[key];
2830
+ } else if (element && key.indexOf('*costType*') >= 0) {
2831
+ var _dataParams2 = key.split('*costType*');
2832
+ // eslint-disable-next-line prefer-destructuring
2833
+ params[_dataParams2[0]] = element[1];
2834
+ delete params[key];
2835
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
2836
+ var _dataParams3 = key.split('*fullDate*');
2837
+ _dataParams3.forEach(function (value, index) {
2838
+ if (index === 0) {
2839
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2840
+ } else {
2841
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
2842
2842
  }
2843
- delete params[key];
2844
- } else if (element && key.indexOf('*cascader*') >= 0) {
2845
- var _dataParams5 = key.split('*cascader*');
2846
- params[_dataParams5[0]] = element[element.length - 1];
2847
- delete params[key];
2848
- } else if (element && key.indexOf('*date*') >= 0) {
2849
- var _dataParams6 = key.split('*date*');
2850
- _dataParams6.forEach(function (value, index) {
2851
- if (index === 0) {
2852
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2853
- } else {
2854
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2855
- }
2856
- });
2857
- delete params[key];
2858
- } else if (element && key.indexOf('*') >= 0) {
2859
- var _dataParams7 = key.split('*');
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
- }
2843
+ });
2844
+ delete params[key];
2845
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
2846
+ var _dataParams4 = key.split('*checkBox*');
2847
+ if (element) {
2848
+ params[_dataParams4[0]] = 0;
2849
+ }
2850
+ delete params[key];
2851
+ } else if (element && key.indexOf('*cascader*') >= 0) {
2852
+ var _dataParams5 = key.split('*cascader*');
2853
+ params[_dataParams5[0]] = element[element.length - 1];
2854
+ delete params[key];
2855
+ } else if (element && key.indexOf('*date*') >= 0) {
2856
+ var _dataParams6 = key.split('*date*');
2857
+ _dataParams6.forEach(function (value, index) {
2858
+ if (index === 0) {
2859
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2874
2860
  } else {
2875
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2861
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2862
+ }
2863
+ });
2864
+ delete params[key];
2865
+ } else if (element && key.indexOf('*') >= 0) {
2866
+ var _dataParams7 = key.split('*');
2867
+ _dataParams7.forEach(function (value, index) {
2868
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
2869
+ });
2870
+ delete params[key];
2871
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
2872
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
2873
+ var _dataParams8 = key.split('_selectNumberRange')[0];
2874
+ if (params[key][0] === 'range') {
2875
+ if (params[key][1][0]) {
2876
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
2876
2877
  }
2877
- delete params[key];
2878
- } else if (Array.isArray(element)) {
2879
- params[key] = element.join(',');
2880
- } else if (element == null || element === undefined || String(element).trim() === '') {
2881
- delete params[key];
2878
+ if (params[key][1][1]) {
2879
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
2880
+ }
2881
+ } else {
2882
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2882
2883
  }
2883
- })();
2884
+ delete params[key];
2885
+ } else if (Array.isArray(element)) {
2886
+ params[key] = element.join(',');
2887
+ } else if (element == null || element === undefined || String(element).trim() === '') {
2888
+ delete params[key];
2889
+ }
2884
2890
  }
2891
+ };
2892
+ for (var key in params) {
2893
+ _loop();
2885
2894
  }
2886
2895
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
2887
2896
  pageSize: pageSize,
@@ -3278,7 +3287,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3278
3287
  }
3279
3288
  };
3280
3289
  var themeColor = {
3281
- color: '#1890ff'
3290
+ color: '#02B56E'
3282
3291
  };
3283
3292
  var formItem = function formItem(list) {
3284
3293
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
@@ -3581,11 +3590,11 @@ var drag = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
3581
3590
 
3582
3591
  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
3592
 
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%23005CFF%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";
3593
+ 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
3594
 
3586
3595
  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
3596
 
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%23005CFF%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";
3597
+ 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
3598
 
3590
3599
  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
3600
  styleInject(css_248z$6);
@@ -3635,15 +3644,17 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
3635
3644
  };
3636
3645
  });
3637
3646
  axios({
3638
- url: '/user/appConfig/saveUserOrder',
3647
+ // url: '/user/appConfig/saveUserOrder',
3648
+ url: '/api/mallops/appConfig/saveUserOrder',
3639
3649
  method: 'POST',
3640
3650
  data: {
3641
3651
  "code": tableCode,
3642
3652
  "detail": JSON.stringify(configvalue)
3643
3653
  }
3644
3654
  }).then(function (res) {
3645
- var _res$data;
3646
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
3655
+ var _res$data, _res$data2;
3656
+ // if (res?.data?.status === '0') {
3657
+ if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0' || (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.code) == '000000') {
3647
3658
  setConfigTableColumns(configvalue, tableCode);
3648
3659
  } else {
3649
3660
  message$1.error('保存表头列自定义失败,请稍后尝试');
@@ -4280,8 +4291,6 @@ var getSelectDataList = function getSelectDataList(record, item, selectKey) {
4280
4291
  }
4281
4292
  return result;
4282
4293
  };
4283
-
4284
- var _excluded$3 = ["onResize", "width"];
4285
4294
  var loadSelectSource = function loadSelectSource(url, params) {
4286
4295
  return new Promise(function (resolve, reject) {
4287
4296
  axios.get("".concat(url, "?").concat(stringify(params))).then(function (result) {
@@ -4289,6 +4298,7 @@ var loadSelectSource = function loadSelectSource(url, params) {
4289
4298
  result = result.data;
4290
4299
  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
4300
  message$1.error(result.msg);
4301
+ resolve(result);
4292
4302
  return;
4293
4303
  }
4294
4304
  resolve(result);
@@ -4297,38 +4307,6 @@ var loadSelectSource = function loadSelectSource(url, params) {
4297
4307
  });
4298
4308
  });
4299
4309
  };
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
4310
  var formatSource = function formatSource(reData, position, changePosition, changeSearchForm) {
4333
4311
  var _reData$position;
4334
4312
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['code', 'name'];
@@ -4368,6 +4346,52 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
4368
4346
  }) || [];
4369
4347
  changeSearchForm[changePosition].field.props.treeData = formatData;
4370
4348
  };
4349
+ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearchForm) {
4350
+ loadList.forEach(function (i, index) {
4351
+ if (i.resType == 'list') {
4352
+ var resKeyValue = i.resKeyValue || ['code', 'name'];
4353
+ formatSource(x, index, i.resPosition, tableSearchForm, resKeyValue);
4354
+ }
4355
+ if (i.resType == 'treeList') {
4356
+ var _resKeyValue = i.resKeyValue || ['id', 'name'];
4357
+ formatTreeDataSource(x, index, i.resPosition, tableSearchForm, _resKeyValue);
4358
+ }
4359
+ });
4360
+ };
4361
+
4362
+ var _excluded$3 = ["onResize", "width"];
4363
+ var checkSpuMatchCode = function checkSpuMatchCode(data) {
4364
+ return new Promise(function (resolve, reject) {
4365
+ axios.post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
4366
+ var _result, _result2;
4367
+ result = result.data;
4368
+ 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') {
4369
+ message$1.error(result.msg);
4370
+ reject(false);
4371
+ return;
4372
+ }
4373
+ resolve(result);
4374
+ }).catch(function (err) {
4375
+ reject(err);
4376
+ });
4377
+ });
4378
+ };
4379
+ var ResizeableTitle = function ResizeableTitle(props) {
4380
+ var onResize = props.onResize,
4381
+ width = props.width,
4382
+ restProps = _objectWithoutProperties(props, _excluded$3);
4383
+ if (!width) {
4384
+ return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
4385
+ }
4386
+ return /*#__PURE__*/React.createElement(Resizable, {
4387
+ width: width,
4388
+ height: 0,
4389
+ onResize: onResize,
4390
+ draggableOpts: {
4391
+ enableUserSelectHack: false
4392
+ }
4393
+ }, /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps)));
4394
+ };
4371
4395
  var initTableCode = {
4372
4396
  'sku': ['skuSelect-tableOptionsToChoosePartCode', 'skuSelect-tableSelectedItemPartCode'],
4373
4397
  'skc': ['skcSelect-tableOptionsToChoosePartCode', 'skcSelect-tableSelectedItemPartCode'],
@@ -4400,9 +4424,7 @@ var AddSelect = function AddSelect(props) {
4400
4424
  _props$businessType = props.businessType,
4401
4425
  businessType = _props$businessType === void 0 ? 'sku' : _props$businessType,
4402
4426
  _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;
4427
+ isAllowRepeatedSelect = _props$isAllowRepeate === void 0 ? false : _props$isAllowRepeate;
4406
4428
  var _ref = requestConfig || {},
4407
4429
  url = _ref.url,
4408
4430
  otherParams = _ref.otherParams,
@@ -4559,76 +4581,74 @@ var AddSelect = function AddSelect(props) {
4559
4581
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
4560
4582
  var result;
4561
4583
  return _regeneratorRuntime().wrap(function _callee$(_context) {
4562
- while (1) {
4563
- switch (_context.prev = _context.next) {
4564
- case 0:
4565
- if (!(bType == 'skc' && tList.some(function (i) {
4566
- return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
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;
4584
+ while (1) switch (_context.prev = _context.next) {
4585
+ case 0:
4586
+ if (!(bType == 'skc' && tList.some(function (i) {
4587
+ return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
4588
+ }))) {
4589
+ _context.next = 3;
4619
4590
  break;
4620
- case 22:
4621
- _context.prev = 22;
4622
- _context.t0 = _context["catch"](15);
4623
- result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
4624
- case 25:
4625
- return _context.abrupt("return", result);
4626
- case 26:
4627
- return _context.abrupt("return", true);
4628
- case 27:
4629
- case "end":
4630
- return _context.stop();
4631
- }
4591
+ }
4592
+ message$1.warning('相同skc配码不可设置相同哦');
4593
+ return _context.abrupt("return", false);
4594
+ case 3:
4595
+ if (!(bType == 'spu')) {
4596
+ _context.next = 26;
4597
+ break;
4598
+ }
4599
+ if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
4600
+ return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
4601
+ }))) {
4602
+ _context.next = 7;
4603
+ break;
4604
+ }
4605
+ message$1.warning('相同商品相同配码颜色不可设置相同哦');
4606
+ return _context.abrupt("return", false);
4607
+ case 7:
4608
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
4609
+ _context.next = 10;
4610
+ break;
4611
+ }
4612
+ message$1.warning('请先选择颜色!');
4613
+ return _context.abrupt("return", false);
4614
+ case 10:
4615
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
4616
+ return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
4617
+ }))) {
4618
+ _context.next = 13;
4619
+ break;
4620
+ }
4621
+ message$1.warning('相同商品相同颜色配码不可设置相同哦');
4622
+ return _context.abrupt("return", false);
4623
+ case 13:
4624
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
4625
+ _context.next = 26;
4626
+ break;
4627
+ }
4628
+ result = true;
4629
+ _context.prev = 15;
4630
+ _context.next = 18;
4631
+ return checkSpuMatchCode({
4632
+ skcCode: recordItem[recordKey],
4633
+ matchingCode: changeValue,
4634
+ ext1: recordItem.colorName
4635
+ });
4636
+ case 18:
4637
+ result = _context.sent;
4638
+ result = true;
4639
+ _context.next = 25;
4640
+ break;
4641
+ case 22:
4642
+ _context.prev = 22;
4643
+ _context.t0 = _context["catch"](15);
4644
+ result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
4645
+ case 25:
4646
+ return _context.abrupt("return", result);
4647
+ case 26:
4648
+ return _context.abrupt("return", true);
4649
+ case 27:
4650
+ case "end":
4651
+ return _context.stop();
4632
4652
  }
4633
4653
  }, _callee, null, [[15, 22]]);
4634
4654
  }));
@@ -4820,29 +4840,27 @@ var AddSelect = function AddSelect(props) {
4820
4840
  var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
4821
4841
  var isConformToTheRules, newPopValue;
4822
4842
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
4823
- while (1) {
4824
- switch (_context2.prev = _context2.next) {
4825
- case 0:
4826
- _context2.next = 2;
4827
- return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
4828
- case 2:
4829
- isConformToTheRules = _context2.sent;
4830
- if (isConformToTheRules) {
4831
- record[item.dataIndex] = value;
4832
- } else {
4833
- record[item.dataIndex] = null;
4843
+ while (1) switch (_context2.prev = _context2.next) {
4844
+ case 0:
4845
+ _context2.next = 2;
4846
+ return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
4847
+ case 2:
4848
+ isConformToTheRules = _context2.sent;
4849
+ if (isConformToTheRules) {
4850
+ record[item.dataIndex] = value;
4851
+ } else {
4852
+ record[item.dataIndex] = null;
4853
+ }
4854
+ newPopValue = popvalue.map(function (i, innerIndex) {
4855
+ if (innerIndex == index) {
4856
+ i[item.dataIndex] = record[item.dataIndex];
4834
4857
  }
4835
- newPopValue = popvalue.map(function (i, innerIndex) {
4836
- if (innerIndex == index) {
4837
- i[item.dataIndex] = record[item.dataIndex];
4838
- }
4839
- return i;
4840
- });
4841
- setPopValue(newPopValue);
4842
- case 6:
4843
- case "end":
4844
- return _context2.stop();
4845
- }
4858
+ return i;
4859
+ });
4860
+ setPopValue(newPopValue);
4861
+ case 6:
4862
+ case "end":
4863
+ return _context2.stop();
4846
4864
  }
4847
4865
  }, _callee2);
4848
4866
  }));
@@ -4874,7 +4892,7 @@ var AddSelect = function AddSelect(props) {
4874
4892
  return /*#__PURE__*/React.createElement("span", {
4875
4893
  style: {
4876
4894
  cursor: 'pointer',
4877
- color: '#005CFF'
4895
+ color: '#02B56E'
4878
4896
  },
4879
4897
  onClick: function onClick() {
4880
4898
  deleteRecord(record);
@@ -4902,94 +4920,95 @@ var AddSelect = function AddSelect(props) {
4902
4920
  });
4903
4921
  }
4904
4922
  // 数组对象处理,对带有特殊标记的name进行处理
4905
- for (var key in params) {
4923
+ var _loop = function _loop() {
4906
4924
  if (Object.prototype.hasOwnProperty.call(params, key)) {
4907
- (function () {
4908
- var element = params[key];
4909
- if (element && key.indexOf('*number*') >= 0) {
4910
- var dataParams = key.split('*number*');
4911
- dataParams.forEach(function (value, index) {
4912
- params[value] = element[index];
4913
- });
4914
- delete params[key];
4915
- } else if (element && key.indexOf('*address*') >= 0) {
4916
- var _dataParams = key.split('*address*');
4917
- _dataParams.forEach(function (value, index) {
4918
- params[value] = element.PCDCode[index];
4919
- });
4920
- delete params[key];
4921
- } else if (element && key.indexOf('*costType*') >= 0) {
4922
- var _dataParams2 = key.split('*costType*');
4923
- // eslint-disable-next-line prefer-destructuring
4924
- params[_dataParams2[0]] = element[1];
4925
- delete params[key];
4926
- } else if (element && key.indexOf('*fullDate*') >= 0) {
4927
- var _dataParams3 = key.split('*fullDate*');
4928
- _dataParams3.forEach(function (value, index) {
4929
- if (index === 0) {
4930
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
4931
- } else {
4932
- params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
4933
- }
4934
- });
4935
- delete params[key];
4936
- } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
4937
- var _dataParams4 = key.split('*checkBox*');
4938
- if (element) {
4939
- params[_dataParams4[0]] = 0;
4940
- }
4941
- delete params[key];
4942
- } else if (element && key.indexOf('*cascader*') >= 0) {
4943
- var _dataParams5 = key.split('*cascader*');
4944
- params[_dataParams5[0]] = element[element.length - 1];
4945
- delete params[key];
4946
- } else if (element && key.indexOf('*date*') >= 0) {
4947
- var _dataParams6 = key.split('*date*');
4948
- _dataParams6.forEach(function (value, index) {
4949
- if (index === 0) {
4950
- params[value] = moment(element[index]).format('YYYY-MM-DD');
4951
- } else {
4952
- params[value] = moment(element[index]).format('YYYY-MM-DD');
4953
- }
4954
- });
4955
- delete params[key];
4956
- } else if (element && key.indexOf('*') >= 0) {
4957
- var _dataParams7 = key.split('*');
4958
- _dataParams7.forEach(function (value, index) {
4959
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
4960
- });
4961
- delete params[key];
4962
- } else if (element && key.indexOf('_selectNumberRange') >= 0) {
4963
- // key = xxxxx_selectNumberRange qp-xxxxx-gt
4964
- var _dataParams8 = key.split('_selectNumberRange')[0];
4965
- if (params[key][0] === 'range') {
4966
- if (params[key][1][0]) {
4967
- params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
4968
- }
4969
- if (params[key][1][1]) {
4970
- params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
4971
- }
4925
+ var element = params[key];
4926
+ if (element && key.indexOf('*number*') >= 0) {
4927
+ var dataParams = key.split('*number*');
4928
+ dataParams.forEach(function (value, index) {
4929
+ params[value] = element[index];
4930
+ });
4931
+ delete params[key];
4932
+ } else if (element && key.indexOf('*address*') >= 0) {
4933
+ var _dataParams = key.split('*address*');
4934
+ _dataParams.forEach(function (value, index) {
4935
+ params[value] = element.PCDCode[index];
4936
+ });
4937
+ delete params[key];
4938
+ } else if (element && key.indexOf('*costType*') >= 0) {
4939
+ var _dataParams2 = key.split('*costType*');
4940
+ // eslint-disable-next-line prefer-destructuring
4941
+ params[_dataParams2[0]] = element[1];
4942
+ delete params[key];
4943
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
4944
+ var _dataParams3 = key.split('*fullDate*');
4945
+ _dataParams3.forEach(function (value, index) {
4946
+ if (index === 0) {
4947
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
4948
+ } else {
4949
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
4950
+ }
4951
+ });
4952
+ delete params[key];
4953
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
4954
+ var _dataParams4 = key.split('*checkBox*');
4955
+ if (element) {
4956
+ params[_dataParams4[0]] = 0;
4957
+ }
4958
+ delete params[key];
4959
+ } else if (element && key.indexOf('*cascader*') >= 0) {
4960
+ var _dataParams5 = key.split('*cascader*');
4961
+ params[_dataParams5[0]] = element[element.length - 1];
4962
+ delete params[key];
4963
+ } else if (element && key.indexOf('*date*') >= 0) {
4964
+ var _dataParams6 = key.split('*date*');
4965
+ _dataParams6.forEach(function (value, index) {
4966
+ if (index === 0) {
4967
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
4972
4968
  } else {
4973
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
4969
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
4974
4970
  }
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];
4971
+ });
4972
+ delete params[key];
4973
+ } else if (element && key.indexOf('*') >= 0) {
4974
+ var _dataParams7 = key.split('*');
4975
+ _dataParams7.forEach(function (value, index) {
4976
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
4977
+ });
4978
+ delete params[key];
4979
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
4980
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
4981
+ var _dataParams8 = key.split('_selectNumberRange')[0];
4982
+ if (params[key][0] === 'range') {
4983
+ if (params[key][1][0]) {
4984
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
4985
+ }
4986
+ if (params[key][1][1]) {
4987
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
4988
+ }
4989
+ } else {
4990
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
4980
4991
  }
4981
- })();
4992
+ delete params[key];
4993
+ } else if (Array.isArray(element)) {
4994
+ params[key] = element.join(',');
4995
+ } else if (element == null || element === undefined || String(element).trim() === '') {
4996
+ delete params[key];
4997
+ }
4982
4998
  }
4999
+ };
5000
+ for (var key in params) {
5001
+ _loop();
4983
5002
  }
4984
5003
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
4985
5004
  pageSize: pageSize,
4986
5005
  currentPage: currentPage
4987
5006
  }, otherParams), fixedParam), params);
4988
5007
  axios.get("".concat(url, "?").concat(stringify(queryParams))).then(function (result) {
4989
- var _result5, _result6;
5008
+ var _result3, _result4;
4990
5009
  setFetching(false);
4991
5010
  result = result.data;
4992
- if (((_result5 = result) === null || _result5 === void 0 ? void 0 : _result5.status) && result.status !== '0' || ((_result6 = result) === null || _result6 === void 0 ? void 0 : _result6.code) && result.code !== '000000') {
5011
+ 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
5012
  message$1.error(result.msg);
4994
5013
  return;
4995
5014
  }
@@ -5070,65 +5089,14 @@ var AddSelect = function AddSelect(props) {
5070
5089
  };
5071
5090
 
5072
5091
  useEffect(function () {
5073
- if (businessType == 'sku') {
5074
- Promise.all([loadSelectSource("/items/brand/queryBrandList", {
5075
- pageSize: 5000,
5076
- currentPage: 1,
5077
- 'ctl-withAuth': true
5078
- }), loadSelectSource("/items/category/queryCategoryTree", {
5079
- pageSize: 5000,
5080
- currentPage: 1
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
- }
5092
+ var pList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.promiseLoadList) || [];
5093
+ if (!(pList === null || pList === void 0 ? void 0 : pList.length)) return;
5094
+ var list = pList.map(function (i) {
5095
+ return loadSelectSource(i.url, i.params);
5096
+ });
5097
+ Promise.all(list).then(function (x) {
5098
+ formatFormSourceList(x, pList, tableSearchForm);
5099
+ });
5132
5100
  }, [businessType]);
5133
5101
  useEffect(function () {
5134
5102
  if (value) {
@@ -5318,7 +5286,7 @@ var AddSelect = function AddSelect(props) {
5318
5286
  }
5319
5287
  };
5320
5288
  var themeColor = {
5321
- color: '#005CFF'
5289
+ color: '#02B56E'
5322
5290
  };
5323
5291
  var formItem = function formItem(list) {
5324
5292
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
@@ -5409,10 +5377,10 @@ var AddSelect = function AddSelect(props) {
5409
5377
  setSelectedRowKeys([]);
5410
5378
  } else {
5411
5379
  setPopValue(popvalue.filter(function (item) {
5412
- return item.skuCode !== record.skuCode;
5380
+ return item[selectRowKey] !== record[selectRowKey];
5413
5381
  }));
5414
5382
  setSelectedRowKeys(_toConsumableArray(selectedRowKeys.filter(function (item) {
5415
- return item !== record.skuCode;
5383
+ return item !== record[selectRowKey];
5416
5384
  })));
5417
5385
  }
5418
5386
  };
@@ -5512,8 +5480,8 @@ var AddSelect = function AddSelect(props) {
5512
5480
  }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
5513
5481
  key: "save-and-continue",
5514
5482
  style: {
5515
- color: '#005CFF',
5516
- borderColor: '#005CFF'
5483
+ color: '#02B56E',
5484
+ borderColor: '#02B56E'
5517
5485
  },
5518
5486
  onClick: function onClick() {
5519
5487
  handleOk(true);
@@ -5763,7 +5731,7 @@ var InputElement = function InputElement(_ref) {
5763
5731
  var _tableRef$current;
5764
5732
  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
5733
  if (dom) {
5766
- dom.style.background = '#005CFF30';
5734
+ dom.style.background = '#02B56E30';
5767
5735
  }
5768
5736
  }
5769
5737
  }, [hoverVisibled, tableRef === null || tableRef === void 0 ? void 0 : tableRef.current]);
@@ -5813,7 +5781,7 @@ var InputElement = function InputElement(_ref) {
5813
5781
  if (dom) {
5814
5782
  tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
5815
5783
  setSelectIndex(currentIndex + 1);
5816
- dom.style.background = '#005CFF30';
5784
+ dom.style.background = '#02B56E30';
5817
5785
  dom.scrollIntoViewIfNeeded(false);
5818
5786
  }
5819
5787
  } else if (e.keyCode === 38) {
@@ -5821,7 +5789,7 @@ var InputElement = function InputElement(_ref) {
5821
5789
  if (_dom) {
5822
5790
  tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
5823
5791
  setSelectIndex(currentIndex - 1);
5824
- _dom.style.background = '#005CFF30';
5792
+ _dom.style.background = '#02B56E30';
5825
5793
  _dom.scrollIntoViewIfNeeded(false);
5826
5794
  }
5827
5795
  }
@@ -5834,7 +5802,7 @@ var InputElement = function InputElement(_ref) {
5834
5802
  // body: {
5835
5803
  // cell: ({index, record, ...props}) => {
5836
5804
  // debugger
5837
- // return <td {...props} style={selectIndex === record?.index ? {background: '#005CFF30'} : {} } />
5805
+ // return <td {...props} style={selectIndex === record?.index ? {background: '#02B56E30'} : {} } />
5838
5806
  // }
5839
5807
  // }
5840
5808
  // }
@@ -5847,7 +5815,7 @@ var InputElement = function InputElement(_ref) {
5847
5815
  _toConsumableArray(tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')).map(function (item) {
5848
5816
  item.style.background = '';
5849
5817
  });
5850
- dom.style.background = '#005CFF30';
5818
+ dom.style.background = '#02B56E30';
5851
5819
  dom.scrollIntoViewIfNeeded(false);
5852
5820
  }
5853
5821
  setSelectIndex(index);
@@ -6354,7 +6322,7 @@ var BillEntry = function BillEntry(_ref3) {
6354
6322
  return /*#__PURE__*/React.createElement("span", {
6355
6323
  style: {
6356
6324
  cursor: 'pointer',
6357
- color: '#005CFF'
6325
+ color: '#02B56E'
6358
6326
  },
6359
6327
  onClick: function onClick() {
6360
6328
  deleteRecord(record);
@@ -6436,72 +6404,70 @@ var BillEntry = function BillEntry(_ref3) {
6436
6404
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
6437
6405
  var canEntryObject, _canEntryObject$error, messageInfo;
6438
6406
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6439
- while (1) {
6440
- switch (_context.prev = _context.next) {
6441
- case 0:
6442
- if (data === null || data === void 0 ? void 0 : data.length) {
6443
- _context.next = 3;
6444
- break;
6445
- }
6446
- message$1.warning('至少录入一条数据');
6447
- return _context.abrupt("return");
6448
- case 3:
6449
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6450
- return d.skuCode && d.name;
6451
- })) {
6452
- _context.next = 6;
6453
- break;
6454
- }
6455
- message$1.warning('请选择商品!');
6456
- return _context.abrupt("return");
6457
- case 6:
6458
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6459
- return d.count;
6460
- })) {
6461
- _context.next = 9;
6462
- break;
6463
- }
6464
- message$1.warning('请填写商品数量!');
6465
- return _context.abrupt("return");
6466
- case 9:
6467
- _context.next = 11;
6468
- return isSkuCanEntry(data);
6469
- case 11:
6470
- canEntryObject = _context.sent;
6471
- if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
6472
- _context.next = 16;
6473
- break;
6474
- }
6475
- 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) {
6476
- return /*#__PURE__*/React.createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
6477
- }));
6478
- messageInfo && message$1.warning({
6479
- content: messageInfo,
6480
- duration: 6
6481
- });
6482
- return _context.abrupt("return");
6483
- case 16:
6484
- setLoading(true);
6485
- onSaveCallback(data).then(function (res) {
6486
- {
6487
- var _Object$keys;
6488
- var initSuccessMessage = '保存成功';
6489
- var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
6490
- if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
6491
- (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? message$1.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
6492
- } else {
6493
- message$1.success(initSuccessMessage);
6494
- }
6407
+ while (1) switch (_context.prev = _context.next) {
6408
+ case 0:
6409
+ if (data === null || data === void 0 ? void 0 : data.length) {
6410
+ _context.next = 3;
6411
+ break;
6412
+ }
6413
+ message$1.warning('至少录入一条数据');
6414
+ return _context.abrupt("return");
6415
+ case 3:
6416
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6417
+ return d.skuCode && d.name;
6418
+ })) {
6419
+ _context.next = 6;
6420
+ break;
6421
+ }
6422
+ message$1.warning('请选择商品!');
6423
+ return _context.abrupt("return");
6424
+ case 6:
6425
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6426
+ return d.count;
6427
+ })) {
6428
+ _context.next = 9;
6429
+ break;
6430
+ }
6431
+ message$1.warning('请填写商品数量!');
6432
+ return _context.abrupt("return");
6433
+ case 9:
6434
+ _context.next = 11;
6435
+ return isSkuCanEntry(data);
6436
+ case 11:
6437
+ canEntryObject = _context.sent;
6438
+ if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
6439
+ _context.next = 16;
6440
+ break;
6441
+ }
6442
+ 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) {
6443
+ return /*#__PURE__*/React.createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
6444
+ }));
6445
+ messageInfo && message$1.warning({
6446
+ content: messageInfo,
6447
+ duration: 6
6448
+ });
6449
+ return _context.abrupt("return");
6450
+ case 16:
6451
+ setLoading(true);
6452
+ onSaveCallback(data).then(function (res) {
6453
+ {
6454
+ var _Object$keys;
6455
+ var initSuccessMessage = '保存成功';
6456
+ var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
6457
+ if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
6458
+ (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? message$1.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
6459
+ } else {
6460
+ message$1.success(initSuccessMessage);
6495
6461
  }
6496
- setLoading(false);
6497
- }).catch(function (Error) {
6498
- message$1.error(Error);
6499
- setLoading(false);
6500
- });
6501
- case 18:
6502
- case "end":
6503
- return _context.stop();
6504
- }
6462
+ }
6463
+ setLoading(false);
6464
+ }).catch(function (Error) {
6465
+ message$1.error(Error);
6466
+ setLoading(false);
6467
+ });
6468
+ case 18:
6469
+ case "end":
6470
+ return _context.stop();
6505
6471
  }
6506
6472
  }, _callee);
6507
6473
  }));
@@ -8745,9 +8711,16 @@ var BusinessSearchSelect$1 = /*#__PURE__*/React.memo(BusinessSearchSelect, funct
8745
8711
  // import { getCurrentTargetBgId } from '@/utils/LocalstorageUtils';
8746
8712
  function handleSelectColumn(c, parentProps) {
8747
8713
  var result = c;
8714
+ var showColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showColumns) || [];
8748
8715
  var exceptColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptColumns) || [];
8749
8716
  var coverColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverColumns) || [];
8750
8717
  var additionColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.additionColumns) || [];
8718
+ // 仅展示内容
8719
+ if (showColumns === null || showColumns === void 0 ? void 0 : showColumns.length) {
8720
+ result = result.filter(function (i) {
8721
+ return showColumns.includes(i.dataIndex);
8722
+ });
8723
+ }
8751
8724
  // 过滤不需要展示内容
8752
8725
  if (exceptColumns === null || exceptColumns === void 0 ? void 0 : exceptColumns.length) {
8753
8726
  result = result.filter(function (i) {
@@ -8766,6 +8739,57 @@ function handleSelectColumn(c, parentProps) {
8766
8739
  }
8767
8740
  return result;
8768
8741
  }
8742
+ function handleSearchForm(c, parentProps) {
8743
+ var result = c;
8744
+ var showTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showTableSearchForm) || [];
8745
+ var exceptTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptTableSearchForm) || [];
8746
+ var coverTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableSearchForm) || [];
8747
+ // 仅展示内容
8748
+ if (showTableSearchForm === null || showTableSearchForm === void 0 ? void 0 : showTableSearchForm.length) {
8749
+ result = result.filter(function (i) {
8750
+ return showTableSearchForm.includes(i.name);
8751
+ });
8752
+ }
8753
+ // 过滤不需要展示内容
8754
+ if (exceptTableSearchForm === null || exceptTableSearchForm === void 0 ? void 0 : exceptTableSearchForm.length) {
8755
+ result = result.filter(function (i) {
8756
+ return !exceptTableSearchForm.includes(i.name);
8757
+ });
8758
+ }
8759
+ // 覆盖内容
8760
+ if (coverTableSearchForm === null || coverTableSearchForm === void 0 ? void 0 : coverTableSearchForm.length) {
8761
+ result = coverTableSearchForm;
8762
+ }
8763
+ return result;
8764
+ }
8765
+ function handleFormSearchSourceLoad(c, parentProps) {
8766
+ var result = c;
8767
+ var showTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showTableFormSearchSourceLoad) || [];
8768
+ var exceptTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptTableFormSearchSourceLoad) || [];
8769
+ var coverTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableFormSearchSourceLoad) || [];
8770
+ var noNeedTableFormSearchSourceLoad = parentProps === null || parentProps === void 0 ? void 0 : parentProps.noNeedTableFormSearchSourceLoad;
8771
+ // 仅展示内容
8772
+ if (showTableFormSearchSourceLoad === null || showTableFormSearchSourceLoad === void 0 ? void 0 : showTableFormSearchSourceLoad.length) {
8773
+ result = result.filter(function (i) {
8774
+ return showTableFormSearchSourceLoad.includes(i.url);
8775
+ });
8776
+ }
8777
+ // 过滤不需要展示内容
8778
+ if (exceptTableFormSearchSourceLoad === null || exceptTableFormSearchSourceLoad === void 0 ? void 0 : exceptTableFormSearchSourceLoad.length) {
8779
+ result = result.filter(function (i) {
8780
+ return !exceptTableFormSearchSourceLoad.includes(i.url);
8781
+ });
8782
+ }
8783
+ // 覆盖内容
8784
+ if (coverTableFormSearchSourceLoad === null || coverTableFormSearchSourceLoad === void 0 ? void 0 : coverTableFormSearchSourceLoad.length) {
8785
+ result = coverTableFormSearchSourceLoad;
8786
+ }
8787
+ // 不需要默认请求
8788
+ if (noNeedTableFormSearchSourceLoad) {
8789
+ result = [];
8790
+ }
8791
+ return result;
8792
+ }
8769
8793
  var AddSkuSelect = function AddSkuSelect(parProps) {
8770
8794
  var _parProps$requestConf, _parProps$requestConf2;
8771
8795
  var selectProps = {
@@ -8872,234 +8896,258 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
8872
8896
  dataIndex: 'propertyNameAndValue'
8873
8897
  }]);
8874
8898
  var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
8875
- var props = {
8876
- buttonText: parProps.buttonText || '新增',
8877
- buttonProps: parProps.buttonProps || {},
8878
- tableCodeList: parProps.tableCodeList || [],
8879
- value: value,
8880
- // labelInValue: true, // 非必填 默认为false
8881
- requestConfig: _objectSpread2({
8882
- url: "/items/sku/pager/v2",
8883
- filter: 'qp-name-like',
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);
8899
+ var initialTableColumn = [{
8900
+ title: 'SKU编码',
8901
+ width: 150,
8902
+ dataIndex: 'skuCode'
8903
+ }, {
8904
+ title: 'SKU名称',
8905
+ width: 200,
8906
+ ellipsis: {
8907
+ showTitle: false
8896
8908
  },
8897
- beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
8898
- onSaveCallback: parProps.onSaveCallback,
8899
- businessType: 'sku',
8900
- isAllowRepeatedSelect: !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect),
8901
- noUseItemEancode: isNoUseItemBarcode
8902
- };
8903
- var modalTableProps = {
8904
- modalTableTitle: '选择商品',
8905
- tableSearchForm: [{
8906
- name: 'qp-skuCode-like',
8907
- label: 'SKU编码'
8908
- }, {
8909
- name: 'qp-skuName-like',
8910
- label: 'SKU名称'
8911
- }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
8912
- name: 'qp-code-in',
8913
- label: '商品条码',
8914
- field: {
8915
- type: 'multipleQueryInput',
8916
- props: _objectSpread2({}, ((_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.itemEancodeValueRequestConfig) || {})
8917
- }
8918
- }]), [{
8919
- name: 'qp-brandId-in',
8920
- type: 'select',
8921
- label: '品牌',
8922
- field: {
8923
- type: 'select',
8924
- props: {
8925
- mode: 'multiple',
8926
- notFoundContent: '暂无数据',
8927
- allowClear: true,
8928
- showSearch: true,
8929
- showArrow: true,
8930
- maxTagCount: 1,
8931
- optionFilterProp: 'children',
8932
- filterOption: function filterOption(input, option) {
8933
- return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
8934
- }
8935
- }
8936
- }
8937
- }, {
8938
- name: 'qp-categoryId-in',
8939
- type: 'treeSelect',
8940
- label: '类目',
8941
- field: {
8942
- type: 'treeSelect',
8943
- props: {
8944
- treeData: [],
8945
- treeCheckable: true,
8946
- showSearch: true,
8947
- allowClear: true,
8948
- showArrow: true,
8949
- treeNodeFilterProp: 'title',
8950
- treeDefaultExpandAll: true,
8951
- maxTagCount: 1,
8952
- placeholder: '请选择',
8953
- style: {
8954
- width: '100%'
8955
- },
8956
- dropdownStyle: {
8957
- maxHeight: 400,
8958
- maxWidth: 100,
8959
- overflow: 'auto'
8960
- }
8961
- }
8962
- }
8963
- }]),
8964
- tableColumns: [{
8965
- title: 'SKU编码',
8966
- width: 150,
8967
- dataIndex: 'skuCode'
8968
- }, {
8969
- title: 'SKU名称',
8970
- width: 200,
8971
- ellipsis: {
8972
- showTitle: false
8973
- },
8974
- render: function render(text) {
8975
- return /*#__PURE__*/React.createElement(Tooltip, {
8976
- placement: "topLeft",
8977
- title: text
8978
- }, text);
8979
- },
8980
- dataIndex: 'name'
8981
- }, {
8982
- title: '图片',
8983
- dataIndex: 'itemUrl',
8984
- width: 200,
8985
- ellipsis: {
8986
- showTitle: false
8987
- },
8988
- render: function render(text, record) {
8989
- return /*#__PURE__*/React.createElement(Tooltip, {
8990
- placement: "topLeft",
8991
- title: text
8992
- }, tableColumnsImage(getSkuImg(record), {
8993
- width: 20,
8994
- height: 20
8995
- }));
8996
- }
8997
- }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
8998
- title: '商品条码',
8999
- width: 100,
9000
- ellipsis: {
9001
- showTitle: false
9002
- },
9003
- dataIndex: 'itemEancode',
9004
- render: function render(text) {
9005
- return /*#__PURE__*/React.createElement(Tooltip, {
9006
- placement: "topLeft",
9007
- title: text
9008
- }, text);
9009
- }
9010
- }]), [{
9011
- title: '所属SPU名称',
9012
- width: 100,
9013
- ellipsis: {
9014
- showTitle: false
9015
- },
9016
- dataIndex: 'itemName',
9017
- render: function render(text) {
9018
- return /*#__PURE__*/React.createElement(Tooltip, {
9019
- placement: "topLeft",
9020
- title: text
9021
- }, text);
8909
+ render: function render(text) {
8910
+ return /*#__PURE__*/React.createElement(Tooltip, {
8911
+ placement: "topLeft",
8912
+ title: text
8913
+ }, text);
8914
+ },
8915
+ dataIndex: 'name'
8916
+ }, {
8917
+ title: '图片',
8918
+ dataIndex: 'itemUrl',
8919
+ width: 200,
8920
+ ellipsis: {
8921
+ showTitle: false
8922
+ },
8923
+ render: function render(text, record) {
8924
+ return /*#__PURE__*/React.createElement(Tooltip, {
8925
+ placement: "topLeft",
8926
+ title: text
8927
+ }, tableColumnsImage(getSkuImg(record), {
8928
+ width: 20,
8929
+ height: 20
8930
+ }));
8931
+ }
8932
+ }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
8933
+ title: '商品条码',
8934
+ width: 100,
8935
+ ellipsis: {
8936
+ showTitle: false
8937
+ },
8938
+ dataIndex: 'itemEancode',
8939
+ render: function render(text) {
8940
+ return /*#__PURE__*/React.createElement(Tooltip, {
8941
+ placement: "topLeft",
8942
+ title: text
8943
+ }, text);
8944
+ }
8945
+ }]), [{
8946
+ title: '所属SPU名称',
8947
+ width: 100,
8948
+ ellipsis: {
8949
+ showTitle: false
8950
+ },
8951
+ dataIndex: 'itemName',
8952
+ render: function render(text) {
8953
+ return /*#__PURE__*/React.createElement(Tooltip, {
8954
+ placement: "topLeft",
8955
+ title: text
8956
+ }, text);
8957
+ }
8958
+ }, {
8959
+ title: '所属SPU编码',
8960
+ width: 100,
8961
+ ellipsis: {
8962
+ showTitle: false
8963
+ },
8964
+ dataIndex: 'itemCode',
8965
+ render: function render(text) {
8966
+ return /*#__PURE__*/React.createElement(Tooltip, {
8967
+ placement: "topLeft",
8968
+ title: text
8969
+ }, text);
8970
+ }
8971
+ }, {
8972
+ title: '外部编码',
8973
+ width: 100,
8974
+ ellipsis: {
8975
+ showTitle: false
8976
+ },
8977
+ render: function render(text) {
8978
+ return /*#__PURE__*/React.createElement(Tooltip, {
8979
+ placement: "topLeft",
8980
+ title: text
8981
+ }, text);
8982
+ },
8983
+ dataIndex: 'externalCode'
8984
+ }, {
8985
+ title: '规格',
8986
+ width: 100,
8987
+ ellipsis: {
8988
+ showTitle: false
8989
+ },
8990
+ render: function render(text) {
8991
+ return /*#__PURE__*/React.createElement(Tooltip, {
8992
+ placement: "topLeft",
8993
+ title: text
8994
+ }, text);
8995
+ },
8996
+ dataIndex: 'propertyNameAndValue'
8997
+ }, {
8998
+ title: '类目',
8999
+ width: 100,
9000
+ ellipsis: {
9001
+ showTitle: false
9002
+ },
9003
+ render: function render(text) {
9004
+ return /*#__PURE__*/React.createElement(Tooltip, {
9005
+ placement: "topLeft",
9006
+ title: text
9007
+ }, text);
9008
+ },
9009
+ dataIndex: 'categoryName'
9010
+ }, {
9011
+ title: '品类',
9012
+ width: 100,
9013
+ ellipsis: {
9014
+ showTitle: false
9015
+ },
9016
+ render: function render(text) {
9017
+ return /*#__PURE__*/React.createElement(Tooltip, {
9018
+ placement: "topLeft",
9019
+ title: text
9020
+ }, text);
9021
+ },
9022
+ dataIndex: 'className'
9023
+ }, {
9024
+ title: '品牌',
9025
+ width: 100,
9026
+ ellipsis: {
9027
+ showTitle: false
9028
+ },
9029
+ render: function render(text) {
9030
+ return /*#__PURE__*/React.createElement(Tooltip, {
9031
+ placement: "topLeft",
9032
+ title: text
9033
+ }, text);
9034
+ },
9035
+ dataIndex: 'brandName'
9036
+ }]);
9037
+ var mTpTableColumn = handleSelectColumn(initialTableColumn, parProps);
9038
+ var initialTableSearchForm = [{
9039
+ name: 'qp-skuCode-like',
9040
+ label: 'SKU编码'
9041
+ }, {
9042
+ name: 'qp-skuName-like',
9043
+ label: 'SKU名称'
9044
+ }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
9045
+ name: 'qp-code-in',
9046
+ label: '商品条码',
9047
+ field: {
9048
+ type: 'multipleQueryInput',
9049
+ props: _objectSpread2({}, ((_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.itemEancodeValueRequestConfig) || {})
9050
+ }
9051
+ }]), [{
9052
+ name: 'qp-brandId-in',
9053
+ type: 'select',
9054
+ label: '品牌',
9055
+ field: {
9056
+ type: 'select',
9057
+ props: {
9058
+ mode: 'multiple',
9059
+ notFoundContent: '暂无数据',
9060
+ allowClear: true,
9061
+ showSearch: true,
9062
+ showArrow: true,
9063
+ maxTagCount: 1,
9064
+ optionFilterProp: 'children',
9065
+ filterOption: function filterOption(input, option) {
9066
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
9067
+ }
9022
9068
  }
9023
- }, {
9024
- title: '所属SPU编码',
9025
- width: 100,
9026
- ellipsis: {
9027
- showTitle: false
9028
- },
9029
- dataIndex: 'itemCode',
9030
- render: function render(text) {
9031
- return /*#__PURE__*/React.createElement(Tooltip, {
9032
- placement: "topLeft",
9033
- title: text
9034
- }, text);
9069
+ }
9070
+ }, {
9071
+ name: 'qp-categoryId-in',
9072
+ type: 'treeSelect',
9073
+ label: '类目',
9074
+ field: {
9075
+ type: 'treeSelect',
9076
+ props: {
9077
+ treeData: [],
9078
+ treeCheckable: true,
9079
+ showSearch: true,
9080
+ allowClear: true,
9081
+ showArrow: true,
9082
+ treeNodeFilterProp: 'title',
9083
+ treeDefaultExpandAll: true,
9084
+ maxTagCount: 1,
9085
+ placeholder: '请选择',
9086
+ style: {
9087
+ width: '100%'
9088
+ },
9089
+ dropdownStyle: {
9090
+ maxHeight: 400,
9091
+ maxWidth: 100,
9092
+ overflow: 'auto'
9093
+ }
9035
9094
  }
9036
- }, {
9037
- title: '外部编码',
9038
- width: 100,
9039
- ellipsis: {
9040
- showTitle: false
9041
- },
9042
- render: function render(text) {
9043
- return /*#__PURE__*/React.createElement(Tooltip, {
9044
- placement: "topLeft",
9045
- title: text
9046
- }, text);
9047
- },
9048
- dataIndex: 'externalCode'
9049
- }, {
9050
- title: '规格',
9051
- width: 100,
9052
- ellipsis: {
9053
- showTitle: false
9054
- },
9055
- render: function render(text) {
9056
- return /*#__PURE__*/React.createElement(Tooltip, {
9057
- placement: "topLeft",
9058
- title: text
9059
- }, text);
9060
- },
9061
- dataIndex: 'propertyNameAndValue'
9062
- }, {
9063
- title: '类目',
9064
- width: 100,
9065
- ellipsis: {
9066
- showTitle: false
9067
- },
9068
- render: function render(text) {
9069
- return /*#__PURE__*/React.createElement(Tooltip, {
9070
- placement: "topLeft",
9071
- title: text
9072
- }, text);
9073
- },
9074
- dataIndex: 'categoryName'
9075
- }, {
9076
- title: '品类',
9077
- width: 100,
9078
- ellipsis: {
9079
- showTitle: false
9080
- },
9081
- render: function render(text) {
9082
- return /*#__PURE__*/React.createElement(Tooltip, {
9083
- placement: "topLeft",
9084
- title: text
9085
- }, text);
9086
- },
9087
- dataIndex: 'className'
9088
- }, {
9089
- title: '品牌',
9090
- width: 100,
9091
- ellipsis: {
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
9095
+ }
9096
+ }], _toConsumableArray((parProps === null || parProps === void 0 ? void 0 : parProps.addTableSearchForm) || []));
9097
+ var mTpTableSearchForm = handleSearchForm(initialTableSearchForm, parProps);
9098
+ var initialPromiseLoadList = [{
9099
+ url: "/items/brand/queryBrandList",
9100
+ params: {
9101
+ pageSize: 5000,
9102
+ currentPage: 1,
9103
+ 'ctl-withAuth': true
9104
+ },
9105
+ resType: 'list',
9106
+ resPosition: isNoUseItemBarcode ? 2 : 3,
9107
+ resKeyValue: ['id', 'name']
9108
+ }, {
9109
+ url: "/items/category/queryCategoryTree",
9110
+ params: {
9111
+ pageSize: 5000,
9112
+ currentPage: 1
9113
+ },
9114
+ resType: 'treeList',
9115
+ resPosition: isNoUseItemBarcode ? 3 : 4
9116
+ }];
9117
+ var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
9118
+ var props = {
9119
+ buttonText: parProps.buttonText || '新增',
9120
+ buttonProps: parProps.buttonProps || {},
9121
+ tableCodeList: parProps.tableCodeList || [],
9122
+ value: value,
9123
+ // labelInValue: true, // 非必填 默认为false
9124
+ requestConfig: _objectSpread2({
9125
+ url: "/items/sku/pager/v2",
9126
+ filter: 'qp-name-like',
9127
+ otherParams: _objectSpread2({
9128
+ 'qp-combination-eq': false,
9129
+ 'qp-approveStatus-eq': 1,
9130
+ 'qp-status-eq': 1
9131
+ }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.addOtherParams) || {}),
9132
+ mappingTextField: 'name',
9133
+ mappingValueField: 'skuCode'
9134
+ }, parProps.requestConfig),
9135
+ selectProps: selectProps,
9136
+ onChange: function onChange(value) {
9137
+ console.log(value);
9138
+ setValue(value);
9139
+ },
9140
+ beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
9141
+ onSaveCallback: parProps.onSaveCallback,
9142
+ businessType: 'sku',
9143
+ isAllowRepeatedSelect: !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect)
9144
+ };
9145
+ var modalTableProps = {
9146
+ modalTableTitle: '选择商品',
9147
+ tableSearchForm: mTpTableSearchForm,
9148
+ tableColumns: mTpTableColumn,
9149
+ selectColumn: mTpSelectColumn,
9150
+ promiseLoadList: mTpPromiseLoadList
9103
9151
  };
9104
9152
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
9105
9153
  modalTableProps: modalTableProps
@@ -9175,6 +9223,45 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9175
9223
  dataIndex: 'count'
9176
9224
  }];
9177
9225
  var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
9226
+ var initialPromiseLoadList = [{
9227
+ url: "/items/item/propertyValue/sizeBySkcConfig",
9228
+ params: {
9229
+ pageSize: 10000,
9230
+ currentPage: 1,
9231
+ type: 2 // 类型:1尺码;2颜色
9232
+ },
9233
+
9234
+ resType: 'list',
9235
+ resPosition: 3,
9236
+ resKeyValue: ['value', 'value']
9237
+ }, {
9238
+ url: "/items/category/queryCategoryTree",
9239
+ params: {
9240
+ pageSize: 5000,
9241
+ currentPage: 1
9242
+ },
9243
+ resType: 'treeList',
9244
+ resPosition: 4
9245
+ }, {
9246
+ url: "/items/class/withProperty",
9247
+ params: {
9248
+ pageSize: 5000,
9249
+ currentPage: 1
9250
+ },
9251
+ resType: 'list',
9252
+ resPosition: 5,
9253
+ resKeyValue: ['id', 'name']
9254
+ }, {
9255
+ url: "/items/brand/queryBrandList",
9256
+ params: {
9257
+ pageSize: 5000,
9258
+ currentPage: 1,
9259
+ 'ctl-withAuth': true
9260
+ },
9261
+ resType: 'list',
9262
+ resPosition: 6,
9263
+ resKeyValue: ['id', 'name']
9264
+ }];
9178
9265
  var props = {
9179
9266
  buttonText: parProps.buttonText || '新增',
9180
9267
  buttonProps: parProps.buttonProps || {},
@@ -9379,7 +9466,8 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9379
9466
  },
9380
9467
  dataIndex: 'brandName'
9381
9468
  }],
9382
- selectColumn: mTpSelectColumn
9469
+ selectColumn: mTpSelectColumn,
9470
+ promiseLoadList: initialPromiseLoadList
9383
9471
  };
9384
9472
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
9385
9473
  modalTableProps: modalTableProps
@@ -9464,6 +9552,44 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
9464
9552
  dataIndex: 'className'
9465
9553
  }];
9466
9554
  var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
9555
+ var initialPromiseLoadList = [{
9556
+ url: "/user/orgViewNode/listNoPage",
9557
+ params: {
9558
+ 'qp-employeeId-eq': getEmployeeId(),
9559
+ 'qp-orgViewCode-eq': 'business-organizational-view',
9560
+ 'ctl-withDefaultOrg': true
9561
+ },
9562
+ resType: 'list',
9563
+ resPosition: 2,
9564
+ resKeyValue: ['targetId', 'name']
9565
+ }, {
9566
+ url: "/items/brand/queryBrandList",
9567
+ params: {
9568
+ pageSize: 5000,
9569
+ currentPage: 1,
9570
+ 'ctl-withAuth': true
9571
+ },
9572
+ resType: 'list',
9573
+ resPosition: 3,
9574
+ resKeyValue: ['id', 'name']
9575
+ }, {
9576
+ url: "/items/category/queryCategoryTree",
9577
+ params: {
9578
+ pageSize: 5000,
9579
+ currentPage: 1
9580
+ },
9581
+ resType: 'treeList',
9582
+ resPosition: 4
9583
+ }, {
9584
+ url: "/items/class/withProperty",
9585
+ params: {
9586
+ pageSize: 5000,
9587
+ currentPage: 1
9588
+ },
9589
+ resType: 'list',
9590
+ resPosition: 5,
9591
+ resKeyValue: ['id', 'name']
9592
+ }];
9467
9593
  var props = {
9468
9594
  buttonText: parProps.buttonText || '新增',
9469
9595
  buttonProps: parProps.buttonProps || {},
@@ -9653,7 +9779,8 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
9653
9779
  },
9654
9780
  dataIndex: 'className'
9655
9781
  }],
9656
- selectColumn: mTpSelectColumn
9782
+ selectColumn: mTpSelectColumn,
9783
+ promiseLoadList: initialPromiseLoadList
9657
9784
  };
9658
9785
  return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
9659
9786
  modalTableProps: modalTableProps
@@ -9745,7 +9872,7 @@ var CommodityEntry = function CommodityEntry(props) {
9745
9872
  * @LastEditTime: 2022-01-14 17:17:26
9746
9873
  * @LastEditors: rodchen
9747
9874
  */
9748
- var index$1 = (function (storageKeyString) {
9875
+ var index$2 = (function (storageKeyString) {
9749
9876
  var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
9750
9877
  var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
9751
9878
  if (typeof seconds !== 'number') throw new Error('seconds should be number');
@@ -9872,44 +9999,42 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
9872
9999
  var _ctx$form;
9873
10000
  var resData, coverData, data, dataList;
9874
10001
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9875
- while (1) {
9876
- switch (_context.prev = _context.next) {
9877
- case 0:
9878
- resData = (res === null || res === void 0 ? void 0 : res.data) || [];
9879
- if (!(resData.status === '0' || resData.code === '000000')) {
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;
10002
+ while (1) switch (_context.prev = _context.next) {
10003
+ case 0:
10004
+ resData = (res === null || res === void 0 ? void 0 : res.data) || [];
10005
+ if (!(resData.status === '0' || resData.code === '000000')) {
10006
+ _context.next = 13;
9895
10007
  break;
9896
- case 9:
9897
- dataList = data && Array.isArray(data) ? data : data && [data] || [];
9898
- coverData = dataList.length && dataList.map(function (ites) {
9899
- return mapSearchTree(ites);
9900
- }) || [];
9901
- case 11:
9902
- _context.next = 14;
10008
+ }
10009
+ data = resData.data;
10010
+ if (!remoteSource.converter) {
10011
+ _context.next = 9;
9903
10012
  break;
9904
- case 13:
9905
- coverData = [];
9906
- case 14:
9907
- setTreeData(coverData);
9908
- ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
9909
- case 16:
9910
- case "end":
9911
- return _context.stop();
9912
- }
10013
+ }
10014
+ _context.next = 6;
10015
+ return remoteSource.converter({
10016
+ data: [data]
10017
+ });
10018
+ case 6:
10019
+ coverData = _context.sent;
10020
+ _context.next = 11;
10021
+ break;
10022
+ case 9:
10023
+ dataList = data && Array.isArray(data) ? data : data && [data] || [];
10024
+ coverData = dataList.length && dataList.map(function (ites) {
10025
+ return mapSearchTree(ites);
10026
+ }) || [];
10027
+ case 11:
10028
+ _context.next = 14;
10029
+ break;
10030
+ case 13:
10031
+ coverData = [];
10032
+ case 14:
10033
+ setTreeData(coverData);
10034
+ ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
10035
+ case 16:
10036
+ case "end":
10037
+ return _context.stop();
9913
10038
  }
9914
10039
  }, _callee);
9915
10040
  }));
@@ -10156,10 +10281,10 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React.memo(BusinessTreeSearchSelec
10156
10281
  return true;
10157
10282
  });
10158
10283
 
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: #005CFF;\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 #005CFF;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #005CFF;\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";
10284
+ 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
10285
  styleInject(css_248z$8);
10161
10286
 
10162
- var index$2 = (function (props) {
10287
+ var index$3 = (function (props) {
10163
10288
  var _props$formStatusMapp = props.formStatusMapping,
10164
10289
  formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
10165
10290
  return /*#__PURE__*/React.createElement("div", {
@@ -10199,7 +10324,7 @@ var label_icon_bottom = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20en
10199
10324
 
10200
10325
  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
10326
 
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: #005CFF;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
10327
+ 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: #494B4A;\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
10328
  styleInject(css_248z$9);
10204
10329
 
10205
10330
  var _excluded$6 = ["children"],
@@ -10386,15 +10511,17 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
10386
10511
  };
10387
10512
  });
10388
10513
  axios({
10389
- url: '/user/appConfig/saveUserOrder',
10514
+ // url: '/user/appConfig/saveUserOrder',
10515
+ url: '/api/mallops/appConfig/saveUserOrder',
10390
10516
  method: 'POST',
10391
10517
  data: {
10392
10518
  "code": tableCode,
10393
10519
  "detail": JSON.stringify(configvalue)
10394
10520
  }
10395
10521
  }).then(function (res) {
10396
- var _res$data;
10397
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
10522
+ var _res$data, _res$data2;
10523
+ // if (res?.data?.status === '0') {
10524
+ if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0' || (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.code) == '000000') {
10398
10525
  _this.patchConfigToLocalstorage(configvalue, tableCode);
10399
10526
  } else {
10400
10527
  message$1.error('保存表头列自定义失败,请稍后尝试');
@@ -11524,7 +11651,7 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
11524
11651
  return routerMap;
11525
11652
  };
11526
11653
 
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: #005CFF;\n border: 1px solid #005CFF;\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";
11654
+ 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
11655
  styleInject(css_248z$b);
11529
11656
 
11530
11657
  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 +11684,7 @@ var CommonAlert = (function (props) {
11557
11684
  className: 'common_Alert'
11558
11685
  }, /*#__PURE__*/React.createElement(Alert, _objectSpread2({
11559
11686
  style: {
11560
- borderColor: '#005CFF',
11687
+ borderColor: '#02B56E',
11561
11688
  background: '#e5eeff',
11562
11689
  borderRadius: '4px'
11563
11690
  },
@@ -11583,7 +11710,7 @@ var iconMap = {
11583
11710
  src: moreIcon
11584
11711
  })
11585
11712
  };
11586
- var index$3 = (function (props) {
11713
+ var index$4 = (function (props) {
11587
11714
  var _useLocation = useLocation(),
11588
11715
  pathname = _useLocation.pathname;
11589
11716
  var _useState = useState(pathname + 'id'),
@@ -11800,7 +11927,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
11800
11927
  styleInject(css_248z$d);
11801
11928
 
11802
11929
  var _excluded$c = ["children"];
11803
- var index$4 = (function (props) {
11930
+ var index$5 = (function (props) {
11804
11931
  var _useLocation = useLocation(),
11805
11932
  pathname = _useLocation.pathname;
11806
11933
  var _useState = useState(pathname + 'id'),
@@ -11957,15 +12084,17 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
11957
12084
  }) : '';
11958
12085
  return new Promise(function (resolve, reject) {
11959
12086
  axios({
11960
- url: '/user/appConfig/saveUserOrder',
12087
+ // url: '/user/appConfig/saveUserOrder',
12088
+ url: '/api/mallops/appConfig/saveUserOrder',
11961
12089
  method: 'POST',
11962
12090
  data: {
11963
12091
  code: that.state.bsTableCode,
11964
12092
  detail: configvalue ? JSON.stringify(configvalue) : ''
11965
12093
  }
11966
12094
  }).then(function (res) {
11967
- var _res$data;
11968
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
12095
+ var _res$data, _res$data2;
12096
+ // if (res?.data?.status === '0') {
12097
+ if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0' || (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.code) == '000000') {
11969
12098
  _this.patchConfigToLocalstorage(configvalue);
11970
12099
  resolve({
11971
12100
  status: '0'
@@ -12705,15 +12834,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
12705
12834
  };
12706
12835
  }) : '';
12707
12836
  axios({
12708
- url: '/user/appConfig/saveQueryCriteria',
12837
+ // url: '/user/appConfig/saveQueryCriteria',
12838
+ url: '/api/mallops/appConfig/saveQueryCriteria',
12709
12839
  method: 'POST',
12710
12840
  data: {
12711
12841
  code: that.state.bsTableCode,
12712
12842
  detail: configvalue ? JSON.stringify(configvalue) : ''
12713
12843
  }
12714
12844
  }).then(function (res) {
12715
- var _res$data;
12716
- if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0') {
12845
+ var _res$data, _res$data2;
12846
+ if ((res === null || res === void 0 ? void 0 : (_res$data = res.data) === null || _res$data === void 0 ? void 0 : _res$data.status) === '0' || (res === null || res === void 0 ? void 0 : (_res$data2 = res.data) === null || _res$data2 === void 0 ? void 0 : _res$data2.code) == '000000') {
12717
12847
  _this.patchConfigToLocalstorage(configvalue);
12718
12848
  } else {
12719
12849
  message$1.error('保存搜索项自定义失败,请稍后尝试');
@@ -13300,12 +13430,8 @@ var BsSulaQueryTable = (function (props) {
13300
13430
  setCommonRenderFn(props.columns);
13301
13431
  var authButton = localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES) ? JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES)) : [];
13302
13432
  Object.keys(resourceCodeArray).forEach(function (item) {
13303
- var Item = item;
13304
- if (Number(item.slice(-1)) >= 1) {
13305
- Item = item.substr(0, item.length - 1);
13306
- }
13307
13433
  if (!authButton.filter(function (itemInner) {
13308
- return Item === itemInner;
13434
+ return item === itemInner;
13309
13435
  }).length) {
13310
13436
  resourceCodeArray[item].visible = false;
13311
13437
  }
@@ -13627,7 +13753,7 @@ var BsSulaQueryTable = (function (props) {
13627
13753
  }));
13628
13754
  });
13629
13755
 
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: #005cff;\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: #005cff;\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: #005CFF;\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";
13756
+ 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
13757
  styleInject(css_248z$f);
13632
13758
 
13633
13759
  var cache = {};
@@ -13883,7 +14009,7 @@ var AllFunc = function AllFunc(props) {
13883
14009
  })))));
13884
14010
  };
13885
14011
 
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: #1890ff;\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";
14012
+ 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
14013
  styleInject(css_248z$g);
13888
14014
 
13889
14015
  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 +14117,7 @@ var DrawContent = function DrawContent(_ref) {
13991
14117
  return /*#__PURE__*/React.createElement(List, {
13992
14118
  className: classNames('allFunsList', 'allFunsListWarp'),
13993
14119
  style: {
13994
- color: '#005CFF'
14120
+ color: '#02B56E'
13995
14121
  },
13996
14122
  header: /*#__PURE__*/React.createElement("b", null, formatMessage({
13997
14123
  id: "".concat(item.name)
@@ -14083,7 +14209,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
14083
14209
  })));
14084
14210
  });
14085
14211
 
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: #005cff;\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";
14212
+ 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
14213
  styleInject(css_248z$h);
14088
14214
 
14089
14215
  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 +14225,19 @@ function _outLogin() {
14099
14225
  _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
14100
14226
  var res;
14101
14227
  return _regeneratorRuntime().wrap(function _callee$(_context) {
14102
- while (1) {
14103
- switch (_context.prev = _context.next) {
14104
- case 0:
14105
- _context.next = 2;
14106
- return axios({
14107
- url: '/user/web/loginOut',
14108
- method: 'GET'
14109
- });
14110
- case 2:
14111
- res = _context.sent;
14112
- return _context.abrupt("return", res);
14113
- case 4:
14114
- case "end":
14115
- return _context.stop();
14116
- }
14228
+ while (1) switch (_context.prev = _context.next) {
14229
+ case 0:
14230
+ _context.next = 2;
14231
+ return axios({
14232
+ url: '/user/web/loginOut',
14233
+ method: 'GET'
14234
+ });
14235
+ case 2:
14236
+ res = _context.sent;
14237
+ return _context.abrupt("return", res);
14238
+ case 4:
14239
+ case "end":
14240
+ return _context.stop();
14117
14241
  }
14118
14242
  }, _callee);
14119
14243
  }));
@@ -14242,31 +14366,29 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14242
14366
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
14243
14367
  var sessionId;
14244
14368
  return _regeneratorRuntime().wrap(function _callee$(_context) {
14245
- while (1) {
14246
- switch (_context.prev = _context.next) {
14247
- case 0:
14248
- _context.next = 2;
14249
- return getSessionId();
14250
- case 2:
14251
- sessionId = _context.sent;
14252
- _context.next = 5;
14253
- return outLogin({
14254
- sessionId: sessionId
14369
+ while (1) switch (_context.prev = _context.next) {
14370
+ case 0:
14371
+ _context.next = 2;
14372
+ return getSessionId();
14373
+ case 2:
14374
+ sessionId = _context.sent;
14375
+ _context.next = 5;
14376
+ return outLogin({
14377
+ sessionId: sessionId
14378
+ });
14379
+ case 5:
14380
+ // @ts-ignore
14381
+ if (BUILD_TYPE) {
14382
+ message$1.success('退出登录成功');
14383
+ history.replace({
14384
+ pathname: '/user/login'
14255
14385
  });
14256
- case 5:
14257
- // @ts-ignore
14258
- if (BUILD_TYPE) {
14259
- message$1.success('退出登录成功');
14260
- history.replace({
14261
- pathname: '/user/login'
14262
- });
14263
- } else {
14264
- setLoginOutPath();
14265
- }
14266
- case 6:
14267
- case "end":
14268
- return _context.stop();
14269
- }
14386
+ } else {
14387
+ setLoginOutPath();
14388
+ }
14389
+ case 6:
14390
+ case "end":
14391
+ return _context.stop();
14270
14392
  }
14271
14393
  }, _callee);
14272
14394
  }));
@@ -14335,7 +14457,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14335
14457
  }))))), loginModalParams.visible && /*#__PURE__*/React.createElement(LoginModal, _objectSpread2({}, loginModalParams)));
14336
14458
  };
14337
14459
 
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: #005cff;\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";
14460
+ 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
14461
  styleInject(css_248z$i);
14340
14462
 
14341
14463
  var judgeIsEmpty$2 = function judgeIsEmpty(value) {
@@ -14412,7 +14534,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
14412
14534
  var afterStr = newName.substr(index + keyWord.length);
14413
14535
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("span", null, beforeStr), /*#__PURE__*/React.createElement("span", {
14414
14536
  style: {
14415
- color: '#1890ff'
14537
+ color: '#02B56E'
14416
14538
  }
14417
14539
  }, keyWord), /*#__PURE__*/React.createElement("span", null, afterStr));
14418
14540
  }
@@ -15120,7 +15242,7 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
15120
15242
  }));
15121
15243
  });
15122
15244
 
15123
- var css_248z$k = ".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: 45px;\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.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-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}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
15245
+ var css_248z$k = ".customer_menu_content {\n color: #b1bad4;\n background: #494B4A;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 45px;\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.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-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}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
15124
15246
  styleInject(css_248z$k);
15125
15247
 
15126
15248
  var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
@@ -15257,7 +15379,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
15257
15379
  })));
15258
15380
  });
15259
15381
 
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: #1890ff;\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: #1890ff !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: #005CFF;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #005CFF;\n}\n";
15382
+ 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
15383
  styleInject(css_248z$l);
15262
15384
 
15263
15385
  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 +15544,8 @@ var DrawContent$1 = function DrawContent(_ref) {
15422
15544
  return /*#__PURE__*/React.createElement("div", {
15423
15545
  className: 'left_item',
15424
15546
  style: {
15425
- borderLeft: currentOneLevel === item.path ? '2px solid #1890ff' : 'none',
15426
- color: currentOneLevel === item.path ? '#1890ff' : '#000000'
15547
+ borderLeft: currentOneLevel === item.path ? '2px solid #02B56E' : 'none',
15548
+ color: currentOneLevel === item.path ? '#02B56E' : '#000000'
15427
15549
  },
15428
15550
  onClick: function onClick(e) {
15429
15551
  e.stopPropagation();
@@ -15549,7 +15671,7 @@ var DrawContent$1 = function DrawContent(_ref) {
15549
15671
  className: "allFunsList allFunsListWarp ".concat(currentOneLevel === item.path ? 'choosedStyle' : ''),
15550
15672
  id: item.path,
15551
15673
  style: {
15552
- color: currentOneLevel === item.path ? '#fff' : '#005CFF'
15674
+ color: currentOneLevel === item.path ? '#fff' : '#02B56E'
15553
15675
  },
15554
15676
  header: /*#__PURE__*/React.createElement("b", null, formatMessage({
15555
15677
  id: "".concat(item.name)
@@ -15581,7 +15703,7 @@ var DrawContent$1 = function DrawContent(_ref) {
15581
15703
  }, /*#__PURE__*/React.createElement(CaretDownOutlined, null), "\u4E0B\u6ED1\u52A0\u8F7D\u66F4\u591A"))))));
15582
15704
  };
15583
15705
 
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%23005CFF%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";
15706
+ 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
15707
 
15586
15708
  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
15709
 
@@ -15673,7 +15795,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
15673
15795
  })));
15674
15796
  };
15675
15797
 
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: #1890ff;\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";
15798
+ var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #494B4A;\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
15799
  styleInject(css_248z$m);
15678
15800
 
15679
15801
  var _excluded$g = ["route"];
@@ -16094,6 +16216,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
16094
16216
  showSubMenu: isShow
16095
16217
  });
16096
16218
  }, 500);
16219
+ //设置tabs标签左右滚动
16097
16220
  _this.setTabNavTransLate = function (num) {
16098
16221
  var _document$getElementB, _document$getElementB2, _document$getElementB3, _document$getElementB4, _document$defaultView;
16099
16222
  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 +16897,12 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
16774
16897
  request: function () {
16775
16898
  var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
16776
16899
  return _regeneratorRuntime().wrap(function _callee$(_context) {
16777
- while (1) {
16778
- switch (_context.prev = _context.next) {
16779
- case 0:
16780
- return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
16781
- case 1:
16782
- case "end":
16783
- return _context.stop();
16784
- }
16900
+ while (1) switch (_context.prev = _context.next) {
16901
+ case 0:
16902
+ return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
16903
+ case 1:
16904
+ case "end":
16905
+ return _context.stop();
16785
16906
  }
16786
16907
  }, _callee);
16787
16908
  }));
@@ -16919,7 +17040,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
16919
17040
  }]);
16920
17041
  return WrapperComponent;
16921
17042
  }(React.Component);
16922
- var index$5 = (function (props) {
17043
+ var index$6 = (function (props) {
16923
17044
  var _useModel = useModel('@@initialState'),
16924
17045
  _useModel$initialStat = _useModel.initialState,
16925
17046
  initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
@@ -17161,7 +17282,7 @@ var FixedScrollBar = function FixedScrollBar(_ref, ref) {
17161
17282
  };
17162
17283
  var FixedScrollBar$1 = /*#__PURE__*/React.forwardRef(FixedScrollBar);
17163
17284
 
17164
- var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
17285
+ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
17165
17286
  var _useState = useState(false),
17166
17287
  _useState2 = _slicedToArray(_useState, 2),
17167
17288
  show = _useState2[0],
@@ -23511,7 +23632,7 @@ function registerSuggestions(monaco) {
23511
23632
  });
23512
23633
  }
23513
23634
 
23514
- var css_248z$p = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #1890ff;\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";
23635
+ 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
23636
  styleInject(css_248z$p);
23516
23637
 
23517
23638
  var Title = Typography.Title;
@@ -24462,28 +24583,26 @@ var valueType = {
24462
24583
  var getDynamicDict = /*#__PURE__*/function () {
24463
24584
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
24464
24585
  return _regeneratorRuntime().wrap(function _callee$(_context) {
24465
- while (1) {
24466
- switch (_context.prev = _context.next) {
24467
- case 0:
24468
- _context.next = 2;
24469
- return request$1({
24470
- url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
24471
- converter: function converter(_ref2) {
24472
- var data = _ref2.data;
24473
- return data === null || data === void 0 ? void 0 : data.map(function (d) {
24474
- return {
24475
- text: d.name,
24476
- value: d.code || d.brandCode
24477
- };
24478
- });
24479
- }
24480
- });
24481
- case 2:
24482
- return _context.abrupt("return", _context.sent);
24483
- case 3:
24484
- case "end":
24485
- return _context.stop();
24486
- }
24586
+ while (1) switch (_context.prev = _context.next) {
24587
+ case 0:
24588
+ _context.next = 2;
24589
+ return request$1({
24590
+ url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
24591
+ converter: function converter(_ref2) {
24592
+ var data = _ref2.data;
24593
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
24594
+ return {
24595
+ text: d.name,
24596
+ value: d.code || d.brandCode
24597
+ };
24598
+ });
24599
+ }
24600
+ });
24601
+ case 2:
24602
+ return _context.abrupt("return", _context.sent);
24603
+ case 3:
24604
+ case "end":
24605
+ return _context.stop();
24487
24606
  }
24488
24607
  }, _callee);
24489
24608
  }));
@@ -24533,55 +24652,53 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
24533
24652
  useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
24534
24653
  var _ref$current, source;
24535
24654
  return _regeneratorRuntime().wrap(function _callee$(_context) {
24536
- while (1) {
24537
- switch (_context.prev = _context.next) {
24538
- case 0:
24539
- _context.next = 2;
24540
- return setIsShowAndType(function (prev) {
24541
- if (record.inputType === 20 || record.inputType === 30) {
24542
- return {
24543
- isShow: true,
24544
- singleOrMultiple: record.inputType,
24545
- type: record.choiceType
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;
24655
+ while (1) switch (_context.prev = _context.next) {
24656
+ case 0:
24657
+ _context.next = 2;
24658
+ return setIsShowAndType(function (prev) {
24659
+ if (record.inputType === 20 || record.inputType === 30) {
24660
+ return {
24661
+ isShow: true,
24662
+ singleOrMultiple: record.inputType,
24663
+ type: record.choiceType
24664
+ };
24558
24665
  }
24559
- _context.t0 = getDictionarySource(record.dictionaryCode);
24560
- _context.next = 15;
24666
+ return prev;
24667
+ });
24668
+ case 2:
24669
+ if (!record.dictionaryCode) {
24670
+ _context.next = 17;
24561
24671
  break;
24562
- case 7:
24563
- if (!(record.choiceType == 30)) {
24564
- _context.next = 13;
24565
- break;
24566
- }
24567
- _context.next = 10;
24568
- return getDynamicDict(record.dictionaryCode);
24569
- case 10:
24570
- _context.t1 = _context.sent;
24571
- _context.next = 14;
24672
+ }
24673
+ if (!(record.choiceType == 20)) {
24674
+ _context.next = 7;
24572
24675
  break;
24573
- case 13:
24574
- _context.t1 = [];
24575
- case 14:
24576
- _context.t0 = _context.t1;
24577
- case 15:
24578
- source = _context.t0;
24579
- // @ts-ignore
24580
- ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
24581
- case 17:
24582
- case "end":
24583
- return _context.stop();
24584
- }
24676
+ }
24677
+ _context.t0 = getDictionarySource(record.dictionaryCode);
24678
+ _context.next = 15;
24679
+ break;
24680
+ case 7:
24681
+ if (!(record.choiceType == 30)) {
24682
+ _context.next = 13;
24683
+ break;
24684
+ }
24685
+ _context.next = 10;
24686
+ return getDynamicDict(record.dictionaryCode);
24687
+ case 10:
24688
+ _context.t1 = _context.sent;
24689
+ _context.next = 14;
24690
+ break;
24691
+ case 13:
24692
+ _context.t1 = [];
24693
+ case 14:
24694
+ _context.t0 = _context.t1;
24695
+ case 15:
24696
+ source = _context.t0;
24697
+ // @ts-ignore
24698
+ ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
24699
+ case 17:
24700
+ case "end":
24701
+ return _context.stop();
24585
24702
  }
24586
24703
  }, _callee);
24587
24704
  })));
@@ -24649,30 +24766,28 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
24649
24766
  var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
24650
24767
  var form, values, name, relates, source;
24651
24768
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
24652
- while (1) {
24653
- switch (_context2.prev = _context2.next) {
24654
- case 0:
24655
- form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
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;
24769
+ while (1) switch (_context2.prev = _context2.next) {
24770
+ case 0:
24771
+ form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
24772
+ if (values[0]) {
24669
24773
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24670
24774
  form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24671
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
24672
- case 9:
24673
- case "end":
24674
- return _context2.stop();
24675
- }
24775
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
24776
+ }
24777
+ if (!values[1]) {
24778
+ _context2.next = 9;
24779
+ break;
24780
+ }
24781
+ _context2.next = 5;
24782
+ return getDynamicDict(record.dictionaryCode || values[1]);
24783
+ case 5:
24784
+ source = _context2.sent;
24785
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24786
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24787
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
24788
+ case 9:
24789
+ case "end":
24790
+ return _context2.stop();
24676
24791
  }
24677
24792
  }, _callee2);
24678
24793
  }));
@@ -25132,43 +25247,41 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
25132
25247
  var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
25133
25248
  var values, name, form, source;
25134
25249
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
25135
- while (1) {
25136
- switch (_context3.prev = _context3.next) {
25137
- case 0:
25138
- values = _ref10.values, name = _ref10.name, form = _ref10.form;
25139
- if (values[1] === 40) {
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:
25250
+ while (1) switch (_context3.prev = _context3.next) {
25251
+ case 0:
25252
+ values = _ref10.values, name = _ref10.name, form = _ref10.form;
25253
+ if (values[1] === 40) {
25254
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
25167
25255
  form.setFieldVisible(name, false);
25168
- case 11:
25169
- case "end":
25170
- return _context3.stop();
25171
- }
25256
+ }
25257
+ if (!(values[0] === 30)) {
25258
+ _context3.next = 10;
25259
+ break;
25260
+ }
25261
+ _context3.next = 5;
25262
+ return request$1({
25263
+ url: '/basic/dictDynamicItem/queryList',
25264
+ converter: function converter(_ref11) {
25265
+ var data = _ref11.data;
25266
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
25267
+ return {
25268
+ text: d.dictCode,
25269
+ value: d.dictCode
25270
+ };
25271
+ });
25272
+ }
25273
+ });
25274
+ case 5:
25275
+ source = _context3.sent;
25276
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
25277
+ form.setFieldVisible(name, true);
25278
+ _context3.next = 11;
25279
+ break;
25280
+ case 10:
25281
+ form.setFieldVisible(name, false);
25282
+ case 11:
25283
+ case "end":
25284
+ return _context3.stop();
25172
25285
  }
25173
25286
  }, _callee3);
25174
25287
  }));
@@ -25357,66 +25470,64 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
25357
25470
  var _ref$current4, _res$editableStatus;
25358
25471
  var res, _res$defaultValue;
25359
25472
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
25360
- while (1) {
25361
- switch (_context4.prev = _context4.next) {
25362
- case 0:
25363
- _context4.next = 2;
25364
- return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
25365
- case 2:
25366
- res = _context4.sent;
25367
- res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
25368
- res.fieldGroup = record.fieldGroup;
25369
- res.businessType = record.businessType;
25370
- res.info = {
25371
- enumeration: res.enumeration,
25372
- dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
25373
- formula: res.formula,
25374
- scale: res.scale,
25375
- variable: res.variable
25376
- };
25377
- res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
25378
- res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
25379
- res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
25380
- if (res.inputType === 40) {
25381
- res.valueType = 22;
25473
+ while (1) switch (_context4.prev = _context4.next) {
25474
+ case 0:
25475
+ _context4.next = 2;
25476
+ return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
25477
+ case 2:
25478
+ res = _context4.sent;
25479
+ res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
25480
+ res.fieldGroup = record.fieldGroup;
25481
+ res.businessType = record.businessType;
25482
+ res.info = {
25483
+ enumeration: res.enumeration,
25484
+ dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
25485
+ formula: res.formula,
25486
+ scale: res.scale,
25487
+ variable: res.variable
25488
+ };
25489
+ res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
25490
+ res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
25491
+ res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
25492
+ if (res.inputType === 40) {
25493
+ res.valueType = 22;
25494
+ }
25495
+ // 把数组处理成文本
25496
+ if (res.inputType === 30) {
25497
+ if (res.defaultValue) {
25498
+ res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
25382
25499
  }
25383
- // 把数组处理成文本
25384
- if (res.inputType === 30) {
25385
- if (res.defaultValue) {
25386
- res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
25387
- }
25500
+ }
25501
+ res.fieldMapping = res.fieldMapping || '';
25502
+ delete res.formula;
25503
+ delete res.showValue;
25504
+ if (!(mode === 'create')) {
25505
+ _context4.next = 18;
25506
+ break;
25507
+ }
25508
+ request$1({
25509
+ url: "/basic/flow/businessField",
25510
+ method: 'POST',
25511
+ params: res,
25512
+ successMessage: '创建成功!',
25513
+ converter: function converter() {
25514
+ onParentOk();
25388
25515
  }
25389
- res.fieldMapping = res.fieldMapping || '';
25390
- delete res.formula;
25391
- delete res.showValue;
25392
- if (!(mode === 'create')) {
25393
- _context4.next = 18;
25394
- break;
25516
+ });
25517
+ return _context4.abrupt("return");
25518
+ case 18:
25519
+ request$1({
25520
+ url: "/basic/flow/businessField/".concat(record.id),
25521
+ method: 'PATCH',
25522
+ params: res,
25523
+ successMessage: '修改成功!',
25524
+ converter: function converter() {
25525
+ onParentOk();
25395
25526
  }
25396
- request$1({
25397
- url: "/basic/flow/businessField",
25398
- method: 'POST',
25399
- params: res,
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
- }
25527
+ });
25528
+ case 19:
25529
+ case "end":
25530
+ return _context4.stop();
25420
25531
  }
25421
25532
  }, _callee4);
25422
25533
  }));
@@ -26201,28 +26312,26 @@ var BsCascader = function BsCascader(_ref) {
26201
26312
  useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
26202
26313
  var resData, data;
26203
26314
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26204
- while (1) {
26205
- switch (_context.prev = _context.next) {
26206
- case 0:
26207
- if (!(!source && initRequestSource)) {
26208
- _context.next = 6;
26209
- break;
26210
- }
26211
- _context.next = 3;
26212
- return initRequestSource();
26213
- case 3:
26214
- resData = _context.sent;
26215
- data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
26216
- return _objectSpread2(_objectSpread2({}, item), {}, {
26217
- label: item.text,
26218
- isLeaf: false
26219
- });
26220
- })) || [];
26221
- setHandSource(data);
26222
- case 6:
26223
- case "end":
26224
- return _context.stop();
26225
- }
26315
+ while (1) switch (_context.prev = _context.next) {
26316
+ case 0:
26317
+ if (!(!source && initRequestSource)) {
26318
+ _context.next = 6;
26319
+ break;
26320
+ }
26321
+ _context.next = 3;
26322
+ return initRequestSource();
26323
+ case 3:
26324
+ resData = _context.sent;
26325
+ data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
26326
+ return _objectSpread2(_objectSpread2({}, item), {}, {
26327
+ label: item.text,
26328
+ isLeaf: false
26329
+ });
26330
+ })) || [];
26331
+ setHandSource(data);
26332
+ case 6:
26333
+ case "end":
26334
+ return _context.stop();
26226
26335
  }
26227
26336
  }, _callee);
26228
26337
  })), []);
@@ -26354,20 +26463,18 @@ function getRegularThresholdRange(_x) {
26354
26463
  function _getRegularThresholdRange() {
26355
26464
  _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
26356
26465
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26357
- while (1) {
26358
- switch (_context.prev = _context.next) {
26359
- case 0:
26360
- return _context.abrupt("return", axios({
26361
- url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
26362
- method: 'POST',
26363
- data: _objectSpread2(_objectSpread2({}, params), {}, {
26364
- queryIdentify: undefined
26365
- })
26366
- }));
26367
- case 1:
26368
- case "end":
26369
- return _context.stop();
26370
- }
26466
+ while (1) switch (_context.prev = _context.next) {
26467
+ case 0:
26468
+ return _context.abrupt("return", axios({
26469
+ url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
26470
+ method: 'POST',
26471
+ data: _objectSpread2(_objectSpread2({}, params), {}, {
26472
+ queryIdentify: undefined
26473
+ })
26474
+ }));
26475
+ case 1:
26476
+ case "end":
26477
+ return _context.stop();
26371
26478
  }
26372
26479
  }, _callee);
26373
26480
  }));
@@ -26506,137 +26613,136 @@ var RuleField = /*#__PURE__*/function (_Component) {
26506
26613
  _this.getRegularThresholdRange(queryIdentify, propertyCode, queryIdentifyType);
26507
26614
  });
26508
26615
  };
26616
+ //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
26509
26617
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
26510
26618
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
26511
26619
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
26512
26620
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26513
- while (1) {
26514
- switch (_context.prev = _context.next) {
26515
- case 0:
26516
- if (queryIdentify) {
26517
- _context.next = 2;
26518
- break;
26519
- }
26520
- return _context.abrupt("return");
26521
- case 2:
26522
- thresholdQuery = _this.state.thresholdQuery;
26523
- extraRequestUrl = '';
26524
- querParams = setParams(propertyCode, thresholdQuery);
26525
- if (!queryIdentityInfo.find(function (item) {
26526
- return item.identity == propertyCode;
26527
- })) {
26528
- _context.next = 10;
26529
- break;
26530
- }
26531
- //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
26532
- needQueryList = queryIdentityInfo.find(function (item) {
26533
- return item.identity == propertyCode;
26534
- }).queryParam.filter(function (item) {
26535
- return item.isRequired;
26536
- }).map(function (item) {
26537
- return item.queryKey;
26538
- });
26539
- if (!needQueryList.some(function (item) {
26540
- return !querParams[item] || !querParams[item].length;
26541
- })) {
26542
- _context.next = 9;
26543
- break;
26544
- }
26545
- return _context.abrupt("return");
26546
- case 9:
26547
- extraRequestUrl = queryIdentityInfo.find(function (item) {
26548
- return item.identity == propertyCode;
26549
- }).requestUrl || '';
26550
- case 10:
26551
- if (queryIdentifyType === 'dictCodeIdentify') {
26552
- extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
26553
- querParams = {
26554
- dictCode: queryIdentify
26555
- };
26556
- } else if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26557
- extraRequestUrl = "dictDynamicItem/getDynamicData/".concat(queryIdentify); // 字典接口
26558
- // querParams = { dictCode: queryIdentify }
26559
- }
26560
- if (!extraRequestUrl) {
26561
- _context.next = 16;
26562
- break;
26563
- }
26564
- if (queryIdentify == 'maintain_area_code') {
26565
- extraRequestUrl = "/basic/".concat(extraRequestUrl).concat(querParams.memberCardCode, "?").concat(stringify(querParams));
26566
- } else if (queryIdentifyType == 'dictCodeIdentify') {
26567
- extraRequestUrl = "/basic/".concat(extraRequestUrl, "?").concat(stringify(querParams));
26568
- } else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
26569
- extraRequestUrl = "/basic/".concat(extraRequestUrl);
26570
- }
26571
- request$1({
26572
- url: extraRequestUrl,
26573
- method: 'get',
26574
- converter: function converter(res) {
26575
- if (handleError(res)) {
26576
- var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26577
- if (queryIdentifyType === 'dictCodeIdentify') {
26578
- var _handleData2;
26579
- _handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
26580
- return {
26581
- code: i.dictItemCode,
26582
- name: i.dictItemName
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
- });
26621
+ while (1) switch (_context.prev = _context.next) {
26622
+ case 0:
26623
+ if (queryIdentify) {
26624
+ _context.next = 2;
26625
+ break;
26626
+ }
26627
+ return _context.abrupt("return");
26628
+ case 2:
26629
+ thresholdQuery = _this.state.thresholdQuery;
26630
+ extraRequestUrl = '';
26631
+ querParams = setParams(propertyCode, thresholdQuery);
26632
+ if (!queryIdentityInfo.find(function (item) {
26633
+ return item.identity == propertyCode;
26634
+ })) {
26635
+ _context.next = 10;
26636
+ break;
26637
+ }
26638
+ //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
26639
+ needQueryList = queryIdentityInfo.find(function (item) {
26640
+ return item.identity == propertyCode;
26641
+ }).queryParam.filter(function (item) {
26642
+ return item.isRequired;
26643
+ }).map(function (item) {
26644
+ return item.queryKey;
26645
+ });
26646
+ if (!needQueryList.some(function (item) {
26647
+ return !querParams[item] || !querParams[item].length;
26648
+ })) {
26649
+ _context.next = 9;
26650
+ break;
26651
+ }
26652
+ return _context.abrupt("return");
26653
+ case 9:
26654
+ extraRequestUrl = queryIdentityInfo.find(function (item) {
26655
+ return item.identity == propertyCode;
26656
+ }).requestUrl || '';
26657
+ case 10:
26658
+ if (queryIdentifyType === 'dictCodeIdentify') {
26659
+ extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
26660
+ querParams = {
26661
+ dictCode: queryIdentify
26662
+ };
26663
+ } else if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26664
+ extraRequestUrl = "dictDynamicItem/getDynamicData/".concat(queryIdentify); // 字典接口
26665
+ // querParams = { dictCode: queryIdentify }
26666
+ }
26667
+ if (!extraRequestUrl) {
26668
+ _context.next = 16;
26669
+ break;
26670
+ }
26671
+ if (queryIdentify == 'maintain_area_code') {
26672
+ extraRequestUrl = "/basic/".concat(extraRequestUrl).concat(querParams.memberCardCode, "?").concat(stringify(querParams));
26673
+ } else if (queryIdentifyType == 'dictCodeIdentify') {
26674
+ extraRequestUrl = "/basic/".concat(extraRequestUrl, "?").concat(stringify(querParams));
26675
+ } else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
26676
+ extraRequestUrl = "/basic/".concat(extraRequestUrl);
26677
+ }
26678
+ request$1({
26679
+ url: extraRequestUrl,
26680
+ method: 'get',
26681
+ converter: function converter(res) {
26682
+ if (handleError(res)) {
26683
+ var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26684
+ if (queryIdentifyType === 'dictCodeIdentify') {
26685
+ var _handleData2;
26686
+ _handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
26687
+ return {
26688
+ code: i.dictItemCode,
26689
+ name: i.dictItemName
26690
+ };
26691
+ }) : [];
26598
26692
  }
26599
- return handleData;
26693
+ if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26694
+ var _handleData3;
26695
+ _handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
26696
+ return {
26697
+ code: i.code.toString(),
26698
+ name: i.name
26699
+ };
26700
+ }) : [];
26701
+ }
26702
+ _this.setState({
26703
+ thresholdList: _handleData
26704
+ });
26600
26705
  }
26601
- });
26602
- _context.next = 29;
26603
- break;
26604
- case 16:
26605
- if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
26606
- _context.next = 20;
26607
- break;
26706
+ return handleData;
26608
26707
  }
26609
- _this.setState({
26610
- thresholdList: queryIdentify
26611
- });
26612
- _context.next = 29;
26708
+ });
26709
+ _context.next = 29;
26710
+ break;
26711
+ case 16:
26712
+ if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
26713
+ _context.next = 20;
26613
26714
  break;
26614
- case 20:
26615
- if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
26616
- _context.next = 24;
26617
- break;
26618
- }
26619
- // TODO待处理
26715
+ }
26716
+ _this.setState({
26717
+ thresholdList: queryIdentify
26718
+ });
26719
+ _context.next = 29;
26720
+ break;
26721
+ case 20:
26722
+ if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
26723
+ _context.next = 24;
26724
+ break;
26725
+ }
26726
+ // TODO待处理
26727
+ _this.setState({
26728
+ thresholdList: []
26729
+ });
26730
+ _context.next = 29;
26731
+ break;
26732
+ case 24:
26733
+ querParams.queryIdentify = queryIdentify;
26734
+ _context.next = 27;
26735
+ return getRegularThresholdRange(querParams);
26736
+ case 27:
26737
+ res = _context.sent;
26738
+ if (handleError(res)) {
26620
26739
  _this.setState({
26621
- thresholdList: []
26740
+ thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
26622
26741
  });
26623
- _context.next = 29;
26624
- break;
26625
- case 24:
26626
- querParams.queryIdentify = queryIdentify;
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
- }
26742
+ }
26743
+ case 29:
26744
+ case "end":
26745
+ return _context.stop();
26640
26746
  }
26641
26747
  }, _callee);
26642
26748
  }));
@@ -27455,32 +27561,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27455
27561
  notChangeOnSelect: true,
27456
27562
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
27457
27563
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
27458
- while (1) {
27459
- switch (_context2.prev = _context2.next) {
27460
- case 0:
27461
- _context2.next = 2;
27462
- return request$1({
27463
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27464
- method: 'get',
27465
- converter: function converter(_ref3) {
27466
- var data = _ref3.data;
27467
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27468
- return {
27469
- text: item.name,
27470
- value: item.id,
27471
- level: item.level,
27472
- id: item.id
27473
- };
27474
- }) : [];
27475
- return handleData;
27476
- }
27477
- });
27478
- case 2:
27479
- return _context2.abrupt("return", _context2.sent);
27480
- case 3:
27481
- case "end":
27482
- return _context2.stop();
27483
- }
27564
+ while (1) switch (_context2.prev = _context2.next) {
27565
+ case 0:
27566
+ _context2.next = 2;
27567
+ return request$1({
27568
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27569
+ method: 'get',
27570
+ converter: function converter(_ref3) {
27571
+ var data = _ref3.data;
27572
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27573
+ return {
27574
+ text: item.name,
27575
+ value: item.id,
27576
+ level: item.level,
27577
+ id: item.id
27578
+ };
27579
+ }) : [];
27580
+ return handleData;
27581
+ }
27582
+ });
27583
+ case 2:
27584
+ return _context2.abrupt("return", _context2.sent);
27585
+ case 3:
27586
+ case "end":
27587
+ return _context2.stop();
27484
27588
  }
27485
27589
  }, _callee2);
27486
27590
  })),
@@ -27506,32 +27610,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27506
27610
  notChangeOnSelect: true,
27507
27611
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
27508
27612
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
27509
- while (1) {
27510
- switch (_context3.prev = _context3.next) {
27511
- case 0:
27512
- _context3.next = 2;
27513
- return request$1({
27514
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27515
- method: 'get',
27516
- converter: function converter(_ref5) {
27517
- var data = _ref5.data;
27518
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27519
- return {
27520
- text: item.name,
27521
- value: item.id,
27522
- level: item.level,
27523
- id: item.id
27524
- };
27525
- }) : [];
27526
- return handleData;
27527
- }
27528
- });
27529
- case 2:
27530
- return _context3.abrupt("return", _context3.sent);
27531
- case 3:
27532
- case "end":
27533
- return _context3.stop();
27534
- }
27613
+ while (1) switch (_context3.prev = _context3.next) {
27614
+ case 0:
27615
+ _context3.next = 2;
27616
+ return request$1({
27617
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27618
+ method: 'get',
27619
+ converter: function converter(_ref5) {
27620
+ var data = _ref5.data;
27621
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27622
+ return {
27623
+ text: item.name,
27624
+ value: item.id,
27625
+ level: item.level,
27626
+ id: item.id
27627
+ };
27628
+ }) : [];
27629
+ return handleData;
27630
+ }
27631
+ });
27632
+ case 2:
27633
+ return _context3.abrupt("return", _context3.sent);
27634
+ case 3:
27635
+ case "end":
27636
+ return _context3.stop();
27535
27637
  }
27536
27638
  }, _callee3);
27537
27639
  })),
@@ -27559,32 +27661,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27559
27661
  notChangeOnSelect: true,
27560
27662
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
27561
27663
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
27562
- while (1) {
27563
- switch (_context4.prev = _context4.next) {
27564
- case 0:
27565
- _context4.next = 2;
27566
- return request$1({
27567
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27568
- method: 'get',
27569
- converter: function converter(_ref7) {
27570
- var data = _ref7.data;
27571
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27572
- return {
27573
- text: item.name,
27574
- value: item.id,
27575
- level: item.level,
27576
- id: item.id
27577
- };
27578
- }) : [];
27579
- return handleData;
27580
- }
27581
- });
27582
- case 2:
27583
- return _context4.abrupt("return", _context4.sent);
27584
- case 3:
27585
- case "end":
27586
- return _context4.stop();
27587
- }
27664
+ while (1) switch (_context4.prev = _context4.next) {
27665
+ case 0:
27666
+ _context4.next = 2;
27667
+ return request$1({
27668
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27669
+ method: 'get',
27670
+ converter: function converter(_ref7) {
27671
+ var data = _ref7.data;
27672
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27673
+ return {
27674
+ text: item.name,
27675
+ value: item.id,
27676
+ level: item.level,
27677
+ id: item.id
27678
+ };
27679
+ }) : [];
27680
+ return handleData;
27681
+ }
27682
+ });
27683
+ case 2:
27684
+ return _context4.abrupt("return", _context4.sent);
27685
+ case 3:
27686
+ case "end":
27687
+ return _context4.stop();
27588
27688
  }
27589
27689
  }, _callee4);
27590
27690
  })),
@@ -28701,8 +28801,6 @@ var RuleField = /*#__PURE__*/function (_Component) {
28701
28801
  });
28702
28802
  }
28703
28803
  }
28704
-
28705
- //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
28706
28804
  }, {
28707
28805
  key: "render",
28708
28806
  value: function render() {
@@ -29533,6 +29631,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29533
29631
  callBack(ruleClassData);
29534
29632
  });
29535
29633
  };
29634
+ // 树结构 转化成 平行树 (递归函数)
29536
29635
  _this.coverToParallel = function (treeData, result) {
29537
29636
  treeData.forEach(function (el) {
29538
29637
  result.push(el);
@@ -29788,6 +29887,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29788
29887
  callBack(ruleClassData);
29789
29888
  });
29790
29889
  };
29890
+ // 场景需要返回值2022.11.15
29791
29891
  _this.renderResItem = function (itemDetail, parentDetail, ruleReturnConfig, classDataIndex, disabled, boxStyle) {
29792
29892
  var _ruleReturnConfig$rig;
29793
29893
  var isShowResponse = itemDetail.response['enable'];
@@ -30085,32 +30185,30 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30085
30185
  notChangeOnSelect: true,
30086
30186
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30087
30187
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30088
- while (1) {
30089
- switch (_context.prev = _context.next) {
30090
- case 0:
30091
- _context.next = 2;
30092
- return request$1({
30093
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
30094
- method: 'get',
30095
- converter: function converter(_ref2) {
30096
- var data = _ref2.data;
30097
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
30098
- return {
30099
- text: item.name,
30100
- value: item.id,
30101
- level: item.level,
30102
- id: item.id
30103
- };
30104
- }) : [];
30105
- return handleData;
30106
- }
30107
- });
30108
- case 2:
30109
- return _context.abrupt("return", _context.sent);
30110
- case 3:
30111
- case "end":
30112
- return _context.stop();
30113
- }
30188
+ while (1) switch (_context.prev = _context.next) {
30189
+ case 0:
30190
+ _context.next = 2;
30191
+ return request$1({
30192
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
30193
+ method: 'get',
30194
+ converter: function converter(_ref2) {
30195
+ var data = _ref2.data;
30196
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
30197
+ return {
30198
+ text: item.name,
30199
+ value: item.id,
30200
+ level: item.level,
30201
+ id: item.id
30202
+ };
30203
+ }) : [];
30204
+ return handleData;
30205
+ }
30206
+ });
30207
+ case 2:
30208
+ return _context.abrupt("return", _context.sent);
30209
+ case 3:
30210
+ case "end":
30211
+ return _context.stop();
30114
30212
  }
30115
30213
  }, _callee);
30116
30214
  })),
@@ -30444,6 +30542,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30444
30542
  }
30445
30543
  }, "\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
30544
  };
30545
+ //添加同一层级条件
30447
30546
  _this.addPeerRule = function (itemDetail) {
30448
30547
  var ruleClassData = _this.state.ruleClassData;
30449
30548
  var _this$props4 = _this.props,
@@ -30464,6 +30563,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30464
30563
  callBack(ruleClassData);
30465
30564
  });
30466
30565
  };
30566
+ //添加子层级条件
30467
30567
  _this.addChildRules = function (itemDetail) {
30468
30568
  var ruleClassData = _this.state.ruleClassData;
30469
30569
  var callBack = _this.props.callBack;
@@ -30539,6 +30639,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30539
30639
  callBack(ruleClassData);
30540
30640
  });
30541
30641
  };
30642
+ // 新增执行顺序
30542
30643
  _this.handleSelectRuleAction = function (keys, classDataIndex, callback) {
30543
30644
  callback();
30544
30645
  var callBack = _this.props.callBack;
@@ -30689,4 +30790,4 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30689
30790
  return RuleObjectComponent;
30690
30791
  }(Component);
30691
30792
 
30692
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, CommodityEntry, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, GuideWrapper, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, QueryMutipleInput, RuleObjectComponent as RuleComponent, SearchSelect, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect };
30793
+ 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 };