@bit-sun/business-component 2.4.23 → 2.4.24

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 (159) hide show
  1. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +3 -0
  2. package/dist/components/Business/BsLayouts/Components/ChooseStore/services.d.ts +1 -0
  3. package/dist/components/Business/BsLayouts/Components/RightContent/i18n.d.ts +9 -0
  4. package/dist/components/Business/BsLayouts/service.d.ts +1 -1
  5. package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -0
  6. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +1 -1
  7. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -0
  8. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +1 -0
  9. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -1
  10. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
  11. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -0
  12. package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
  13. package/dist/index.esm.js +1765 -1209
  14. package/dist/index.js +1745 -1187
  15. package/dist/utils/TableUtils.d.ts +93 -2
  16. package/dist/utils/businessUtils.d.ts +27 -0
  17. package/dist/utils/constant.d.ts +37 -0
  18. package/dist/utils/index.d.ts +6 -4
  19. package/dist/utils/request.d.ts +2 -0
  20. package/dist/utils/utils.d.ts +13 -0
  21. package/package.json +7 -4
  22. package/src/assets/32.svg +27 -27
  23. package/src/assets/addIcon.svg +17 -17
  24. package/src/assets/allfunc.svg +27 -27
  25. package/src/assets/arrowRight.svg +24 -24
  26. package/src/assets/arrow_top.svg +18 -0
  27. package/src/assets/btn-delete.svg +29 -29
  28. package/src/assets/btn-edit.svg +19 -19
  29. package/src/assets/btn-more.svg +17 -17
  30. package/src/assets/btn-submit.svg +19 -19
  31. package/src/assets/close.svg +26 -26
  32. package/src/assets/drag.svg +17 -17
  33. package/src/assets/fixed-left.svg +15 -15
  34. package/src/assets/fixed-right.svg +15 -15
  35. package/src/assets/guanbi.svg +15 -15
  36. package/src/assets/icon-quanping.svg +15 -15
  37. package/src/assets/icon-shezhi.svg +17 -17
  38. package/src/assets/label_icon_bottom.svg +25 -25
  39. package/src/assets/list-no-img.svg +21 -21
  40. package/src/assets/morentouxiang-32.svg +23 -23
  41. package/src/assets/scanning.svg +24 -24
  42. package/src/assets/upExport.svg +22 -22
  43. package/src/common/ENUM.ts +41 -41
  44. package/src/components/Business/AddSelectBusiness/index.tsx +40 -22
  45. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  46. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  47. package/src/components/Business/BsLayouts/Components/ChooseStore/index.less +0 -0
  48. package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +193 -0
  49. package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +10 -0
  50. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  51. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  52. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  53. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  54. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  55. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  56. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  57. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +163 -157
  58. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  59. package/src/components/Business/BsLayouts/Components/RightContent/i18n.ts +9 -0
  60. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +19 -2
  61. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  62. package/src/components/Business/BsLayouts/index.less +79 -79
  63. package/src/components/Business/BsLayouts/index.tsx +1494 -1484
  64. package/src/components/Business/BsLayouts/service.ts +2 -2
  65. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  66. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +9 -9
  67. package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +5 -0
  68. package/src/components/Business/BsSulaQueryTable/index.less +221 -221
  69. package/src/components/Business/BsSulaQueryTable/index.tsx +346 -175
  70. package/src/components/Business/BsSulaQueryTable/setting.tsx +125 -87
  71. package/src/components/Business/BsSulaQueryTable/utils.tsx +57 -34
  72. package/src/components/Business/CommodityEntry/index.md +70 -70
  73. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  74. package/src/components/Business/CommonGuideWrapper/index.less +121 -112
  75. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  76. package/src/components/Business/CommonGuideWrapper/index.tsx +94 -84
  77. package/src/components/Business/DetailPageWrapper/index.less +9 -1
  78. package/src/components/Business/DetailPageWrapper/index.tsx +121 -110
  79. package/src/components/Business/HomePageWrapper/index.md +45 -45
  80. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  81. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  82. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  83. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  84. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  85. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  86. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  87. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  88. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  89. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  90. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  91. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  92. package/src/components/Business/JsonQueryTable/index.less +16 -16
  93. package/src/components/Business/JsonQueryTable/index.md +328 -328
  94. package/src/components/Business/JsonQueryTable/index.tsx +535 -537
  95. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  96. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  97. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  98. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  99. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  100. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  101. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  102. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  103. package/src/components/Business/SearchSelect/utils.ts +3 -3
  104. package/src/components/Business/StateFlow/index.md +60 -60
  105. package/src/components/Business/StateFlow/index.tsx +29 -29
  106. package/src/components/Business/columnSettingTable/columnSetting.tsx +10 -8
  107. package/src/components/Business/columnSettingTable/index.less +247 -247
  108. package/src/components/Business/columnSettingTable/index.md +357 -357
  109. package/src/components/Business/columnSettingTable/utils.tsx +71 -71
  110. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +87 -87
  111. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
  112. package/src/components/Business/moreTreeTable/index.less +99 -99
  113. package/src/components/Business/moreTreeTable/index.tsx +387 -387
  114. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  115. package/src/components/Functional/AddSelect/helps.ts +4 -3
  116. package/src/components/Functional/AddSelect/index.less +367 -367
  117. package/src/components/Functional/AddSelect/index.tsx +79 -33
  118. package/src/components/Functional/BillEntry/index.less +371 -371
  119. package/src/components/Functional/BillEntry/index.tsx +3 -3
  120. package/src/components/Functional/BsAntdSula/index.ts +2 -2
  121. package/src/components/Functional/DataImport/index.less +63 -63
  122. package/src/components/Functional/DataImport/index.tsx +3 -3
  123. package/src/components/Functional/DataValidation/index.less +63 -63
  124. package/src/components/Functional/DataValidation/index.tsx +3 -3
  125. package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
  126. package/src/components/Functional/EllipsisTooltip/index.js +36 -36
  127. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +10 -5
  128. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  129. package/src/components/Functional/QueryMutipleInput/index.tsx +2 -1
  130. package/src/components/Functional/SearchSelect/index.less +6 -0
  131. package/src/components/Functional/SearchSelect/index.tsx +152 -45
  132. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  133. package/src/components/Functional/TreeSearchSelect/index.tsx +24 -22
  134. package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
  135. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +637 -0
  136. package/src/components/Solution/RuleComponent/index.d.ts +29 -29
  137. package/src/components/Solution/RuleComponent/index.js +7 -652
  138. package/src/components/Solution/RuleComponent/index.less +230 -230
  139. package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
  140. package/src/components/Solution/RuleComponent/services.ts +13 -13
  141. package/src/plugin/TableColumnSetting/index.less +247 -247
  142. package/src/plugin/TableColumnSetting/index.md +50 -50
  143. package/src/plugin/TableColumnSetting/index.tsx +2 -2
  144. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  145. package/src/utils/CheckOneUser/index.md +39 -39
  146. package/src/utils/CheckOneUser/index.ts +51 -51
  147. package/src/utils/LocalstorageUtils.ts +95 -95
  148. package/src/utils/TableUtils.less +52 -0
  149. package/src/utils/TableUtils.tsx +691 -18
  150. package/src/utils/businessUtils.ts +441 -0
  151. package/src/utils/checkUtils.ts +39 -39
  152. package/src/utils/constant.ts +39 -0
  153. package/src/utils/enumConfig.ts +11 -11
  154. package/src/utils/getFormMode.js +12 -12
  155. package/src/utils/index.ts +6 -4
  156. package/src/utils/request.ts +53 -0
  157. package/src/utils/requestUtils.ts +29 -2
  158. package/src/utils/serialize.js +7 -7
  159. package/src/utils/utils.ts +64 -21
package/dist/index.esm.js CHANGED
@@ -1,22 +1,26 @@
1
1
  import axios from 'axios';
2
+ import request$1 from 'umi-request';
2
3
  import cookie from 'js-cookie';
3
- 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';
4
- import _, { omit, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
5
- import { history, formatMessage, useLocation, Link, useModel, useIntl } from 'umi';
6
- import isEqual from 'lodash/isEqual';
4
+ 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, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Row, Col, Tabs, Affix, Cascader, DatePicker, TimePicker, Switch } from 'antd';
5
+ import _, { isNil, escapeRegExp, omit, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
7
6
  import React, { useState, useEffect, forwardRef, useImperativeHandle, useRef, useMemo, Component, useLayoutEffect, createRef } from 'react';
8
7
  import moment$1 from 'moment';
8
+ import '@/assets/list-no-img.svg';
9
+ import { Table as Table$1, request as request$2, QueryTable, Form as Form$1 } from 'bssula';
9
10
  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';
10
- import { Table as Table$1, request as request$1, QueryTable, Form as Form$1 } from 'bssula';
11
+ import { history, formatMessage, useLocation, Link, useModel, setLocale, useIntl } from 'umi';
12
+ import isEqual from 'lodash/isEqual';
13
+ import 'qs';
11
14
  import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
12
- import { useDebounceFn, useMount } from 'ahooks';
15
+ import { useDebounceFn, useSize, useMount } from 'ahooks';
13
16
  import { stringify } from 'querystring';
14
17
  import { Resizable } from 'react-resizable';
15
18
  import { SortableHandle, SortableElement, SortableContainer } from 'react-sortable-hoc';
16
19
  import { arrayMoveImmutable } from 'array-move';
20
+ import classNames from 'classnames';
17
21
  import ProLayout from '@ant-design/pro-layout';
18
22
  import cloneDeep from 'lodash/cloneDeep';
19
- import classNames from 'classnames';
23
+ import debounce$1 from 'lodash/debounce';
20
24
  import { DndProvider, useDrop, useDrag } from 'react-dnd';
21
25
  import { HTML5Backend } from 'react-dnd-html5-backend';
22
26
  import Editor$1, { monaco } from '@monaco-editor/react';
@@ -475,20 +479,6 @@ function _defineProperty(obj, key, value) {
475
479
  }
476
480
  return obj;
477
481
  }
478
- function _extends() {
479
- _extends = Object.assign ? Object.assign.bind() : function (target) {
480
- for (var i = 1; i < arguments.length; i++) {
481
- var source = arguments[i];
482
- for (var key in source) {
483
- if (Object.prototype.hasOwnProperty.call(source, key)) {
484
- target[key] = source[key];
485
- }
486
- }
487
- }
488
- return target;
489
- };
490
- return _extends.apply(this, arguments);
491
- }
492
482
  function _inherits(subClass, superClass) {
493
483
  if (typeof superClass !== "function" && superClass !== null) {
494
484
  throw new TypeError("Super expression must either be null or a function");
@@ -613,7 +603,9 @@ var ENUM = {
613
603
  }
614
604
  };
615
605
 
616
- var resposne = JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.USER_INFO) || '{}');
606
+ var resposne = function resposne() {
607
+ return JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.USER_INFO) || '{}');
608
+ };
617
609
  // 存储表头
618
610
  var setConfigTableColumns = function setConfigTableColumns(configvalue, tableCode) {
619
611
  var config = localStorage.getItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION) || '[]';
@@ -648,35 +640,36 @@ var getCurrentTenantId = function getCurrentTenantId() {
648
640
  return localStorage.getItem('current_tenant_id') || 1;
649
641
  };
650
642
  function getEmployeeId() {
651
- var _resposne$employeeRes;
652
- return (resposne === null || resposne === void 0 ? void 0 : (_resposne$employeeRes = resposne.employeeResVo) === null || _resposne$employeeRes === void 0 ? void 0 : _resposne$employeeRes.id) || 2;
643
+ var _resposne, _resposne$employeeRes;
644
+ return ((_resposne = resposne()) === null || _resposne === void 0 ? void 0 : (_resposne$employeeRes = _resposne.employeeResVo) === null || _resposne$employeeRes === void 0 ? void 0 : _resposne$employeeRes.id) || 2;
653
645
  }
654
646
  function getEmployeeCode() {
655
- var _resposne$employeeRes2;
656
- return resposne === null || resposne === void 0 ? void 0 : (_resposne$employeeRes2 = resposne.employeeResVo) === null || _resposne$employeeRes2 === void 0 ? void 0 : _resposne$employeeRes2.employeeNumber;
647
+ var _resposne2, _resposne2$employeeRe;
648
+ return (_resposne2 = resposne()) === null || _resposne2 === void 0 ? void 0 : (_resposne2$employeeRe = _resposne2.employeeResVo) === null || _resposne2$employeeRe === void 0 ? void 0 : _resposne2$employeeRe.employeeNumber;
657
649
  }
658
650
  function getSessionId() {
659
- return (resposne === null || resposne === void 0 ? void 0 : resposne.sessionId) || '';
651
+ var _resposne3;
652
+ return ((_resposne3 = resposne()) === null || _resposne3 === void 0 ? void 0 : _resposne3.sessionId) || '';
660
653
  }
661
654
  function getAccountId() {
662
- var _resposne$accountPers;
663
- return (resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers = resposne.accountPersonDetail) === null || _resposne$accountPers === void 0 ? void 0 : _resposne$accountPers.accountId) || -1;
655
+ var _resposne4, _resposne4$accountPer;
656
+ return ((_resposne4 = resposne()) === null || _resposne4 === void 0 ? void 0 : (_resposne4$accountPer = _resposne4.accountPersonDetail) === null || _resposne4$accountPer === void 0 ? void 0 : _resposne4$accountPer.accountId) || -1;
664
657
  }
665
658
  function getUserId() {
666
- var _resposne$accountPers2;
667
- return (_resposne$accountPers2 = resposne.accountPersonDetail) === null || _resposne$accountPers2 === void 0 ? void 0 : _resposne$accountPers2.username;
659
+ var _resposne$accountPers;
660
+ return (_resposne$accountPers = resposne().accountPersonDetail) === null || _resposne$accountPers === void 0 ? void 0 : _resposne$accountPers.username;
668
661
  }
669
662
  function getAccountID() {
670
- var _resposne$accountPers3;
671
- return resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers3 = resposne.accountPersonDetail) === null || _resposne$accountPers3 === void 0 ? void 0 : _resposne$accountPers3.id;
663
+ var _resposne5, _resposne5$accountPer;
664
+ return (_resposne5 = resposne()) === null || _resposne5 === void 0 ? void 0 : (_resposne5$accountPer = _resposne5.accountPersonDetail) === null || _resposne5$accountPer === void 0 ? void 0 : _resposne5$accountPer.id;
672
665
  }
673
666
  function getUserName() {
674
- var _resposne$accountPers4;
675
- return resposne === null || resposne === void 0 ? void 0 : (_resposne$accountPers4 = resposne.accountPersonDetail) === null || _resposne$accountPers4 === void 0 ? void 0 : _resposne$accountPers4.employeeName;
667
+ var _resposne6, _resposne6$accountPer;
668
+ return (_resposne6 = resposne()) === null || _resposne6 === void 0 ? void 0 : (_resposne6$accountPer = _resposne6.accountPersonDetail) === null || _resposne6$accountPer === void 0 ? void 0 : _resposne6$accountPer.employeeName;
676
669
  }
677
670
  function handleUserPhone() {
678
- var _resposne$person;
679
- var str = (resposne === null || resposne === void 0 ? void 0 : (_resposne$person = resposne.person) === null || _resposne$person === void 0 ? void 0 : _resposne$person.phone) || '';
671
+ var _resposne7, _resposne7$person;
672
+ var str = ((_resposne7 = resposne()) === null || _resposne7 === void 0 ? void 0 : (_resposne7$person = _resposne7.person) === null || _resposne7$person === void 0 ? void 0 : _resposne7$person.phone) || '';
680
673
  var enStr = str && str.slice(0, 3) + '****' + str.slice(str.length - 4);
681
674
  return enStr;
682
675
  }
@@ -805,7 +798,7 @@ var handleCommonHeader = function handleCommonHeader() {
805
798
  * 处理请求头方法-包含一般请求头、权限请求头。组件默认统一处理一遍,若组件使用处需要可以单独在组件处传参进来处理
806
799
  * @param {*} config 请求参数配置
807
800
  * */
808
- var handleRequestHeader = function handleRequestHeader(config) {
801
+ var handleAxioRequestHeader = function handleAxioRequestHeader(config) {
809
802
  var commonHeaders = handleCommonHeader();
810
803
  if (localStorage.getItem('x-user-auth-context')) {
811
804
  // @ts-ignore
@@ -816,9 +809,30 @@ var handleRequestHeader = function handleRequestHeader(config) {
816
809
  };
817
810
  // 拦截器
818
811
  axios.interceptors.request.use(function (config) {
819
- handleRequestHeader(config);
812
+ handleAxioRequestHeader(config);
820
813
  return config;
821
814
  });
815
+ var handleRequestHeader = function handleRequestHeader(url, options) {
816
+ var commonHeaders = handleCommonHeader();
817
+ var config = {
818
+ url: url,
819
+ headers: _objectSpread2({}, options === null || options === void 0 ? void 0 : options.headers)
820
+ };
821
+ if (localStorage.getItem('x-user-auth-context')) {
822
+ // @ts-ignore
823
+ commonHeaders['x-user-auth-context'] = localStorage.getItem('x-user-auth-context');
824
+ }
825
+ !!!config.headers['x-biz-code'] && handleRequestAuthHeader(config);
826
+ config.headers = _objectSpread2(_objectSpread2({}, commonHeaders), config.headers);
827
+ options.headers = config.headers;
828
+ };
829
+ request$1.interceptors.request.use(function (url, options) {
830
+ handleRequestHeader(url, options);
831
+ return {
832
+ url: url,
833
+ options: options
834
+ };
835
+ });
822
836
  /**
823
837
  * 处理请求路径前缀/请求路径等使用不一的问题
824
838
  * @param {*} defaultUrl 默认请求路径
@@ -915,6 +929,76 @@ var precisionQuantity = function precisionQuantity(num, accuracy) {
915
929
  return '';
916
930
  };
917
931
 
932
+ /* 字面量 */
933
+ // 字面量数字
934
+ var NUMBER_VALUE = Object.freeze({
935
+ ZERO: 0,
936
+ ONE: 1,
937
+ TWO: 2,
938
+ THREE: 3,
939
+ FOUR: 4,
940
+ FIVE: 5,
941
+ SIX: 6,
942
+ SEVEN: 7,
943
+ EIGHT: 8,
944
+ NINE: 9,
945
+ TEN: 10,
946
+ ELEVEN: 11,
947
+ TWELVE: 12,
948
+ THIRTEEN: 13,
949
+ FOURTEEN: 14,
950
+ FIFTEEN: 15,
951
+ SIXTEEN: 16,
952
+ SEVENTEEN: 17,
953
+ EIGHTEEN: 18,
954
+ NINETEEN: 19,
955
+ TWENTY: 20,
956
+ TWENTY_ONE: 21,
957
+ TWENTY_TWO: 22,
958
+ TWENTY_THREE: 23,
959
+ TWENTY_FOUR: 24
960
+ });
961
+
962
+ function styleInject(css, ref) {
963
+ if ( ref === void 0 ) ref = {};
964
+ var insertAt = ref.insertAt;
965
+
966
+ if (!css || typeof document === 'undefined') { return; }
967
+
968
+ var head = document.head || document.getElementsByTagName('head')[0];
969
+ var style = document.createElement('style');
970
+ style.type = 'text/css';
971
+
972
+ if (insertAt === 'top') {
973
+ if (head.firstChild) {
974
+ head.insertBefore(style, head.firstChild);
975
+ } else {
976
+ head.appendChild(style);
977
+ }
978
+ } else {
979
+ head.appendChild(style);
980
+ }
981
+
982
+ if (style.styleSheet) {
983
+ style.styleSheet.cssText = css;
984
+ } else {
985
+ style.appendChild(document.createTextNode(css));
986
+ }
987
+ }
988
+
989
+ var css_248z = ".user_info_card :global .ant-popover-inner-content {\n padding: 0px !important;\n}\n.user_info_card :global .ant-card-body {\n padding: 0px !important;\n}\n.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";
990
+ styleInject(css_248z);
991
+
992
+ var getSkuImg = function getSkuImg(record) {
993
+ var _record$mediaList;
994
+ // 默认取sku图片、当没有设置时取商品图片,商品图片也没有返回空
995
+ var ImgList = ((_record$mediaList = record.mediaList) === null || _record$mediaList === void 0 ? void 0 : _record$mediaList.length) && record.mediaList.filter(function (i) {
996
+ return i.type == 1;
997
+ }) || []; // 获取SKU、SPU图片数组集合
998
+ var imgShow = (ImgList === null || ImgList === void 0 ? void 0 : ImgList.length) && ImgList[0].url || null;
999
+ return imgShow;
1000
+ };
1001
+
918
1002
  var simpleIsEqual = function simpleIsEqual(a, b) {
919
1003
  return a === b;
920
1004
  };
@@ -952,35 +1036,8 @@ function index$1 (resultFn, isEqual) {
952
1036
  return result;
953
1037
  }
954
1038
 
955
- function styleInject(css, ref) {
956
- if ( ref === void 0 ) ref = {};
957
- var insertAt = ref.insertAt;
958
-
959
- if (!css || typeof document === 'undefined') { return; }
960
-
961
- var head = document.head || document.getElementsByTagName('head')[0];
962
- var style = document.createElement('style');
963
- style.type = 'text/css';
964
-
965
- if (insertAt === 'top') {
966
- if (head.firstChild) {
967
- head.insertBefore(style, head.firstChild);
968
- } else {
969
- head.appendChild(style);
970
- }
971
- } else {
972
- head.appendChild(style);
973
- }
974
-
975
- if (style.styleSheet) {
976
- style.styleSheet.cssText = css;
977
- } else {
978
- style.appendChild(document.createTextNode(css));
979
- }
980
- }
981
-
982
- 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";
983
- styleInject(css_248z);
1039
+ var css_248z$1 = ".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";
1040
+ styleInject(css_248z$1);
984
1041
 
985
1042
  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";
986
1043
 
@@ -1130,109 +1187,57 @@ function handleCommonTimeRender(text, format) {
1130
1187
  var getItemDefaultWidth = function getItemDefaultWidth(item) {
1131
1188
  var _ref;
1132
1189
  var defaultWidth = 200;
1190
+ if (Array.isArray(item.key) || Array.isArray(item.dataIndex)) return defaultWidth;
1133
1191
  var lowerCaseKey = (_ref = item.key || item.dataIndex) === null || _ref === void 0 ? void 0 : _ref.toLowerCase();
1134
- if (lowerCaseKey) {
1135
- switch (true) {
1136
- case (item === null || item === void 0 ? void 0 : item.title) === '操作' || lowerCaseKey === 'operate':
1137
- defaultWidth = 60;
1138
- break;
1139
- case lowerCaseKey.indexOf('number') > -1:
1140
- case lowerCaseKey.indexOf('quantity') > -1:
1141
- case lowerCaseKey.indexOf('amount') > -1:
1142
- defaultWidth = 90;
1143
- break;
1144
- case lowerCaseKey.indexOf('no') > -1:
1145
- defaultWidth = 200;
1146
- break;
1147
- case lowerCaseKey.indexOf('code') > -1:
1148
- defaultWidth = 170;
1149
- break;
1150
- case lowerCaseKey.indexOf('time') > -1:
1151
- defaultWidth = 130;
1152
- break;
1153
- case lowerCaseKey.indexOf('status') > -1:
1154
- defaultWidth = 100;
1155
- break;
1156
- case lowerCaseKey.indexOf('user') > -1:
1157
- defaultWidth = 130;
1158
- break;
1159
- }
1192
+ if (!lowerCaseKey) return defaultWidth;
1193
+ switch (true) {
1194
+ case (item === null || item === void 0 ? void 0 : item.title) === '操作' || lowerCaseKey === 'operate':
1195
+ defaultWidth = 60;
1196
+ break;
1197
+ case lowerCaseKey.indexOf('number') > -1:
1198
+ case lowerCaseKey.indexOf('quantity') > -1:
1199
+ case lowerCaseKey.indexOf('amount') > -1:
1200
+ defaultWidth = 90;
1201
+ break;
1202
+ case lowerCaseKey.indexOf('no') > -1:
1203
+ defaultWidth = 200;
1204
+ break;
1205
+ case lowerCaseKey.indexOf('code') > -1:
1206
+ defaultWidth = 170;
1207
+ break;
1208
+ case lowerCaseKey.indexOf('time') > -1:
1209
+ defaultWidth = 130;
1210
+ break;
1211
+ case lowerCaseKey.indexOf('status') > -1:
1212
+ defaultWidth = 100;
1213
+ break;
1214
+ case lowerCaseKey.indexOf('user') > -1:
1215
+ defaultWidth = 130;
1216
+ break;
1160
1217
  }
1161
1218
  return defaultWidth;
1162
1219
  };
1163
- /**
1164
- * 查询参数处理
1165
- * @param params 要应用于查询的参数
1166
- * @returns 返回处理后的查询参数
1167
- */
1168
- function queryParams(params, flag) {
1169
- var _loop = function _loop() {
1170
- if (Object.prototype.hasOwnProperty.call(params, key)) {
1171
- var element = params[key];
1172
- if (element && key.indexOf('*number*') >= 0) {
1173
- var dataParams = key.split('*number*');
1174
- dataParams.forEach(function (value, index) {
1175
- params[value] = element[index];
1176
- });
1177
- delete params[key];
1178
- } else if (element && key.indexOf('*address*') >= 0) {
1179
- var _dataParams = key.split('*address*');
1180
- _dataParams.forEach(function (value, index) {
1181
- params[value] = element.PCDCode[index];
1182
- });
1183
- delete params[key];
1184
- } else if (element && key.indexOf('*costType*') >= 0) {
1185
- var _dataParams2 = key.split('*costType*');
1186
- // eslint-disable-next-line prefer-destructuring
1187
- params[_dataParams2[0]] = element[1];
1188
- delete params[key];
1189
- } else if (element && key.indexOf('*fullDate*') >= 0) {
1190
- var _dataParams3 = key.split('*fullDate*');
1191
- _dataParams3.forEach(function (value, index) {
1192
- if (index === 0) {
1193
- params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
1194
- } else {
1195
- params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
1196
- }
1197
- });
1198
- delete params[key];
1199
- } else if (element && key.indexOf('*') >= 0) {
1200
- var _dataParams4 = key.split('*');
1201
- _dataParams4.forEach(function (value, index) {
1202
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
1203
- });
1204
- delete params[key];
1205
- } else if (element && key.indexOf('_likeIn_') >= 0) {
1206
- var _dataParams5 = key.split('_likeIn_');
1207
- if (element.indexOf(',') >= 0) {
1208
- params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
1209
- params["qp-".concat(_dataParams5[0], "-like")] = null;
1210
- } else {
1211
- params["qp-".concat(_dataParams5[0], "-like")] = element;
1212
- params["qp-".concat(_dataParams5[0], "-in")] = null;
1213
- }
1214
- delete params[key];
1215
- } else if (Array.isArray(element)) {
1216
- params[key] = element.join(',');
1217
- }
1218
- }
1219
- };
1220
- for (var key in params) {
1221
- _loop();
1222
- }
1223
- return flag ? params : qs.stringify(params);
1224
- }
1225
1220
  /**
1226
1221
  * 根据用户权限检验对应按钮是够显示 !!!!现在先去掉
1227
1222
  * @param code 对应权限值
1228
1223
  * @returns boolean
1229
1224
  */
1230
1225
  var authFn = function authFn(code) {
1226
+ if (!code) {
1227
+ return true;
1228
+ }
1231
1229
  var authButton = localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES) ? JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES)) : [];
1232
1230
  return authButton.findIndex(function (d) {
1233
1231
  return d === code;
1234
1232
  }) !== -1;
1235
1233
  };
1234
+ // 可以将普通字符串 或者tsx 转换成字符串
1235
+ var renderToString = function renderToString(render) {
1236
+ return render;
1237
+ // return typeof render === 'string'
1238
+ // ? render
1239
+ // : ReactDOMServer.renderToString(render);
1240
+ };
1236
1241
 
1237
1242
  var formatter = function formatter(data, parentAuthority, parentName) {
1238
1243
  return data.map(function (item) {
@@ -1283,52 +1288,49 @@ var handleBssulaColumnsSpecialParams = function handleBssulaColumnsSpecialParams
1283
1288
  var text = _ref.text;
1284
1289
  return handleTooltipHours(text, col.timeRenderHour);
1285
1290
  };
1286
- }
1287
- // 处理不显示 时分秒的时间
1288
- if (col.timeRender) {
1291
+ } else if (col.timeRender) {
1292
+ // 处理不显示 时分秒的时间
1289
1293
  col.render = function (_ref2) {
1290
1294
  var text = _ref2.text;
1291
1295
  return handleTooltip(text, col.timeRender);
1292
1296
  };
1293
- }
1294
- // 处理文字太长
1295
- if (col.textOverflow) {
1297
+ } else if (col.textOverflow) {
1298
+ // 处理文字太长
1296
1299
  col.render = function (_ref3) {
1297
1300
  var text = _ref3.text;
1298
1301
  return handleTextOverflow(text, col.width);
1299
1302
  };
1300
- }
1301
- if (col.images) {
1303
+ } else if (col.images) {
1302
1304
  col.render = function (_ref4) {
1303
1305
  var text = _ref4.text;
1304
1306
  return tableColumnsImage(text);
1305
1307
  };
1306
- }
1307
- if (col.double) {
1308
+ } else if (col.double) {
1308
1309
  col.render = function (_ref5) {
1309
1310
  var record = _ref5.record;
1310
1311
  return handleTextDouble(record[col.textOne], record[col.textTwo]);
1311
1312
  };
1312
- }
1313
- if (col.lineFeed) {
1313
+ } else if (col.lineFeed) {
1314
1314
  col.render = function (_ref6) {
1315
1315
  var text = _ref6.text;
1316
1316
  return handleTextLineFeed(text);
1317
1317
  };
1318
- }
1319
- // 处理序号
1320
- if (col.indexNumber) {
1318
+ } else if (col.indexNumber) {
1319
+ // 处理序号
1321
1320
  col.render = function (_ref7) {
1322
1321
  var index = _ref7.index;
1323
1322
  return index + 1;
1324
1323
  };
1325
- }
1326
- // 没有值默认显示 - -
1327
- if (!col.render) {
1324
+ } else if (col.isPermissionColumn && Array.isArray(col === null || col === void 0 ? void 0 : col.render)) {
1325
+ col.render = col.render.filter(function (item) {
1326
+ return authFn(item.code);
1327
+ });
1328
+ } else if (!col.render) {
1329
+ // 没有值默认显示 - -
1328
1330
  // col.render = ({ text }: any) => text || '- -';
1329
1331
  col.render = function (_ref8) {
1330
1332
  var text = _ref8.text;
1331
- return text || '--';
1333
+ return text !== null && text !== void 0 ? text : '--';
1332
1334
  };
1333
1335
  }
1334
1336
  };
@@ -1422,10 +1424,64 @@ var judgeIsEmpty = function judgeIsEmpty(value) {
1422
1424
  return false;
1423
1425
  };
1424
1426
 
1425
- var css_248z$1 = ".luckysheet {\n overflow: hidden;\n}\n.luckysheet .luckysheet-work-area.luckysheet-noselected-text {\n display: none;\n}\n.sheet_table_top {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_top .menu_item_text {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sheet_table_footer {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_text {\n color: #8f8f8f;\n}\n.sheet_table_dnd_text {\n background: #f2f2f2;\n border: 1px solid #d8d8d8;\n display: inline-block;\n width: 100px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
1426
- styleInject(css_248z$1);
1427
+ var _excluded = ["url"];
1428
+ var get = function get(url, params) {
1429
+ return request$1.get(url, _objectSpread2({}, params)).then(handleResponseData);
1430
+ };
1431
+ var post = function post(url, data) {
1432
+ return request$1.post(url, {
1433
+ data: data
1434
+ }).then(handleResponseData);
1435
+ };
1436
+ var patch = function patch(url, data) {
1437
+ return request$1.patch(url, {
1438
+ data: data
1439
+ }).then(handleResponseData);
1440
+ };
1441
+ var put = function put(url, data) {
1442
+ return request$1.put(url, {
1443
+ data: data
1444
+ }).then(handleResponseData);
1445
+ };
1446
+ var deleteS = function deleteS(url, data) {
1447
+ return request$1.delete(url, {
1448
+ data: data
1449
+ }).then(handleResponseData);
1450
+ };
1451
+ var requestUtil = function requestUtil(_ref) {
1452
+ var url = _ref.url,
1453
+ parms = _objectWithoutProperties(_ref, _excluded);
1454
+ return request$1(url, parms).then(handleResponseData);
1455
+ };
1456
+ var handleResponseData = /*#__PURE__*/function () {
1457
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
1458
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
1459
+ while (1) switch (_context.prev = _context.next) {
1460
+ case 0:
1461
+ return _context.abrupt("return", Promise.resolve({
1462
+ data: response,
1463
+ status: response.status
1464
+ }));
1465
+ case 1:
1466
+ case "end":
1467
+ return _context.stop();
1468
+ }
1469
+ }, _callee);
1470
+ }));
1471
+ return function handleResponseData(_x) {
1472
+ return _ref2.apply(this, arguments);
1473
+ };
1474
+ }();
1475
+ requestUtil.get = get;
1476
+ requestUtil.post = post;
1477
+ requestUtil.patch = patch;
1478
+ requestUtil.put = put;
1479
+ requestUtil.delete = deleteS;
1427
1480
 
1428
- var _excluded = ["flag", "checkResults"],
1481
+ var css_248z$2 = ".luckysheet {\n overflow: hidden;\n}\n.luckysheet .luckysheet-work-area.luckysheet-noselected-text {\n display: none;\n}\n.sheet_table_top {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_top .menu_item_text {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sheet_table_footer {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_text {\n color: #8f8f8f;\n}\n.sheet_table_dnd_text {\n background: #f2f2f2;\n border: 1px solid #d8d8d8;\n display: inline-block;\n width: 100px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
1482
+ styleInject(css_248z$2);
1483
+
1484
+ var _excluded$1 = ["flag", "checkResults"],
1429
1485
  _excluded2 = ["flag", "checkResults"];
1430
1486
  // const luckysheet = window.luckysheet;
1431
1487
  var itemsTemp = [];
@@ -1687,7 +1743,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
1687
1743
  }).map(function (_ref2) {
1688
1744
  var flag = _ref2.flag,
1689
1745
  checkResults = _ref2.checkResults,
1690
- item = _objectWithoutProperties(_ref2, _excluded);
1746
+ item = _objectWithoutProperties(_ref2, _excluded$1);
1691
1747
  return item;
1692
1748
  }),
1693
1749
  failData: resultData.filter(function (item) {
@@ -1733,7 +1789,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
1733
1789
  brandAuth: 'ctl-withAuth'
1734
1790
  };
1735
1791
  }
1736
- axios.post(validDataUrl, _objectSpread2(_objectSpread2(_objectSpread2({}, otherParams), validDataParams), {}, {
1792
+ requestUtil.post(validDataUrl, _objectSpread2(_objectSpread2(_objectSpread2({}, otherParams), validDataParams), {}, {
1737
1793
  columns: columns,
1738
1794
  data: resultData,
1739
1795
  checkStockNum: isCheckStockNum
@@ -1990,10 +2046,10 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
1990
2046
  return DataValidation;
1991
2047
  }(React.Component);
1992
2048
 
1993
- var css_248z$2 = ".luckysheet {\n overflow: hidden;\n}\n.luckysheet .luckysheet-work-area.luckysheet-noselected-text {\n display: none;\n}\n.sheet_table_top {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_top .menu_item_text {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sheet_table_footer {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_text {\n color: #8f8f8f;\n}\n.sheet_table_dnd_text {\n background: #f2f2f2;\n border: 1px solid #d8d8d8;\n display: inline-block;\n width: 100px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
1994
- styleInject(css_248z$2);
2049
+ var css_248z$3 = ".luckysheet {\n overflow: hidden;\n}\n.luckysheet .luckysheet-work-area.luckysheet-noselected-text {\n display: none;\n}\n.sheet_table_top {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_top .menu_item_text {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.sheet_table_footer {\n height: 50px;\n background: #f2f2f2;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 0 20px;\n border: 1px solid #d8d8d8;\n}\n.sheet_table_text {\n color: #8f8f8f;\n}\n.sheet_table_dnd_text {\n background: #f2f2f2;\n border: 1px solid #d8d8d8;\n display: inline-block;\n width: 100px;\n height: 30px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n";
2050
+ styleInject(css_248z$3);
1995
2051
 
1996
- var _excluded$1 = ["flag", "checkResults"],
2052
+ var _excluded$2 = ["flag", "checkResults"],
1997
2053
  _excluded2$1 = ["flag", "checkResults"];
1998
2054
  // const luckysheet = window.luckysheet;
1999
2055
  var itemsTemp$1 = [];
@@ -2256,7 +2312,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
2256
2312
  }).map(function (_ref2) {
2257
2313
  var flag = _ref2.flag,
2258
2314
  checkResults = _ref2.checkResults,
2259
- item = _objectWithoutProperties(_ref2, _excluded$1);
2315
+ item = _objectWithoutProperties(_ref2, _excluded$2);
2260
2316
  return item;
2261
2317
  }),
2262
2318
  failData: resultData.filter(function (item) {
@@ -2293,7 +2349,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
2293
2349
  var resultData = _this.getData().filter(function (d) {
2294
2350
  return _.compact(Object.values(d)).length;
2295
2351
  });
2296
- axios.post(validDataUrl, {
2352
+ requestUtil.post(validDataUrl, {
2297
2353
  columns: columns,
2298
2354
  data: resultData
2299
2355
  }).then(function (result) {
@@ -2566,11 +2622,12 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
2566
2622
  return DataImport;
2567
2623
  }(React.Component);
2568
2624
 
2569
- var css_248z$3 = ".query_input_show {\n display: flex;\n}\n.query_input_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.query_input_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.query_input_wrapper {\n display: flex;\n}\n.query_input_wrapper_left {\n width: 100px;\n}\n.query_input_wrapper_right {\n color: #9e9e9e;\n}\n.query_input_textArea {\n margin-top: 15px;\n}\n";
2570
- styleInject(css_248z$3);
2625
+ var css_248z$4 = ".query_input_show {\n display: flex;\n}\n.query_input_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.query_input_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.query_input_wrapper {\n display: flex;\n}\n.query_input_wrapper_left {\n width: 100px;\n}\n.query_input_wrapper_right {\n color: #9e9e9e;\n}\n.query_input_textArea {\n margin-top: 15px;\n}\n";
2626
+ styleInject(css_248z$4);
2571
2627
 
2572
2628
  var QueryMutipleInput = function QueryMutipleInput(_ref) {
2573
- var onValueChange = _ref.onValueChange;
2629
+ var onValueChange = _ref.onValueChange,
2630
+ _onPressEnter = _ref.onPressEnter;
2574
2631
  var _useState = useState(false),
2575
2632
  _useState2 = _slicedToArray(_useState, 2),
2576
2633
  isModalVisible = _useState2[0],
@@ -2633,7 +2690,10 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
2633
2690
  style: {
2634
2691
  width: 'calc(100% - 30px)'
2635
2692
  },
2636
- placeholder: "\u8BF7\u8F93\u5165\uFF08\u67E5\u8BE2\u591A\u4E2A\u503C\u8BF7\u7528 ; \u6216 , \u5206\u5272\uFF09"
2693
+ placeholder: "\u8BF7\u8F93\u5165\uFF08\u67E5\u8BE2\u591A\u4E2A\u503C\u8BF7\u7528 ; \u6216 , \u5206\u5272\uFF09",
2694
+ onPressEnter: function onPressEnter() {
2695
+ return _onPressEnter === null || _onPressEnter === void 0 ? void 0 : _onPressEnter();
2696
+ }
2637
2697
  }), /*#__PURE__*/React.createElement(Button, {
2638
2698
  style: {
2639
2699
  width: '30px',
@@ -2683,8 +2743,8 @@ function ToCDB(str) {
2683
2743
  return tmp;
2684
2744
  }
2685
2745
 
2686
- var css_248z$4 = ".search_select_show {\n display: flex;\n}\n.search_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.search_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_wrapper {\n position: relative;\n display: flex;\n min-height: 60vh;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n}\n.search_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.search_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_left {\n width: 28%;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-left: 20px;\n}\n.search_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.search_select_wrapper_right {\n width: 70%;\n margin-left: 1%;\n}\n.search_select_wrapper_right1 {\n width: 100%;\n margin-left: 20px;\n}\n.search_select_wrapper_right,\n.search_select_wrapper_right1 {\n overflow-x: auto;\n}\n.search_select_wrapper .select_list_columns {\n width: 100%;\n height: calc(60vh - 60px);\n overflow-y: auto;\n border: 1px solid #d8d8d8;\n}\n.search_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.search_select_wrapper .select_list_columns_formItems {\n padding: 0 20px;\n}\n.search_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px 0px;\n justify-content: flex-end;\n}\n.search_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 34px;\n line-height: 32px;\n background-color: #eee;\n margin-bottom: 10px;\n padding: 0 12px;\n}\n.search_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n";
2687
- styleInject(css_248z$4);
2746
+ var css_248z$5 = ".search_select_show {\n display: flex;\n}\n.search_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.search_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_wrapper {\n position: relative;\n display: flex;\n min-height: 60vh;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n}\n.search_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.search_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.search_select_wrapper_left {\n width: 28%;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-left: 20px;\n}\n.search_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.search_select_wrapper_right {\n width: 70%;\n margin-left: 1%;\n}\n.search_select_wrapper_right1 {\n width: 100%;\n margin-left: 20px;\n}\n.search_select_wrapper_right,\n.search_select_wrapper_right1 {\n overflow-x: auto;\n}\n.search_select_wrapper .select_list_columns {\n width: 100%;\n height: calc(60vh - 60px);\n overflow-y: auto;\n border: 1px solid #d8d8d8;\n}\n.search_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.search_select_wrapper .select_list_columns_formItems {\n padding: 0 20px;\n}\n.search_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px 0px;\n justify-content: flex-end;\n}\n.search_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 34px;\n line-height: 32px;\n background-color: #eee;\n margin-bottom: 10px;\n padding: 0 12px;\n}\n.search_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n";
2747
+ styleInject(css_248z$5);
2688
2748
 
2689
2749
  var handleSourceName = function handleSourceName(sName) {
2690
2750
  return sName;
@@ -2971,6 +3031,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
2971
3031
  }
2972
3032
  });
2973
3033
  delete params[key];
3034
+ } else if (element && key.indexOf('*multiInput') >= 0) {
3035
+ var name = '',
3036
+ _value = element['value'];
3037
+ if (_value.indexOf(',') >= 0) {
3038
+ name = "qp-".concat(element['name'], "-in");
3039
+ } else {
3040
+ name = "qp-".concat(element['name'], "-like");
3041
+ }
3042
+ params[name] = _value;
3043
+ delete params[key];
2974
3044
  } else if (element && key.indexOf('*') >= 0) {
2975
3045
  var _dataParams7 = key.split('*');
2976
3046
  _dataParams7.forEach(function (value, index) {
@@ -3005,7 +3075,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3005
3075
  pageSize: pageSize,
3006
3076
  currentPage: currentPage
3007
3077
  }, otherParams), fixedParam), params);
3008
- axios.get("".concat(url, "?").concat(stringify(queryParams)), {
3078
+ if (isNil(queryParams[selectParamsKey])) {
3079
+ queryParams[selectParamsKey] = searchValue;
3080
+ }
3081
+ requestUtil.get("".concat(url, "?").concat(stringify(queryParams)), {
3009
3082
  headers: _objectSpread2({}, extralHeaders)
3010
3083
  }).then(function (result) {
3011
3084
  setFetching(false);
@@ -3332,8 +3405,9 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3332
3405
  if (heightTxt === '') {
3333
3406
  return text;
3334
3407
  }
3408
+ var searchString = escapeRegExp(heightTxt);
3335
3409
  // 前面filterOption 不区分大小写,这里用i
3336
- var regexp = new RegExp(heightTxt, 'gi');
3410
+ var regexp = new RegExp(searchString, 'gi');
3337
3411
  return text.replace(regexp, "<span style=\"color:red\">".concat(heightTxt, "</span>"));
3338
3412
  };
3339
3413
  return /*#__PURE__*/React.createElement(Tooltip, {
@@ -3566,9 +3640,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3566
3640
  }
3567
3641
  }), menu);
3568
3642
  },
3569
- notFoundContent: fetching ? /*#__PURE__*/React.createElement(Spin, {
3570
- size: "small"
3571
- }) : /*#__PURE__*/React.createElement("div", {
3643
+ notFoundContent: fetching ? ( /*#__PURE__*/React.createElement(Spin, {
3644
+ size: "small",
3645
+ className: 'searchSelectSpin'
3646
+ })) : ( /*#__PURE__*/React.createElement("div", {
3572
3647
  style: {
3573
3648
  textAlign: 'center'
3574
3649
  }
@@ -3580,7 +3655,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3580
3655
  style: {
3581
3656
  fontSize: '50px'
3582
3657
  }
3583
- })), /*#__PURE__*/React.createElement("div", null, "\u65E0\u5339\u914D\u7ED3\u679C\uFF0C\u8BF7\u66F4\u6362\u5176\u4ED6\u5185\u5BB9\u518D\u8BD5")),
3658
+ })), /*#__PURE__*/React.createElement("div", null, "\u65E0\u5339\u914D\u7ED3\u679C\uFF0C\u8BF7\u66F4\u6362\u5176\u4ED6\u5185\u5BB9\u518D\u8BD5"))),
3584
3659
  onPopupScroll: SelectScroll,
3585
3660
  style: {
3586
3661
  width: needModalTable ? 'calc(100% - 30px)' : 'calc(100%)'
@@ -3608,7 +3683,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3608
3683
  onClick: showModal,
3609
3684
  type: "primary"
3610
3685
  }, /*#__PURE__*/React.createElement(SearchOutlined, null))))), needModalTable && isModalVisible && ( /*#__PURE__*/React.createElement(Modal, _objectSpread2({
3611
- width: '80%',
3686
+ width: "80%",
3612
3687
  title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
3613
3688
  visible: isModalVisible,
3614
3689
  onOk: handleOk,
@@ -3641,16 +3716,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3641
3716
  className: 'select_list_columns_formItems'
3642
3717
  }, /*#__PURE__*/React.createElement(Form, {
3643
3718
  form: form,
3644
- layout: 'vertical',
3645
- key: 'modalForm'
3719
+ layout: "vertical",
3720
+ key: "modalForm"
3646
3721
  }, formItem(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm)))), /*#__PURE__*/React.createElement("div", {
3647
3722
  className: 'select_list_searchButton'
3648
3723
  }, /*#__PURE__*/React.createElement(Button, {
3649
- key: 'reset',
3724
+ key: "reset",
3650
3725
  className: 'select_list_button_space',
3651
3726
  onClick: onResetTable
3652
3727
  }, "\u91CD\u7F6E"), /*#__PURE__*/React.createElement(Button, {
3653
- key: 'search',
3728
+ key: "search",
3654
3729
  type: "primary",
3655
3730
  onClick: onSearchTable
3656
3731
  }, "\u67E5\u8BE2"))), /*#__PURE__*/React.createElement("div", {
@@ -3663,14 +3738,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3663
3738
  }
3664
3739
  }, "\u641C\u7D22\u7ED3\u679C\u5171", /*#__PURE__*/React.createElement("span", {
3665
3740
  style: themeColor
3666
- }, (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total) || 0), "\u9879", selectMode ? /*#__PURE__*/React.createElement("span", null, "\uFF0C \u672C\u6B21\u5DF2\u9009", /*#__PURE__*/React.createElement("span", {
3741
+ }, (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total) || 0), "\u9879", selectMode ? ( /*#__PURE__*/React.createElement("span", null, "\uFF0C \u672C\u6B21\u5DF2\u9009", /*#__PURE__*/React.createElement("span", {
3667
3742
  style: themeColor
3668
- }, (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0), "\u9879") : ''), /*#__PURE__*/React.createElement("div", {
3743
+ }, (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0), "\u9879")) : ''), /*#__PURE__*/React.createElement("div", {
3669
3744
  style: {
3670
3745
  color: 'rgba(127, 127, 127, 0.6470588235294118)'
3671
3746
  }
3672
3747
  }, selectMode ? '勾选后点击确定按钮完成选择' : '双击数据行或点击单选图标完成选择')), /*#__PURE__*/React.createElement(Table, {
3673
- size: 'small',
3748
+ size: "small",
3674
3749
  rowSelection: rowSelection,
3675
3750
  columns: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns,
3676
3751
  dataSource: tableData,
@@ -3688,18 +3763,18 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
3688
3763
  }
3689
3764
  };
3690
3765
  }
3691
- }), selectMode ? /*#__PURE__*/React.createElement("div", {
3766
+ }), selectMode ? ( /*#__PURE__*/React.createElement("div", {
3692
3767
  className: 'select_list_selectAll'
3693
3768
  }, /*#__PURE__*/React.createElement(Checkbox, {
3694
3769
  indeterminate: indeterminate,
3695
3770
  checked: checkedAll,
3696
3771
  onChange: onChangeCheckAll,
3697
3772
  disabled: (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled)
3698
- }), " \u5168\u9009\u6240\u6709\u9875\u9762") : ''))))));
3773
+ }), ' ', "\u5168\u9009\u6240\u6709\u9875\u9762")) : ''))))));
3699
3774
  });
3700
3775
 
3701
- var css_248z$5 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper_select_quick {\n margin: 0;\n}\n.react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n.react-resizable-handle {\n position: absolute;\n width: 10px;\n height: 100%;\n bottom: 0;\n right: -5px;\n cursor: col-resize;\n z-index: 1;\n}\n";
3702
- styleInject(css_248z$5);
3776
+ var css_248z$6 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper_select_quick {\n margin: 0;\n}\n.react-resizable {\n position: relative;\n background-clip: padding-box;\n}\n.react-resizable-handle {\n position: absolute;\n width: 10px;\n height: 100%;\n bottom: 0;\n right: -5px;\n cursor: col-resize;\n z-index: 1;\n}\n";
3777
+ styleInject(css_248z$6);
3703
3778
 
3704
3779
  var shezhi = "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-1865.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%281636.000000%2C%2014.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%22M4.55801813%2C-4.10857923e-16%20L27.4419819%2C1.84149388e-16%20C29.0269041%2C-1.06996098e-16%2029.6016352%2C0.165023309%2030.181059%2C0.474902584%20C30.7604829%2C0.78478186%2031.2152181%2C1.2395171%2031.5250974%2C1.81894097%20C31.8349767%2C2.39836484%2032%2C2.97309593%2032%2C4.55801813%20L32%2C27.4419819%20C32%2C29.0269041%2031.8349767%2C29.6016352%2031.5250974%2C30.181059%20C31.2152181%2C30.7604829%2030.7604829%2C31.2152181%2030.181059%2C31.5250974%20C29.6016352%2C31.8349767%2029.0269041%2C32%2027.4419819%2C32%20L4.55801813%2C32%20C2.97309593%2C32%202.39836484%2C31.8349767%201.81894097%2C31.5250974%20C1.2395171%2C31.2152181%200.78478186%2C30.7604829%200.474902584%2C30.181059%20C0.165023309%2C29.6016352%202.03054919e-16%2C29.0269041%20-3.49474794e-16%2C27.4419819%20L1.22766259e-16%2C4.55801813%20C-7.13307317e-17%2C2.97309593%200.165023309%2C2.39836484%200.474902584%2C1.81894097%20C0.78478186%2C1.2395171%201.2395171%2C0.78478186%201.81894097%2C0.474902584%20C2.39836484%2C0.165023309%202.97309593%2C2.38720285e-16%204.55801813%2C-4.10857923e-16%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%288.000000%2C%208.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%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%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%3Cpath%20d%3D%22M6.7386444%2C0%20L9.31914658%2C0.00400859106%20C10.1203579%2C0.00538861113%2010.7694605%2C0.676782175%2010.7705276%2C1.50523181%20L10.7714968%2C1.94016563%20C11.2713795%2C2.15465212%2011.7449087%2C2.42965745%2012.1821713%2C2.75942463%20L12.5276921%2C2.55398355%20C13.2221154%2C2.14077391%2014.108963%2C2.38638205%2014.5106808%2C3.10316266%20L15.8040818%2C5.41212013%20C16.1892138%2C6.09972811%2015.990279%2C6.97849852%2015.3500104%2C7.41792671%20L15.2710204%2C7.46803431%20L14.9240458%2C7.67497861%20C14.9836517%2C8.24420078%2014.9763827%2C8.82244228%2014.8983619%2C9.39717628%20L15.1435702%2C9.54399151%20C15.8102761%2C9.94190072%2016.0614337%2C10.8082131%2015.716369%2C11.5197335%20L15.6761471%2C11.5974003%20L14.4646437%2C13.7670587%20C14.079817%2C14.4564299%2013.2419875%2C14.7161258%2012.5538606%2C14.3593303%20L12.4782628%2C14.3172399%20L12.1434032%2C14.1168096%20C11.7223166%2C14.4300773%2011.2678576%2C14.692352%2010.7889425%2C14.8984879%20L10.7889425%2C15.4947682%20C10.7899403%2C16.2891527%2010.1930007%2C16.9472128%209.42624347%2C16.9969935%20L9.33368462%2C17%20L6.75318244%2C16.9959914%20C5.95216%2C16.9946121%205.30313532%2C16.3235232%205.30180138%2C15.4952693%20L5.30034758%2C14.7762254%20C4.90043094%2C14.5820591%204.5195493%2C14.3484795%204.16298822%2C14.0787278%20L3.54463691%2C14.4465175%20C2.85008695%2C14.8596428%201.96320036%2C14.6137998%201.56164819%2C13.8968373%20L0.268247179%2C11.5883809%20C-0.117195104%2C10.9006602%200.0817705641%2C10.0215335%200.722318635%2C9.58207327%20L0.80130867%2C9.53196569%20L1.43032121%2C9.15766204%20C1.38186108%2C8.68163998%201.37943806%2C8.20010611%201.42595979%2C7.71957437%20L0.727649258%2C7.30217819%20C0.0607645902%2C6.90443662%20-0.19061709%2C6.03808438%200.154365869%2C5.32643616%20L0.195072383%2C5.2487694%20L1.40657575%2C3.07911102%20C1.7914024%2C2.38973985%202.62923197%2C2.13004387%203.31735886%2C2.48683938%20L3.39247208%2C2.52892975%20L4.00113138%2C2.89220974%20C4.39780188%2C2.57239271%204.82771303%2C2.29929047%205.28290193%2C2.0779615%20L5.28290193%2C1.50573288%20C5.28164777%2C0.711155235%205.87865691%2C0.0527989874%206.64560094%2C0.00300645504%20L6.73815978%2C0%20L6.7386444%2C0%20Z%20M6.73670598%2C1.50322752%20L6.73815978%2C3.03150881%20L5.90270707%2C3.43788133%20C5.54507128%2C3.61175466%205.20730414%2C3.8262151%204.89619006%2C4.0772541%20L4.12373551%2C4.70059245%20L2.70239975%2C3.85176997%20L2.66605465%2C3.83072478%20L1.45455128%2C6.00038316%20L2.96650749%2C6.90282076%20L2.87249482%2C7.86939606%20C2.83614972%2C8.24470187%202.83760352%2C8.6235152%202.87588705%2C8.99882099%20L2.97571491%2C9.97191026%20L1.52675689%2C10.8347629%20L2.81967328%2C13.1432193%20L4.2584547%2C12.2878828%20L5.02170182%2C12.8656232%20C5.3027003%2C13.0784515%205.60293338%2C13.2627017%205.9182143%2C13.4158045%20L6.75269782%2C13.8211749%20L6.75560543%2C15.4927639%20L9.33562302%2C15.4967725%20L9.33416922%2C13.8958352%20L10.2306817%2C13.5100068%20C10.6067559%2C13.348282%2010.9636539%2C13.1424989%2011.2943817%2C12.8966899%20L12.0571442%2C12.3299732%20L13.2056494%2C13.0154449%20L14.4161836%2C10.8452855%20L13.3229229%2C10.1918826%20L13.4586113%2C9.18922982%20C13.5191865%2C8.74076695%2013.5259709%2C8.28679224%2013.4789646%2C7.83632505%20L13.3771983%2C6.86273469%20L14.5460567%2C6.16523712%20L13.2526557%2C3.85678072%20L12.0896125%2C4.54976861%20L11.3258808%2C3.97403247%20C10.9812567%2C3.71415335%2010.6081041%2C3.4973506%2010.2142053%2C3.32814572%20L9.31963118%2C2.94432162%20L9.31672357%2C1.50723611%20L6.73670598%2C1.50322752%20L6.73670598%2C1.50322752%20Z%20M9.63026065%2C5.81849263%20C11.020555%2C6.64989539%2011.4971522%2C8.48836517%2010.6954144%2C9.92731453%20C10.31057%2C10.6180868%209.67584239%2C11.1222493%208.93115445%2C11.3286616%20C8.18646651%2C11.5350739%207.39296008%2C11.4267887%206.72556016%2C11.0276771%20C5.33544167%2C10.1961028%204.85907177%2C8.35767345%205.66089098%2C6.91885517%20C6.04573388%2C6.22821897%206.68037324%2C5.72415423%207.42494422%2C5.51774917%20C8.16951519%2C5.3113441%208.9629043%2C5.41954018%209.63026065%2C5.81849263%20L9.63026065%2C5.81849263%20Z%20M6.91988529%2C7.6694668%20C6.5185962%2C8.38978735%206.75708884%2C9.31005529%207.45294678%2C9.72638311%20C7.78629255%2C9.92588707%208.18270902%2C9.98005276%208.55473096%2C9.87692908%20C8.92675291%2C9.7738054%209.24380592%2C9.5218675%209.4359355%2C9.17670291%20C9.82059563%2C8.48612828%209.61887592%2C7.60527314%208.97556421%2C7.16638665%20L8.90287401%2C7.11978659%20L8.82776082%2C7.07819729%20C8.14078385%2C6.72100469%207.30360294%2C6.98045534%206.91988529%2C7.6694668%20L6.91988529%2C7.6694668%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%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";
3705
3780
 
@@ -3715,10 +3790,10 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
3715
3790
 
3716
3791
  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";
3717
3792
 
3718
- 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";
3719
- styleInject(css_248z$6);
3793
+ var css_248z$7 = ".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";
3794
+ styleInject(css_248z$7);
3720
3795
 
3721
- var _excluded$2 = ["className", "style"];
3796
+ var _excluded$3 = ["className", "style"];
3722
3797
  var Search = Input.Search;
3723
3798
  var DragHandle = SortableHandle(function () {
3724
3799
  return /*#__PURE__*/React.createElement("img", {
@@ -3763,7 +3838,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
3763
3838
  fixed: item.fixed
3764
3839
  };
3765
3840
  });
3766
- axios({
3841
+ requestUtil({
3767
3842
  url: handleRequestUrl('/user', '/appConfig/saveUserOrder', appRequestConfig),
3768
3843
  method: 'POST',
3769
3844
  data: {
@@ -4071,7 +4146,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
4071
4146
  _this.DraggableBodyRow = function (_ref2) {
4072
4147
  var className = _ref2.className,
4073
4148
  style = _ref2.style,
4074
- restProps = _objectWithoutProperties(_ref2, _excluded$2);
4149
+ restProps = _objectWithoutProperties(_ref2, _excluded$3);
4075
4150
  var sortDataSource = _this.state.sortDataSource;
4076
4151
  // function findIndex base on Table rowKey props and should always be a right array index
4077
4152
  var index = sortDataSource.findIndex(function (x) {
@@ -4357,33 +4432,33 @@ var noEmptyArray = function noEmptyArray(arr) {
4357
4432
  var getItemDefaultWidth$1 = function getItemDefaultWidth(item) {
4358
4433
  var _ref;
4359
4434
  var defaultWidth = 200;
4435
+ if (Array.isArray(item.key) || Array.isArray(item.dataIndex)) return defaultWidth;
4360
4436
  var lowerCaseKey = (_ref = item.key || item.dataIndex) === null || _ref === void 0 ? void 0 : _ref.toLowerCase();
4361
- if (lowerCaseKey) {
4362
- switch (true) {
4363
- case (item === null || item === void 0 ? void 0 : item.title) === '操作' || lowerCaseKey === 'operate':
4364
- defaultWidth = 60;
4365
- break;
4366
- case lowerCaseKey.indexOf('number') > -1:
4367
- case lowerCaseKey.indexOf('quantity') > -1:
4368
- case lowerCaseKey.indexOf('amount') > -1:
4369
- defaultWidth = 90;
4370
- break;
4371
- case lowerCaseKey.indexOf('no') > -1:
4372
- defaultWidth = 200;
4373
- break;
4374
- case lowerCaseKey.indexOf('code') > -1:
4375
- defaultWidth = 170;
4376
- break;
4377
- case lowerCaseKey.indexOf('time') > -1:
4378
- defaultWidth = 130;
4379
- break;
4380
- case lowerCaseKey.indexOf('status') > -1:
4381
- defaultWidth = 100;
4382
- break;
4383
- case lowerCaseKey.indexOf('user') > -1:
4384
- defaultWidth = 130;
4385
- break;
4386
- }
4437
+ if (!lowerCaseKey) return defaultWidth;
4438
+ switch (true) {
4439
+ case (item === null || item === void 0 ? void 0 : item.title) === '操作' || lowerCaseKey === 'operate':
4440
+ defaultWidth = 60;
4441
+ break;
4442
+ case lowerCaseKey.indexOf('number') > -1:
4443
+ case lowerCaseKey.indexOf('quantity') > -1:
4444
+ case lowerCaseKey.indexOf('amount') > -1:
4445
+ defaultWidth = 90;
4446
+ break;
4447
+ case lowerCaseKey.indexOf('no') > -1:
4448
+ defaultWidth = 200;
4449
+ break;
4450
+ case lowerCaseKey.indexOf('code') > -1:
4451
+ defaultWidth = 170;
4452
+ break;
4453
+ case lowerCaseKey.indexOf('time') > -1:
4454
+ defaultWidth = 130;
4455
+ break;
4456
+ case lowerCaseKey.indexOf('status') > -1:
4457
+ defaultWidth = 100;
4458
+ break;
4459
+ case lowerCaseKey.indexOf('user') > -1:
4460
+ defaultWidth = 130;
4461
+ break;
4387
4462
  }
4388
4463
  return defaultWidth;
4389
4464
  };
@@ -4410,7 +4485,7 @@ var getSelectDataList = function getSelectDataList(record, item, selectKey) {
4410
4485
  };
4411
4486
  var loadSelectSource = function loadSelectSource(url, params) {
4412
4487
  return new Promise(function (resolve, reject) {
4413
- axios.get("".concat(url, "?").concat(stringify(params))).then(function (result) {
4488
+ requestUtil.get("".concat(url, "?").concat(stringify(params))).then(function (result) {
4414
4489
  result = result.data;
4415
4490
  if (judgeIsRequestError(result)) {
4416
4491
  message$1.error(result.msg);
@@ -4475,10 +4550,11 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
4475
4550
  });
4476
4551
  };
4477
4552
 
4478
- var _excluded$3 = ["onResize", "width"];
4553
+ var _excluded$4 = ["onResize", "width"],
4554
+ _excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
4479
4555
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
4480
4556
  return new Promise(function (resolve, reject) {
4481
- axios.post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
4557
+ requestUtil.post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
4482
4558
  result = result.data;
4483
4559
  if (judgeIsRequestError(result)) {
4484
4560
  message$1.error(result.msg);
@@ -4494,7 +4570,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
4494
4570
  var ResizeableTitle = function ResizeableTitle(props) {
4495
4571
  var onResize = props.onResize,
4496
4572
  width = props.width,
4497
- restProps = _objectWithoutProperties(props, _excluded$3);
4573
+ restProps = _objectWithoutProperties(props, _excluded$4);
4498
4574
  if (!width) {
4499
4575
  return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
4500
4576
  }
@@ -4529,6 +4605,7 @@ var AddSelect = function AddSelect(props) {
4529
4605
  needModalTable = _props$needModalTable === void 0 ? true : _props$needModalTable,
4530
4606
  _props$getPopupContai = props.getPopupContainer,
4531
4607
  onSaveCallback = props.onSaveCallback,
4608
+ onCancelCallback = props.onCancelCallback,
4532
4609
  _props$buttonText = props.buttonText,
4533
4610
  buttonText = _props$buttonText === void 0 ? '添加' : _props$buttonText,
4534
4611
  _props$buttonProps = props.buttonProps,
@@ -4539,7 +4616,8 @@ var AddSelect = function AddSelect(props) {
4539
4616
  _props$businessType = props.businessType,
4540
4617
  businessType = _props$businessType === void 0 ? 'sku' : _props$businessType,
4541
4618
  _props$isAllowRepeate = props.isAllowRepeatedSelect,
4542
- isAllowRepeatedSelect = _props$isAllowRepeate === void 0 ? false : _props$isAllowRepeate;
4619
+ isAllowRepeatedSelect = _props$isAllowRepeate === void 0 ? false : _props$isAllowRepeate,
4620
+ clearTitle = props.clearTitle;
4543
4621
  var _ref = requestConfig || {},
4544
4622
  url = _ref.url,
4545
4623
  otherParams = _ref.otherParams,
@@ -4692,6 +4770,7 @@ var AddSelect = function AddSelect(props) {
4692
4770
  setShowToChooseColumns = _useState46[1];
4693
4771
  var codeToChoose = tableCodeList[0] || initTableCode[businessType][0];
4694
4772
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
4773
+ // FIXME: 特殊业务逻辑
4695
4774
  var checkSelectChange = /*#__PURE__*/function () {
4696
4775
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
4697
4776
  var result;
@@ -4773,6 +4852,7 @@ var AddSelect = function AddSelect(props) {
4773
4852
  }();
4774
4853
  var setBusinessDefaultValue = function setBusinessDefaultValue(list, recordList) {
4775
4854
  var result = list;
4855
+ // FIXME: 特殊业务逻辑
4776
4856
  if (businessType == 'spu' && ((recordList === null || recordList === void 0 ? void 0 : recordList.some(function (i) {
4777
4857
  var _i$colorValues;
4778
4858
  return (i === null || i === void 0 ? void 0 : (_i$colorValues = i.colorValues) === null || _i$colorValues === void 0 ? void 0 : _i$colorValues.length) == 1;
@@ -4811,6 +4891,7 @@ var AddSelect = function AddSelect(props) {
4811
4891
  var _record$packingUnitLi, _record$packingUnitLi2;
4812
4892
  // let
4813
4893
  if (record.needFocus === true && currentIndex === 0) ;
4894
+ // FIXME: 特殊业务逻辑
4814
4895
  var precisionObj = businessType == 'skc' ? {
4815
4896
  precision: 0
4816
4897
  } : {};
@@ -5083,6 +5164,16 @@ var AddSelect = function AddSelect(props) {
5083
5164
  }
5084
5165
  });
5085
5166
  delete params[key];
5167
+ } else if (element && key.indexOf('*multiInput') >= 0) {
5168
+ var name = '',
5169
+ _value = element['value'];
5170
+ if (_value.indexOf(',') >= 0) {
5171
+ name = "qp-".concat(element['name'], "-in");
5172
+ } else {
5173
+ name = "qp-".concat(element['name'], "-like");
5174
+ }
5175
+ params[name] = _value;
5176
+ delete params[key];
5086
5177
  } else if (element && key.indexOf('*') >= 0) {
5087
5178
  var _dataParams7 = key.split('*');
5088
5179
  _dataParams7.forEach(function (value, index) {
@@ -5117,7 +5208,18 @@ var AddSelect = function AddSelect(props) {
5117
5208
  pageSize: pageSize,
5118
5209
  currentPage: currentPage
5119
5210
  }, otherParams), fixedParam), params);
5120
- axios.get("".concat(url, "?").concat(stringify(queryParams))).then(function (result) {
5211
+ //todo 为了满足单个使用like查询,多个含,的使用in查询
5212
+ if (!queryParams.unConvert) {
5213
+ Object.keys(queryParams).forEach(function (key) {
5214
+ if (String(queryParams[key]).includes(',')) {
5215
+ if (key.includes('like')) {
5216
+ queryParams[key.replace('like', 'in')] = queryParams[key];
5217
+ delete queryParams[key];
5218
+ }
5219
+ }
5220
+ });
5221
+ }
5222
+ requestUtil.get("".concat(url).concat(url.includes("?") ? "&" : "?").concat(stringify(queryParams))).then(function (result) {
5121
5223
  setFetching(false);
5122
5224
  result = result.data;
5123
5225
  if (judgeIsRequestError(result)) {
@@ -5312,27 +5414,31 @@ var AddSelect = function AddSelect(props) {
5312
5414
  setTableFormParams({});
5313
5415
  setIsModalVisible(false);
5314
5416
  setTableData([]);
5417
+ onCancelCallback && onCancelCallback();
5315
5418
  // if (selectMode) {
5316
5419
  // run();
5317
5420
  // }
5318
5421
  };
5319
5422
  var onSearchTable = function onSearchTable() {
5320
- var params = form.getFieldsValue();
5321
- setTableFormParams(params);
5322
- getData(_objectSpread2(_objectSpread2({}, params), {}, {
5323
- pageSize: tableInitPageSize
5324
- }), 2);
5325
- // if (selectMode) {
5326
- // getData(params)
5327
- // }
5423
+ form.validateFields().then(function () {
5424
+ var params = form.getFieldsValue();
5425
+ setTableFormParams(params);
5426
+ getData(_objectSpread2(_objectSpread2({}, params), {}, {
5427
+ pageSize: tableInitPageSize
5428
+ }), 2);
5429
+ });
5328
5430
  };
5329
5431
  var onResetTable = function onResetTable() {
5330
5432
  form.resetFields();
5331
5433
  setTableFormParams({});
5332
- getData({
5333
- pageSize: tableInitPageSize,
5334
- currentPage: 1
5335
- }, 2);
5434
+ form.validateFields().then(function () {
5435
+ getData({
5436
+ pageSize: tableInitPageSize,
5437
+ currentPage: 1
5438
+ }, 2);
5439
+ }).catch(function () {
5440
+ setTableData([]);
5441
+ });
5336
5442
  };
5337
5443
  var handleTableChange = function handleTableChange(pagination) {
5338
5444
  getData(_objectSpread2(_objectSpread2({}, tableFormParams), {}, {
@@ -5400,62 +5506,69 @@ var AddSelect = function AddSelect(props) {
5400
5506
  var formItem = function formItem(list) {
5401
5507
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
5402
5508
  return list.map(function (i, index) {
5403
- var _i$field, _i$field3, _i$field5, _i$field6, _i$field7;
5404
- if ((i === null || i === void 0 ? void 0 : i.type) === 'select' || (i === null || i === void 0 ? void 0 : (_i$field = i.field) === null || _i$field === void 0 ? void 0 : _i$field.type) === 'select') {
5405
- var _i$field2, _i$initialSource;
5406
- return /*#__PURE__*/React.createElement(Form.Item, {
5407
- name: i.name,
5408
- label: i.label,
5409
- key: i.name
5410
- }, /*#__PURE__*/React.createElement(Select, _objectSpread2({
5509
+ var name = i.name,
5510
+ label = i.label,
5511
+ field = i.field,
5512
+ _i$type = i.type,
5513
+ type = _i$type === void 0 ? '' : _i$type,
5514
+ filterFormItem = i.filterFormItem,
5515
+ _i$initialSource = i.initialSource,
5516
+ initialSource = _i$initialSource === void 0 ? [] : _i$initialSource,
5517
+ restProps = _objectWithoutProperties(i, _excluded2$2);
5518
+ if (type === 'custom_filter_form_item') return filterFormItem;
5519
+ if (type === 'select' || (field === null || field === void 0 ? void 0 : field.type) === 'select') {
5520
+ return /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({
5521
+ name: name,
5522
+ label: label,
5523
+ key: name
5524
+ }, restProps), /*#__PURE__*/React.createElement(Select, _objectSpread2({
5411
5525
  style: {
5412
5526
  width: '100%'
5413
5527
  },
5414
5528
  placeholder: "\u8BF7\u9009\u62E9"
5415
- }, i === null || i === void 0 ? void 0 : (_i$field2 = i.field) === null || _i$field2 === void 0 ? void 0 : _i$field2.props), (i === null || i === void 0 ? void 0 : (_i$initialSource = i.initialSource) === null || _i$initialSource === void 0 ? void 0 : _i$initialSource.length) && (i === null || i === void 0 ? void 0 : i.initialSource.map(function (m) {
5529
+ }, field === null || field === void 0 ? void 0 : field.props), initialSource.length && initialSource.map(function (m) {
5416
5530
  return /*#__PURE__*/React.createElement(Option$2, {
5417
5531
  value: m.value,
5418
5532
  key: m.value
5419
5533
  }, m.text);
5420
- }))));
5534
+ })));
5421
5535
  }
5422
- if ((i === null || i === void 0 ? void 0 : i.type) === 'treeSelect' || (i === null || i === void 0 ? void 0 : (_i$field3 = i.field) === null || _i$field3 === void 0 ? void 0 : _i$field3.type) === 'treeSelect') {
5423
- var _i$field4;
5424
- return /*#__PURE__*/React.createElement(Form.Item, {
5425
- name: i.name,
5426
- label: i.label,
5427
- key: i.name
5428
- }, /*#__PURE__*/React.createElement(TreeSelect, _objectSpread2({
5536
+ if (type === 'treeSelect' || (field === null || field === void 0 ? void 0 : field.type) === 'treeSelect') {
5537
+ return /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({
5538
+ name: name,
5539
+ label: label,
5540
+ key: name
5541
+ }, restProps), /*#__PURE__*/React.createElement(TreeSelect, _objectSpread2({
5429
5542
  style: {
5430
5543
  width: '100%'
5431
5544
  },
5432
5545
  placeholder: "\u8BF7\u9009\u62E9"
5433
- }, i === null || i === void 0 ? void 0 : (_i$field4 = i.field) === null || _i$field4 === void 0 ? void 0 : _i$field4.props)));
5434
- }
5435
- if ((i === null || i === void 0 ? void 0 : i.type) === 'BusinessSearchSelect' || (i === null || i === void 0 ? void 0 : (_i$field5 = i.field) === null || _i$field5 === void 0 ? void 0 : _i$field5.type) === 'BusinessSearchSelect') {
5436
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Form.Item, {
5437
- name: i.name,
5438
- label: i.label,
5439
- key: i.name
5440
- }, /*#__PURE__*/React.createElement(BusinessSearchSelect$1, _objectSpread2({}, i.field.props))));
5441
- }
5442
- if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field6 = i.field) === null || _i$field6 === void 0 ? void 0 : _i$field6.type) === 'multipleQueryInput') {
5443
- return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Form.Item, {
5444
- name: i.name,
5445
- label: i.label,
5446
- key: i.name
5447
- }, /*#__PURE__*/React.createElement(QueryMutipleInput, {
5546
+ }, field === null || field === void 0 ? void 0 : field.props)));
5547
+ }
5548
+ if (type === 'BusinessSearchSelect' || (field === null || field === void 0 ? void 0 : field.type) === 'BusinessSearchSelect') {
5549
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({
5550
+ name: name,
5551
+ label: label,
5552
+ key: name
5553
+ }, restProps), /*#__PURE__*/React.createElement(BusinessSearchSelect$1, _objectSpread2({}, field === null || field === void 0 ? void 0 : field.props))));
5554
+ }
5555
+ if (type === 'multipleQueryInput' || (field === null || field === void 0 ? void 0 : field.type) === 'multipleQueryInput') {
5556
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({
5557
+ name: name,
5558
+ label: label,
5559
+ key: name
5560
+ }, restProps), /*#__PURE__*/React.createElement(QueryMutipleInput, {
5448
5561
  onValueChange: function onValueChange(value) {
5449
- form.setFieldsValue(_defineProperty({}, i.name, value));
5562
+ form.setFieldsValue(_defineProperty({}, name, value));
5450
5563
  }
5451
5564
  })));
5452
5565
  }
5453
5566
  // 默认type是input
5454
- return /*#__PURE__*/React.createElement(Form.Item, {
5455
- name: i.name,
5456
- label: i.label,
5457
- key: i.name
5458
- }, /*#__PURE__*/React.createElement(Input, _objectSpread2({
5567
+ return /*#__PURE__*/React.createElement(Form.Item, _objectSpread2({
5568
+ name: name,
5569
+ label: label,
5570
+ key: name
5571
+ }, restProps), /*#__PURE__*/React.createElement(Input, _objectSpread2({
5459
5572
  id: index === 0 ? "first-query" : 'index',
5460
5573
  style: {
5461
5574
  width: '100%'
@@ -5468,7 +5581,7 @@ var AddSelect = function AddSelect(props) {
5468
5581
  placeholder: "\u8BF7\u8F93\u5165",
5469
5582
  allowClear: true,
5470
5583
  maxLength: 100
5471
- }, i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.props)));
5584
+ }, field === null || field === void 0 ? void 0 : field.props)));
5472
5585
  });
5473
5586
  } else {
5474
5587
  return null;
@@ -5720,7 +5833,7 @@ var AddSelect = function AddSelect(props) {
5720
5833
  style: _objectSpread2(_objectSpread2({}, themeColor), {}, {
5721
5834
  cursor: 'pointer'
5722
5835
  })
5723
- }, "\u6E05\u7A7A\u6240\u9009\u5546\u54C1")))), /*#__PURE__*/React.createElement(Table, {
5836
+ }, clearTitle !== null && clearTitle !== void 0 ? clearTitle : '清空所选商品')))), /*#__PURE__*/React.createElement(Table, {
5724
5837
  size: 'small',
5725
5838
  columns: showSelectedCol,
5726
5839
  dataSource: popvalue,
@@ -5746,20 +5859,10 @@ var AddSelect = function AddSelect(props) {
5746
5859
  }))))));
5747
5860
  };
5748
5861
 
5749
- var css_248z$7 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
5750
- styleInject(css_248z$7);
5862
+ var css_248z$8 = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
5863
+ styleInject(css_248z$8);
5751
5864
 
5752
- var getSkuImg = function getSkuImg(record) {
5753
- var _record$mediaList;
5754
- // 默认取sku图片、当没有设置时取商品图片,商品图片也没有返回空
5755
- var ImgList = ((_record$mediaList = record.mediaList) === null || _record$mediaList === void 0 ? void 0 : _record$mediaList.length) && record.mediaList.filter(function (i) {
5756
- return i.type == 1;
5757
- }) || []; // 获取SKU、SPU图片数组集合
5758
- var imgShow = (ImgList === null || ImgList === void 0 ? void 0 : ImgList.length) && ImgList[0].url || null;
5759
- return imgShow;
5760
- };
5761
-
5762
- var _excluded$4 = ["onResize", "width"];
5865
+ var _excluded$5 = ["onResize", "width"];
5763
5866
  var _this = undefined;
5764
5867
  var InputElement = function InputElement(_ref) {
5765
5868
  var _record$packingUnitLi, _record$packingUnitLi2;
@@ -5787,7 +5890,7 @@ var InputElement = function InputElement(_ref) {
5787
5890
  setValue = _useState6[1];
5788
5891
  var inputRef = useRef(false);
5789
5892
  var onSerchdata = function onSerchdata(name) {
5790
- axios.get("/items/sku/pager/v2?".concat(stringify({
5893
+ requestUtil.get("/items/sku/pager/v2?".concat(stringify({
5791
5894
  'skuCodeAndSkuName': name,
5792
5895
  'pageSize': 100,
5793
5896
  'qp-combination-eq': false,
@@ -6262,7 +6365,7 @@ var InputElement = function InputElement(_ref) {
6262
6365
  var ResizeableTitle$1 = function ResizeableTitle(props) {
6263
6366
  var onResize = props.onResize,
6264
6367
  width = props.width,
6265
- restProps = _objectWithoutProperties(props, _excluded$4);
6368
+ restProps = _objectWithoutProperties(props, _excluded$5);
6266
6369
  if (!width) {
6267
6370
  return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
6268
6371
  }
@@ -6471,7 +6574,7 @@ var BillEntry = function BillEntry(_ref3) {
6471
6574
  brandAuth: 'ctl-withAuth'
6472
6575
  };
6473
6576
  }
6474
- return axios.post(validDataUrl, _objectSpread2(_objectSpread2({}, otherParams), {}, {
6577
+ return requestUtil.post(validDataUrl, _objectSpread2(_objectSpread2({}, otherParams), {}, {
6475
6578
  columns: ["skuCode", "quantity"],
6476
6579
  data: resultData.map(function (i) {
6477
6580
  return {
@@ -6806,7 +6909,7 @@ var getDictionaryTextByValue = function getDictionaryTextByValue(dicCode, value)
6806
6909
  };
6807
6910
  var loadSelectSource$1 = function loadSelectSource(url, params) {
6808
6911
  return new Promise(function (resolve, reject) {
6809
- axios.get("".concat(url, "?").concat(stringify(params))).then(function (result) {
6912
+ requestUtil.get("".concat(url, "?").concat(stringify(params))).then(function (result) {
6810
6913
  result = result.data;
6811
6914
  if (judgeIsRequestError(result)) {
6812
6915
  message$1.error(result.msg);
@@ -9165,24 +9268,28 @@ function handleSelectColumn(c, parentProps) {
9165
9268
  var coverColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverColumns) || [];
9166
9269
  var additionColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.additionColumns) || [];
9167
9270
  // 仅展示内容
9271
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9168
9272
  if (showColumns === null || showColumns === void 0 ? void 0 : showColumns.length) {
9169
9273
  result = result.filter(function (i) {
9170
9274
  return showColumns.includes(i.dataIndex);
9171
9275
  });
9172
9276
  }
9173
9277
  // 过滤不需要展示内容
9278
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9174
9279
  if (exceptColumns === null || exceptColumns === void 0 ? void 0 : exceptColumns.length) {
9175
9280
  result = result.filter(function (i) {
9176
9281
  return !exceptColumns.includes(i.dataIndex);
9177
9282
  });
9178
9283
  }
9179
9284
  // 追加(最好不用这个,当组件不固定时候会有影响)
9285
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9180
9286
  if (additionColumns === null || additionColumns === void 0 ? void 0 : additionColumns.length) {
9181
9287
  additionColumns.forEach(function (i) {
9182
9288
  result.splice(i.position, 0, i.column);
9183
9289
  });
9184
9290
  }
9185
9291
  // 覆盖内容
9292
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9186
9293
  if (coverColumns === null || coverColumns === void 0 ? void 0 : coverColumns.length) {
9187
9294
  result = coverColumns;
9188
9295
  }
@@ -9194,18 +9301,21 @@ function handleSearchForm(c, parentProps) {
9194
9301
  var exceptTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptTableSearchForm) || [];
9195
9302
  var coverTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableSearchForm) || [];
9196
9303
  // 仅展示内容
9304
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9197
9305
  if (showTableSearchForm === null || showTableSearchForm === void 0 ? void 0 : showTableSearchForm.length) {
9198
9306
  result = result.filter(function (i) {
9199
9307
  return showTableSearchForm.includes(i.name);
9200
9308
  });
9201
9309
  }
9202
9310
  // 过滤不需要展示内容
9311
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9203
9312
  if (exceptTableSearchForm === null || exceptTableSearchForm === void 0 ? void 0 : exceptTableSearchForm.length) {
9204
9313
  result = result.filter(function (i) {
9205
9314
  return !exceptTableSearchForm.includes(i.name);
9206
9315
  });
9207
9316
  }
9208
9317
  // 覆盖内容
9318
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9209
9319
  if (coverTableSearchForm === null || coverTableSearchForm === void 0 ? void 0 : coverTableSearchForm.length) {
9210
9320
  result = coverTableSearchForm;
9211
9321
  }
@@ -9218,18 +9328,21 @@ function handleFormSearchSourceLoad(c, parentProps) {
9218
9328
  var coverTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableFormSearchSourceLoad) || [];
9219
9329
  var noNeedTableFormSearchSourceLoad = parentProps === null || parentProps === void 0 ? void 0 : parentProps.noNeedTableFormSearchSourceLoad;
9220
9330
  // 仅展示内容
9331
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9221
9332
  if (showTableFormSearchSourceLoad === null || showTableFormSearchSourceLoad === void 0 ? void 0 : showTableFormSearchSourceLoad.length) {
9222
9333
  result = result.filter(function (i) {
9223
9334
  return showTableFormSearchSourceLoad.includes(i.url);
9224
9335
  });
9225
9336
  }
9226
9337
  // 过滤不需要展示内容
9338
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9227
9339
  if (exceptTableFormSearchSourceLoad === null || exceptTableFormSearchSourceLoad === void 0 ? void 0 : exceptTableFormSearchSourceLoad.length) {
9228
9340
  result = result.filter(function (i) {
9229
9341
  return !exceptTableFormSearchSourceLoad.includes(i.url);
9230
9342
  });
9231
9343
  }
9232
9344
  // 覆盖内容
9345
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115617
9233
9346
  if (coverTableFormSearchSourceLoad === null || coverTableFormSearchSourceLoad === void 0 ? void 0 : coverTableFormSearchSourceLoad.length) {
9234
9347
  result = coverTableFormSearchSourceLoad;
9235
9348
  }
@@ -9261,6 +9374,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
9261
9374
  showTitle: false
9262
9375
  },
9263
9376
  dataIndex: 'itemEancode',
9377
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115627
9264
9378
  render: function render(text) {
9265
9379
  return /*#__PURE__*/React.createElement(Tooltip, {
9266
9380
  placement: "topLeft",
@@ -9310,6 +9424,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
9310
9424
  },
9311
9425
  render: function render(text, record) {
9312
9426
  var _record$packingUnitLi;
9427
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115636
9313
9428
  if (record === null || record === void 0 ? void 0 : (_record$packingUnitLi = record.packingUnitList) === null || _record$packingUnitLi === void 0 ? void 0 : _record$packingUnitLi.length) {
9314
9429
  var basePackUnit = record === null || record === void 0 ? void 0 : record.packingUnitList[0];
9315
9430
  record.selectUnitCode = basePackUnit.unitCode;
@@ -9392,6 +9507,10 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
9392
9507
  }, text);
9393
9508
  }
9394
9509
  }]), [{
9510
+ title: 'SKC编码',
9511
+ width: 150,
9512
+ dataIndex: 'skcCode'
9513
+ }, {
9395
9514
  title: '所属SPU名称',
9396
9515
  width: 100,
9397
9516
  ellipsis: {
@@ -9486,13 +9605,19 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
9486
9605
  var mTpTableColumn = handleSelectColumn(initialTableColumn, parProps);
9487
9606
  var initialTableSearchForm = [{
9488
9607
  name: 'qp-skuCode-like',
9489
- label: 'SKU编码'
9608
+ label: 'SKU编码',
9609
+ type: 'multipleQueryInput'
9490
9610
  }, {
9491
9611
  name: 'qp-skuName-like',
9492
9612
  label: 'SKU名称'
9493
9613
  }, {
9494
- name: 'qp-externalCode-like',
9495
- label: '外部SPU编码'
9614
+ name: 'qp-skcCode-like',
9615
+ label: 'SKC编码',
9616
+ type: 'multipleQueryInput'
9617
+ }, {
9618
+ name: 'qp-itemCode-like',
9619
+ label: 'SPU编码',
9620
+ type: 'multipleQueryInput'
9496
9621
  }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
9497
9622
  name: 'qp-code-in',
9498
9623
  label: '商品条码',
@@ -9555,7 +9680,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
9555
9680
  'ctl-withAuth': true
9556
9681
  },
9557
9682
  resType: 'list',
9558
- resPosition: isNoUseItemBarcode ? 2 : 3,
9683
+ resPosition: isNoUseItemBarcode ? 4 : 5,
9559
9684
  resKeyValue: ['id', 'name']
9560
9685
  }, {
9561
9686
  url: "/items/category/queryCategoryTree",
@@ -9564,7 +9689,7 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
9564
9689
  currentPage: 1
9565
9690
  },
9566
9691
  resType: 'treeList',
9567
- resPosition: isNoUseItemBarcode ? 3 : 4
9692
+ resPosition: isNoUseItemBarcode ? 5 : 6
9568
9693
  }];
9569
9694
  var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
9570
9695
  var props = {
@@ -9620,7 +9745,7 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9620
9745
  setPropertyList = _useState6[1];
9621
9746
  useEffect(function () {
9622
9747
  // type: 1 尺码组; 2 配码组
9623
- axios.get("/items/itemPropertyValueGroup/listNoPage?qp-type-eq=2&qp-status-eq=1").then(function (result) {
9748
+ requestUtil.get("/items/itemPropertyValueGroup/listNoPage?qp-type-eq=2&qp-status-eq=1").then(function (result) {
9624
9749
  result = result.data;
9625
9750
  if (judgeIsRequestError(result)) {
9626
9751
  message$1.error(result.msg);
@@ -9677,7 +9802,7 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9677
9802
  var initialPromiseLoadList = [{
9678
9803
  url: "/items/item/propertyValue/sizeBySkcConfig",
9679
9804
  params: {
9680
- pageSize: 10000,
9805
+ pageSize: 50,
9681
9806
  currentPage: 1,
9682
9807
  type: 2 // 类型:1尺码;2颜色
9683
9808
  },
@@ -9687,7 +9812,7 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9687
9812
  }, {
9688
9813
  url: "/items/category/queryCategoryTree",
9689
9814
  params: {
9690
- pageSize: 5000,
9815
+ pageSize: 50,
9691
9816
  currentPage: 1
9692
9817
  },
9693
9818
  resType: 'treeList',
@@ -9938,7 +10063,7 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
9938
10063
  useEffect(function () {
9939
10064
  if (parProps === null || parProps === void 0 ? void 0 : parProps.isSingleColor) {
9940
10065
  // type: 1 尺码组; 2 配码组
9941
- axios.get("/items/itemPropertyValueGroup/listNoPage?qp-type-eq=2&qp-status-eq=1").then(function (result) {
10066
+ requestUtil.get("/items/itemPropertyValueGroup/listNoPage?qp-type-eq=2&qp-status-eq=1").then(function (result) {
9942
10067
  result = result.data;
9943
10068
  if (judgeIsRequestError(result)) {
9944
10069
  message$1.error(result.msg);
@@ -10023,7 +10148,7 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
10023
10148
  }, {
10024
10149
  url: "/items/category/queryCategoryTree",
10025
10150
  params: {
10026
- pageSize: 5000,
10151
+ pageSize: 50,
10027
10152
  currentPage: 1
10028
10153
  },
10029
10154
  resType: 'treeList',
@@ -10361,7 +10486,7 @@ function getStorageVale(storageKeyString) {
10361
10486
  return "";
10362
10487
  }
10363
10488
 
10364
- var _excluded$5 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
10489
+ var _excluded$6 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
10365
10490
  var TreeSearchSelect = function TreeSearchSelect(props) {
10366
10491
  var _useState = useState([]),
10367
10492
  _useState2 = _slicedToArray(_useState, 2),
@@ -10403,7 +10528,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
10403
10528
  } : _props$style,
10404
10529
  getTreeData = props.getTreeData,
10405
10530
  disabled = props.disabled,
10406
- restProps = _objectWithoutProperties(props, _excluded$5);
10531
+ restProps = _objectWithoutProperties(props, _excluded$6);
10407
10532
  var url = remoteSource.url,
10408
10533
  headers = remoteSource.headers,
10409
10534
  _remoteSource$paramsK = remoteSource.paramsKey,
@@ -10444,7 +10569,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
10444
10569
  /* 实时查询 但是目前用的直接是完整数据源, 所以没有使用 */
10445
10570
  var handleSearch = function handleSearch(q) {
10446
10571
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
10447
- axios.get("".concat(url, "?").concat(stringify(paramsData)), {
10572
+ requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
10448
10573
  headers: headers
10449
10574
  }).then( /*#__PURE__*/function () {
10450
10575
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
@@ -10757,8 +10882,8 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React.memo(BusinessTreeSearchSelec
10757
10882
  return true;
10758
10883
  });
10759
10884
 
10760
- 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";
10761
- styleInject(css_248z$8);
10885
+ var css_248z$9 = ".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";
10886
+ styleInject(css_248z$9);
10762
10887
 
10763
10888
  var index$3 = (function (props) {
10764
10889
  var _props$formStatusMapp = props.formStatusMapping,
@@ -10800,20 +10925,20 @@ var label_icon_bottom = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20en
10800
10925
 
10801
10926
  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=";
10802
10927
 
10803
- 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";
10804
- styleInject(css_248z$9);
10928
+ var css_248z$a = ".guide-wrapper .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.guide-wrapper .form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.guide-wrapper .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.guide-wrapper .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.guide-wrapper .form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .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.guide-wrapper .white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.guide-wrapper .bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.guide-wrapper .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.guide-wrapper .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.guide-wrapper .field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
10929
+ styleInject(css_248z$a);
10805
10930
 
10806
- var _excluded$6 = ["children"],
10807
- _excluded2$2 = ["children"];
10931
+ var _excluded$7 = ["children"],
10932
+ _excluded2$3 = ["children"];
10808
10933
  var Field = function Field(_ref) {
10809
10934
  var children = _ref.children,
10810
- props = _objectWithoutProperties(_ref, _excluded$6);
10935
+ props = _objectWithoutProperties(_ref, _excluded$7);
10811
10936
  var _React$useState = React.useState(true),
10812
10937
  _React$useState2 = _slicedToArray(_React$useState, 2),
10813
10938
  fieldGroupVisible = _React$useState2[0],
10814
10939
  setVisible = _React$useState2[1];
10815
10940
  return /*#__PURE__*/React.createElement("div", {
10816
- className: "bitsun-form-card-class \n ".concat(fieldGroupVisible ? '' : 'field-group-hidden', " \n ").concat(props.isWhiteCard ? 'white-card' : '', "\n "),
10941
+ className: "bitsun-form-card-class\n ".concat(fieldGroupVisible ? '' : 'field-group-hidden', "\n ").concat(props.isWhiteCard ? 'white-card' : '', "\n "),
10817
10942
  id: props.id
10818
10943
  }, /*#__PURE__*/React.createElement("div", {
10819
10944
  className: "ant-card-head"
@@ -10852,12 +10977,16 @@ var GuideWrapper = /*#__PURE__*/function (_Component) {
10852
10977
  var _this$props = this.props,
10853
10978
  _this$props$children = _this$props.children,
10854
10979
  children = _this$props$children === void 0 ? [] : _this$props$children,
10855
- props = _objectWithoutProperties(_this$props, _excluded2$2);
10856
- var cardGroups = children.filter(function (item) {
10980
+ props = _objectWithoutProperties(_this$props, _excluded2$3);
10981
+ // 兼容容器下只有一个dom元素非数组的情况
10982
+ var domList = Array.isArray(children) ? children : [children];
10983
+ var cardGroups = domList.filter(function (item) {
10857
10984
  var _item$props, _item$props2;
10858
10985
  return (item === null || item === void 0 ? void 0 : (_item$props = item.props) === null || _item$props === void 0 ? void 0 : _item$props.id) && (item === null || item === void 0 ? void 0 : (_item$props2 = item.props) === null || _item$props2 === void 0 ? void 0 : _item$props2.title);
10859
10986
  });
10860
- return /*#__PURE__*/React.createElement("div", _objectSpread2({}, props), children, /*#__PURE__*/React.createElement("div", {
10987
+ return /*#__PURE__*/React.createElement("div", _objectSpread2(_objectSpread2({}, props), {}, {
10988
+ className: classNames('guide-wrapper', props === null || props === void 0 ? void 0 : props.className)
10989
+ }), children, /*#__PURE__*/React.createElement("div", {
10861
10990
  className: 'form-guide'
10862
10991
  }, /*#__PURE__*/React.createElement("div", {
10863
10992
  className: 'form-guide-top'
@@ -10875,6 +11004,12 @@ var GuideWrapper = /*#__PURE__*/function (_Component) {
10875
11004
  block: 'center',
10876
11005
  behavior: 'smooth'
10877
11006
  });
11007
+ // 高亮
11008
+ var heightLight = currentDom.getElementsByClassName('ant-card-head-title');
11009
+ heightLight[0].style.backgroundColor = '#2065c7';
11010
+ setTimeout(function () {
11011
+ heightLight[0].style.backgroundColor = '';
11012
+ }, 800);
10878
11013
  }
10879
11014
  }, item.props.title);
10880
11015
  })), /*#__PURE__*/React.createElement("div", {
@@ -10892,11 +11027,13 @@ GuideWrapper.Field = Field;
10892
11027
  var exportlogo = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAAAXNSR0IArs4c6QAAB0JJREFUeF7tnFtsFFUYx/9nehFaaMGooDZWrTvdRAwoog8SbdUHL4nRwJPxRtRo1GC8JxLwghDvGowvGi8RDC/iAw/6YLDVaLwiqKjbWVepbUhRDLTSUtsyx/zX85FhmHZnlu6yu51JGtjd2dnz/eb/Xc539qyC79BaW0op1/u01rqqt7e3tqamxvKfXw6PR0dH3aamphGl1EGfXUfYqoJOyGQyja7rXuO67mVa69OVUg0AagFUlQOAgDESxIjWekAptdOyrC2WZW1uaWnp9wvgEBB5wXGcJQDWaa1PAaABDALYC2DUT7hc4FDhAGoAzAZQD0AppXYBWG7b9iYvlCwQD4yVWusnCcGyrHUANluWtau2tnb/4ODg6KxZsw5zpXIBsm/fPqu+vr5mZGRkhuu6vNFU/3LCUUqtsm17tTBQpMc7T2Vord8D8JtSaolt29u11iRJlVTMITY5jrNAa70JwJlKqaVGKVVZhaTT6Qat9Q6t9Ryl1MW2bX/V0dFRzdfa2tpEFeUOJmtrZ2dnNjG0t7ePOY5zodb6U6XUbqXUvEQiMSBAbnBdd71lWWsTicQKwuAbKkYWAYaIjel0eo3ruo9alnVjIpHYkAXS1dX1FoBbtNaLk8nk5+JGlQxEbEylUhcppT4D8HZra+uyLBDHcTq01gurq6vntbS0/BFUi1QaHLExk8mcNjY2tkMptdW27XYG1WrHcb4GcMK0adPmNzc3751KQLq7u2cPDw9/D2CPbdsXqJ6enulDQ0PfAJiutV6QTCb/qcTsElCRZzNoKpWaqZTaDuBAXV3dItXX11ff39//rVKqqqGh4dy5c+cOTiUgtH9gYGCb1vpgY2Pj+TGQGMj/ziNeUO4KYVElBeJRFYqVAEQmogKCj/OGUu5AxPizALwAYA0AlgqcxR7W4whbL5UzELoJ51NnAODk8zxOQAGwTcF0mReUYgHh4CjjiaQcVeYC5HoA77LRY5pVvQCuAvBjPlCKAeSofDqH1OXadwF4lc0q0/DJALguHyiFBiIDngdgKYCmAAN5p/8F8BCA/SEA8Hx/IGW8uM/EEboRFdltlPJzFKUUEohIejGADwHMMC7j7dfSTfj4AIBmAH+Zx3734TkSE4JcSz7rVgCvmc/h+WmjlJ/Gue4R/AsJRD7sIwCXe+R8WP86BxDp5kszajqAswGcCuBEAHOMiwjkYQA3AUgCYN+GzaxfAVwLgFAE3LhCLBQQcZU6AAxybOJygOsB7ARwnCfA8lwGxOcADHlG6oXBTHIHgEsAnGMawmEyqcSU9032yfmeYgDZbdyFbkGDOIPOlRLl9ZMA3MMuOIDGAJfzG0glETD/GFd4nS7jNr+UikIECOXcDuBLI3N/4SRuIbJmIN4AYL7HOAKg0n43QfNP85jPMzDTNehK4i6EwedSxzqGeF2Gg+aaB4FQIRNVkqIMxpyNbE55Yg9djS7HjjgzB42WoMx/7zdZRpTBIu0KE1hzKfKQ0orhMmGBiDIYND8GQHehcXyea0FPA+jz3Wl5z4MmBgUF0tAwCjnbjaoQOZ9xYguAhQYGDbyTjV4DRs6TWEFlrATARTSBQSVdadyEWSbSKkGpKEQG/hSAFR7jWFe8adInIXhXCAUO647bjebpJqxQfwgRuAMzTikAEdm3AvjE1BYc7EsmLhAWXSeoWJMY8rqpSi/NVxlCp5SAiPQ5th4ze90TMjuwYOPaLOcwkWLGeE3mye6YRY0hVAHrkwVmgI8AeDakcd6pgPzfW9RFWog/1goRcMws35npOwu4toiNHinGIhkfFESONRCRt/Q0OEbWKQRCMPm0DhYBYAeNKtlmapbQ1ykVIJy6v2ju2AcArg7pLkE3mc0iAubxBIDHw5TspRJUJd0+A+BhM6h3ANxsyntOzsIeogJmnNvMm5jC15YjkJcB3GuMeMMYFLWoEiCsW5aZa60CsLocgdBd6DY8YiAAXjHTfAIRl5nSCnkMwN1G2pQ848mUBCIB83gA/M4r48AAgL/zSLkVEUPCZpAw51UUEKk0aXiuBa3x4JQlEM5GvzAlel5rrxNIhUDY+2DvhHUMj5JMu9JTZUedJXmYJnMYF/GfE9QfKUkgbPvNNEsNzCRbTY/1qCdiPiIEwsqWEFj682BLgU2nnOsxhS7d5fr8Yj27V1w4EheJuqgdVS00nmC49sOKlS4UOoUXanJHI+SuPADgedP+K8a+GiqPn8MVO3b5ubuhJBQiPs39NFxsYrP4ZM9CddQ7H+Z8WSdm4Ka78HsioWFkU5zZ2DDZHTPv4AUM3Yd/hT7oklwDOhQWonxgsYAQymQH0Vx2RlJGsYJqUGrMZchkvJ534C6GQibDwKJdIwbiQx0DiYFM7H3jKiTeHuLbHhJvIPJtIKKw4i1mni1mBBJvQvRtQkyn0/E2Ve821Xgjs2cjc7zVPWCre/xjCJ4fQ/DM/rI/LhL/XIa3oWB+XSb+QZUAKN7Cdyr95M5/xzmpLRDiZSsAAAAASUVORK5CYII=";
10893
11028
 
10894
11029
  var ExportIcon = function ExportIcon(_ref) {
10895
- var request = _ref.request,
10896
- tableRef = _ref.tableRef;
10897
- var url = request.url,
10898
- params = request.params,
10899
- others = request.others;
11030
+ var exportRequest = _ref.request,
11031
+ tableRef = _ref.tableRef,
11032
+ allowSelect = _ref.allowSelect,
11033
+ columnsRowKey = _ref.columnsRowKey;
11034
+ var url = exportRequest.url,
11035
+ params = exportRequest.params,
11036
+ others = exportRequest.others;
10900
11037
  return /*#__PURE__*/React.createElement("div", {
10901
11038
  style: {
10902
11039
  cursor: 'pointer'
@@ -10907,21 +11044,27 @@ var ExportIcon = function ExportIcon(_ref) {
10907
11044
  width: 32,
10908
11045
  src: exportlogo,
10909
11046
  onClick: function onClick() {
10910
- var _tableRef$current, _convertedParams$sele, _convertedParams$sele2;
11047
+ var _tableRef$current;
10911
11048
  var convertedParams = tableRef === null || tableRef === void 0 ? void 0 : (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.getExportParams();
10912
11049
  var requestData;
10913
11050
  if (typeof params === 'function') {
10914
11051
  requestData = _objectSpread2({}, omit(params(convertedParams), 'selectedRows'));
11052
+ requestData.pageSize = 100000;
10915
11053
  } else if (_typeof(params) === 'object') {
10916
11054
  requestData = _objectSpread2({}, params);
10917
11055
  }
10918
11056
  if (!params) {
10919
11057
  requestData = omit(convertedParams, 'selectedRows');
11058
+ requestData.pageSize = 100000;
10920
11059
  }
10921
- requestData['qp-id-in'] = convertedParams === null || convertedParams === void 0 ? void 0 : (_convertedParams$sele = convertedParams.selectedRows) === null || _convertedParams$sele === void 0 ? void 0 : (_convertedParams$sele2 = _convertedParams$sele.map(function (d) {
10922
- return d.id;
10923
- })) === null || _convertedParams$sele2 === void 0 ? void 0 : _convertedParams$sele2.join(',');
10924
- axios(_objectSpread2({
11060
+ if (allowSelect) {
11061
+ var _convertedParams$sele, _convertedParams$sele2;
11062
+ var selectKey = (allowSelect === null || allowSelect === void 0 ? void 0 : allowSelect.key) || columnsRowKey;
11063
+ requestData["qp-".concat(selectKey, "-in")] = convertedParams === null || convertedParams === void 0 ? void 0 : (_convertedParams$sele = convertedParams.selectedRows) === null || _convertedParams$sele === void 0 ? void 0 : (_convertedParams$sele2 = _convertedParams$sele.map(function (d) {
11064
+ return d[selectKey];
11065
+ })) === null || _convertedParams$sele2 === void 0 ? void 0 : _convertedParams$sele2.join(',');
11066
+ }
11067
+ requestUtil(_objectSpread2({
10925
11068
  url: url,
10926
11069
  method: 'POST',
10927
11070
  data: requestData
@@ -10938,10 +11081,10 @@ var ExportIcon = function ExportIcon(_ref) {
10938
11081
  })));
10939
11082
  };
10940
11083
 
10941
- var css_248z$a = ".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";
10942
- styleInject(css_248z$a);
11084
+ var css_248z$b = ".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";
11085
+ styleInject(css_248z$b);
10943
11086
 
10944
- var _excluded$7 = ["className", "style"];
11087
+ var _excluded$8 = ["className", "style"];
10945
11088
  var Search$1 = Input.Search;
10946
11089
  var DragHandle$1 = SortableHandle(function () {
10947
11090
  return /*#__PURE__*/React.createElement("img", {
@@ -10986,7 +11129,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
10986
11129
  fixed: item.fixed
10987
11130
  };
10988
11131
  });
10989
- axios({
11132
+ requestUtil({
10990
11133
  url: handleRequestUrl('/user', '/appConfig/saveUserOrder', appRequestConfig),
10991
11134
  method: 'POST',
10992
11135
  data: {
@@ -11052,6 +11195,17 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
11052
11195
  })
11053
11196
  });
11054
11197
  };
11198
+ _this.isColumnsChange = function () {
11199
+ var pre = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
11200
+ var next = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
11201
+ var preKeyStr = pre.map(function (item) {
11202
+ return item.key || item.dataIndex;
11203
+ }).join(',');
11204
+ var nextKeyStr = next.map(function (item) {
11205
+ return item.key || item.dataIndex;
11206
+ }).join(',');
11207
+ return preKeyStr !== nextKeyStr;
11208
+ };
11055
11209
  _this.columns = [{
11056
11210
  title: '列名称',
11057
11211
  dataIndex: 'title',
@@ -11308,7 +11462,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
11308
11462
  _this.DraggableBodyRow = function (_ref2) {
11309
11463
  var className = _ref2.className,
11310
11464
  style = _ref2.style,
11311
- restProps = _objectWithoutProperties(_ref2, _excluded$7);
11465
+ restProps = _objectWithoutProperties(_ref2, _excluded$8);
11312
11466
  var sortDataSource = _this.state.sortDataSource;
11313
11467
  // function findIndex base on Table rowKey props and should always be a right array index
11314
11468
  var index = sortDataSource.findIndex(function (x) {
@@ -11401,8 +11555,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
11401
11555
  _createClass(SortableTable, [{
11402
11556
  key: "componentWillReceiveProps",
11403
11557
  value: function componentWillReceiveProps(nextProps) {
11404
- var _this$props3, _this$props4;
11405
- if (((_this$props3 = this.props) === null || _this$props3 === void 0 ? void 0 : _this$props3.datasource) && JSON.stringify((_this$props4 = this.props) === null || _this$props4 === void 0 ? void 0 : _this$props4.datasource) != JSON.stringify(nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource)) {
11558
+ var _this$props3;
11559
+ if (this.isColumnsChange((_this$props3 = this.props) === null || _this$props3 === void 0 ? void 0 : _this$props3.datasource, nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource)) {
11406
11560
  this.setInitValue((nextProps === null || nextProps === void 0 ? void 0 : nextProps.datasource) || []);
11407
11561
  }
11408
11562
  }
@@ -11575,8 +11729,8 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
11575
11729
  return SortableTable;
11576
11730
  }(React.Component);
11577
11731
 
11578
- var _excluded$8 = ["onResize", "width"],
11579
- _excluded2$3 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
11732
+ var _excluded$9 = ["onResize", "width"],
11733
+ _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
11580
11734
  var Text = Typography.Text;
11581
11735
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11582
11736
  _inherits(ColumnSettingSulaTable, _React$Component);
@@ -11689,7 +11843,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11689
11843
  _this.ResizeableTitle = function (props) {
11690
11844
  var onResize = props.onResize,
11691
11845
  width = props.width,
11692
- restProps = _objectWithoutProperties(props, _excluded$8);
11846
+ restProps = _objectWithoutProperties(props, _excluded$9);
11693
11847
  if (!width) {
11694
11848
  return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
11695
11849
  }
@@ -11748,7 +11902,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11748
11902
  dynamicColumns = _this$props3$dynamicC === void 0 ? [] : _this$props3$dynamicC,
11749
11903
  _this$props3$scroll = _this$props3.scroll,
11750
11904
  scroll = _this$props3$scroll === void 0 ? {} : _this$props3$scroll,
11751
- restProps = _objectWithoutProperties(_this$props3, _excluded2$3);
11905
+ restProps = _objectWithoutProperties(_this$props3, _excluded2$4);
11752
11906
  var otherTableInfo = _objectSpread2({}, restProps);
11753
11907
  var showSummary = null;
11754
11908
  if (this.state.showColumns.length) {
@@ -11823,8 +11977,8 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
11823
11977
  return ColumnSettingSulaTable;
11824
11978
  }(React.Component);
11825
11979
 
11826
- var _excluded$9 = ["onResize", "width"],
11827
- _excluded2$4 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
11980
+ var _excluded$a = ["onResize", "width"],
11981
+ _excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
11828
11982
  var Text$1 = Typography.Text;
11829
11983
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
11830
11984
  _inherits(ColumnSettingTable, _React$Component);
@@ -11936,7 +12090,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
11936
12090
  _this.ResizeableTitle = function (props) {
11937
12091
  var onResize = props.onResize,
11938
12092
  width = props.width,
11939
- restProps = _objectWithoutProperties(props, _excluded$9);
12093
+ restProps = _objectWithoutProperties(props, _excluded$a);
11940
12094
  if (!width) {
11941
12095
  return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
11942
12096
  }
@@ -11992,7 +12146,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
11992
12146
  dynamicColumns = _this$props3$dynamicC === void 0 ? [] : _this$props3$dynamicC,
11993
12147
  _this$props3$scroll = _this$props3.scroll,
11994
12148
  scroll = _this$props3$scroll === void 0 ? {} : _this$props3$scroll,
11995
- restProps = _objectWithoutProperties(_this$props3, _excluded2$4);
12149
+ restProps = _objectWithoutProperties(_this$props3, _excluded2$5);
11996
12150
  var otherTableInfo = _objectSpread2({}, restProps);
11997
12151
  var showSummary = null;
11998
12152
  if (this.state.showColumns.length) {
@@ -12076,7 +12230,7 @@ var doDetailPageAction = function doDetailPageAction(config) {
12076
12230
  };
12077
12231
  var onOk = function onOk() {
12078
12232
  return new Promise(function (resolve, reject) {
12079
- request$1(requestConfig).then(function (res) {
12233
+ request$2(requestConfig).then(function (res) {
12080
12234
  resolve(res);
12081
12235
  if (config.backPath) {
12082
12236
  history.push({
@@ -12135,8 +12289,8 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
12135
12289
  return routerMap;
12136
12290
  };
12137
12291
 
12138
- 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";
12139
- styleInject(css_248z$b);
12292
+ var css_248z$c = ".detail_page_head {\n height: 54px;\n position: fixed;\n z-index: 5;\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.detail_page_wrapper {\n height: calc(100vh - 80px);\n background-color: #FFF;\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";
12293
+ styleInject(css_248z$c);
12140
12294
 
12141
12295
  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";
12142
12296
 
@@ -12150,15 +12304,15 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
12150
12304
 
12151
12305
  var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%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%2014%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%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%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1743.000000%2C%20-94.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-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.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-3%22%20transform%3D%22translate%281573.000000%2C%2012.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%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%206.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%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%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%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2810.500000%2C%2010.022232%29%20rotate%28-90.000000%29%20translate%28-10.500000%2C%20-10.022232%29%20%22%20points%3D%2214%204.9775377%2013.0224623%204%207%2010.0252289%2013.0220012%2016.0444635%2014%2015.0660036%208.95599763%2010.0247678%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%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";
12152
12306
 
12153
- var css_248z$c = "";
12154
- styleInject(css_248z$c);
12307
+ var css_248z$d = "";
12308
+ styleInject(css_248z$d);
12155
12309
 
12156
- var _excluded$a = ["message", "type"];
12310
+ var _excluded$b = ["message", "type"];
12157
12311
  var CommonAlert = (function (props) {
12158
12312
  var message = props.message,
12159
12313
  _props$type = props.type,
12160
12314
  type = _props$type === void 0 ? 'info' : _props$type,
12161
- reset = _objectWithoutProperties(props, _excluded$a);
12315
+ reset = _objectWithoutProperties(props, _excluded$b);
12162
12316
  return /*#__PURE__*/React.createElement("div", {
12163
12317
  style: {
12164
12318
  width: '100%',
@@ -12179,7 +12333,7 @@ var CommonAlert = (function (props) {
12179
12333
  }, reset)));
12180
12334
  });
12181
12335
 
12182
- var _excluded$b = ["children"];
12336
+ var _excluded$c = ["children"];
12183
12337
  var iconMap = {
12184
12338
  edit: /*#__PURE__*/React.createElement("img", {
12185
12339
  src: editIcon
@@ -12201,7 +12355,7 @@ var index$4 = (function (props) {
12201
12355
  _useState2 = _slicedToArray(_useState, 1),
12202
12356
  id = _useState2[0];
12203
12357
  var children = props.children,
12204
- restProps = _objectWithoutProperties(props, _excluded$b);
12358
+ restProps = _objectWithoutProperties(props, _excluded$c);
12205
12359
  return /*#__PURE__*/React.createElement("div", {
12206
12360
  id: id,
12207
12361
  className: 'detail_page_wrapper'
@@ -12210,7 +12364,7 @@ var index$4 = (function (props) {
12210
12364
  }, restProps)), children);
12211
12365
  });
12212
12366
  var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
12213
- var _routes$find;
12367
+ var _clientWidth, _ref2, _window$parent, _window$parent$docume, _window$parent$docume2, _routes$find, _wrapperSize$width;
12214
12368
  var pathname = _ref.pathname,
12215
12369
  _ref$actionList = _ref.actionList,
12216
12370
  actionList = _ref$actionList === void 0 ? [] : _ref$actionList,
@@ -12222,7 +12376,8 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
12222
12376
  donotNeedShowScreenIcon = _ref$donotNeedShowScr === void 0 ? false : _ref$donotNeedShowScr,
12223
12377
  title = _ref.title,
12224
12378
  pathToRegexp = _ref.pathToRegexp,
12225
- backHistoryPath = _ref.backHistoryPath;
12379
+ backHistoryPath = _ref.backHistoryPath,
12380
+ onBack = _ref.onBack;
12226
12381
  var _useState3 = useState(false),
12227
12382
  _useState4 = _slicedToArray(_useState3, 2),
12228
12383
  isFullScreen = _useState4[0],
@@ -12231,6 +12386,9 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
12231
12386
  _useState6 = _slicedToArray(_useState5, 2),
12232
12387
  breadcrumbArr = _useState6[0],
12233
12388
  setBreadCrumbArr = _useState6[1];
12389
+ var wrapperContainerRef = useRef(null);
12390
+ var asideWidth = (_clientWidth = (_ref2 = document.querySelector('.ant-layout-sider') || ((_window$parent = window.parent) === null || _window$parent === void 0 ? void 0 : (_window$parent$docume = _window$parent.document) === null || _window$parent$docume === void 0 ? void 0 : (_window$parent$docume2 = _window$parent$docume.querySelector) === null || _window$parent$docume2 === void 0 ? void 0 : _window$parent$docume2.call(_window$parent$docume, '.ant-layout-sider'))) === null || _ref2 === void 0 ? void 0 : _ref2.clientWidth) !== null && _clientWidth !== void 0 ? _clientWidth : 0;
12391
+ var wrapperSize = useSize(wrapperContainerRef);
12234
12392
  var basePath = window.top == window ? '' : "/".concat(itemPath);
12235
12393
  var menuRoutes = window.top == window ? ((_routes$find = routes.find(function (item) {
12236
12394
  return item.path === '/';
@@ -12338,11 +12496,17 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
12338
12496
  src: moreIcon
12339
12497
  }))));
12340
12498
  };
12341
- return /*#__PURE__*/React.createElement(Anchor, {
12342
- key: "".concat(pathname, "_anchor"),
12343
- offsetTop: window.top == window ? 78 : 0
12344
- }, /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
12345
- className: 'detail_page_head'
12499
+ return /*#__PURE__*/React.createElement("div", {
12500
+ style: {
12501
+ height: '54px'
12502
+ },
12503
+ ref: wrapperContainerRef
12504
+ }, /*#__PURE__*/React.createElement("div", {
12505
+ className: 'detail_page_head',
12506
+ style: {
12507
+ width: (_wrapperSize$width = wrapperSize === null || wrapperSize === void 0 ? void 0 : wrapperSize.width) !== null && _wrapperSize$width !== void 0 ? _wrapperSize$width : "calc( 100vh - ".concat(asideWidth, "px )"),
12508
+ left: asideWidth
12509
+ }
12346
12510
  }, /*#__PURE__*/React.createElement("div", {
12347
12511
  className: 'back_home_img_content',
12348
12512
  onClick: function onClick() {
@@ -12400,7 +12564,7 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
12400
12564
  },
12401
12565
  width: 32,
12402
12566
  src: quanping
12403
- }))))) : null)), alertProps && ( /*#__PURE__*/React.createElement(CommonAlert, _objectSpread2({}, alertProps)))));
12567
+ }))))) : null)), alertProps && ( /*#__PURE__*/React.createElement(CommonAlert, _objectSpread2({}, alertProps))));
12404
12568
  }, function (prevProps, nextProps) {
12405
12569
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
12406
12570
  return false;
@@ -12408,10 +12572,10 @@ var DetailWrapper = /*#__PURE__*/React.memo(function (_ref) {
12408
12572
  return true;
12409
12573
  });
12410
12574
 
12411
- var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 20px;\n}\n.home_page_head .home_page_title {\n height: 20px;\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n flex-grow: 1;\n margin-top: 2px;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n";
12412
- styleInject(css_248z$d);
12575
+ var css_248z$e = ".home_page_head {\n height: 54px;\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 20px;\n}\n.home_page_head .home_page_title {\n height: 20px;\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n flex-grow: 1;\n margin-top: 2px;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n";
12576
+ styleInject(css_248z$e);
12413
12577
 
12414
- var _excluded$c = ["children"];
12578
+ var _excluded$d = ["children"];
12415
12579
  var index$5 = (function (props) {
12416
12580
  var _useLocation = useLocation(),
12417
12581
  pathname = _useLocation.pathname;
@@ -12419,7 +12583,7 @@ var index$5 = (function (props) {
12419
12583
  _useState2 = _slicedToArray(_useState, 1),
12420
12584
  id = _useState2[0];
12421
12585
  var children = props.children,
12422
- restProps = _objectWithoutProperties(props, _excluded$c);
12586
+ restProps = _objectWithoutProperties(props, _excluded$d);
12423
12587
  return /*#__PURE__*/React.createElement("div", {
12424
12588
  id: id,
12425
12589
  className: 'home_page_wrapper'
@@ -12519,10 +12683,10 @@ var HeaderWrapper = /*#__PURE__*/React.memo(function (_ref) {
12519
12683
  return true;
12520
12684
  });
12521
12685
 
12522
- var css_248z$e = ".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 display: flex;\n justify-content: space-between;\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-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";
12523
- styleInject(css_248z$e);
12686
+ var css_248z$f = ".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 display: flex;\n justify-content: space-between;\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-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";
12687
+ styleInject(css_248z$f);
12524
12688
 
12525
- var _excluded$d = ["className", "style"];
12689
+ var _excluded$e = ["className", "style"];
12526
12690
  var DragHandle$2 = SortableHandle(function () {
12527
12691
  return /*#__PURE__*/React.createElement("img", {
12528
12692
  width: 25,
@@ -12568,7 +12732,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12568
12732
  };
12569
12733
  }) : '';
12570
12734
  return new Promise(function (resolve, reject) {
12571
- axios({
12735
+ requestUtil({
12572
12736
  url: handleRequestUrl('/user', '/appConfig/saveUserOrder', appRequestConfig),
12573
12737
  method: 'POST',
12574
12738
  data: {
@@ -12616,8 +12780,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12616
12780
  currentSetting[0].detail = JSON.stringify(configvalue);
12617
12781
  } else {
12618
12782
  configArray.push({
12619
- "code": bsTableCode,
12620
- "detail": JSON.stringify(configvalue)
12783
+ code: bsTableCode,
12784
+ detail: JSON.stringify(configvalue)
12621
12785
  });
12622
12786
  }
12623
12787
  localStorage.setItem(ENUM.BROWSER_CACHE.COLUMN_CONDITION, JSON.stringify(configArray));
@@ -12889,10 +13053,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12889
13053
  // this.patchUserColumnConfig('');
12890
13054
  // return;
12891
13055
  // }
12892
- return _this.patchUserColumnConfig(sortDataSource);
13056
+ _this.patchUserColumnConfig(sortDataSource);
12893
13057
  };
12894
13058
  _this.handleCancel = function (e) {
12895
- console.log(e);
12896
13059
  _this.setState({
12897
13060
  visible: false
12898
13061
  });
@@ -12955,7 +13118,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12955
13118
  _this.DraggableBodyRow = function (_ref2) {
12956
13119
  var className = _ref2.className,
12957
13120
  style = _ref2.style,
12958
- restProps = _objectWithoutProperties(_ref2, _excluded$d);
13121
+ restProps = _objectWithoutProperties(_ref2, _excluded$e);
12959
13122
  var sortDataSource = _this.state.sortDataSource;
12960
13123
  // function findIndex base on Table rowKey props and should always be a right array index
12961
13124
  var index = sortDataSource.findIndex(function (x) {
@@ -12972,11 +13135,11 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12972
13135
  if (!e.target.checked) {
12973
13136
  _this.setState({
12974
13137
  sortDataSource: sortDataSource.filter(function (item) {
12975
- return item.title !== title;
13138
+ return renderToString(item.title) !== renderToString(title);
12976
13139
  }),
12977
13140
  isDefaultValue: false,
12978
13141
  dataSource: _toConsumableArray(dataSource.map(function (item) {
12979
- if (item.title === title) {
13142
+ if (renderToString(item.title) === renderToString(title)) {
12980
13143
  return _objectSpread2(_objectSpread2({}, item), {}, {
12981
13144
  hidden: true
12982
13145
  });
@@ -12989,7 +13152,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
12989
13152
  var _fixedRight = [];
12990
13153
  var noFixedSortSource = [];
12991
13154
  var newSortData = [].concat(_toConsumableArray(sortDataSource), _toConsumableArray(dataSource.filter(function (item) {
12992
- return item.title === title;
13155
+ return renderToString(item.title) === renderToString(title);
12993
13156
  }).map(function (source) {
12994
13157
  return _objectSpread2(_objectSpread2({}, source), {}, {
12995
13158
  hidden: false
@@ -13008,7 +13171,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13008
13171
  sortDataSource: [].concat(_fixedLeft, noFixedSortSource, _fixedRight),
13009
13172
  isDefaultValue: false,
13010
13173
  dataSource: _toConsumableArray(dataSource.map(function (item) {
13011
- if (item.title === title) {
13174
+ if (renderToString(item.title) === renderToString(title)) {
13012
13175
  return _objectSpread2(_objectSpread2({}, item), {}, {
13013
13176
  hidden: false
13014
13177
  });
@@ -13099,8 +13262,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13099
13262
  visible = _this$state5.visible,
13100
13263
  onSearchSort = _this$state5.onSearchSort;
13101
13264
  var seatchDataSource = dataSource.filter(function (item) {
13102
- var _item$title;
13103
- return (item === null || item === void 0 ? void 0 : (_item$title = item.title) === null || _item$title === void 0 ? void 0 : _item$title.indexOf(searchDataSource || '')) > -1;
13265
+ var _renderToString, _renderToString$index;
13266
+ return ((_renderToString = renderToString(item === null || item === void 0 ? void 0 : item.title)) === null || _renderToString === void 0 ? void 0 : (_renderToString$index = _renderToString.indexOf) === null || _renderToString$index === void 0 ? void 0 : _renderToString$index.call(_renderToString, searchDataSource || '')) > -1;
13104
13267
  });
13105
13268
  return /*#__PURE__*/React.createElement("div", {
13106
13269
  className: 'sort_table_wrapper'
@@ -13117,7 +13280,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13117
13280
  style: {
13118
13281
  marginRight: 0
13119
13282
  }
13120
- }, "\u6062\u590D\u9ED8\u8BA4"), ",", /*#__PURE__*/React.createElement(Button, {
13283
+ }, "\u6062\u590D\u9ED8\u8BA4"), /*#__PURE__*/React.createElement(Button, {
13121
13284
  key: "back",
13122
13285
  onClick: this.handleResetSetting
13123
13286
  }, "\u91CD\u7F6E\u8BBE\u7F6E")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
@@ -13126,7 +13289,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13126
13289
  style: {
13127
13290
  marginRight: 0
13128
13291
  }
13129
- }, "\u53D6\u6D88"), ",", /*#__PURE__*/React.createElement(Button, {
13292
+ }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
13130
13293
  key: "submit",
13131
13294
  type: "primary",
13132
13295
  onClick: this.handleOk
@@ -13193,8 +13356,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13193
13356
  }
13194
13357
  }, item.title);
13195
13358
  }) : dataSource.filter(function (item) {
13196
- var _item$title2, _item$title3;
13197
- return (item === null || item === void 0 ? void 0 : (_item$title2 = item.title) === null || _item$title2 === void 0 ? void 0 : _item$title2.indexOf('人')) === -1 && (item === null || item === void 0 ? void 0 : (_item$title3 = item.title) === null || _item$title3 === void 0 ? void 0 : _item$title3.indexOf('日期')) === -1;
13359
+ var _title$indexOf, _title$indexOf2;
13360
+ var title = renderToString(item.title);
13361
+ return (title === null || title === void 0 ? void 0 : (_title$indexOf = title.indexOf) === null || _title$indexOf === void 0 ? void 0 : _title$indexOf.call(title, '人')) === -1 && (title === null || title === void 0 ? void 0 : (_title$indexOf2 = title.indexOf) === null || _title$indexOf2 === void 0 ? void 0 : _title$indexOf2.call(title, '日期')) === -1;
13198
13362
  }).map(function (item) {
13199
13363
  return /*#__PURE__*/React.createElement(Checkbox, {
13200
13364
  checked: !item.hidden,
@@ -13213,8 +13377,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13213
13377
  }, /*#__PURE__*/React.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React.createElement("div", {
13214
13378
  className: 'sort_table_column_all'
13215
13379
  }, _toConsumableArray(dataSource).filter(function (item) {
13216
- var _item$title4, _item$title5;
13217
- return (item === null || item === void 0 ? void 0 : (_item$title4 = item.title) === null || _item$title4 === void 0 ? void 0 : _item$title4.indexOf('人')) > -1 || (item === null || item === void 0 ? void 0 : (_item$title5 = item.title) === null || _item$title5 === void 0 ? void 0 : _item$title5.indexOf('日期')) > -1;
13380
+ var _item$title, _item$title$indexOf, _item$title2, _item$title2$indexOf;
13381
+ return (item === null || item === void 0 ? void 0 : (_item$title = item.title) === null || _item$title === void 0 ? void 0 : (_item$title$indexOf = _item$title.indexOf) === null || _item$title$indexOf === void 0 ? void 0 : _item$title$indexOf.call(_item$title, '人')) > -1 || (item === null || item === void 0 ? void 0 : (_item$title2 = item.title) === null || _item$title2 === void 0 ? void 0 : (_item$title2$indexOf = _item$title2.indexOf) === null || _item$title2$indexOf === void 0 ? void 0 : _item$title2$indexOf.call(_item$title2, '日期')) > -1;
13218
13382
  }).map(function (item) {
13219
13383
  return /*#__PURE__*/React.createElement(Checkbox, {
13220
13384
  checked: !item.hidden,
@@ -13250,8 +13414,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13250
13414
  pagination: false,
13251
13415
  showHeader: false,
13252
13416
  dataSource: onSearchSort ? sortDataSource.filter(function (item) {
13253
- var _item$title6;
13254
- return (item === null || item === void 0 ? void 0 : (_item$title6 = item.title) === null || _item$title6 === void 0 ? void 0 : _item$title6.indexOf(onSearchSort)) > -1;
13417
+ var _renderToString2;
13418
+ return ((_renderToString2 = renderToString(item === null || item === void 0 ? void 0 : item.title)) === null || _renderToString2 === void 0 ? void 0 : _renderToString2.indexOf(onSearchSort)) > -1;
13255
13419
  }) : sortDataSource,
13256
13420
  columns: this.columns,
13257
13421
  rowKey: "key",
@@ -13273,7 +13437,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
13273
13437
  return SortableTable;
13274
13438
  }(React.Component);
13275
13439
 
13276
- var _excluded$e = ["className", "style"];
13440
+ var _excluded$f = ["className", "style"];
13277
13441
  var DragHandle$3 = SortableHandle(function () {
13278
13442
  return /*#__PURE__*/React.createElement("img", {
13279
13443
  width: 25,
@@ -13315,7 +13479,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
13315
13479
  hidden: item.hidden
13316
13480
  };
13317
13481
  }) : '';
13318
- axios({
13482
+ requestUtil({
13319
13483
  url: handleRequestUrl('/user', '/appConfig/saveQueryCriteria', appRequestConfig),
13320
13484
  method: 'POST',
13321
13485
  data: {
@@ -13524,7 +13688,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
13524
13688
  _this.DraggableBodyRow = function (_ref2) {
13525
13689
  var className = _ref2.className,
13526
13690
  style = _ref2.style,
13527
- restProps = _objectWithoutProperties(_ref2, _excluded$e);
13691
+ restProps = _objectWithoutProperties(_ref2, _excluded$f);
13528
13692
  var sortDataSource = _this.state.sortDataSource;
13529
13693
  var index = sortDataSource.findIndex(function (x) {
13530
13694
  return x.name === restProps['data-row-key'];
@@ -13659,7 +13823,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
13659
13823
  style: {
13660
13824
  marginRight: 0
13661
13825
  }
13662
- }, "\u6062\u590D\u9ED8\u8BA4"), ",", /*#__PURE__*/React.createElement(Button, {
13826
+ }, "\u6062\u590D\u9ED8\u8BA4"), /*#__PURE__*/React.createElement(Button, {
13663
13827
  key: "back",
13664
13828
  onClick: this.handleResetSetting
13665
13829
  }, "\u91CD\u7F6E\u8BBE\u7F6E")), /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
@@ -13668,7 +13832,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
13668
13832
  style: {
13669
13833
  marginRight: 0
13670
13834
  }
13671
- }, "\u53D6\u6D88"), ",", /*#__PURE__*/React.createElement(Button, {
13835
+ }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
13672
13836
  key: "submit",
13673
13837
  type: "primary",
13674
13838
  onClick: this.handleOk
@@ -13780,12 +13944,16 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
13780
13944
  return SearchItemTable;
13781
13945
  }(React.Component);
13782
13946
 
13783
- var _excluded$f = ["onResize", "width"];
13947
+ var css_248z$g = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
13948
+ styleInject(css_248z$g);
13949
+
13950
+ var _excluded$g = ["onResize", "width"];
13784
13951
  var MemoQueryTable = /*#__PURE__*/React.memo(QueryTable);
13952
+ var Text$2 = Typography.Text;
13785
13953
  var ResizeableTitle$2 = function ResizeableTitle(props) {
13786
13954
  var onResize = props.onResize,
13787
13955
  width = props.width,
13788
- restProps = _objectWithoutProperties(props, _excluded$f);
13956
+ restProps = _objectWithoutProperties(props, _excluded$g);
13789
13957
  if (!width) {
13790
13958
  return /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps));
13791
13959
  }
@@ -13799,80 +13967,52 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
13799
13967
  }, /*#__PURE__*/React.createElement("th", _objectSpread2({}, restProps)));
13800
13968
  };
13801
13969
  var BsSulaQueryTable = (function (props) {
13802
- var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
13803
- var getConfigFromlocalstorage = function getConfigFromlocalstorage(type) {
13804
- var config = localStorage.getItem(type) || '[]';
13805
- var configArray = JSON.parse(config);
13806
- var configSetting = configArray.filter(function (item) {
13807
- return item.code === bsTableCode;
13808
- });
13809
- if (configSetting.length && configSetting[0].detail) {
13810
- return JSON.parse(configSetting[0].detail);
13811
- }
13812
- return [];
13813
- };
13814
- var getInitialSearchFieldsInfo = function getInitialSearchFieldsInfo() {
13815
- //获取搜索字段的缓存配置
13816
- var _props$fields = props.fields,
13817
- fields = _props$fields === void 0 ? [] : _props$fields;
13818
- var searchFieldsConfig = getConfigFromlocalstorage(ENUM.BROWSER_CACHE.SEARCH_FIELDS_CONDITION);
13819
- var showSearchFields = searchFieldsConfig.length ? searchFieldsConfig.map(function (item) {
13820
- var inner = fields.filter(function (inneritem) {
13821
- var innerKey = Array.isArray(inneritem.name) ? JSON.stringify(inneritem.name) : inneritem.name;
13822
- var itemKey = Array.isArray(item.name) ? JSON.stringify(item.name) : item.name;
13823
- return innerKey && innerKey === itemKey;
13824
- })[0];
13825
- return _objectSpread2(_objectSpread2({}, inner), item);
13826
- }) : fields;
13827
- return _toConsumableArray(showSearchFields);
13828
- };
13970
+ var _props$expandable, _value$exportConfig7;
13971
+ var _props$isPage = props.isPage,
13972
+ pagination = props.pagination,
13973
+ tableCode = props.tableCode;
13829
13974
  var refs = useRef(null);
13830
13975
  var _useState = useState(''),
13831
13976
  _useState2 = _slicedToArray(_useState, 2),
13832
13977
  pagePath = _useState2[0],
13833
13978
  setPagePath = _useState2[1];
13834
13979
  // 获取 table columns中所有的 key 防止有的地方是 dataindex
13835
- var _useState3 = useState(props.columns.filter(function (col) {
13836
- return !col.hidden;
13837
- }).map(function (d) {
13838
- return Array.isArray(d.key || d.dataIndex) ? JSON.stringify(d.key || d.dataIndex) : d.key || d.dataIndex;
13839
- })),
13840
- _useState4 = _slicedToArray(_useState3, 2),
13841
- checkedList = _useState4[0],
13842
- setCheckedList = _useState4[1];
13980
+ var checkedList = props.columns.filter(function (col) {
13981
+ return !col.hidden;
13982
+ }).map(function (d) {
13983
+ return Array.isArray(d.key || d.dataIndex) ? JSON.stringify(d.key || d.dataIndex) : d.key || d.dataIndex;
13984
+ });
13843
13985
  var _useLocation = useLocation(),
13844
- pathname = _useLocation.pathname;
13845
- var _useState5 = useState(Number(Math.random().toString().substr(2, 0) + Date.now()).toString(36)),
13846
- _useState6 = _slicedToArray(_useState5, 1),
13847
- id = _useState6[0];
13848
- var _useState7 = useState(false),
13849
- _useState8 = _slicedToArray(_useState7, 2),
13850
- isFullScreen = _useState8[0],
13851
- setIsFnllScreen = _useState8[1];
13986
+ pathname = _useLocation.pathname,
13987
+ _useLocation$state = _useLocation.state,
13988
+ state = _useLocation$state === void 0 ? {} : _useLocation$state;
13989
+ var _useState3 = useState(false),
13990
+ _useState4 = _slicedToArray(_useState3, 2),
13991
+ isFullScreen = _useState4[0],
13992
+ setIsFnllScreen = _useState4[1];
13852
13993
  // @ts-nocheck
13853
- var _useState9 = useState(props),
13994
+ var value = props;
13995
+ var _useState5 = useState([]),
13996
+ _useState6 = _slicedToArray(_useState5, 2),
13997
+ showColumn = _useState6[0],
13998
+ setShowColumns = _useState6[1]; // 列字段
13999
+ var _useState7 = useState(props.fields || []),
14000
+ _useState8 = _slicedToArray(_useState7, 2),
14001
+ showSearchFields = _useState8[0],
14002
+ setShowSearchFields = _useState8[1]; //搜索项字段
14003
+ var _useState9 = useState([]),
13854
14004
  _useState10 = _slicedToArray(_useState9, 2),
13855
- value = _useState10[0],
13856
- setValue = _useState10[1];
13857
- var _useState11 = useState([]),
14005
+ showExportColumn = _useState10[0],
14006
+ setShowExportColumns = _useState10[1]; // 导出列字段
14007
+ var _useState11 = useState('100vh'),
13858
14008
  _useState12 = _slicedToArray(_useState11, 2),
13859
- showColumn = _useState12[0],
13860
- setShowColumns = _useState12[1]; // 列字段
13861
- var originSearchFields = getInitialSearchFieldsInfo();
13862
- var _useState13 = useState(originSearchFields),
13863
- _useState14 = _slicedToArray(_useState13, 2),
13864
- showSearchFields = _useState14[0],
13865
- setShowSearchFields = _useState14[1]; //搜索项字段
13866
- var _props$isPage = props.isPage,
13867
- pagination = props.pagination,
13868
- tableCode = props.tableCode,
13869
- appRequestConfig = props.appRequestConfig;
13870
- var _useState15 = useState('100vh'),
13871
- _useState16 = _slicedToArray(_useState15, 2),
13872
- height = _useState16[0],
13873
- setHeight = _useState16[1];
14009
+ height = _useState12[0],
14010
+ setHeight = _useState12[1];
13874
14011
  var sortTableRef = useRef(null);
13875
14012
  var searchTableRef = useRef(null);
14013
+ var exportTableRef = useRef(null);
14014
+ var bsTableCode = tableCode || window.location.hash; //设置列字段的唯一标识
14015
+ var bsTableCodeExport = "".concat(bsTableCode, "___Export"); //设置导出列字段的唯一标识
13876
14016
  // 获取table高度
13877
14017
  var getTableHeight = function getTableHeight() {
13878
14018
  setTimeout(function () {
@@ -13885,7 +14025,6 @@ var BsSulaQueryTable = (function (props) {
13885
14025
  var listTabHeight = document.querySelector(".ant-tabs-tabpane-active .list_top_tab .ant-tabs-nav") ? ((_document$querySelect2 = document.querySelector(".ant-tabs-tabpane-active .list_top_tab .ant-tabs-nav")) === null || _document$querySelect2 === void 0 ? void 0 : _document$querySelect2.clientHeight) || 48 : 0;
13886
14026
  var h = realIframeClientHeight - summaryHeight - listTabHeight - (((_document$querySelect3 = document.querySelector(".ant-tabs-tabpane-active .ant-form ant-form-horizontal")) === null || _document$querySelect3 === void 0 ? void 0 : _document$querySelect3.clientHeight) || 0) - (isFullScreen ? 0 : ((_document$querySelect4 = document.querySelector(".ant-tabs-tabpane-active .ant-pro-page-container-warp")) === null || _document$querySelect4 === void 0 ? void 0 : _document$querySelect4.clientHeight) || 0) - cancelHeight + 'px';
13887
14027
  setHeight(h);
13888
- setValue(_objectSpread2({}, value));
13889
14028
  }, 0);
13890
14029
  };
13891
14030
  //监测是否按下esc键
@@ -13896,6 +14035,18 @@ var BsSulaQueryTable = (function (props) {
13896
14035
  if (isFull == undefined) isFull = false;
13897
14036
  return isFull;
13898
14037
  }
14038
+ var getConfigFromlocalstorage = function getConfigFromlocalstorage(type) {
14039
+ var tableCode = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : bsTableCode;
14040
+ var config = localStorage.getItem(type) || '[]';
14041
+ var configArray = JSON.parse(config);
14042
+ var configSetting = configArray.filter(function (item) {
14043
+ return item.code === tableCode;
14044
+ });
14045
+ if (configSetting.length && configSetting[0].detail) {
14046
+ return JSON.parse(configSetting[0].detail);
14047
+ }
14048
+ return [];
14049
+ };
13899
14050
  var setInitialTableInfo = function setInitialTableInfo() {
13900
14051
  var resourceCodeArray = {};
13901
14052
  if (props.actionsRender && props.actionsRender.length) {
@@ -13938,22 +14089,23 @@ var BsSulaQueryTable = (function (props) {
13938
14089
  }
13939
14090
  });
13940
14091
  }
13941
- setValue(_objectSpread2(_objectSpread2({}, value), {}, {
13942
- columns: _toConsumableArray(props.columns)
13943
- }));
13944
- var columns = props.columns;
14092
+ var columns = props.columns,
14093
+ exportColumns = props.exportColumns;
14094
+ var getShowColumns = function getShowColumns(columnConfig, columns) {
14095
+ return columnConfig.length ? columnConfig.map(function (item) {
14096
+ var inner = columns.filter(function (inneritem) {
14097
+ var innerKey = Array.isArray(inneritem.key || inneritem.dataIndex) ? JSON.stringify(inneritem.key || inneritem.dataIndex) : inneritem.key || inneritem.dataIndex;
14098
+ var itemKey = Array.isArray(item.key || item.dataIndex) ? JSON.stringify(item.key || item.dataIndex) : item.key || item.dataIndex;
14099
+ return innerKey && innerKey === itemKey;
14100
+ })[0];
14101
+ return _objectSpread2(_objectSpread2({}, inner), item);
14102
+ }) : columns.filter(function (column) {
14103
+ var columnKey = Array.isArray(column.key || column.dataIndex) ? JSON.stringify(column.key || column.dataIndex) : column.key || column.dataIndex;
14104
+ return column.notRegularCheckList || checkedList.indexOf(columnKey) > -1;
14105
+ });
14106
+ };
13945
14107
  var columnConfig = getConfigFromlocalstorage(ENUM.BROWSER_CACHE.COLUMN_CONDITION);
13946
- var showColumns = columnConfig.length ? columnConfig.map(function (item) {
13947
- var inner = columns.filter(function (inneritem) {
13948
- var innerKey = Array.isArray(inneritem.key || inneritem.dataIndex) ? JSON.stringify(inneritem.key || inneritem.dataIndex) : inneritem.key || inneritem.dataIndex;
13949
- var itemKey = Array.isArray(item.key || item.dataIndex) ? JSON.stringify(item.key || item.dataIndex) : item.key || item.dataIndex;
13950
- return innerKey && innerKey === itemKey;
13951
- })[0];
13952
- return _objectSpread2(_objectSpread2({}, inner), item);
13953
- }) : columns.filter(function (column) {
13954
- var columnKey = Array.isArray(column.key || column.dataIndex) ? JSON.stringify(column.key || column.dataIndex) : column.key || column.dataIndex;
13955
- return column.notRegularCheckList || checkedList.indexOf(columnKey) > -1;
13956
- });
14108
+ var showColumns = getShowColumns(columnConfig, columns);
13957
14109
  showColumns.forEach(function (item, index) {
13958
14110
  item.width = item.width || getItemDefaultWidth(item);
13959
14111
  handleBssulaColumnsSpecialParams(item);
@@ -13965,11 +14117,24 @@ var BsSulaQueryTable = (function (props) {
13965
14117
  };
13966
14118
  });
13967
14119
  setShowColumns(_toConsumableArray(showColumns));
14120
+ var exportColumnConfig = getConfigFromlocalstorage(ENUM.BROWSER_CACHE.COLUMN_CONDITION, bsTableCodeExport);
14121
+ var showExportColumns = getShowColumns(exportColumnConfig, columns);
14122
+ showExportColumns.forEach(function (item, index) {
14123
+ item.width = item.width || getItemDefaultWidth(item);
14124
+ handleBssulaColumnsSpecialParams(item);
14125
+ item.onHeaderCell = function (column) {
14126
+ return _objectSpread2(_objectSpread2({}, item), {}, {
14127
+ width: typeof column.width === 'number' ? column.width : parseInt(column.width.replace('px', '')),
14128
+ onResize: handleResize(index)
14129
+ });
14130
+ };
14131
+ });
14132
+ setShowExportColumns(_toConsumableArray(showExportColumns));
13968
14133
  };
13969
14134
  var setInitialSearchFieldsInfo = function setInitialSearchFieldsInfo() {
13970
14135
  //获取搜索字段的缓存配置
13971
- var _props$fields2 = props.fields,
13972
- fields = _props$fields2 === void 0 ? [] : _props$fields2;
14136
+ var _props$fields = props.fields,
14137
+ fields = _props$fields === void 0 ? [] : _props$fields;
13973
14138
  var searchFieldsConfig = getConfigFromlocalstorage(ENUM.BROWSER_CACHE.SEARCH_FIELDS_CONDITION);
13974
14139
  var showSearchFields = searchFieldsConfig.length ? searchFieldsConfig.map(function (item) {
13975
14140
  var inner = fields.filter(function (inneritem) {
@@ -14062,7 +14227,7 @@ var BsSulaQueryTable = (function (props) {
14062
14227
  }
14063
14228
  },
14064
14229
  initialSelectedRowKeys: value.initialSelectedRowKeys || [],
14065
- expandable: value.expandable,
14230
+ expandable: props.expandable,
14066
14231
  scroll: {
14067
14232
  x: props.overScrollX || 'max-content',
14068
14233
  y: height
@@ -14110,7 +14275,7 @@ var BsSulaQueryTable = (function (props) {
14110
14275
  }
14111
14276
  };
14112
14277
  var handleTimeValue = function handleTimeValue() {
14113
- var _sortTableRef$current, _value$exportConfig, _value$exportConfig2, _value$exportConfig3;
14278
+ var _sortTableRef$current, _value$exportConfig, _exportTableRef$curre, _value$exportConfig2, _value$exportConfig3, _value$exportConfig4, _value$exportConfig5, _value$exportConfig6;
14114
14279
  var actionsRender = value.actionsRender || [];
14115
14280
  actionsRender = [].concat(_toConsumableArray(actionsRender), [{
14116
14281
  type: 'text',
@@ -14129,9 +14294,14 @@ var BsSulaQueryTable = (function (props) {
14129
14294
  setShowSearchFields: setShowSearchFields,
14130
14295
  showSearchFields: showSearchFields,
14131
14296
  datasource: (value === null || value === void 0 ? void 0 : value.fields) || [],
14132
- bsTableCode: bsTableCode,
14133
- appRequestConfig: appRequestConfig
14134
- }))),
14297
+ bsTableCode: bsTableCode
14298
+ })), (value === null || value === void 0 ? void 0 : (_value$exportConfig = value.exportConfig) === null || _value$exportConfig === void 0 ? void 0 : _value$exportConfig.settingColumns) && ( /*#__PURE__*/React.createElement(Menu.Item, null, /*#__PURE__*/React.createElement("div", {
14299
+ onClick: exportTableRef === null || exportTableRef === void 0 ? void 0 : (_exportTableRef$curre = exportTableRef.current) === null || _exportTableRef$curre === void 0 ? void 0 : _exportTableRef$curre.showModal,
14300
+ style: {
14301
+ fontSize: 14,
14302
+ textAlign: 'center'
14303
+ }
14304
+ }, "\u5BFC\u51FA\u5B57\u6BB5\u8BBE\u7F6E")))),
14135
14305
  placement: "bottomRight"
14136
14306
  }, /*#__PURE__*/React.createElement("span", {
14137
14307
  className: "ant-dropdown-link"
@@ -14164,12 +14334,14 @@ var BsSulaQueryTable = (function (props) {
14164
14334
  }, {
14165
14335
  type: 'text',
14166
14336
  props: {
14167
- children: (value === null || value === void 0 ? void 0 : value.exportConfig) && authFn(value === null || value === void 0 ? void 0 : (_value$exportConfig = value.exportConfig) === null || _value$exportConfig === void 0 ? void 0 : _value$exportConfig.code) ? ( /*#__PURE__*/React.createElement(ExportIcon, {
14337
+ children: (value === null || value === void 0 ? void 0 : value.exportConfig) && authFn(value === null || value === void 0 ? void 0 : (_value$exportConfig2 = value.exportConfig) === null || _value$exportConfig2 === void 0 ? void 0 : _value$exportConfig2.code) ? ( /*#__PURE__*/React.createElement(ExportIcon, {
14168
14338
  request: {
14169
- url: "/oms-ops/excel/exportAsync/".concat(value === null || value === void 0 ? void 0 : (_value$exportConfig2 = value.exportConfig) === null || _value$exportConfig2 === void 0 ? void 0 : _value$exportConfig2.type),
14170
- params: (value === null || value === void 0 ? void 0 : (_value$exportConfig3 = value.exportConfig) === null || _value$exportConfig3 === void 0 ? void 0 : _value$exportConfig3.params) || queryParams
14339
+ url: (value === null || value === void 0 ? void 0 : (_value$exportConfig3 = value.exportConfig) === null || _value$exportConfig3 === void 0 ? void 0 : _value$exportConfig3.url) || "/oms-ops/excel/exportAsync/".concat(value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.type),
14340
+ params: value === null || value === void 0 ? void 0 : (_value$exportConfig5 = value.exportConfig) === null || _value$exportConfig5 === void 0 ? void 0 : _value$exportConfig5.params
14171
14341
  },
14172
- tableRef: props.forwardedRef || refs
14342
+ tableRef: props.forwardedRef || refs,
14343
+ allowSelect: value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.allowSelect,
14344
+ columnsRowKey: value === null || value === void 0 ? void 0 : value.rowKey
14173
14345
  })) : ( /*#__PURE__*/React.createElement("span", null))
14174
14346
  }
14175
14347
  }]);
@@ -14199,6 +14371,29 @@ var BsSulaQueryTable = (function (props) {
14199
14371
  var _sortTableRef$current2, _sortTableRef$current3;
14200
14372
  sortTableRef === null || sortTableRef === void 0 ? void 0 : (_sortTableRef$current2 = sortTableRef.current) === null || _sortTableRef$current2 === void 0 ? void 0 : (_sortTableRef$current3 = _sortTableRef$current2.handleTableHeadHidden) === null || _sortTableRef$current3 === void 0 ? void 0 : _sortTableRef$current3.call(_sortTableRef$current2, columnTitle);
14201
14373
  };
14374
+ var toMapByKey = function toMapByKey(arr, key, fn) {
14375
+ var map = {};
14376
+ arr.forEach(function (i) {
14377
+ return map[renderToString(i[key])] = i;
14378
+ });
14379
+ return map;
14380
+ };
14381
+ var getColumns = function getColumns() {
14382
+ // 优化一下 减少复杂度
14383
+ var titleMap = toMapByKey(value.columns, 'title');
14384
+ // 加上排序
14385
+ var cols = showColumn.map(function (i) {
14386
+ var _titleMap$renderToStr, _titleMap$renderToStr2;
14387
+ return _objectSpread2(_objectSpread2({}, i), {}, {
14388
+ isPermissionColumn: (_titleMap$renderToStr = titleMap[renderToString(i.title)]) === null || _titleMap$renderToStr === void 0 ? void 0 : _titleMap$renderToStr.isPermissionColumn,
14389
+ render: (_titleMap$renderToStr2 = titleMap[renderToString(i.title)]) === null || _titleMap$renderToStr2 === void 0 ? void 0 : _titleMap$renderToStr2.render
14390
+ });
14391
+ });
14392
+ cols.forEach(function (i) {
14393
+ return handleBssulaColumnsSpecialParams(i);
14394
+ });
14395
+ return cols;
14396
+ };
14202
14397
  var config = _objectSpread2(_objectSpread2({
14203
14398
  visibleFieldsCount: 3,
14204
14399
  tableWrapperStyle: {
@@ -14220,45 +14415,109 @@ var BsSulaQueryTable = (function (props) {
14220
14415
  rowSelection: false
14221
14416
  }, handleTimeValue()), {}, {
14222
14417
  tableProps: setTableProps(),
14223
- columns: _toConsumableArray(showColumn),
14418
+ columns: getColumns(),
14224
14419
  fields: _toConsumableArray(showSearchFields),
14225
14420
  ref: props.forwardedRef || refs,
14226
14421
  isFullScreen: isFullScreen
14227
14422
  });
14228
14423
  useEffect(function () {
14229
- if (!localStorage.getItem('isTabChange')) {
14424
+ if (!localStorage.getItem('isTabChange') || (state === null || state === void 0 ? void 0 : state.updateCurrentPage)) {
14230
14425
  if (pagePath === pathname) {
14231
14426
  var _config$ref, _config$ref$current, _config$ref$current$t, _config$ref$current$t2;
14232
14427
  // @ts-ignore
14233
14428
  (_config$ref = config.ref) === null || _config$ref === void 0 ? void 0 : (_config$ref$current = _config$ref.current) === null || _config$ref$current === void 0 ? void 0 : (_config$ref$current$t = _config$ref$current.tableRef) === null || _config$ref$current$t === void 0 ? void 0 : (_config$ref$current$t2 = _config$ref$current$t.current) === null || _config$ref$current$t2 === void 0 ? void 0 : _config$ref$current$t2.refreshTable();
14234
14429
  }
14235
- } else {
14236
- setTimeout(function () {
14237
- // 处理页面刷新两面
14238
- localStorage.removeItem('isTabChange');
14239
- }, 0);
14240
14430
  }
14431
+ setTimeout(function () {
14432
+ // 处理页面刷新两面
14433
+ localStorage.removeItem('isTabChange');
14434
+ }, 0);
14241
14435
  }, [pathname]);
14436
+ var expandedRowKeys = props === null || props === void 0 ? void 0 : (_props$expandable = props.expandable) === null || _props$expandable === void 0 ? void 0 : _props$expandable.expandedRowKeys;
14437
+ //todo summary属性已经被使用,为了兼容之前的,现在使用 summaryList
14438
+ //结构为了实现多行总结栏 定义如下(lableShow: boolean 是否显示列文本)
14439
+ /**
14440
+ * [
14441
+ * {
14442
+ * cont:[{key: 'spuCode',value: 100,labelShow: false}]
14443
+ * }
14444
+ * ]
14445
+ * @returns []
14446
+ */
14447
+ var getTableSummaryInfo = function getTableSummaryInfo() {
14448
+ var summaryList = props.summaryList,
14449
+ rowSelection = props.rowSelection,
14450
+ expandable = props.expandable;
14451
+ if (summaryList && Array.isArray(summaryList)) {
14452
+ var summaryRow = rowSelection ? [{}].concat(_toConsumableArray(showColumn)) : _toConsumableArray(showColumn);
14453
+ if (expandable) {
14454
+ summaryRow.unshift({});
14455
+ }
14456
+ // let summaryInitial = summary().cont;
14457
+ return /*#__PURE__*/React.createElement(Table.Summary, {
14458
+ fixed: true
14459
+ }, Array.isArray(summaryList) && summaryList.map(function (summaryItem, summaryIndex) {
14460
+ return /*#__PURE__*/React.createElement(Table.Summary.Row, {
14461
+ key: summaryIndex
14462
+ }, summaryRow.map(function (item, index) {
14463
+ var _summaryItem$cout = summaryItem.cout,
14464
+ cout = _summaryItem$cout === void 0 ? [] : _summaryItem$cout;
14465
+ var target = cout.filter(function (inner) {
14466
+ return inner.key && (inner.key === item.dataIndex || inner.key === item.key);
14467
+ })[0];
14468
+ if (target) {
14469
+ var _target$value;
14470
+ var labelText = target.labelShow ? "".concat(item.title, ":") : "";
14471
+ return /*#__PURE__*/React.createElement(Table.Summary.Cell, {
14472
+ index: index,
14473
+ key: "Table.Summary.Cell_".concat(item.index)
14474
+ }, /*#__PURE__*/React.createElement(Text$2, {
14475
+ type: "danger"
14476
+ }, "".concat(labelText, " ").concat((_target$value = target.value) !== null && _target$value !== void 0 ? _target$value : '')));
14477
+ } else {
14478
+ return /*#__PURE__*/React.createElement(Table.Summary.Cell, {
14479
+ index: index,
14480
+ key: "Table.Summary.Cell_".concat(item.index)
14481
+ }, /*#__PURE__*/React.createElement(Text$2, {
14482
+ type: "danger"
14483
+ }, " "));
14484
+ }
14485
+ }));
14486
+ }));
14487
+ } else {
14488
+ return undefined;
14489
+ }
14490
+ };
14242
14491
  var memoConfig = useMemo(function () {
14243
14492
  return _objectSpread2(_objectSpread2({}, config), {}, {
14244
14493
  summary: props.summary,
14245
- statusMapping: props.statusMapping,
14246
- appRequestConfig: props.appRequestConfig
14494
+ summaryList: props.summaryList ? getTableSummaryInfo : undefined,
14495
+ statusMapping: props.statusMapping
14247
14496
  });
14248
- }, [value, checkedList, showColumn, props.statusMapping, showSearchFields]);
14249
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React.createElement(SortableTable$1, {
14497
+ }, [
14498
+ // value,
14499
+ checkedList, showColumn, props.statusMapping, showSearchFields, expandedRowKeys]);
14500
+ return /*#__PURE__*/React.createElement("div", {
14501
+ id: "bs-sula-query-table"
14502
+ }, /*#__PURE__*/React.createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React.createElement(SortableTable$1, {
14250
14503
  ref: sortTableRef,
14251
14504
  setShowColumns: setShowColumns,
14252
14505
  showColumn: showColumn,
14253
14506
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
14254
14507
  bsTableCode: bsTableCode,
14255
- appRequestConfig: appRequestConfig,
14256
14508
  onlyModal: true
14257
- }));
14509
+ }), (value === null || value === void 0 ? void 0 : (_value$exportConfig7 = value.exportConfig) === null || _value$exportConfig7 === void 0 ? void 0 : _value$exportConfig7.settingColumns) && ( /*#__PURE__*/React.createElement(SortableTable$1, {
14510
+ ref: exportTableRef,
14511
+ setShowColumns: setShowExportColumns,
14512
+ showColumn: showExportColumn,
14513
+ datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
14514
+ bsTableCode: bsTableCodeExport,
14515
+ onlyModal: true
14516
+ })));
14258
14517
  });
14259
14518
 
14260
- 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";
14261
- styleInject(css_248z$f);
14519
+ var css_248z$h = ".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";
14520
+ styleInject(css_248z$h);
14262
14521
 
14263
14522
  var cache = {};
14264
14523
  var cacheLimit = 10000;
@@ -14514,8 +14773,8 @@ var AllFunc = function AllFunc(props) {
14514
14773
  })))));
14515
14774
  };
14516
14775
 
14517
- 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";
14518
- styleInject(css_248z$g);
14776
+ var css_248z$i = ".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";
14777
+ styleInject(css_248z$i);
14519
14778
 
14520
14779
  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";
14521
14780
 
@@ -14714,8 +14973,17 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
14714
14973
  }))));
14715
14974
  });
14716
14975
 
14717
- 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";
14718
- styleInject(css_248z$h);
14976
+ var i18n = {
14977
+ 'zh-CN': {
14978
+ lang: '中文'
14979
+ },
14980
+ 'en-US': {
14981
+ lang: 'English'
14982
+ }
14983
+ };
14984
+
14985
+ var css_248z$j = ".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";
14986
+ styleInject(css_248z$j);
14719
14987
 
14720
14988
  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";
14721
14989
 
@@ -14733,7 +15001,7 @@ function _outLogin() {
14733
15001
  while (1) switch (_context.prev = _context.next) {
14734
15002
  case 0:
14735
15003
  _context.next = 2;
14736
- return axios({
15004
+ return requestUtil({
14737
15005
  url: '/user/web/loginOut',
14738
15006
  method: 'GET'
14739
15007
  });
@@ -14766,11 +15034,11 @@ var LoginModal = (function (props) {
14766
15034
  }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
14767
15035
  onClick: function onClick() {
14768
15036
  form.validateFields().then(function (res) {
14769
- axios({
15037
+ requestUtil({
14770
15038
  url: "/bop/api/account/changePassWord/".concat(getAccountID()),
14771
15039
  method: 'patch',
14772
15040
  params: res
14773
- }).then(function (res) {
15041
+ }).then(function () {
14774
15042
  loginOut();
14775
15043
  });
14776
15044
  });
@@ -14824,6 +15092,7 @@ var LoginModal = (function (props) {
14824
15092
  });
14825
15093
 
14826
15094
  var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
15095
+ var _i18n$language;
14827
15096
  var menu = _ref.menu;
14828
15097
  var _useModel = useModel('@@initialState'),
14829
15098
  initialState = _useModel.initialState;
@@ -14932,12 +15201,25 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14932
15201
  })), /*#__PURE__*/React.createElement("div", {
14933
15202
  className: 'rcom_name'
14934
15203
  }, "\u9000\u51FA\u767B\u5F55"))));
15204
+ var changeLanguage = function changeLanguage(lang) {
15205
+ localStorage.setItem('umi_locale', lang || "zh-CN");
15206
+ setLocale(lang || "zh-CN");
15207
+ window.location.reload();
15208
+ };
15209
+ var language = localStorage.getItem('umi_locale') || 'zh-CN';
14935
15210
  return /*#__PURE__*/React.createElement("div", {
14936
15211
  className: className,
14937
15212
  style: divStyle()
14938
15213
  }, /*#__PURE__*/React.createElement("div", {
14939
15214
  className: 'rcom_imgWap'
14940
- }, /*#__PURE__*/React.createElement(Dropdown, {
15215
+ }, /*#__PURE__*/React.createElement(Button, {
15216
+ style: {
15217
+ marginRight: '20px'
15218
+ },
15219
+ onClick: function onClick() {
15220
+ changeLanguage(language === 'zh-CN' ? 'en-US' : 'zh-CN');
15221
+ }
15222
+ }, ((_i18n$language = i18n[language]) === null || _i18n$language === void 0 ? void 0 : _i18n$language.lang) || "English"), /*#__PURE__*/React.createElement(Dropdown, {
14941
15223
  overlay: menus,
14942
15224
  trigger: ['click']
14943
15225
  }, /*#__PURE__*/React.createElement("div", {
@@ -14962,53 +15244,326 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14962
15244
  }))))), loginModalParams.visible && ( /*#__PURE__*/React.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
14963
15245
  };
14964
15246
 
14965
- 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";
14966
- styleInject(css_248z$i);
15247
+ // -- 查询店铺 --
15248
+ function getStoreByName(_x) {
15249
+ return _getStoreByName.apply(this, arguments);
15250
+ }
15251
+ function _getStoreByName() {
15252
+ _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
15253
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
15254
+ while (1) switch (_context.prev = _context.next) {
15255
+ case 0:
15256
+ return _context.abrupt("return", requestUtil({
15257
+ url: '/store-house/orgViewNode/listNoPage',
15258
+ method: 'GET',
15259
+ params: _objectSpread2({}, params)
15260
+ }));
15261
+ case 1:
15262
+ case "end":
15263
+ return _context.stop();
15264
+ }
15265
+ }, _callee);
15266
+ }));
15267
+ return _getStoreByName.apply(this, arguments);
15268
+ }
14967
15269
 
14968
- var judgeIsEmpty$2 = function judgeIsEmpty(value) {
14969
- if (value == null || value == undefined || String(value).trim() == '') {
14970
- return true;
14971
- }
14972
- return false;
14973
- };
14974
- var GlobalHeaderCom = function GlobalHeaderCom(props) {
14975
- var _props$route$routes = props.route.routes,
14976
- routes = _props$route$routes === void 0 ? [] : _props$route$routes;
14977
- var _useState = useState(''),
15270
+ var debounceTimeout = 800;
15271
+ var ChooseStore = function ChooseStore(props) {
15272
+ var employeeCode = props.employeeCode;
15273
+ var plainOptions = ['UR', '本来'];
15274
+ var name = localStorage.getItem('WARE_HOUSE_NAME');
15275
+ var code = localStorage.getItem('WARE_HOUSE_CODE');
15276
+ var fetchRef = useRef(0);
15277
+ var _useState = useState(-1),
14978
15278
  _useState2 = _slicedToArray(_useState, 2),
14979
- keyWord = _useState2[0],
14980
- setKeyWord = _useState2[1];
14981
- var _useState3 = useState([]),
15279
+ index = _useState2[0],
15280
+ setIndex = _useState2[1];
15281
+ var _useState3 = useState([{
15282
+ label: name,
15283
+ value: code
15284
+ }]),
14982
15285
  _useState4 = _slicedToArray(_useState3, 2),
14983
- routeList = _useState4[0],
14984
- setroutesData = _useState4[1];
14985
- var getFullPathName = function getFullPathName(nameId) {
14986
- var nameIdArr = nameId.split('.');
14987
- var nameStr = '';
14988
- for (var i = 0; i < nameIdArr.length; i++) {
14989
- var itemId = nameIdArr.slice(0, i + 1).join('.');
14990
- nameStr += "".concat(i === 0 ? '' : '-').concat(formatMessage({
14991
- id: "menu.".concat(itemId)
14992
- }));
14993
- }
14994
- return nameStr;
14995
- };
14996
- var initRoute = function initRoute(router, name) {
14997
- var resultList = [];
14998
- var newRouter = cloneDeep$1(router);
14999
- var btnAuth = JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES) || '[]');
15000
- var deep = function deep(router) {
15001
- if (router && Array.isArray(router)) {
15002
- router.forEach(function (item) {
15003
- if (item.routes && Array.isArray(item.routes)) {
15004
- item.routes.forEach(function (d) {
15005
- if (!d.nameEdit) {
15006
- d.name = item.name + '.' + d.name;
15007
- d.nameEdit = true;
15008
- }
15009
- });
15010
- deep(item.routes);
15011
- } else if (!item.hideInMenu && (name ? formatMessage({
15286
+ value = _useState4[0],
15287
+ setValue = _useState4[1];
15288
+ // const [ key, setKey ] = useState(undefined);
15289
+ var _useState5 = useState(undefined),
15290
+ _useState6 = _slicedToArray(_useState5, 2),
15291
+ key = _useState6[0],
15292
+ setKey = _useState6[1];
15293
+ var _useState7 = useState(false),
15294
+ _useState8 = _slicedToArray(_useState7, 2),
15295
+ openSelect = _useState8[0],
15296
+ setOpenSelect = _useState8[1];
15297
+ var _useState9 = useState([]),
15298
+ _useState10 = _slicedToArray(_useState9, 2),
15299
+ options = _useState10[0],
15300
+ setOptions = _useState10[1];
15301
+ var _useState11 = useState([]),
15302
+ _useState12 = _slicedToArray(_useState11, 2),
15303
+ rescouse = _useState12[0],
15304
+ setRescouse = _useState12[1];
15305
+ var _useState13 = useState(''),
15306
+ _useState14 = _slicedToArray(_useState13, 2),
15307
+ searchValue = _useState14[0],
15308
+ setSearchValue = _useState14[1];
15309
+ var _useState15 = useState([{
15310
+ label: name,
15311
+ value: code
15312
+ }]),
15313
+ _useState16 = _slicedToArray(_useState15, 2),
15314
+ store = _useState16[0],
15315
+ setStore = _useState16[1];
15316
+ function fetchUserList(_x, _x2) {
15317
+ return _fetchUserList.apply(this, arguments);
15318
+ }
15319
+ function _fetchUserList() {
15320
+ _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
15321
+ return _regeneratorRuntime().wrap(function _callee3$(_context3) {
15322
+ while (1) switch (_context3.prev = _context3.next) {
15323
+ case 0:
15324
+ return _context3.abrupt("return", getStoreByName({
15325
+ orgName: storeName ? storeName : undefined,
15326
+ platCompanyCode: init ? undefined : key,
15327
+ 'qp-employeeCode-eq': employeeCode || 'EMP231011000002',
15328
+ 'qp-orgViewCode-eq': 'business-organizational-view'
15329
+ }).then(function (res) {
15330
+ var data = res.data;
15331
+ if (data.code != '000000') {
15332
+ return;
15333
+ }
15334
+ return data.data.map(function (item) {
15335
+ return {
15336
+ label: item.orgName,
15337
+ value: item.orgCode,
15338
+ defaultOrg: item.defaultOrg,
15339
+ platCompanyCode: item.platCompanyCode
15340
+ };
15341
+ });
15342
+ }));
15343
+ case 1:
15344
+ case "end":
15345
+ return _context3.stop();
15346
+ }
15347
+ }, _callee3);
15348
+ }));
15349
+ return _fetchUserList.apply(this, arguments);
15350
+ }
15351
+ var debounceFetcher = useMemo(function () {
15352
+ var loadOptions = function loadOptions(str) {
15353
+ fetchRef.current += 1;
15354
+ var fetchId = fetchRef.current;
15355
+ setOptions([]);
15356
+ setRescouse([]);
15357
+ fetchUserList(str).then(function (newOptions) {
15358
+ if (fetchId !== fetchRef.current) {
15359
+ return;
15360
+ }
15361
+ setOptions(newOptions);
15362
+ setRescouse(newOptions);
15363
+ });
15364
+ };
15365
+ return debounce$1(loadOptions, debounceTimeout);
15366
+ }, [debounceTimeout, key]);
15367
+ var changeInput = /*#__PURE__*/function () {
15368
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
15369
+ var res;
15370
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
15371
+ while (1) switch (_context.prev = _context.next) {
15372
+ case 0:
15373
+ _context.next = 2;
15374
+ return debounceFetcher(str);
15375
+ case 2:
15376
+ res = _context.sent;
15377
+ setOptions(res);
15378
+ setRescouse(res);
15379
+ case 5:
15380
+ case "end":
15381
+ return _context.stop();
15382
+ }
15383
+ }, _callee);
15384
+ }));
15385
+ return function changeInput(_x3) {
15386
+ return _ref.apply(this, arguments);
15387
+ };
15388
+ }();
15389
+ useEffect(function () {
15390
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
15391
+ var res;
15392
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
15393
+ while (1) switch (_context2.prev = _context2.next) {
15394
+ case 0:
15395
+ _context2.next = 2;
15396
+ return fetchUserList(undefined, true);
15397
+ case 2:
15398
+ res = _context2.sent;
15399
+ res.map(function (item, indexNumber) {
15400
+ if (item.label === name) {
15401
+ setIndex(indexNumber);
15402
+ }
15403
+ if (item.defaultOrg) {
15404
+ if (name) {
15405
+ return;
15406
+ }
15407
+ localStorage.setItem('WARE_HOUSE_NAME', item === null || item === void 0 ? void 0 : item.label);
15408
+ localStorage.setItem('WARE_HOUSE_CODE', item === null || item === void 0 ? void 0 : item.value);
15409
+ setValue([item]);
15410
+ }
15411
+ });
15412
+ setOptions(res);
15413
+ setRescouse(res);
15414
+ case 6:
15415
+ case "end":
15416
+ return _context2.stop();
15417
+ }
15418
+ }, _callee2);
15419
+ }))();
15420
+ }, []);
15421
+ return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Select, {
15422
+ value: value,
15423
+ style: {
15424
+ width: 280,
15425
+ marginRight: 20
15426
+ },
15427
+ open: false,
15428
+ onClick: function onClick() {
15429
+ setOpenSelect(true);
15430
+ }
15431
+ }), /*#__PURE__*/React.createElement(Modal, {
15432
+ open: openSelect,
15433
+ onCancel: function onCancel() {
15434
+ setOpenSelect(false);
15435
+ },
15436
+ onOk: function onOk() {
15437
+ var _store$, _store$2;
15438
+ localStorage.setItem('WARE_HOUSE_NAME', (_store$ = store[0]) === null || _store$ === void 0 ? void 0 : _store$.label);
15439
+ localStorage.setItem('WARE_HOUSE_CODE', (_store$2 = store[0]) === null || _store$2 === void 0 ? void 0 : _store$2.value);
15440
+ window.location.reload();
15441
+ }
15442
+ }, /*#__PURE__*/React.createElement(Form, {
15443
+ style: {
15444
+ height: 300,
15445
+ marginTop: 20
15446
+ },
15447
+ labelCol: {
15448
+ span: 3
15449
+ },
15450
+ wrapperCol: {
15451
+ span: 16
15452
+ }
15453
+ }, /*#__PURE__*/React.createElement(Form.Item, {
15454
+ label: "\u54C1\u724C",
15455
+ name: "brand"
15456
+ }, /*#__PURE__*/React.createElement(Radio.Group, {
15457
+ options: plainOptions,
15458
+ onChange: function onChange(item) {
15459
+ var _item$target;
15460
+ var str = item === null || item === void 0 ? void 0 : (_item$target = item.target) === null || _item$target === void 0 ? void 0 : _item$target.value;
15461
+ setKey(str === 'UR' ? 'UR' : 'BL');
15462
+ if (str === 'UR') {
15463
+ var res = rescouse === null || rescouse === void 0 ? void 0 : rescouse.filter(function (current) {
15464
+ return current.platCompanyCode === 'UR';
15465
+ });
15466
+ setOptions(res);
15467
+ setSearchValue('');
15468
+ } else {
15469
+ var _res = rescouse === null || rescouse === void 0 ? void 0 : rescouse.filter(function (current) {
15470
+ return current.platCompanyCode === 'BL';
15471
+ });
15472
+ setOptions(_res);
15473
+ setSearchValue('');
15474
+ }
15475
+ },
15476
+ optionType: "button",
15477
+ buttonStyle: "solid"
15478
+ })), /*#__PURE__*/React.createElement(Form.Item, {
15479
+ label: "\u95E8\u5E97",
15480
+ name: "store",
15481
+ rules: [{
15482
+ required: true,
15483
+ message: '请选择门店'
15484
+ }]
15485
+ }, /*#__PURE__*/React.createElement(Input, {
15486
+ placeholder: "\u8F93\u5165\u95E8\u5E97\u540D\u79F0",
15487
+ value: searchValue,
15488
+ onChange: function onChange(e) {
15489
+ changeInput(e.target.value);
15490
+ setSearchValue(e.target.value);
15491
+ }
15492
+ }), /*#__PURE__*/React.createElement("div", {
15493
+ style: {
15494
+ height: 220,
15495
+ overflowY: 'scroll'
15496
+ }
15497
+ }, /*#__PURE__*/React.createElement(List, {
15498
+ dataSource: options,
15499
+ bordered: true,
15500
+ renderItem: function renderItem(item, indexNumber) {
15501
+ return /*#__PURE__*/React.createElement(List.Item, {
15502
+ style: indexNumber === index ? {
15503
+ // opacity
15504
+ color: '#0047bb'
15505
+ } : {},
15506
+ onClick: function onClick(current) {
15507
+ // setValue([item]);
15508
+ setStore([item]);
15509
+ setIndex(indexNumber);
15510
+ }
15511
+ }, item.label);
15512
+ }
15513
+ }))))));
15514
+ };
15515
+
15516
+ var css_248z$k = ".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";
15517
+ styleInject(css_248z$k);
15518
+
15519
+ var judgeIsEmpty$2 = function judgeIsEmpty(value) {
15520
+ if (value == null || value == undefined || String(value).trim() == '') {
15521
+ return true;
15522
+ }
15523
+ return false;
15524
+ };
15525
+ var GlobalHeaderCom = function GlobalHeaderCom(props) {
15526
+ var _props$route$routes = props.route.routes,
15527
+ routes = _props$route$routes === void 0 ? [] : _props$route$routes,
15528
+ _props$showSelectStor = props.showSelectStore,
15529
+ showSelectStore = _props$showSelectStor === void 0 ? false : _props$showSelectStor,
15530
+ _props$employeeCode = props.employeeCode,
15531
+ employeeCode = _props$employeeCode === void 0 ? "EMP231011000002" : _props$employeeCode;
15532
+ var _useState = useState(''),
15533
+ _useState2 = _slicedToArray(_useState, 2),
15534
+ keyWord = _useState2[0],
15535
+ setKeyWord = _useState2[1];
15536
+ var _useState3 = useState([]),
15537
+ _useState4 = _slicedToArray(_useState3, 2),
15538
+ routeList = _useState4[0],
15539
+ setroutesData = _useState4[1];
15540
+ var getFullPathName = function getFullPathName(nameId) {
15541
+ var nameIdArr = nameId.split('.');
15542
+ var nameStr = '';
15543
+ for (var i = 0; i < nameIdArr.length; i++) {
15544
+ var itemId = nameIdArr.slice(0, i + 1).join('.');
15545
+ nameStr += "".concat(i === 0 ? '' : '-').concat(formatMessage({
15546
+ id: "menu.".concat(itemId)
15547
+ }));
15548
+ }
15549
+ return nameStr;
15550
+ };
15551
+ var initRoute = function initRoute(router, name) {
15552
+ var resultList = [];
15553
+ var newRouter = cloneDeep$1(router);
15554
+ var btnAuth = JSON.parse(localStorage.getItem(ENUM.BROWSER_CACHE.MAIN_AUTH_CODES) || '[]');
15555
+ var deep = function deep(router) {
15556
+ if (router && Array.isArray(router)) {
15557
+ router.forEach(function (item) {
15558
+ if (item.routes && Array.isArray(item.routes)) {
15559
+ item.routes.forEach(function (d) {
15560
+ if (!d.nameEdit) {
15561
+ d.name = item.name + '.' + d.name;
15562
+ d.nameEdit = true;
15563
+ }
15564
+ });
15565
+ deep(item.routes);
15566
+ } else if (!item.hideInMenu && (name ? formatMessage({
15012
15567
  id: "menu.".concat(item.name)
15013
15568
  }).indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
15014
15569
  return d === item.code;
@@ -15110,13 +15665,15 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
15110
15665
  },
15111
15666
  title: item.fullPathName
15112
15667
  }, renderLineStyl(item.fullPathName));
15113
- }))))), /*#__PURE__*/React.createElement(GlobalHeaderRight, null));
15668
+ }))))), showSelectStore && ( /*#__PURE__*/React.createElement(ChooseStore, {
15669
+ employeeCode: employeeCode
15670
+ })), /*#__PURE__*/React.createElement(GlobalHeaderRight, null));
15114
15671
  };
15115
15672
 
15116
15673
  var addIcon = "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%3E%E7%BC%96%E7%BB%84%2014%401x%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%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-21.000000%2C%20-71.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-15%22%20transform%3D%22translate%2821.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%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-14%22%20transform%3D%22translate%280.000000%2C%201.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%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%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%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%284.000000%2C%204.000000%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%3Cpath%20d%3D%22M8%2C0%20C12.4183529%2C0%2016%2C3.58164706%2016%2C8%20C16%2C12.4183529%2012.4183529%2C16%208%2C16%20C3.58164706%2C16%200%2C12.4183529%200%2C8%20C0%2C3.58164706%203.58164706%2C0%208%2C0%20Z%20M8%2C1.4117647%20C4.36141178%2C1.4117647%201.4117647%2C4.36141175%201.4117647%2C8%20C1.4117647%2C11.6385882%204.36141175%2C14.5882353%208%2C14.5882353%20C11.6385882%2C14.5882353%2014.5882353%2C11.6385882%2014.5882353%2C8%20C14.5882353%2C4.36141175%2011.6385882%2C1.4117647%208%2C1.4117647%20Z%20M8.70588235%2C3.76470589%20L8.70588235%2C7.29411765%20L12.2352941%2C7.29411765%20L12.2352941%2C8.70588235%20L8.70588235%2C8.70588235%20L8.70588235%2C12.2352941%20L7.29411765%2C12.2352941%20L7.29411765%2C8.70541177%20L3.76470589%2C8.70588235%20L3.76470589%2C7.29411765%20L7.29411765%2C7.29364707%20L7.29411765%2C3.76470589%20L8.70588235%2C3.76470589%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%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";
15117
15674
 
15118
- var css_248z$j = ".setting_content > div {\n width: 50%;\n box-sizing: border-box;\n margin: 0 10px;\n}\n.setting_content {\n display: flex;\n}\n.tree_title {\n height: 50px;\n}\n.tree_content {\n height: 400px;\n overflow: auto;\n border: 1px solid #d9d9d9;\n padding: 5px;\n}\n.setting_content::after {\n clear: both;\n display: block;\n content: '';\n}\n.choosed_label_color {\n color: #f50;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n flex-grow: 1;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper .ant-tree-title {\n width: 100%;\n}\n.left_tree_content .ant-tree .ant-tree-treenode {\n width: 100%;\n}\n.right_tree_content .ant-tree .ant-tree-node-content-wrapper,\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n display: flex;\n margin-left: -3px;\n}\n.right_tree_content .ant-tree-checkbox,\n.left_tree_content .ant-tree-checkbox {\n top: auto;\n top: initial;\n}\n.node_title_content:hover .right_arrow {\n display: block !important;\n}\n.right_arrow {\n float: right;\n display: none;\n color: #999999;\n margin-right: 10px;\n}\n.right_tree_content .ant-tree-title {\n width: 100%;\n display: inline-block;\n padding-right: 10px;\n}\n.right_tree_content .ant-dropdown-trigger {\n color: gray !important;\n}\n.right_tree_content .tree_node_title {\n font-size: 20px;\n color: #d9d9d9;\n float: right;\n}\n.right_tree_content .tree_node_title span {\n margin-right: 5px;\n}\n";
15119
- styleInject(css_248z$j);
15675
+ var css_248z$l = ".setting_content > div {\n width: 50%;\n box-sizing: border-box;\n margin: 0 10px;\n}\n.setting_content {\n display: flex;\n}\n.tree_title {\n height: 50px;\n}\n.tree_content {\n height: 400px;\n overflow: auto;\n border: 1px solid #d9d9d9;\n padding: 5px;\n}\n.setting_content::after {\n clear: both;\n display: block;\n content: '';\n}\n.choosed_label_color {\n color: #f50;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n flex-grow: 1;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper .ant-tree-title {\n width: 100%;\n}\n.left_tree_content .ant-tree .ant-tree-treenode {\n width: 100%;\n}\n.right_tree_content .ant-tree .ant-tree-node-content-wrapper,\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n display: flex;\n margin-left: -3px;\n}\n.right_tree_content .ant-tree-checkbox,\n.left_tree_content .ant-tree-checkbox {\n top: auto;\n top: initial;\n}\n.node_title_content:hover .right_arrow {\n display: block !important;\n}\n.right_arrow {\n float: right;\n display: none;\n color: #999999;\n margin-right: 10px;\n}\n.right_tree_content .ant-tree-title {\n width: 100%;\n display: inline-block;\n padding-right: 10px;\n}\n.right_tree_content .ant-dropdown-trigger {\n color: gray !important;\n}\n.right_tree_content .tree_node_title {\n font-size: 20px;\n color: #d9d9d9;\n float: right;\n}\n.right_tree_content .tree_node_title span {\n margin-right: 5px;\n}\n";
15676
+ styleInject(css_248z$l);
15120
15677
 
15121
15678
  var arrowRight = "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%3E%E7%BC%96%E7%BB%84%20186%E5%A4%87%E4%BB%BD%203%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%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-949.000000%2C%20-484.000000%29%22%20fill-rule%3D%22nonzero%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%28534.000000%2C%20180.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%B1%BB%E7%9B%AE%E4%B8%80%E5%A4%87%E4%BB%BD-101%22%20transform%3D%22translate%2831.000000%2C%20298.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-186%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%28384.000000%2C%206.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%22%E7%BC%96%E7%BB%84-132%E5%A4%87%E4%BB%BD-85%22%20opacity%3D%220%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%3Cpath%20d%3D%22M24%2C0%20L24%2C24%20L0%2C24%20L0%2C0%20L24%2C0%20Z%20M23.765625%2C0.234375%20L0.234375%2C0.234375%20L0.234375%2C23.765625%20L23.765625%2C23.765625%20L23.765625%2C0.234375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-235%22%20fill%3D%22%23979797%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%3Cpath%20d%3D%22M21.39%2C2.64%20L21.39%2C21.39%20L2.64%2C21.39%20L2.64%2C2.64%20L21.39%2C2.64%20Z%20M21.155625%2C2.874375%20L2.874375%2C2.874375%20L2.874375%2C21.155625%20L21.155625%2C21.155625%20L21.155625%2C2.874375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-236%22%20fill%3D%22%23979797%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%3Cpath%20d%3D%22M20.22%2C1.56%20L20.22%2C22.56%20L3.72%2C22.56%20L3.72%2C1.56%20L20.22%2C1.56%20Z%20M19.985625%2C1.794375%20L3.954375%2C1.794375%20L3.954375%2C22.325625%20L19.985625%2C22.325625%20L19.985625%2C1.794375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-237%22%20fill%3D%22%23FA6400%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%3Cpath%20d%3D%22M22.56%2C3.72%20L22.56%2C20.22%20L1.56%2C20.22%20L1.56%2C3.72%20L22.56%2C3.72%20Z%20M22.325625%2C3.954375%20L1.794375%2C3.954375%20L1.794375%2C19.985625%20L22.325625%2C19.985625%20L22.325625%2C3.954375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-238%22%20fill%3D%22%2344D7B6%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%3Cpath%20d%3D%22M12.06%2C1.56%20C17.8589899%2C1.56%2022.56%2C6.26101013%2022.56%2C12.06%20C22.56%2C17.8589899%2017.8589899%2C22.56%2012.06%2C22.56%20C6.26101013%2C22.56%201.56%2C17.8589899%201.56%2C12.06%20C1.56%2C6.26101013%206.26101013%2C1.56%2012.06%2C1.56%20Z%20M12.06%2C1.794375%20C6.39045187%2C1.794375%201.794375%2C6.39045187%201.794375%2C12.06%20C1.794375%2C17.7295481%206.39045187%2C22.325625%2012.06%2C22.325625%20C17.7295481%2C22.325625%2022.325625%2C17.7295481%2022.325625%2C12.06%20C22.325625%2C6.39045187%2017.7295481%2C1.794375%2012.06%2C1.794375%20Z%22%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD-59%22%20fill%3D%22%23F7B500%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%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%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%E5%A4%87%E4%BB%BD-43%22%20transform%3D%22translate%281.560000%2C%201.680000%29%22%20fill%3D%22%23999999%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%3Cpath%20d%3D%22M10.44%2C0%20C16.2059506%2C0%2020.88%2C4.67404941%2020.88%2C10.44%20C20.88%2C16.2059506%2016.2059506%2C20.88%2010.44%2C20.88%20C4.67404941%2C20.88%200%2C16.2059506%200%2C10.44%20C0%2C4.67404941%204.67404941%2C0%2010.44%2C0%20Z%20M10.44%2C1.84235294%20C5.69164237%2C1.84235294%201.84235294%2C5.69164234%201.84235294%2C10.44%20C1.84235294%2C15.1883577%205.69164234%2C19.0376471%2010.44%2C19.0376471%20C15.1883577%2C19.0376471%2019.0376471%2C15.1883577%2019.0376471%2C10.44%20C19.0376471%2C5.69164234%2015.1883577%2C1.84235294%2010.44%2C1.84235294%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%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20points%3D%2210.4408066%206.32%2014.3966662%2010.2757133%2010.4408066%2014.2314265%209.2540487%2013.0447125%2011.1949264%2011.1039067%206%2011.1033618%206%209.42518043%2011.1725861%209.42518043%209.25459358%207.50671398%2010.4408066%206.32%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%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";
15122
15679
 
@@ -15745,8 +16302,8 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
15745
16302
  }));
15746
16303
  });
15747
16304
 
15748
- 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";
15749
- styleInject(css_248z$k);
16305
+ 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: 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";
16306
+ styleInject(css_248z$m);
15750
16307
 
15751
16308
  var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
15752
16309
  var isCollapse = _ref.isCollapse,
@@ -15882,8 +16439,8 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
15882
16439
  })));
15883
16440
  });
15884
16441
 
15885
- 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";
15886
- styleInject(css_248z$l);
16442
+ var css_248z$n = ".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";
16443
+ styleInject(css_248z$n);
15887
16444
 
15888
16445
  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=";
15889
16446
 
@@ -16298,10 +16855,10 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
16298
16855
  })));
16299
16856
  };
16300
16857
 
16301
- 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";
16302
- styleInject(css_248z$m);
16858
+ var css_248z$o = ".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";
16859
+ styleInject(css_248z$o);
16303
16860
 
16304
- var _excluded$g = ["route"];
16861
+ var _excluded$h = ["route"];
16305
16862
  var TabPane = Tabs.TabPane;
16306
16863
  var UN_LISTTEN_DRP;
16307
16864
  var routerArray = [];
@@ -16986,7 +17543,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
16986
17543
  if (!istParent) {
16987
17544
  var _window$$wujie2;
16988
17545
  if (route.pathname === '/') return;
16989
- (_window$$wujie2 = window.$wujie) === null || _window$$wujie2 === void 0 ? void 0 : _window$$wujie2.bus.$emit('sub-route-change', itemPath, currentKey);
17546
+ (_window$$wujie2 = window.$wujie) === null || _window$$wujie2 === void 0 ? void 0 : _window$$wujie2.bus.$emit('sub-route-change', itemPath, currentKey, route === null || route === void 0 ? void 0 : route.state);
16990
17547
  // window.parent.postMessage(`/parent/${itemPath}${currentKey}`, '*');
16991
17548
  }
16992
17549
  // 防止出错
@@ -17024,39 +17581,49 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
17024
17581
  newListenRouterKey = [].concat(_toConsumableArray(listenRouterKey), [currentKey]);
17025
17582
  }
17026
17583
  }
17027
- // 处理hideMenu页面自动关闭
17584
+ // -------------------处理页签关闭----------------------------
17028
17585
  lastTwoRouterArray.push(route.pathname);
17029
17586
  lastTwoRouterArray.shift();
17030
- if (!localStorage.getItem('isTabChange') && !localStorage.getItem('isMenuClick')) {
17031
- if (lastTwoRouterArray[0] && typeof lastTwoRouterArray[0] === 'string') {
17032
- var _route$state;
17033
- var needRemoveKeyArray = hideMenuArray.filter(function (itemRoute) {
17034
- return pathToRegexp(itemRoute.path || '').test(lastTwoRouterArray[0]);
17035
- });
17036
- // lastTwoRouterArray[0] != lastTwoRouterArray[1] 该判断条件用于判断是否是tab删除操作,如果是tab页删除操作,删除的是不是最后一个打开的tab页,执行history.push会导致错误的将最后打开的那个tab页也删除掉
17037
- if (needRemoveKeyArray.length && lastTwoRouterArray[0] != lastTwoRouterArray[1] && !((_route$state = route.state) === null || _route$state === void 0 ? void 0 : _route$state.thisHideInMenuDoNotClose)) {
17038
- newListenRouterState = newListenRouterState.filter(function (item) {
17039
- var _ref3 = item.key ? item.key.split('?') : [],
17040
- _ref4 = _slicedToArray(_ref3, 1),
17041
- pathname = _ref4[0];
17042
- return pathname && pathname !== lastTwoRouterArray[0];
17043
- });
17044
- newListenRouterKey = newListenRouterKey.filter(function (item) {
17045
- var _ref5 = item ? item.split('?') : [],
17046
- _ref6 = _slicedToArray(_ref5, 1),
17047
- pathname = _ref6[0];
17048
- return pathname && pathname !== lastTwoRouterArray[0];
17049
- });
17050
- }
17051
- }
17052
- // refs?.tableRef?.current?.refreshTable();
17587
+ var _ref3 = (route === null || route === void 0 ? void 0 : route.state) || {},
17588
+ _ref3$thisHideInMenuD = _ref3.thisHideInMenuDoNotClose,
17589
+ thisHideInMenuDoNotClose = _ref3$thisHideInMenuD === void 0 ? false : _ref3$thisHideInMenuD,
17590
+ _ref3$closePrevPage = _ref3.closePrevPage,
17591
+ closePrevPage = _ref3$closePrevPage === void 0 ? false : _ref3$closePrevPage,
17592
+ _ref3$updateCurrentPa = _ref3.updateCurrentPage;
17593
+ var needRemoveKey = '';
17594
+ // lastTwoRouterArray[0] != lastTwoRouterArray[1] 该判断条件用于判断是否是tab删除操作,如果是tab页删除操作,删除的是不是最后一个打开的tab页,执行history.push会导致错误的将最后打开的那个tab页也删除掉
17595
+ var notSamePageFlag = lastTwoRouterArray[0] != lastTwoRouterArray[1];
17596
+ // 满足包含closePrevPage标识则直接删除上一页
17597
+ if (closePrevPage) {
17598
+ needRemoveKey = lastTwoRouterArray[0] && typeof lastTwoRouterArray[0] === 'string' && notSamePageFlag ? lastTwoRouterArray[0] : '';
17053
17599
  } else {
17054
- setTimeout(function () {
17055
- // 处理页面刷新两面
17056
- localStorage.removeItem('isTabChange');
17057
- localStorage.removeItem('isMenuClick');
17058
- }, 0);
17600
+ // 满足非tabclick或者menuClick的hideInMenu类型菜单自动关闭
17601
+ var shouldClosePrev = !localStorage.getItem('isTabChange') && !localStorage.getItem('isMenuClick');
17602
+ var needRemoveKeyArray = lastTwoRouterArray[0] && typeof lastTwoRouterArray[0] === 'string' && shouldClosePrev ? hideMenuArray.filter(function (itemRoute) {
17603
+ return pathToRegexp(itemRoute.path || '').test(lastTwoRouterArray[0]);
17604
+ }) : [];
17605
+ needRemoveKey = needRemoveKeyArray.length && notSamePageFlag && !thisHideInMenuDoNotClose ? needRemoveKeyArray[0] : '';
17606
+ }
17607
+ if (needRemoveKey) {
17608
+ newListenRouterState = newListenRouterState.filter(function (item) {
17609
+ var _ref4 = item.key ? item.key.split('?') : [],
17610
+ _ref5 = _slicedToArray(_ref4, 1),
17611
+ pathname = _ref5[0];
17612
+ return pathname && pathname !== lastTwoRouterArray[0];
17613
+ });
17614
+ newListenRouterKey = newListenRouterKey.filter(function (item) {
17615
+ var _ref6 = item ? item.split('?') : [],
17616
+ _ref7 = _slicedToArray(_ref6, 1),
17617
+ pathname = _ref7[0];
17618
+ return pathname && pathname !== lastTwoRouterArray[0];
17619
+ });
17059
17620
  }
17621
+ setTimeout(function () {
17622
+ // 处理页面刷新两面
17623
+ localStorage.removeItem('isTabChange');
17624
+ localStorage.removeItem('isMenuClick');
17625
+ }, 0);
17626
+ // -------------------处理页签关闭 end----------------------------
17060
17627
  _this2.setState({
17061
17628
  //路由监听函数最后执行setState,避免处理hideMenu类型页面自动关闭的逻辑块内获取不到最新state的listenRouterState和listenRouterKey
17062
17629
  activeKey: currentKey,
@@ -17104,10 +17671,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
17104
17671
  defaultSettings = _this$props2.defaultSettings,
17105
17672
  _this$props2$transpar = _this$props2.transparentProps,
17106
17673
  transparentProps = _this$props2$transpar === void 0 ? {} : _this$props2$transpar;
17107
- var TabTitle = function TabTitle(_ref7) {
17108
- var item = _ref7.item,
17109
- index = _ref7.index,
17110
- updateState = _ref7.updateState;
17674
+ var TabTitle = function TabTitle(_ref8) {
17675
+ var item = _ref8.item,
17676
+ index = _ref8.index,
17677
+ updateState = _ref8.updateState;
17111
17678
  return /*#__PURE__*/React.createElement("div", {
17112
17679
  className: "tab_title_content"
17113
17680
  }, item.tab, item.key !== '/' && ( /*#__PURE__*/React.createElement(ItemMenu, {
@@ -17122,7 +17689,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
17122
17689
  }); // 添加数据大屏
17123
17690
  var _this$props3 = this.props,
17124
17691
  route = _this$props3.route,
17125
- restPrpos = _objectWithoutProperties(_this$props3, _excluded$g);
17692
+ restPrpos = _objectWithoutProperties(_this$props3, _excluded$h);
17126
17693
  var exist = route.routes.find(function (route) {
17127
17694
  return route.path === '/homePage/data-show';
17128
17695
  });
@@ -17277,8 +17844,8 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
17277
17844
  onMenuHeaderClick: function onMenuHeaderClick() {
17278
17845
  return history.push('/');
17279
17846
  },
17280
- menuHeaderRender: function menuHeaderRender(_ref8) {
17281
- _objectDestructuringEmpty(_ref8);
17847
+ menuHeaderRender: function menuHeaderRender(_ref9) {
17848
+ _objectDestructuringEmpty(_ref9);
17282
17849
  return /*#__PURE__*/React.createElement(CustomerMenuHeader, {
17283
17850
  originRoutes: originRoutes,
17284
17851
  itemPath: itemPath,
@@ -17681,8 +18248,8 @@ var headersToRows = function headersToRows(originColumns) {
17681
18248
  };
17682
18249
  };
17683
18250
 
17684
- var css_248z$n = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
17685
- styleInject(css_248z$n);
18251
+ var css_248z$p = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
18252
+ styleInject(css_248z$p);
17686
18253
 
17687
18254
  var useSticky = function useSticky(sticky) {
17688
18255
  var _ref = _typeof(sticky) === 'object' ? sticky : {},
@@ -18094,10 +18661,10 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
18094
18661
  }))))));
18095
18662
  });
18096
18663
 
18097
- var _excluded$h = ["children"];
18664
+ var _excluded$i = ["children"];
18098
18665
  var Drawer = (function (props) {
18099
18666
  var children = props.children,
18100
- restProps = _objectWithoutProperties(props, _excluded$h);
18667
+ restProps = _objectWithoutProperties(props, _excluded$i);
18101
18668
  return /*#__PURE__*/React.createElement(Drawer$1, _objectSpread2({
18102
18669
  mask: true,
18103
18670
  closable: false,
@@ -23919,8 +24486,8 @@ var nameRender = (function (data) {
23919
24486
  }, " ");
23920
24487
  });
23921
24488
 
23922
- var css_248z$o = ".si-tree {\n font-size: 14px;\n}\n.si-tree-node-block {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.si-tree-node-block:hover {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-block-actived {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-switcher {\n margin-right: 2px;\n}\n.si-tree-node-icon {\n margin-right: 4px;\n display: flex;\n}\n.tree-compact {\n margin-left: 4px;\n font-size: 13px;\n font-style: italic;\n color: #49aa19;\n}\n";
23923
- styleInject(css_248z$o);
24489
+ var css_248z$q = ".si-tree {\n font-size: 14px;\n}\n.si-tree-node-block {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.si-tree-node-block:hover {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-block-actived {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-switcher {\n margin-right: 2px;\n}\n.si-tree-node-icon {\n margin-right: 4px;\n display: flex;\n}\n.tree-compact {\n margin-left: 4px;\n font-size: 13px;\n font-style: italic;\n color: #49aa19;\n}\n";
24490
+ styleInject(css_248z$q);
23924
24491
 
23925
24492
  function parseData(data) {
23926
24493
  var res;
@@ -24131,8 +24698,8 @@ function registerSuggestions(monaco) {
24131
24698
  });
24132
24699
  }
24133
24700
 
24134
- 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";
24135
- styleInject(css_248z$p);
24701
+ var css_248z$r = ":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";
24702
+ styleInject(css_248z$r);
24136
24703
 
24137
24704
  var Title = Typography.Title;
24138
24705
  var STRTEMP = 'const config = ';
@@ -24326,7 +24893,7 @@ var Editor = (function (props) {
24326
24893
  }, [shallowHeight]);
24327
24894
  var hasConfigTree = type !== 'editor';
24328
24895
  return /*#__PURE__*/React.createElement("div", {
24329
- className: isFull ? css_248z$p.editorWrapper : ''
24896
+ className: isFull ? css_248z$r.editorWrapper : ''
24330
24897
  }, /*#__PURE__*/React.createElement("div", {
24331
24898
  style: {
24332
24899
  overflow: 'hidden'
@@ -24394,7 +24961,7 @@ var Editor = (function (props) {
24394
24961
  })), hasConfigTree && /*#__PURE__*/React.createElement(Col, {
24395
24962
  span: 8
24396
24963
  }, /*#__PURE__*/React.createElement("div", {
24397
- className: css_248z$p.title
24964
+ className: css_248z$r.title
24398
24965
  }, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React.createElement(ConfigTree, {
24399
24966
  style: {
24400
24967
  height: 'calc(100vh - 300px)',
@@ -24532,7 +25099,7 @@ var App = function App(_ref) {
24532
25099
  fieldList = _useState6[0],
24533
25100
  UpdateFiedList = _useState6[1];
24534
25101
  useEffect(function () {
24535
- request$1({
25102
+ request$2({
24536
25103
  url: '/basic/flow/businessField/listNoPage',
24537
25104
  params: {
24538
25105
  'qp-businessType-eq': record.businessType,
@@ -25144,7 +25711,7 @@ var getDynamicDict = /*#__PURE__*/function () {
25144
25711
  while (1) switch (_context.prev = _context.next) {
25145
25712
  case 0:
25146
25713
  _context.next = 2;
25147
- return request$1({
25714
+ return request$2({
25148
25715
  url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
25149
25716
  converter: function converter(_ref2) {
25150
25717
  var data = _ref2.data;
@@ -25372,7 +25939,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
25372
25939
  form = _ref4.form;
25373
25940
  if (values[0]) {
25374
25941
  form === null || form === void 0 ? void 0 : form.setFieldValue(name, undefined);
25375
- request$1({
25942
+ request$2({
25376
25943
  url: "/basic/businessVariable/dict/".concat(values[0]),
25377
25944
  converter: function converter(_ref5) {
25378
25945
  var _data$defaultValue, _data$defaultValue4;
@@ -25817,7 +26384,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
25817
26384
  break;
25818
26385
  }
25819
26386
  _context3.next = 5;
25820
- return request$1({
26387
+ return request$2({
25821
26388
  url: '/basic/dictDynamicItem/queryList',
25822
26389
  converter: function converter(_ref11) {
25823
26390
  var data = _ref11.data;
@@ -26063,7 +26630,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
26063
26630
  _context4.next = 18;
26064
26631
  break;
26065
26632
  }
26066
- request$1({
26633
+ request$2({
26067
26634
  url: "/basic/flow/businessField",
26068
26635
  method: 'POST',
26069
26636
  params: res,
@@ -26074,7 +26641,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
26074
26641
  });
26075
26642
  return _context4.abrupt("return");
26076
26643
  case 18:
26077
- request$1({
26644
+ request$2({
26078
26645
  url: "/basic/flow/businessField/".concat(record.id),
26079
26646
  method: 'PATCH',
26080
26647
  params: res,
@@ -26277,8 +26844,8 @@ var FieldsSettingsTable = (function (props) {
26277
26844
  })), fieldsModify.visible && /*#__PURE__*/React.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
26278
26845
  });
26279
26846
 
26280
- var css_248z$q = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
26281
- styleInject(css_248z$q);
26847
+ var css_248z$s = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
26848
+ styleInject(css_248z$s);
26282
26849
 
26283
26850
  function iterFileds(fields) {
26284
26851
  var filedsValue = [];
@@ -26344,7 +26911,7 @@ function convertFileds(fields, falltValue, faltFieldRange, containerName) {
26344
26911
  if (item.dependency) {
26345
26912
  targetValue.dependency = {
26346
26913
  visible: _objectSpread2(_objectSpread2({}, item.dependency.visible), {}, {
26347
- type: new Function('axios', 'ctx', item.dependency.visible.type).bind(null, axios)
26914
+ type: new Function('request', 'ctx', item.dependency.visible.type).bind(null, requestUtil)
26348
26915
  })
26349
26916
  };
26350
26917
  }
@@ -26559,12 +27126,13 @@ var JsonQueryTable = /*#__PURE__*/React.memo(function (props) {
26559
27126
  tableJsonEditorValsArr = _useState16[0],
26560
27127
  setTableJsonEditorValsArr = _useState16[1];
26561
27128
  useEffect(function () {
26562
- Promise.all([axios.get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(pageType))]).then(function (_ref2) {
27129
+ Promise.all([requestUtil.get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(pageType))]).then(function (_ref2) {
26563
27130
  var _ref3 = _slicedToArray(_ref2, 1),
26564
27131
  res = _ref3[0];
26565
- var resD = (res === null || res === void 0 ? void 0 : res.data) || {};
26566
- var data = resD.data;
26567
- if (judgeIsRequestSuccess(resD)) {
27132
+ var _ref4 = (res === null || res === void 0 ? void 0 : res.data) || {},
27133
+ code = _ref4.code,
27134
+ data = _ref4.data;
27135
+ if (code === '000000') {
26568
27136
  if (data) {
26569
27137
  var businessType = data.businessType,
26570
27138
  fieldGroup = data.code,
@@ -26583,17 +27151,17 @@ var JsonQueryTable = /*#__PURE__*/React.memo(function (props) {
26583
27151
  useEffect(function () {
26584
27152
  //明细表的配置数据
26585
27153
  var axiosArr = detailTablesSetting.map(function (item) {
26586
- return axios.get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(item.tableCode));
27154
+ return requestUtil.get("/basic/flow/businessFieldGroup/one?moduleType=2&layoutPoint=".concat(item.tableCode));
26587
27155
  });
26588
- Promise.all(axiosArr).then(function (_ref4) {
26589
- var _ref5 = _toArray(_ref4),
26590
- resArr = _ref5.slice(0);
27156
+ Promise.all(axiosArr).then(function (_ref5) {
27157
+ var _ref6 = _toArray(_ref5),
27158
+ resArr = _ref6.slice(0);
26591
27159
  var configParams = {};
26592
27160
  detailTablesSetting.map(function (item, index) {
26593
27161
  var _resArr$index;
26594
- var _ref6 = ((_resArr$index = resArr[index]) === null || _resArr$index === void 0 ? void 0 : _resArr$index.data) || {},
26595
- code = _ref6.code,
26596
- data = _ref6.data;
27162
+ var _ref7 = ((_resArr$index = resArr[index]) === null || _resArr$index === void 0 ? void 0 : _resArr$index.data) || {},
27163
+ code = _ref7.code,
27164
+ data = _ref7.data;
26597
27165
  if (data) {
26598
27166
  var businessType = data.businessType,
26599
27167
  fieldGroup = data.code,
@@ -26913,7 +27481,7 @@ var BsCascader = function BsCascader(_ref) {
26913
27481
  useEffect(function () {
26914
27482
  if (value && onlyCode) {
26915
27483
  if (value === null || value === void 0 ? void 0 : value.length) {
26916
- request$1({
27484
+ request$2({
26917
27485
  url: "/basic/bscArea/getBscAreaList?qp-code-in=".concat(value),
26918
27486
  method: 'get'
26919
27487
  }).then(function (res) {
@@ -26951,7 +27519,7 @@ var BsCascader = function BsCascader(_ref) {
26951
27519
  var loadData = function loadData(selectedOptions) {
26952
27520
  var targetOption = selectedOptions[selectedOptions.length - 1];
26953
27521
  targetOption.loading = true;
26954
- request$1({
27522
+ request$2({
26955
27523
  url: "/basic/bscArea/getBscAreaList?qp-pid-eq=".concat(targetOption.id),
26956
27524
  method: 'get',
26957
27525
  converter: function converter(_ref3) {
@@ -27009,8 +27577,8 @@ var BsCascader = function BsCascader(_ref) {
27009
27577
  });
27010
27578
  };
27011
27579
 
27012
- var css_248z$r = ".base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n min-height: 80px;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n height: 40px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link {\n color: #008fe0;\n font-weight: bold;\n border: 0px !important;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link:hover,\n.base_rule .base_rule_line_title :global .ant-btn-link:focus {\n color: #008fe0;\n background-color: transparent;\n border: 0px;\n border-color: #008fe0;\n}\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):hover,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):active,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):focus {\n color: #008fe0;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 15px;\n overflow-x: auto;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 1200px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n align-items: center;\n justify-content: space-around;\n margin-top: -20px;\n padding-left: 20px;\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute !important;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex !important;\n align-items: center;\n width: 50px;\n height: 30px !important;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px !important;\n color: #008fe0 !important;\n line-height: 30px !important;\n text-align: center !important;\n background-color: #ffffff !important;\n cursor: pointer !important;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n.action_list_item {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n padding: 10px;\n border: 1px solid #e1e1f0;\n border-radius: 2px;\n cursor: pointer;\n}\n:global .ant-popover-inner-content {\n padding: 0px;\n}\n";
27013
- styleInject(css_248z$r);
27580
+ var css_248z$t = ".base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n min-height: 80px;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n height: 40px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link {\n color: #008fe0;\n font-weight: bold;\n border: 0px !important;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link:hover,\n.base_rule .base_rule_line_title :global .ant-btn-link:focus {\n color: #008fe0;\n background-color: transparent;\n border: 0px;\n border-color: #008fe0;\n}\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):hover,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):active,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):focus {\n color: #008fe0;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 15px;\n overflow-x: auto;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 1200px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n align-items: center;\n justify-content: space-around;\n margin-top: -20px;\n padding-left: 20px;\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute !important;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex !important;\n align-items: center;\n width: 50px;\n height: 30px !important;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px !important;\n color: #008fe0 !important;\n line-height: 30px !important;\n text-align: center !important;\n background-color: #ffffff !important;\n cursor: pointer !important;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n.action_list_item {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n padding: 10px;\n border: 1px solid #e1e1f0;\n border-radius: 2px;\n cursor: pointer;\n}\n:global .ant-popover-inner-content {\n padding: 0px;\n}\n";
27581
+ styleInject(css_248z$t);
27014
27582
 
27015
27583
  // 查询规则对象属性thresholdList
27016
27584
  function getRegularThresholdRange(_x) {
@@ -27021,7 +27589,7 @@ function _getRegularThresholdRange() {
27021
27589
  return _regeneratorRuntime().wrap(function _callee$(_context) {
27022
27590
  while (1) switch (_context.prev = _context.next) {
27023
27591
  case 0:
27024
- return _context.abrupt("return", axios({
27592
+ return _context.abrupt("return", requestUtil({
27025
27593
  url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
27026
27594
  method: 'POST',
27027
27595
  data: _objectSpread2(_objectSpread2({}, params), {}, {
@@ -27232,7 +27800,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
27232
27800
  } else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
27233
27801
  extraRequestUrl = "/basic/".concat(extraRequestUrl);
27234
27802
  }
27235
- request$1({
27803
+ request$2({
27236
27804
  url: extraRequestUrl,
27237
27805
  method: 'get',
27238
27806
  converter: function converter(res) {
@@ -28117,7 +28685,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
28117
28685
  while (1) switch (_context2.prev = _context2.next) {
28118
28686
  case 0:
28119
28687
  _context2.next = 2;
28120
- return request$1({
28688
+ return request$2({
28121
28689
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
28122
28690
  method: 'get',
28123
28691
  converter: function converter(_ref3) {
@@ -28166,7 +28734,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
28166
28734
  while (1) switch (_context3.prev = _context3.next) {
28167
28735
  case 0:
28168
28736
  _context3.next = 2;
28169
- return request$1({
28737
+ return request$2({
28170
28738
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
28171
28739
  method: 'get',
28172
28740
  converter: function converter(_ref5) {
@@ -28217,7 +28785,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
28217
28785
  while (1) switch (_context4.prev = _context4.next) {
28218
28786
  case 0:
28219
28787
  _context4.next = 2;
28220
- return request$1({
28788
+ return request$2({
28221
28789
  url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
28222
28790
  method: 'get',
28223
28791
  converter: function converter(_ref7) {
@@ -29555,7 +30123,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
29555
30123
  style: {
29556
30124
  marginLeft: '10px'
29557
30125
  },
29558
- className: css_248z$r.rule_field_style
30126
+ className: css_248z$t.rule_field_style
29559
30127
  }, this.renderConditionField());
29560
30128
  }
29561
30129
  }]);
@@ -29997,7 +30565,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
29997
30565
  disabled = _this$props.disabled;
29998
30566
  return /*#__PURE__*/React.createElement("div", null, ruleTypeData.map(function (i) {
29999
30567
  return /*#__PURE__*/React.createElement("div", {
30000
- className: css_248z$r.action_list_item
30568
+ className: css_248z$t.action_list_item
30001
30569
  }, /*#__PURE__*/React.createElement("div", {
30002
30570
  onClick: function onClick() {
30003
30571
  return handleOperatingAction(i.code, 'view');
@@ -30021,55 +30589,533 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
30021
30589
  return RuleField;
30022
30590
  }(Component);
30023
30591
 
30024
- var InnerSelect = (function (props) {
30025
- var disabled = props.disabled,
30026
- inputType = props.inputType,
30027
- defaultValue = props.defaultValue,
30028
- styleCommon = props.styleCommon,
30029
- value = props.value,
30030
- _onChange = props.onChange,
30031
- dictionaryCode = props.dictionaryCode;
30032
- var _useState = useState(getDictionarySource(dictionaryCode !== null && dictionaryCode !== void 0 ? dictionaryCode : '') || []),
30592
+ var RangePicker$1 = DatePicker.RangePicker;
30593
+ function RenderCompItem(props) {
30594
+ var _showValue;
30595
+ var regularDataList = props.regularDataList,
30596
+ ites = props.ites,
30597
+ showValue = props.showValue,
30598
+ handleEdit = props.handleEdit,
30599
+ disabled = props.disabled;
30600
+ var fieldListGroup = regularDataList.map(function (item) {
30601
+ var Item = {
30602
+ id: item.id,
30603
+ code: item.code,
30604
+ name: item.name,
30605
+ value: item.code
30606
+ };
30607
+ if (item.propertyList) {
30608
+ // @ts-ignore
30609
+ Item.propertyList = item.propertyList.map(function (field) {
30610
+ return {
30611
+ id: field.id,
30612
+ code: field.code,
30613
+ name: field.name,
30614
+ value: "".concat(item.code, ".").concat(field.code),
30615
+ valueText: "".concat(item.name, ".").concat(field.name)
30616
+ };
30617
+ });
30618
+ }
30619
+ return Item;
30620
+ });
30621
+ console.log((ites === null || ites === void 0 ? void 0 : ites.dictionaryCode) && !getDictionarySource(ites.dictionaryCode));
30622
+ var _useState = useState(getDictionarySource(ites.dictionaryCode) || []),
30033
30623
  _useState2 = _slicedToArray(_useState, 2),
30034
- dataSource = _useState2[0],
30035
- setDataSource = _useState2[1];
30036
- useEffect(function () {
30037
- if (!!dictionaryCode && !getDictionarySource(dictionaryCode)) {
30038
- request$1({
30039
- url: "/basic/bscDictItem/allItemList?qp-code-eq=".concat(dictionaryCode),
30040
- method: 'get',
30041
- converter: function converter(_ref) {
30042
- var _data$map;
30043
- var data = _ref.data;
30044
- var dataList = (data === null || data === void 0 ? void 0 : (_data$map = data.map) === null || _data$map === void 0 ? void 0 : _data$map.call(data, function (item) {
30045
- return {
30046
- label: item.dictItemName,
30047
- value: item.dictItemCode
30048
- };
30049
- })) || [];
30050
- setDataSource(dataList);
30051
- return dataList;
30624
+ dictData = _useState2[0],
30625
+ setDictData = _useState2[1];
30626
+ var getDictData = /*#__PURE__*/function () {
30627
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30628
+ var _data$map;
30629
+ var data;
30630
+ return _regeneratorRuntime().wrap(function _callee$(_context) {
30631
+ while (1) switch (_context.prev = _context.next) {
30632
+ case 0:
30633
+ _context.next = 2;
30634
+ return request$2({
30635
+ url: "/basic/bscDictItem/allItemList?qp-code-eq=".concat(ites.dictionaryCode)
30636
+ });
30637
+ case 2:
30638
+ data = _context.sent;
30639
+ setDictData(data === null || data === void 0 ? void 0 : (_data$map = data.map) === null || _data$map === void 0 ? void 0 : _data$map.call(data, function (item) {
30640
+ return {
30641
+ text: item.dictItemName,
30642
+ value: item.dictItemCode
30643
+ };
30644
+ }));
30645
+ case 4:
30646
+ case "end":
30647
+ return _context.stop();
30052
30648
  }
30053
- });
30649
+ }, _callee);
30650
+ }));
30651
+ return function getDictData() {
30652
+ return _ref.apply(this, arguments);
30653
+ };
30654
+ }();
30655
+ useEffect(function () {
30656
+ if ((ites === null || ites === void 0 ? void 0 : ites.dictionaryCode) && !getDictionarySource(ites.dictionaryCode)) {
30657
+ getDictData();
30658
+ }
30659
+ }, []);
30660
+ if (!ites) return;
30661
+ var styleCommon = _objectSpread2({
30662
+ width: '200px'
30663
+ }, (ites === null || ites === void 0 ? void 0 : ites.rightText) ? {
30664
+ marginLeft: 10
30665
+ } : {});
30666
+ var style2 = {
30667
+ width: '100px'
30668
+ };
30669
+ return /*#__PURE__*/React.createElement(React.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && ( /*#__PURE__*/React.createElement(Input, {
30670
+ disabled: disabled,
30671
+ allowClear: true,
30672
+ onClear: function onClear() {
30673
+ return handleEdit(ites.code, undefined);
30674
+ },
30675
+ defaultValue: showValue(ites.code, 'input'),
30676
+ style: styleCommon,
30677
+ onBlur: function onBlur(e) {
30678
+ handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
30679
+ }
30680
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && ( /*#__PURE__*/React.createElement(InputNumber, {
30681
+ disabled: disabled,
30682
+ max: Number.MAX_SAFE_INTEGER,
30683
+ min: (ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 ? 0 : Number.MIN_SAFE_INTEGER,
30684
+ precision: (ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 ? 0 : 2,
30685
+ defaultValue: ites.defaultValue,
30686
+ style: style2,
30687
+ value: showValue(ites.code),
30688
+ onChange: function onChange(value) {
30689
+ handleEdit(ites.code, value);
30690
+ }
30691
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 && ( /*#__PURE__*/React.createElement(DatePicker, {
30692
+ disabled: disabled,
30693
+ defaultValue: ites.defaultValue,
30694
+ style: style2,
30695
+ value: showValue(ites.code),
30696
+ onChange: function onChange(value) {
30697
+ handleEdit(ites.code, value);
30698
+ }
30699
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && ( /*#__PURE__*/React.createElement(RangePicker$1, {
30700
+ showTime: true,
30701
+ disabled: disabled,
30702
+ defaultValue: ites.defaultValue,
30703
+ style: style2,
30704
+ value: showValue(ites.code),
30705
+ onChange: function onChange(value) {
30706
+ handleEdit(ites.code, value);
30707
+ }
30708
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && ( /*#__PURE__*/React.createElement(Switch, {
30709
+ disabled: disabled,
30710
+ defaultChecked: !!ites.defaultValue,
30711
+ style: style2,
30712
+ checked: showValue(ites.code),
30713
+ onChange: function onChange(value) {
30714
+ handleEdit(ites.code, value);
30054
30715
  }
30055
- }, [dictionaryCode]);
30056
- return /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
30716
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && ( /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
30717
+ disabled: disabled,
30718
+ allowClear: true,
30719
+ showArrow: true
30720
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30721
+ mode: 'multiple'
30722
+ } : {}), {}, {
30723
+ defaultValue: ites.defaultValue,
30724
+ style: styleCommon,
30725
+ value: showValue(ites.code),
30726
+ onChange: function onChange(value) {
30727
+ handleEdit(ites.code, value);
30728
+ }
30729
+ }), Object.keys(ites.enumeration).map(function (it) {
30730
+ return /*#__PURE__*/React.createElement(Select.Option, {
30731
+ key: it,
30732
+ value: it
30733
+ }, ites.enumeration[it]);
30734
+ }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && ( /*#__PURE__*/React.createElement(Select, _objectSpread2(_objectSpread2({
30057
30735
  disabled: disabled
30058
- }, inputType === 30 ? {
30736
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30059
30737
  mode: 'multiple'
30060
30738
  } : {}), {}, {
30061
- defaultValue: defaultValue,
30739
+ defaultValue: ites.defaultValue,
30062
30740
  style: styleCommon,
30063
- value: value === null || value === void 0 ? void 0 : value.split(','),
30064
- onChange: function onChange(changeValue) {
30065
- _onChange(changeValue);
30066
- // handleEdit(ites.code, value);
30741
+ value: (_showValue = showValue(ites.code)) === null || _showValue === void 0 ? void 0 : _showValue.split(','),
30742
+ onChange: function onChange(value) {
30743
+ handleEdit(ites.code, value);
30067
30744
  },
30068
- options: dataSource
30069
- }));
30070
- });
30745
+ showSearch: true,
30746
+ optionFilterProp: "children",
30747
+ filterOption: function filterOption(input, option) {
30748
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
30749
+ }
30750
+ }), dictData === null || dictData === void 0 ? void 0 : dictData.map(function (it) {
30751
+ return /*#__PURE__*/React.createElement(Select.Option, {
30752
+ key: it.value,
30753
+ value: it.value
30754
+ }, it.text);
30755
+ }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30756
+ selectBusinessType: "physicalWarehouse",
30757
+ selectProps: _objectSpread2({
30758
+ style: styleCommon,
30759
+ placeholder: '请选择物理仓'
30760
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30761
+ mode: 'multiple',
30762
+ maxTagCount: 1
30763
+ } : {}),
30764
+ disabled: disabled,
30765
+ labelInValue: true,
30766
+ value: showValue(ites.code),
30767
+ requestConfig: {
30768
+ mappingValueField: 'physicalWarehouseCode',
30769
+ filterInit: 'qp-physicalWarehouseCode-in'
30770
+ },
30771
+ onChange: function onChange(value) {
30772
+ handleEdit(ites.code, value);
30773
+ },
30774
+ getPopupContainer: function getPopupContainer() {
30775
+ return document.body;
30776
+ }
30777
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30778
+ selectBusinessType: "realWarehouse",
30779
+ selectProps: _objectSpread2({
30780
+ style: styleCommon,
30781
+ placeholder: '请选择逻辑仓'
30782
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30783
+ mode: 'multiple',
30784
+ maxTagCount: 1
30785
+ } : {}),
30786
+ disabled: disabled,
30787
+ labelInValue: true,
30788
+ value: showValue(ites.code),
30789
+ requestConfig: {
30790
+ mappingValueField: 'realWarehouseCode',
30791
+ filterInit: 'qp-realWarehouseCode-in'
30792
+ },
30793
+ onChange: function onChange(value) {
30794
+ handleEdit(ites.code, value);
30795
+ },
30796
+ getPopupContainer: function getPopupContainer() {
30797
+ return document.body;
30798
+ }
30799
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30800
+ selectBusinessType: "virtualWarehouse",
30801
+ selectProps: _objectSpread2({
30802
+ style: styleCommon,
30803
+ placeholder: '请选择虚拟仓'
30804
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30805
+ mode: 'multiple',
30806
+ maxTagCount: 1
30807
+ } : {}),
30808
+ disabled: disabled,
30809
+ labelInValue: true,
30810
+ value: showValue(ites.code),
30811
+ requestConfig: {
30812
+ mappingValueField: 'virtualWarehouseCode',
30813
+ filterInit: 'qp-virtualWarehouseCode-in'
30814
+ },
30815
+ onChange: function onChange(value) {
30816
+ handleEdit(ites.code, value);
30817
+ },
30818
+ getPopupContainer: function getPopupContainer() {
30819
+ return document.body;
30820
+ }
30821
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30822
+ selectBusinessType: "channelWarehouse",
30823
+ selectProps: _objectSpread2({
30824
+ style: styleCommon,
30825
+ placeholder: '请选择渠道仓'
30826
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30827
+ mode: 'multiple',
30828
+ maxTagCount: 1
30829
+ } : {}),
30830
+ disabled: disabled,
30831
+ labelInValue: true,
30832
+ value: showValue(ites.code),
30833
+ requestConfig: {
30834
+ mappingValueField: 'channelWarehouseCode',
30835
+ filterInit: 'qp-channelWarehouseCode-in'
30836
+ },
30837
+ onChange: function onChange(value) {
30838
+ handleEdit(ites.code, value);
30839
+ },
30840
+ getPopupContainer: function getPopupContainer() {
30841
+ return document.body;
30842
+ }
30843
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30844
+ selectBusinessType: "spuCommodity",
30845
+ selectProps: _objectSpread2({
30846
+ style: styleCommon,
30847
+ placeholder: '请选择SPU'
30848
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30849
+ mode: 'multiple',
30850
+ maxTagCount: 1
30851
+ } : {}),
30852
+ disabled: disabled,
30853
+ labelInValue: true,
30854
+ value: showValue(ites.code),
30855
+ requestConfig: {
30856
+ filterInit: 'qp-itemCode-in'
30857
+ },
30858
+ onChange: function onChange(value) {
30859
+ handleEdit(ites.code, value);
30860
+ },
30861
+ getPopupContainer: function getPopupContainer() {
30862
+ return document.body;
30863
+ }
30864
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30865
+ selectBusinessType: "skuCommodity",
30866
+ selectProps: _objectSpread2({
30867
+ style: styleCommon,
30868
+ placeholder: '请选择商品'
30869
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30870
+ mode: 'multiple',
30871
+ maxTagCount: 1
30872
+ } : {}),
30873
+ disabled: disabled,
30874
+ labelInValue: true,
30875
+ value: showValue(ites.code),
30876
+ requestConfig: {
30877
+ filterInit: 'qp-skuCode-in'
30878
+ },
30879
+ onChange: function onChange(value) {
30880
+ handleEdit(ites.code, value);
30881
+ },
30882
+ getPopupContainer: function getPopupContainer() {
30883
+ return document.body;
30884
+ }
30885
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && ( /*#__PURE__*/React.createElement(BsCascader, {
30886
+ disabled: disabled,
30887
+ isAll: true,
30888
+ needNameAndCode: true,
30889
+ notChangeOnSelect: true,
30890
+ initRequestSource: function () {
30891
+ var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
30892
+ return _regeneratorRuntime().wrap(function _callee2$(_context2) {
30893
+ while (1) switch (_context2.prev = _context2.next) {
30894
+ case 0:
30895
+ _context2.next = 2;
30896
+ return request$2({
30897
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
30898
+ method: 'get',
30899
+ converter: function converter(_ref2) {
30900
+ var data = _ref2.data;
30901
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115629
30902
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
30903
+ return {
30904
+ text: item.name,
30905
+ value: item.id,
30906
+ level: item.level,
30907
+ id: item.id
30908
+ };
30909
+ }) : [];
30910
+ return handleData;
30911
+ }
30912
+ });
30913
+ case 2:
30914
+ return _context2.abrupt("return", _context2.sent);
30915
+ case 3:
30916
+ case "end":
30917
+ return _context2.stop();
30918
+ }
30919
+ }, _callee2);
30920
+ }));
30921
+ function initRequestSource() {
30922
+ return _initRequestSource.apply(this, arguments);
30923
+ }
30924
+ return initRequestSource;
30925
+ }(),
30926
+ value: showValue(ites.code),
30927
+ onChange: function onChange(value) {
30928
+ handleEdit(ites.code, value);
30929
+ },
30930
+ getPopupContainer: function getPopupContainer() {
30931
+ return document.body;
30932
+ }
30933
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && ( /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
30934
+ disabled: disabled,
30935
+ treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
30936
+ businessType: "department",
30937
+ labelInValue: true,
30938
+ value: showValue(ites.code),
30939
+ style: styleCommon,
30940
+ onChange: function onChange(value) {
30941
+ handleEdit(ites.code, value);
30942
+ },
30943
+ getPopupContainer: function getPopupContainer() {
30944
+ return document.body;
30945
+ }
30946
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && ( /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
30947
+ disabled: disabled,
30948
+ treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
30949
+ businessType: "purchase-organization",
30950
+ labelInValue: true,
30951
+ value: showValue(ites.code),
30952
+ style: styleCommon,
30953
+ onChange: function onChange(value) {
30954
+ handleEdit(ites.code, value);
30955
+ },
30956
+ getPopupContainer: function getPopupContainer() {
30957
+ return document.body;
30958
+ }
30959
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && ( /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
30960
+ disabled: disabled,
30961
+ treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
30962
+ businessType: "sales-organization",
30963
+ labelInValue: true,
30964
+ value: showValue(ites.code),
30965
+ style: styleCommon,
30966
+ onChange: function onChange(value) {
30967
+ handleEdit(ites.code, value);
30968
+ },
30969
+ getPopupContainer: function getPopupContainer() {
30970
+ return document.body;
30971
+ }
30972
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30973
+ selectBusinessType: "supplier2",
30974
+ selectProps: _objectSpread2({
30975
+ style: styleCommon,
30976
+ placeholder: '请选择供应商'
30977
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30978
+ mode: 'multiple',
30979
+ maxTagCount: 1
30980
+ } : {}),
30981
+ disabled: disabled,
30982
+ labelInValue: true,
30983
+ value: showValue(ites.code),
30984
+ requestConfig: {
30985
+ filterInit: 'qp-code-in'
30986
+ },
30987
+ onChange: function onChange(value) {
30988
+ handleEdit(ites.code, value);
30989
+ },
30990
+ getPopupContainer: function getPopupContainer() {
30991
+ return document.body;
30992
+ }
30993
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30994
+ selectBusinessType: "customer2",
30995
+ selectProps: _objectSpread2({
30996
+ style: styleCommon,
30997
+ placeholder: '请选择客户'
30998
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30999
+ mode: 'multiple',
31000
+ maxTagCount: 1
31001
+ } : {}),
31002
+ disabled: disabled,
31003
+ labelInValue: true,
31004
+ value: showValue(ites.code),
31005
+ requestConfig: {
31006
+ filterInit: 'qp-code-in'
31007
+ },
31008
+ onChange: function onChange(value) {
31009
+ handleEdit(ites.code, value);
31010
+ },
31011
+ getPopupContainer: function getPopupContainer() {
31012
+ return document.body;
31013
+ }
31014
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31015
+ selectBusinessType: "shopFile2",
31016
+ selectProps: _objectSpread2({
31017
+ style: styleCommon,
31018
+ placeholder: '请选择店铺'
31019
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31020
+ mode: 'multiple',
31021
+ maxTagCount: 1
31022
+ } : {}),
31023
+ disabled: disabled,
31024
+ labelInValue: true,
31025
+ value: showValue(ites.code),
31026
+ requestConfig: {
31027
+ filterInit: 'qp-code-in'
31028
+ },
31029
+ onChange: function onChange(value) {
31030
+ handleEdit(ites.code, value);
31031
+ },
31032
+ getPopupContainer: function getPopupContainer() {
31033
+ return document.body;
31034
+ }
31035
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31036
+ selectBusinessType: "employee2",
31037
+ selectProps: _objectSpread2({
31038
+ style: styleCommon,
31039
+ placeholder: '请选择员工'
31040
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31041
+ mode: 'multiple',
31042
+ maxTagCount: 1
31043
+ } : {}),
31044
+ disabled: disabled,
31045
+ labelInValue: true,
31046
+ value: showValue(ites.code),
31047
+ requestConfig: {
31048
+ filterInit: 'qp-id-in'
31049
+ },
31050
+ onChange: function onChange(value) {
31051
+ handleEdit(ites.code, value);
31052
+ },
31053
+ getPopupContainer: function getPopupContainer() {
31054
+ return document.body;
31055
+ }
31056
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && ( /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
31057
+ disabled: disabled,
31058
+ treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
31059
+ businessType: "stock-organization",
31060
+ labelInValue: true,
31061
+ value: showValue(ites.code),
31062
+ style: styleCommon,
31063
+ onChange: function onChange(value) {
31064
+ handleEdit(ites.code, value);
31065
+ },
31066
+ getPopupContainer: function getPopupContainer() {
31067
+ return document.body;
31068
+ }
31069
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && ( /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31070
+ selectBusinessType: "deliveryMode",
31071
+ selectProps: _objectSpread2({
31072
+ style: styleCommon,
31073
+ placeholder: '请选择配送方式'
31074
+ }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31075
+ mode: 'multiple',
31076
+ maxTagCount: 1
31077
+ } : {}),
31078
+ disabled: disabled,
31079
+ labelInValue: true,
31080
+ value: showValue(ites.code),
31081
+ requestConfig: {
31082
+ filterInit: 'qp-code-in'
31083
+ },
31084
+ onChange: function onChange(value) {
31085
+ handleEdit(ites.code, value);
31086
+ },
31087
+ getPopupContainer: function getPopupContainer() {
31088
+ return document.body;
31089
+ }
31090
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React.createElement("div", {
31091
+ style: {
31092
+ display: 'flex'
31093
+ }
31094
+ }, /*#__PURE__*/React.createElement(App$1, {
31095
+ disabled: disabled,
31096
+ key: showValue(ites.code),
31097
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115667
31098
+ setValue: function setValue(val, formulaName) {
31099
+ console.log(val, 'val');
31100
+ var value = val.map(function (item) {
31101
+ return item.value.replace(/[a-zA-Z_]+\.\w+/g, function (i) {
31102
+ return '{' + i + '}';
31103
+ });
31104
+ });
31105
+ handleEdit(ites.code, value.join(''));
31106
+ handleEdit({
31107
+ inputType: 40,
31108
+ formulaName: formulaName
31109
+ });
31110
+ },
31111
+ record: {
31112
+ expression: showValue(ites.code)
31113
+ },
31114
+ sourceData: fieldListGroup
31115
+ }))));
31116
+ }
30071
31117
 
30072
- var RangePicker$1 = DatePicker.RangePicker;
31118
+ var RangePicker$2 = DatePicker.RangePicker;
30073
31119
  var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30074
31120
  _inherits(RuleObjectComponent, _Component);
30075
31121
  function RuleObjectComponent(props) {
@@ -30137,6 +31183,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30137
31183
  } else if (element.choiceType === 20) {
30138
31184
  _this.dictCodeToRangeIdMap["".concat(rootObjCode, ".").concat(parentKey, ".").concat(element.code)] = infoVo === null || infoVo === void 0 ? void 0 : infoVo.dictionaryCode;
30139
31185
  } else if (element.choiceType === 10) {
31186
+ // FIXME http://192.168.13.78/mep-fed-group/web/libs/business-component/-/merge_requests/45#note_115669
30140
31187
  var _list = Object.keys(infoVo).length && infoVo.enumeration && Object.keys(infoVo.enumeration).map(function (i) {
30141
31188
  return {
30142
31189
  code: i,
@@ -30481,18 +31528,18 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30481
31528
  onClick: function onClick() {
30482
31529
  _this.handleLogicalTypeChange(itemDetail, 'or');
30483
31530
  }
30484
- }, "\u6216\u8005"), /*#__PURE__*/React.createElement("p", {
31531
+ }, "OR"), /*#__PURE__*/React.createElement("p", {
30485
31532
  className: 'choose_logical_type',
30486
31533
  onClick: function onClick() {
30487
31534
  _this.handleLogicalTypeChange(itemDetail, 'and');
30488
31535
  }
30489
- }, "\u5E76\u4E14")),
31536
+ }, "AND")),
30490
31537
  trigger: "focus"
30491
31538
  }, /*#__PURE__*/React.createElement(Button, {
30492
31539
  disabled: disabled,
30493
31540
  type: "link",
30494
31541
  className: 'logical_item_btn'
30495
- }, (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.operationCode) == 'or' ? '或者' : '并且', /*#__PURE__*/React.createElement(DownOutlined, {
31542
+ }, (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.operationCode) == 'or' ? 'OR' : 'AND', /*#__PURE__*/React.createElement(DownOutlined, {
30496
31543
  style: {
30497
31544
  marginLeft: '6px'
30498
31545
  }
@@ -30587,7 +31634,6 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30587
31634
  onChange: function onChange(value) {
30588
31635
  var _systemVariableList$f;
30589
31636
  var ruleClassData = _this.state.ruleClassData;
30590
- console.log(itemDetail);
30591
31637
  itemDetail.params = [value && "{".concat(value, "}") || ''];
30592
31638
  var name = (_systemVariableList$f = systemVariableList.find(function (i) {
30593
31639
  return i.code == value;
@@ -30722,503 +31768,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30722
31768
  }
30723
31769
  })) || null;
30724
31770
  };
30725
- _this.renderCompItem = function (ites, showValue, handleEdit, disabled) {
30726
- var regularDataList = _this.props.regularDataList;
30727
- var fieldListGroup = regularDataList.map(function (item) {
30728
- var Item = {
30729
- id: item.id,
30730
- code: item.code,
30731
- name: item.name,
30732
- value: item.code
30733
- };
30734
- if (item.propertyList) {
30735
- Item.propertyList = item.propertyList.map(function (field) {
30736
- return {
30737
- id: field.id,
30738
- code: field.code,
30739
- name: field.name,
30740
- value: "".concat(item.code, ".").concat(field.code),
30741
- valueText: "".concat(item.name, ".").concat(field.name)
30742
- };
30743
- });
30744
- }
30745
- return Item;
30746
- });
30747
- if (!ites) return;
30748
- var styleCommon = _objectSpread2({
30749
- width: '200px'
30750
- }, (ites === null || ites === void 0 ? void 0 : ites.rightText) ? {
30751
- marginLeft: 10
30752
- } : {});
30753
- var style2 = {
30754
- width: '100px'
30755
- };
30756
- return /*#__PURE__*/React.createElement(React.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && /*#__PURE__*/React.createElement(Input, {
30757
- disabled: disabled,
30758
- allowClear: true,
30759
- onClear: function onClear() {
30760
- handleEdit(ites.code, undefined);
30761
- },
30762
- defaultValue: showValue(ites.code, 'input'),
30763
- style: styleCommon,
30764
- onBlur: function onBlur(e) {
30765
- handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
30766
- }
30767
- }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && /*#__PURE__*/React.createElement(InputNumber, {
30768
- disabled: disabled,
30769
- max: Number.MAX_SAFE_INTEGER,
30770
- min: (ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 ? 0 : Number.MIN_SAFE_INTEGER,
30771
- precision: (ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 ? 0 : 2,
30772
- defaultValue: ites.defaultValue,
30773
- style: style2,
30774
- value: showValue(ites.code),
30775
- onChange: function onChange(value) {
30776
- handleEdit(ites.code, value);
30777
- }
30778
- }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && /*#__PURE__*/React.createElement(DatePicker, {
30779
- showTime: dataTypeCode == 32,
30780
- format: dataTypeCode == 41 ? dateFormat : fullDateFormat,
30781
- disabled: disabled,
30782
- defaultValue: ites.defaultValue,
30783
- style: style2,
30784
- value: showValue(ites.code),
30785
- onChange: function onChange(value) {
30786
- handleEdit(ites.code, value);
30787
- }
30788
- }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && /*#__PURE__*/React.createElement(RangePicker$1, {
30789
- showTime: true,
30790
- disabled: disabled,
30791
- defaultValue: ites.defaultValue,
30792
- style: style2,
30793
- value: showValue(ites.code),
30794
- onChange: function onChange(value) {
30795
- handleEdit(ites.code, value);
30796
- }
30797
- }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && /*#__PURE__*/React.createElement(Switch, {
30798
- disabled: disabled,
30799
- defaultChecked: !!ites.defaultValue,
30800
- style: style2,
30801
- checked: showValue(ites.code),
30802
- onChange: function onChange(value) {
30803
- handleEdit(ites.code, value);
30804
- }
30805
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && /*#__PURE__*/React.createElement(Select, _extends({
30806
- disabled: disabled,
30807
- allowClear: true,
30808
- showArrow: true
30809
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30810
- mode: 'multiple'
30811
- } : {}, {
30812
- defaultValue: ites.defaultValue,
30813
- style: styleCommon,
30814
- value: showValue(ites.code),
30815
- onChange: function onChange(value) {
30816
- handleEdit(ites.code, value);
30817
- }
30818
- }), Object.keys(ites.enumeration).map(function (it) {
30819
- return /*#__PURE__*/React.createElement(Select.Option, {
30820
- key: it,
30821
- value: it
30822
- }, ites.enumeration[it]);
30823
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && /*#__PURE__*/React.createElement(InnerSelect, {
30824
- disabled: disabled,
30825
- inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
30826
- defaultValue: ites.defaultValue,
30827
- styleCommon: styleCommon,
30828
- value: showValue(ites.code),
30829
- onChange: function onChange(value) {
30830
- handleEdit(ites.code, value);
30831
- },
30832
- dictionaryCode: ites.dictionaryCode
30833
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30834
- selectBusinessType: "physicalWarehouse",
30835
- selectProps: _objectSpread2({
30836
- style: styleCommon,
30837
- placeholder: '请选择物理仓'
30838
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30839
- mode: 'multiple',
30840
- maxTagCount: 1
30841
- } : {}),
30842
- disabled: disabled,
30843
- labelInValue: true,
30844
- value: showValue(ites.code),
30845
- requestConfig: {
30846
- mappingValueField: 'physicalWarehouseCode',
30847
- filterInit: 'qp-physicalWarehouseCode-in'
30848
- },
30849
- onChange: function onChange(value) {
30850
- handleEdit(ites.code, value);
30851
- },
30852
- getPopupContainer: function getPopupContainer() {
30853
- return document.body;
30854
- }
30855
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30856
- selectBusinessType: "realWarehouse",
30857
- selectProps: _objectSpread2({
30858
- style: styleCommon,
30859
- placeholder: '请选择逻辑仓'
30860
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30861
- mode: 'multiple',
30862
- maxTagCount: 1
30863
- } : {}),
30864
- disabled: disabled,
30865
- labelInValue: true,
30866
- value: showValue(ites.code),
30867
- requestConfig: {
30868
- mappingValueField: 'realWarehouseCode',
30869
- filterInit: 'qp-realWarehouseCode-in'
30870
- },
30871
- onChange: function onChange(value) {
30872
- handleEdit(ites.code, value);
30873
- },
30874
- getPopupContainer: function getPopupContainer() {
30875
- return document.body;
30876
- }
30877
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30878
- selectBusinessType: "virtualWarehouse",
30879
- selectProps: _objectSpread2({
30880
- style: styleCommon,
30881
- placeholder: '请选择虚拟仓'
30882
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30883
- mode: 'multiple',
30884
- maxTagCount: 1
30885
- } : {}),
30886
- disabled: disabled,
30887
- labelInValue: true,
30888
- value: showValue(ites.code),
30889
- requestConfig: {
30890
- mappingValueField: 'virtualWarehouseCode',
30891
- filterInit: 'qp-virtualWarehouseCode-in'
30892
- },
30893
- onChange: function onChange(value) {
30894
- handleEdit(ites.code, value);
30895
- },
30896
- getPopupContainer: function getPopupContainer() {
30897
- return document.body;
30898
- }
30899
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30900
- selectBusinessType: "channelWarehouse",
30901
- selectProps: _objectSpread2({
30902
- style: styleCommon,
30903
- placeholder: '请选择渠道仓'
30904
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30905
- mode: 'multiple',
30906
- maxTagCount: 1
30907
- } : {}),
30908
- disabled: disabled,
30909
- labelInValue: true,
30910
- value: showValue(ites.code),
30911
- requestConfig: {
30912
- mappingValueField: 'channelWarehouseCode',
30913
- filterInit: 'qp-channelWarehouseCode-in'
30914
- },
30915
- onChange: function onChange(value) {
30916
- handleEdit(ites.code, value);
30917
- },
30918
- getPopupContainer: function getPopupContainer() {
30919
- return document.body;
30920
- }
30921
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30922
- selectBusinessType: "spuCommodity",
30923
- selectProps: _objectSpread2({
30924
- style: styleCommon,
30925
- placeholder: '请选择SPU'
30926
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30927
- mode: 'multiple',
30928
- maxTagCount: 1
30929
- } : {}),
30930
- disabled: disabled,
30931
- labelInValue: true,
30932
- value: showValue(ites.code),
30933
- requestConfig: {
30934
- filterInit: 'qp-itemCode-in'
30935
- },
30936
- onChange: function onChange(value) {
30937
- handleEdit(ites.code, value);
30938
- },
30939
- getPopupContainer: function getPopupContainer() {
30940
- return document.body;
30941
- }
30942
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
30943
- selectBusinessType: "skuCommodity",
30944
- selectProps: _objectSpread2({
30945
- style: styleCommon,
30946
- placeholder: '请选择商品'
30947
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
30948
- mode: 'multiple',
30949
- maxTagCount: 1
30950
- } : {}),
30951
- disabled: disabled,
30952
- labelInValue: true,
30953
- value: showValue(ites.code),
30954
- requestConfig: {
30955
- filterInit: 'qp-skuCode-in'
30956
- },
30957
- onChange: function onChange(value) {
30958
- handleEdit(ites.code, value);
30959
- },
30960
- getPopupContainer: function getPopupContainer() {
30961
- return document.body;
30962
- }
30963
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && /*#__PURE__*/React.createElement(BsCascader, {
30964
- disabled: disabled,
30965
- isAll: true,
30966
- needNameAndCode: true,
30967
- notChangeOnSelect: true,
30968
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30969
- return _regeneratorRuntime().wrap(function _callee$(_context) {
30970
- while (1) switch (_context.prev = _context.next) {
30971
- case 0:
30972
- _context.next = 2;
30973
- return request$1({
30974
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
30975
- method: 'get',
30976
- converter: function converter(_ref2) {
30977
- var data = _ref2.data;
30978
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
30979
- return {
30980
- text: item.name,
30981
- value: item.id,
30982
- level: item.level,
30983
- id: item.id
30984
- };
30985
- }) : [];
30986
- return handleData;
30987
- }
30988
- });
30989
- case 2:
30990
- return _context.abrupt("return", _context.sent);
30991
- case 3:
30992
- case "end":
30993
- return _context.stop();
30994
- }
30995
- }, _callee);
30996
- })),
30997
- value: showValue(ites.code),
30998
- onChange: function onChange(value) {
30999
- handleEdit(ites.code, value);
31000
- },
31001
- getPopupContainer: function getPopupContainer() {
31002
- return document.body;
31003
- }
31004
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
31005
- disabled: disabled,
31006
- treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
31007
- businessType: "department",
31008
- labelInValue: true,
31009
- value: showValue(ites.code),
31010
- style: styleCommon,
31011
- onChange: function onChange(value) {
31012
- handleEdit(ites.code, value);
31013
- },
31014
- getPopupContainer: function getPopupContainer() {
31015
- return document.body;
31016
- }
31017
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
31018
- disabled: disabled,
31019
- treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
31020
- businessType: "purchase-organization",
31021
- labelInValue: true,
31022
- value: showValue(ites.code),
31023
- style: styleCommon,
31024
- onChange: function onChange(value) {
31025
- handleEdit(ites.code, value);
31026
- },
31027
- getPopupContainer: function getPopupContainer() {
31028
- return document.body;
31029
- }
31030
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
31031
- disabled: disabled,
31032
- treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
31033
- businessType: "sales-organization",
31034
- labelInValue: true,
31035
- value: showValue(ites.code),
31036
- style: styleCommon,
31037
- onChange: function onChange(value) {
31038
- handleEdit(ites.code, value);
31039
- },
31040
- getPopupContainer: function getPopupContainer() {
31041
- return document.body;
31042
- }
31043
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31044
- selectBusinessType: "supplier2",
31045
- selectProps: _objectSpread2({
31046
- style: styleCommon,
31047
- placeholder: '请选择供应商'
31048
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31049
- mode: 'multiple',
31050
- maxTagCount: 1
31051
- } : {}),
31052
- disabled: disabled,
31053
- labelInValue: true,
31054
- value: showValue(ites.code),
31055
- requestConfig: {
31056
- filterInit: 'qp-code-in'
31057
- },
31058
- onChange: function onChange(value) {
31059
- handleEdit(ites.code, value);
31060
- },
31061
- getPopupContainer: function getPopupContainer() {
31062
- return document.body;
31063
- }
31064
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31065
- selectBusinessType: "customer2",
31066
- selectProps: _objectSpread2({
31067
- style: styleCommon,
31068
- placeholder: '请选择客户'
31069
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31070
- mode: 'multiple',
31071
- maxTagCount: 1
31072
- } : {}),
31073
- disabled: disabled,
31074
- labelInValue: true,
31075
- value: showValue(ites.code),
31076
- requestConfig: {
31077
- filterInit: 'qp-code-in'
31078
- },
31079
- onChange: function onChange(value) {
31080
- handleEdit(ites.code, value);
31081
- },
31082
- getPopupContainer: function getPopupContainer() {
31083
- return document.body;
31084
- }
31085
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31086
- selectBusinessType: "shopFile2",
31087
- selectProps: _objectSpread2({
31088
- style: styleCommon,
31089
- placeholder: '请选择店铺'
31090
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31091
- mode: 'multiple',
31092
- maxTagCount: 1
31093
- } : {}),
31094
- disabled: disabled,
31095
- labelInValue: true,
31096
- value: showValue(ites.code),
31097
- requestConfig: {
31098
- filterInit: 'qp-code-in'
31099
- },
31100
- onChange: function onChange(value) {
31101
- handleEdit(ites.code, value);
31102
- },
31103
- getPopupContainer: function getPopupContainer() {
31104
- return document.body;
31105
- }
31106
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31107
- selectBusinessType: "employee2",
31108
- selectProps: _objectSpread2({
31109
- style: styleCommon,
31110
- placeholder: '请选择员工'
31111
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31112
- mode: 'multiple',
31113
- maxTagCount: 1
31114
- } : {}),
31115
- disabled: disabled,
31116
- labelInValue: true,
31117
- value: showValue(ites.code),
31118
- requestConfig: {
31119
- filterInit: 'qp-id-in'
31120
- },
31121
- onChange: function onChange(value) {
31122
- handleEdit(ites.code, value);
31123
- },
31124
- getPopupContainer: function getPopupContainer() {
31125
- return document.body;
31126
- }
31127
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
31128
- disabled: disabled,
31129
- treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
31130
- businessType: "stock-organization",
31131
- labelInValue: true,
31132
- value: showValue(ites.code),
31133
- style: styleCommon,
31134
- onChange: function onChange(value) {
31135
- handleEdit(ites.code, value);
31136
- },
31137
- getPopupContainer: function getPopupContainer() {
31138
- return document.body;
31139
- }
31140
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && /*#__PURE__*/React.createElement(BusinessTreeSearchSelect$1, {
31141
- disabled: disabled,
31142
- treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
31143
- businessType: "settle-organization",
31144
- labelInValue: true,
31145
- value: showValue(ites.code),
31146
- style: styleCommon,
31147
- onChange: function onChange(value) {
31148
- handleEdit(ites.code, value);
31149
- },
31150
- getPopupContainer: function getPopupContainer() {
31151
- return document.body;
31152
- }
31153
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31154
- selectBusinessType: "deliveryMode",
31155
- selectProps: _objectSpread2({
31156
- style: styleCommon,
31157
- placeholder: '请选择配送方式'
31158
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31159
- mode: 'multiple',
31160
- maxTagCount: 1
31161
- } : {}),
31162
- disabled: disabled,
31163
- labelInValue: true,
31164
- value: showValue(ites.code),
31165
- requestConfig: {
31166
- filterInit: 'qp-code-in'
31167
- },
31168
- onChange: function onChange(value) {
31169
- handleEdit(ites.code, value);
31170
- },
31171
- getPopupContainer: function getPopupContainer() {
31172
- return document.body;
31173
- }
31174
- }) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && /*#__PURE__*/React.createElement(BusinessSearchSelect$1, {
31175
- selectBusinessType: "role",
31176
- selectProps: _objectSpread2({
31177
- style: styleCommon,
31178
- placeholder: '请选择角色'
31179
- }, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30 ? {
31180
- mode: 'multiple',
31181
- maxTagCount: 1
31182
- } : {}),
31183
- disabled: disabled,
31184
- labelInValue: true,
31185
- value: showValue(ites.code),
31186
- requestConfig: {
31187
- filterInit: 'qp-code-in'
31188
- },
31189
- onChange: function onChange(value) {
31190
- handleEdit(ites.code, value);
31191
- },
31192
- getPopupContainer: function getPopupContainer() {
31193
- return document.body;
31194
- }
31195
- }) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && /*#__PURE__*/React.createElement("div", {
31196
- style: {
31197
- display: 'flex'
31198
- }
31199
- }, /*#__PURE__*/React.createElement(App$1, {
31200
- disabled: disabled,
31201
- key: showValue(ites.code),
31202
- setValue: function setValue(val, formulaName) {
31203
- console.log(val, 'val');
31204
- var value = val.map(function (item) {
31205
- return item.value.replace(/[a-zA-Z_]+\.\w+/g, function (i) {
31206
- return '{' + i + '}';
31207
- });
31208
- });
31209
- handleEdit(ites.code, value.join(''));
31210
- handleEdit({
31211
- inputType: 40,
31212
- formulaName: formulaName
31213
- });
31214
- },
31215
- record: {
31216
- expression: showValue(ites.code)
31217
- },
31218
- sourceData: fieldListGroup
31219
- })));
31220
- };
31221
- _this.renderFormCompItem = function (config, showValue, handleEdit, parentItem, boxStyle, disabled) {
31771
+ _this.renderFormCompItem = function (config, _showValue, _handleEdit, parentItem, boxStyle, disabled) {
31222
31772
  if (!config) return;
31223
31773
  return /*#__PURE__*/React.createElement("div", {
31224
31774
  style: boxStyle
@@ -31236,15 +31786,21 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
31236
31786
  }
31237
31787
  }, /*#__PURE__*/React.createElement("span", {
31238
31788
  className: "requiredMark"
31239
- })) || null, _this.renderCompItem(config, function (a, b) {
31240
- var c = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : parentItem;
31241
- var d = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : config;
31242
- return showValue(a, b, c, d);
31243
- }, function (a, b) {
31244
- var c = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : parentItem;
31245
- var d = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : config;
31246
- return handleEdit(a, b, c, d);
31247
- }, disabled), (config === null || config === void 0 ? void 0 : config.rightText) && /*#__PURE__*/React.createElement("div", {
31789
+ })) || null, /*#__PURE__*/React.createElement(RenderCompItem, {
31790
+ regularDataList: _this.props.regularDataList,
31791
+ ites: config,
31792
+ showValue: function showValue(a, b) {
31793
+ var c = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : parentItem;
31794
+ var d = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : config;
31795
+ return _showValue(a, b, c, d);
31796
+ },
31797
+ handleEdit: function handleEdit(a, b) {
31798
+ var c = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : parentItem;
31799
+ var d = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : config;
31800
+ return _handleEdit(a, b, c, d);
31801
+ },
31802
+ disabled: disabled
31803
+ }), (config === null || config === void 0 ? void 0 : config.rightText) && /*#__PURE__*/React.createElement("div", {
31248
31804
  style: {
31249
31805
  flex: 'none',
31250
31806
  marginLeft: 10