@bit-sun/business-component 2.3.12 → 2.3.13

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 (202) hide show
  1. package/.editorconfig +16 -16
  2. package/.fatherrc.ts +5 -5
  3. package/.gitlab-ci.yml +179 -179
  4. package/.prettierignore +7 -7
  5. package/.prettierrc +11 -11
  6. package/.umirc.ts +74 -74
  7. package/README.md +27 -27
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  10. package/dist/components/Business/SearchSelect/common.d.ts +5 -1
  11. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  12. package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
  13. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  14. package/dist/index.esm.js +961 -945
  15. package/dist/index.js +967 -951
  16. package/dist/utils/utils.d.ts +1 -1
  17. package/docs/index.md +21 -21
  18. package/lib/assets/drag.svg +17 -17
  19. package/lib/assets/exportFail.svg +37 -37
  20. package/lib/assets/exportProcessing.svg +28 -28
  21. package/lib/assets/exportSuccess.svg +34 -34
  22. package/lib/assets/label_icon_bottom.svg +25 -25
  23. package/lib/assets/upExport.svg +22 -22
  24. package/package.json +78 -78
  25. package/src/assets/32.svg +27 -27
  26. package/src/assets/addIcon.svg +17 -17
  27. package/src/assets/allfunc.svg +27 -27
  28. package/src/assets/arrowRight.svg +24 -24
  29. package/src/assets/btn-delete.svg +29 -29
  30. package/src/assets/btn-edit.svg +19 -19
  31. package/src/assets/btn-more.svg +17 -17
  32. package/src/assets/btn-submit.svg +19 -19
  33. package/src/assets/caidan.svg +11 -11
  34. package/src/assets/close.svg +26 -26
  35. package/src/assets/drag.svg +17 -17
  36. package/src/assets/exportFail.svg +37 -37
  37. package/src/assets/exportProcessing.svg +28 -28
  38. package/src/assets/exportSuccess.svg +34 -34
  39. package/src/assets/fixed-left-active.svg +11 -11
  40. package/src/assets/fixed-left.svg +15 -15
  41. package/src/assets/fixed-right-active.svg +11 -11
  42. package/src/assets/fixed-right.svg +15 -15
  43. package/src/assets/guanbi.svg +15 -15
  44. package/src/assets/icon-quanping.svg +15 -15
  45. package/src/assets/icon-shezhi.svg +17 -17
  46. package/src/assets/label_icon_bottom.svg +25 -25
  47. package/src/assets/list-no-img.svg +21 -21
  48. package/src/assets/morentouxiang-32.svg +23 -23
  49. package/src/assets/scanning.svg +24 -24
  50. package/src/assets/upExport.svg +22 -22
  51. package/src/common/ENUM.ts +41 -41
  52. package/src/components/Business/AddSelectBusiness/index.md +161 -161
  53. package/src/components/Business/AddSelectBusiness/index.tsx +861 -861
  54. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
  55. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  56. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  57. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  58. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  59. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  60. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  61. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
  62. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  63. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
  64. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  65. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  66. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
  67. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
  68. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  69. package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
  70. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
  71. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  72. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  73. package/src/components/Business/BsLayouts/index.less +79 -79
  74. package/src/components/Business/BsLayouts/index.tsx +1484 -1484
  75. package/src/components/Business/BsLayouts/service.ts +10 -10
  76. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  77. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +564 -564
  78. package/src/components/Business/BsSulaQueryTable/index.less +221 -221
  79. package/src/components/Business/BsSulaQueryTable/index.tsx +535 -535
  80. package/src/components/Business/BsSulaQueryTable/setting.tsx +852 -852
  81. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  82. package/src/components/Business/BsSulaQueryTable/utils.tsx +688 -688
  83. package/src/components/Business/CommodityEntry/index.md +70 -70
  84. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  85. package/src/components/Business/CommonAlert/index.tsx +23 -23
  86. package/src/components/Business/CommonGuideWrapper/index.less +111 -111
  87. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  88. package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
  89. package/src/components/Business/DetailPageWrapper/index.less +79 -79
  90. package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
  91. package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
  92. package/src/components/Business/HomePageWrapper/index.less +33 -33
  93. package/src/components/Business/HomePageWrapper/index.md +45 -45
  94. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  95. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
  96. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +205 -205
  97. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
  98. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  99. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  100. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  101. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  102. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  103. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  104. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  105. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  106. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  107. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  108. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  109. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  110. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  111. package/src/components/Business/JsonQueryTable/index.less +16 -16
  112. package/src/components/Business/JsonQueryTable/index.md +328 -328
  113. package/src/components/Business/JsonQueryTable/index.tsx +535 -535
  114. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  115. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  116. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  117. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  118. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  119. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  120. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  121. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  122. package/src/components/Business/JsonQueryTable/static.ts +390 -390
  123. package/src/components/Business/SearchSelect/BusinessUtils.ts +1756 -1732
  124. package/src/components/Business/SearchSelect/common.ts +64 -53
  125. package/src/components/Business/SearchSelect/index.md +1326 -1319
  126. package/src/components/Business/SearchSelect/index.tsx +51 -51
  127. package/src/components/Business/SearchSelect/utils.ts +100 -100
  128. package/src/components/Business/StateFlow/index.less +130 -130
  129. package/src/components/Business/StateFlow/index.md +60 -60
  130. package/src/components/Business/StateFlow/index.tsx +29 -29
  131. package/src/components/Business/TreeSearchSelect/index.md +154 -154
  132. package/src/components/Business/TreeSearchSelect/index.tsx +33 -33
  133. package/src/components/Business/TreeSearchSelect/utils.ts +75 -75
  134. package/src/components/Business/columnSettingTable/columnSetting.tsx +764 -764
  135. package/src/components/Business/columnSettingTable/index.less +247 -247
  136. package/src/components/Business/columnSettingTable/index.md +357 -357
  137. package/src/components/Business/columnSettingTable/index.tsx +232 -232
  138. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
  139. package/src/components/Business/columnSettingTable/utils.tsx +68 -68
  140. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +86 -86
  141. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
  142. package/src/components/Business/moreTreeTable/index.less +99 -99
  143. package/src/components/Business/moreTreeTable/index.md +448 -448
  144. package/src/components/Business/moreTreeTable/index.tsx +387 -387
  145. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  146. package/src/components/Functional/AddSelect/helps.ts +14 -14
  147. package/src/components/Functional/AddSelect/index.less +367 -367
  148. package/src/components/Functional/AddSelect/index.md +155 -155
  149. package/src/components/Functional/AddSelect/index.tsx +1279 -1279
  150. package/src/components/Functional/BillEntry/index.less +371 -371
  151. package/src/components/Functional/BillEntry/index.md +39 -39
  152. package/src/components/Functional/BillEntry/index.tsx +772 -772
  153. package/src/components/Functional/BsAntdSula/BsCascader/index.md +62 -62
  154. package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +178 -178
  155. package/src/components/Functional/BsAntdSula/index.ts +2 -2
  156. package/src/components/Functional/DataImport/index.less +63 -63
  157. package/src/components/Functional/DataImport/index.md +44 -44
  158. package/src/components/Functional/DataImport/index.tsx +695 -695
  159. package/src/components/Functional/DataValidation/index.less +63 -63
  160. package/src/components/Functional/DataValidation/index.md +39 -39
  161. package/src/components/Functional/DataValidation/index.tsx +687 -687
  162. package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
  163. package/src/components/Functional/EllipsisTooltip/index.js +36 -36
  164. package/src/components/Functional/EllipsisTooltip/index.md +30 -30
  165. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  166. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
  167. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  168. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  169. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  170. package/src/components/Functional/SearchSelect/index.less +115 -115
  171. package/src/components/Functional/SearchSelect/index.md +141 -141
  172. package/src/components/Functional/SearchSelect/index.tsx +858 -858
  173. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  174. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  175. package/src/components/Functional/TreeSearchSelect/index.tsx +163 -163
  176. package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
  177. package/src/components/Solution/RuleComponent/index.d.ts +29 -29
  178. package/src/components/Solution/RuleComponent/index.js +2028 -2028
  179. package/src/components/Solution/RuleComponent/index.less +230 -230
  180. package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
  181. package/src/components/Solution/RuleComponent/ruleFiled.js +2107 -2107
  182. package/src/components/Solution/RuleComponent/services.ts +13 -13
  183. package/src/components/Solution/RuleComponent/util.js +139 -139
  184. package/src/index.ts +38 -38
  185. package/src/plugin/TableColumnSetting/index.less +247 -247
  186. package/src/plugin/TableColumnSetting/index.md +50 -50
  187. package/src/plugin/TableColumnSetting/index.tsx +724 -724
  188. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  189. package/src/styles/bsDefault.less +1912 -1912
  190. package/src/utils/CheckOneUser/index.md +39 -39
  191. package/src/utils/CheckOneUser/index.ts +51 -51
  192. package/src/utils/LocalstorageUtils.ts +90 -90
  193. package/src/utils/TableUtils.tsx +18 -18
  194. package/src/utils/checkUtils.ts +39 -39
  195. package/src/utils/enumConfig.ts +11 -11
  196. package/src/utils/getFormMode.js +12 -12
  197. package/src/utils/index.ts +4 -4
  198. package/src/utils/requestUtils.ts +34 -34
  199. package/src/utils/serialize.js +7 -7
  200. package/src/utils/utils.ts +212 -212
  201. package/tsconfig.json +29 -29
  202. package/typings.d.ts +4 -4
package/dist/index.esm.js CHANGED
@@ -2,7 +2,7 @@ import axios from 'axios';
2
2
  import { message as message$1, Popover, Card, Avatar, Tooltip, Image, Menu, Space, Dropdown, Button, Checkbox, Input, Modal, Select, Form, Divider, Spin, Table, TreeSelect, Tag, InputNumber, Typography, Alert, Anchor, Breadcrumb, Drawer as Drawer$1, List, Tree, Row, Col, Tabs, Affix, Cascader, DatePicker, TimePicker, Switch } from 'antd';
3
3
  import _, { omit, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
4
4
  import { history, formatMessage, useLocation, Link, useModel, useIntl } from 'umi';
5
- import isEqual$1 from 'lodash/isEqual';
5
+ import isEqual from 'lodash/isEqual';
6
6
  import React, { useState, useEffect, forwardRef, useImperativeHandle, useRef, useMemo, Component, useLayoutEffect, createRef } from 'react';
7
7
  import moment$1 from 'moment';
8
8
  import { UnorderedListOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, CopyOutlined, SearchOutlined, CaretLeftOutlined, CloseCircleOutlined, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, CaretDownOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, DashOutlined, SettingOutlined, BulbOutlined, PlayCircleOutlined, SaveOutlined, FullscreenExitOutlined, EditOutlined, MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons';
@@ -762,52 +762,41 @@ var precisionQuantity = function precisionQuantity(num, accuracy) {
762
762
  return '';
763
763
  };
764
764
 
765
- var safeIsNaN = Number.isNaN ||
766
- function ponyfill(value) {
767
- return typeof value === 'number' && value !== value;
768
- };
769
- function isEqual(first, second) {
770
- if (first === second) {
771
- return true;
772
- }
773
- if (safeIsNaN(first) && safeIsNaN(second)) {
774
- return true;
775
- }
776
- return false;
777
- }
778
- function areInputsEqual(newInputs, lastInputs) {
779
- if (newInputs.length !== lastInputs.length) {
780
- return false;
765
+ var simpleIsEqual = function simpleIsEqual(a, b) {
766
+ return a === b;
767
+ };
768
+
769
+ function index$1 (resultFn, isEqual) {
770
+ if (isEqual === void 0) {
771
+ isEqual = simpleIsEqual;
772
+ }
773
+
774
+ var lastThis;
775
+ var lastArgs = [];
776
+ var lastResult;
777
+ var calledOnce = false;
778
+
779
+ var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
780
+ return isEqual(newArg, lastArgs[index], index);
781
+ };
782
+
783
+ var result = function result() {
784
+ for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
785
+ newArgs[_key] = arguments[_key];
781
786
  }
782
- for (var i = 0; i < newInputs.length; i++) {
783
- if (!isEqual(newInputs[i], lastInputs[i])) {
784
- return false;
785
- }
787
+
788
+ if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
789
+ return lastResult;
786
790
  }
787
- return true;
788
- }
789
791
 
790
- function memoizeOne(resultFn, isEqual) {
791
- if (isEqual === void 0) { isEqual = areInputsEqual; }
792
- var lastThis;
793
- var lastArgs = [];
794
- var lastResult;
795
- var calledOnce = false;
796
- function memoized() {
797
- var newArgs = [];
798
- for (var _i = 0; _i < arguments.length; _i++) {
799
- newArgs[_i] = arguments[_i];
800
- }
801
- if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
802
- return lastResult;
803
- }
804
- lastResult = resultFn.apply(this, newArgs);
805
- calledOnce = true;
806
- lastThis = this;
807
- lastArgs = newArgs;
808
- return lastResult;
809
- }
810
- return memoized;
792
+ lastResult = resultFn.apply(this, newArgs);
793
+ calledOnce = true;
794
+ lastThis = this;
795
+ lastArgs = newArgs;
796
+ return lastResult;
797
+ };
798
+
799
+ return result;
811
800
  }
812
801
 
813
802
  function styleInject(css, ref) {
@@ -1021,58 +1010,59 @@ var getItemDefaultWidth = function getItemDefaultWidth(item) {
1021
1010
  * @returns 返回处理后的查询参数
1022
1011
  */
1023
1012
  function queryParams(params, flag) {
1024
- for (var key in params) {
1013
+ var _loop = function _loop() {
1025
1014
  if (Object.prototype.hasOwnProperty.call(params, key)) {
1026
- (function () {
1027
- var element = params[key];
1028
- if (element && key.indexOf('*number*') >= 0) {
1029
- var dataParams = key.split('*number*');
1030
- dataParams.forEach(function (value, index) {
1031
- params[value] = element[index];
1032
- });
1033
- delete params[key];
1034
- } else if (element && key.indexOf('*address*') >= 0) {
1035
- var _dataParams = key.split('*address*');
1036
- _dataParams.forEach(function (value, index) {
1037
- params[value] = element.PCDCode[index];
1038
- });
1039
- delete params[key];
1040
- } else if (element && key.indexOf('*costType*') >= 0) {
1041
- var _dataParams2 = key.split('*costType*');
1042
- // eslint-disable-next-line prefer-destructuring
1043
- params[_dataParams2[0]] = element[1];
1044
- delete params[key];
1045
- } else if (element && key.indexOf('*fullDate*') >= 0) {
1046
- var _dataParams3 = key.split('*fullDate*');
1047
- _dataParams3.forEach(function (value, index) {
1048
- if (index === 0) {
1049
- params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
1050
- } else {
1051
- params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
1052
- }
1053
- });
1054
- delete params[key];
1055
- } else if (element && key.indexOf('*') >= 0) {
1056
- var _dataParams4 = key.split('*');
1057
- _dataParams4.forEach(function (value, index) {
1058
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
1059
- });
1060
- delete params[key];
1061
- } else if (element && key.indexOf('_likeIn_') >= 0) {
1062
- var _dataParams5 = key.split('_likeIn_');
1063
- if (element.indexOf(',') >= 0) {
1064
- params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
1065
- params["qp-".concat(_dataParams5[0], "-like")] = null;
1015
+ var element = params[key];
1016
+ if (element && key.indexOf('*number*') >= 0) {
1017
+ var dataParams = key.split('*number*');
1018
+ dataParams.forEach(function (value, index) {
1019
+ params[value] = element[index];
1020
+ });
1021
+ delete params[key];
1022
+ } else if (element && key.indexOf('*address*') >= 0) {
1023
+ var _dataParams = key.split('*address*');
1024
+ _dataParams.forEach(function (value, index) {
1025
+ params[value] = element.PCDCode[index];
1026
+ });
1027
+ delete params[key];
1028
+ } else if (element && key.indexOf('*costType*') >= 0) {
1029
+ var _dataParams2 = key.split('*costType*');
1030
+ // eslint-disable-next-line prefer-destructuring
1031
+ params[_dataParams2[0]] = element[1];
1032
+ delete params[key];
1033
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
1034
+ var _dataParams3 = key.split('*fullDate*');
1035
+ _dataParams3.forEach(function (value, index) {
1036
+ if (index === 0) {
1037
+ params[value] = moment$1(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
1066
1038
  } else {
1067
- params["qp-".concat(_dataParams5[0], "-like")] = element;
1068
- params["qp-".concat(_dataParams5[0], "-in")] = null;
1039
+ params[value] = moment$1(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
1069
1040
  }
1070
- delete params[key];
1071
- } else if (Array.isArray(element)) {
1072
- params[key] = element.join(',');
1041
+ });
1042
+ delete params[key];
1043
+ } else if (element && key.indexOf('*') >= 0) {
1044
+ var _dataParams4 = key.split('*');
1045
+ _dataParams4.forEach(function (value, index) {
1046
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
1047
+ });
1048
+ delete params[key];
1049
+ } else if (element && key.indexOf('_likeIn_') >= 0) {
1050
+ var _dataParams5 = key.split('_likeIn_');
1051
+ if (element.indexOf(',') >= 0) {
1052
+ params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
1053
+ params["qp-".concat(_dataParams5[0], "-like")] = null;
1054
+ } else {
1055
+ params["qp-".concat(_dataParams5[0], "-like")] = element;
1056
+ params["qp-".concat(_dataParams5[0], "-in")] = null;
1073
1057
  }
1074
- })();
1058
+ delete params[key];
1059
+ } else if (Array.isArray(element)) {
1060
+ params[key] = element.join(',');
1061
+ }
1075
1062
  }
1063
+ };
1064
+ for (var key in params) {
1065
+ _loop();
1076
1066
  }
1077
1067
  return flag ? params : qs.stringify(params);
1078
1068
  }
@@ -1118,7 +1108,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1118
1108
  return item;
1119
1109
  });
1120
1110
  };
1121
- var memoizeOneFormatter = memoizeOne(formatter, isEqual$1);
1111
+ var memoizeOneFormatter = index$1(formatter, isEqual);
1122
1112
  var go2BackAndClose = function go2BackAndClose() {
1123
1113
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1124
1114
  history.goBack();
@@ -2797,84 +2787,85 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
2797
2787
  });
2798
2788
  }
2799
2789
  // 数组对象处理,对带有特殊标记的name进行处理
2800
- for (var key in params) {
2790
+ var _loop = function _loop() {
2801
2791
  if (Object.prototype.hasOwnProperty.call(params, key)) {
2802
- (function () {
2803
- var element = params[key];
2804
- if (element && key.indexOf('*number*') >= 0) {
2805
- var dataParams = key.split('*number*');
2806
- dataParams.forEach(function (value, index) {
2807
- params[value] = element[index];
2808
- });
2809
- delete params[key];
2810
- } else if (element && key.indexOf('*address*') >= 0) {
2811
- var _dataParams = key.split('*address*');
2812
- _dataParams.forEach(function (value, index) {
2813
- params[value] = element.PCDCode[index];
2814
- });
2815
- delete params[key];
2816
- } else if (element && key.indexOf('*costType*') >= 0) {
2817
- var _dataParams2 = key.split('*costType*');
2818
- // eslint-disable-next-line prefer-destructuring
2819
- params[_dataParams2[0]] = element[1];
2820
- delete params[key];
2821
- } else if (element && key.indexOf('*fullDate*') >= 0) {
2822
- var _dataParams3 = key.split('*fullDate*');
2823
- _dataParams3.forEach(function (value, index) {
2824
- if (index === 0) {
2825
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2826
- } else {
2827
- params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
2828
- }
2829
- });
2830
- delete params[key];
2831
- } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
2832
- var _dataParams4 = key.split('*checkBox*');
2833
- if (element) {
2834
- params[_dataParams4[0]] = 0;
2792
+ var element = params[key];
2793
+ if (element && key.indexOf('*number*') >= 0) {
2794
+ var dataParams = key.split('*number*');
2795
+ dataParams.forEach(function (value, index) {
2796
+ params[value] = element[index];
2797
+ });
2798
+ delete params[key];
2799
+ } else if (element && key.indexOf('*address*') >= 0) {
2800
+ var _dataParams = key.split('*address*');
2801
+ _dataParams.forEach(function (value, index) {
2802
+ params[value] = element.PCDCode[index];
2803
+ });
2804
+ delete params[key];
2805
+ } else if (element && key.indexOf('*costType*') >= 0) {
2806
+ var _dataParams2 = key.split('*costType*');
2807
+ // eslint-disable-next-line prefer-destructuring
2808
+ params[_dataParams2[0]] = element[1];
2809
+ delete params[key];
2810
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
2811
+ var _dataParams3 = key.split('*fullDate*');
2812
+ _dataParams3.forEach(function (value, index) {
2813
+ if (index === 0) {
2814
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2815
+ } else {
2816
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
2835
2817
  }
2836
- delete params[key];
2837
- } else if (element && key.indexOf('*cascader*') >= 0) {
2838
- var _dataParams5 = key.split('*cascader*');
2839
- params[_dataParams5[0]] = element[element.length - 1];
2840
- delete params[key];
2841
- } else if (element && key.indexOf('*date*') >= 0) {
2842
- var _dataParams6 = key.split('*date*');
2843
- _dataParams6.forEach(function (value, index) {
2844
- if (index === 0) {
2845
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2846
- } else {
2847
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2848
- }
2849
- });
2850
- delete params[key];
2851
- } else if (element && key.indexOf('*') >= 0) {
2852
- var _dataParams7 = key.split('*');
2853
- _dataParams7.forEach(function (value, index) {
2854
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
2855
- });
2856
- delete params[key];
2857
- } else if (element && key.indexOf('_selectNumberRange') >= 0) {
2858
- // key = xxxxx_selectNumberRange qp-xxxxx-gt
2859
- var _dataParams8 = key.split('_selectNumberRange')[0];
2860
- if (params[key][0] === 'range') {
2861
- if (params[key][1][0]) {
2862
- params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
2863
- }
2864
- if (params[key][1][1]) {
2865
- params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
2866
- }
2818
+ });
2819
+ delete params[key];
2820
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
2821
+ var _dataParams4 = key.split('*checkBox*');
2822
+ if (element) {
2823
+ params[_dataParams4[0]] = 0;
2824
+ }
2825
+ delete params[key];
2826
+ } else if (element && key.indexOf('*cascader*') >= 0) {
2827
+ var _dataParams5 = key.split('*cascader*');
2828
+ params[_dataParams5[0]] = element[element.length - 1];
2829
+ delete params[key];
2830
+ } else if (element && key.indexOf('*date*') >= 0) {
2831
+ var _dataParams6 = key.split('*date*');
2832
+ _dataParams6.forEach(function (value, index) {
2833
+ if (index === 0) {
2834
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2867
2835
  } else {
2868
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2836
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2869
2837
  }
2870
- delete params[key];
2871
- } else if (Array.isArray(element)) {
2872
- params[key] = element.join(',');
2873
- } else if (element == null || element === undefined || String(element).trim() === '') {
2874
- delete params[key];
2838
+ });
2839
+ delete params[key];
2840
+ } else if (element && key.indexOf('*') >= 0) {
2841
+ var _dataParams7 = key.split('*');
2842
+ _dataParams7.forEach(function (value, index) {
2843
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
2844
+ });
2845
+ delete params[key];
2846
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
2847
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
2848
+ var _dataParams8 = key.split('_selectNumberRange')[0];
2849
+ if (params[key][0] === 'range') {
2850
+ if (params[key][1][0]) {
2851
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
2852
+ }
2853
+ if (params[key][1][1]) {
2854
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
2855
+ }
2856
+ } else {
2857
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2875
2858
  }
2876
- })();
2859
+ delete params[key];
2860
+ } else if (Array.isArray(element)) {
2861
+ params[key] = element.join(',');
2862
+ } else if (element == null || element === undefined || String(element).trim() === '') {
2863
+ delete params[key];
2864
+ }
2877
2865
  }
2866
+ };
2867
+ for (var key in params) {
2868
+ _loop();
2878
2869
  }
2879
2870
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
2880
2871
  pageSize: pageSize,
@@ -4533,76 +4524,74 @@ var AddSelect = function AddSelect(props) {
4533
4524
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
4534
4525
  var result;
4535
4526
  return _regeneratorRuntime().wrap(function _callee$(_context) {
4536
- while (1) {
4537
- switch (_context.prev = _context.next) {
4538
- case 0:
4539
- if (!(bType == 'skc' && tList.some(function (i) {
4540
- return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
4541
- }))) {
4542
- _context.next = 3;
4543
- break;
4544
- }
4545
- message$1.warning('相同skc配码不可设置相同哦');
4546
- return _context.abrupt("return", false);
4547
- case 3:
4548
- if (!(bType == 'spu')) {
4549
- _context.next = 26;
4550
- break;
4551
- }
4552
- if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
4553
- return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
4554
- }))) {
4555
- _context.next = 7;
4556
- break;
4557
- }
4558
- message$1.warning('相同商品相同配码颜色不可设置相同哦');
4559
- return _context.abrupt("return", false);
4560
- case 7:
4561
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
4562
- _context.next = 10;
4563
- break;
4564
- }
4565
- message$1.warning('请先选择颜色!');
4566
- return _context.abrupt("return", false);
4567
- case 10:
4568
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
4569
- return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
4570
- }))) {
4571
- _context.next = 13;
4572
- break;
4573
- }
4574
- message$1.warning('相同商品相同颜色配码不可设置相同哦');
4575
- return _context.abrupt("return", false);
4576
- case 13:
4577
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
4578
- _context.next = 26;
4579
- break;
4580
- }
4581
- result = true;
4582
- _context.prev = 15;
4583
- _context.next = 18;
4584
- return checkSpuMatchCode({
4585
- skcCode: recordItem[recordKey],
4586
- matchingCode: changeValue,
4587
- ext1: recordItem.colorName
4588
- });
4589
- case 18:
4590
- result = _context.sent;
4591
- result = true;
4592
- _context.next = 25;
4527
+ while (1) switch (_context.prev = _context.next) {
4528
+ case 0:
4529
+ if (!(bType == 'skc' && tList.some(function (i) {
4530
+ return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
4531
+ }))) {
4532
+ _context.next = 3;
4593
4533
  break;
4594
- case 22:
4595
- _context.prev = 22;
4596
- _context.t0 = _context["catch"](15);
4597
- result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
4598
- case 25:
4599
- return _context.abrupt("return", result);
4600
- case 26:
4601
- return _context.abrupt("return", true);
4602
- case 27:
4603
- case "end":
4604
- return _context.stop();
4605
- }
4534
+ }
4535
+ message$1.warning('相同skc配码不可设置相同哦');
4536
+ return _context.abrupt("return", false);
4537
+ case 3:
4538
+ if (!(bType == 'spu')) {
4539
+ _context.next = 26;
4540
+ break;
4541
+ }
4542
+ if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
4543
+ return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
4544
+ }))) {
4545
+ _context.next = 7;
4546
+ break;
4547
+ }
4548
+ message$1.warning('相同商品相同配码颜色不可设置相同哦');
4549
+ return _context.abrupt("return", false);
4550
+ case 7:
4551
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
4552
+ _context.next = 10;
4553
+ break;
4554
+ }
4555
+ message$1.warning('请先选择颜色!');
4556
+ return _context.abrupt("return", false);
4557
+ case 10:
4558
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
4559
+ return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
4560
+ }))) {
4561
+ _context.next = 13;
4562
+ break;
4563
+ }
4564
+ message$1.warning('相同商品相同颜色配码不可设置相同哦');
4565
+ return _context.abrupt("return", false);
4566
+ case 13:
4567
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
4568
+ _context.next = 26;
4569
+ break;
4570
+ }
4571
+ result = true;
4572
+ _context.prev = 15;
4573
+ _context.next = 18;
4574
+ return checkSpuMatchCode({
4575
+ skcCode: recordItem[recordKey],
4576
+ matchingCode: changeValue,
4577
+ ext1: recordItem.colorName
4578
+ });
4579
+ case 18:
4580
+ result = _context.sent;
4581
+ result = true;
4582
+ _context.next = 25;
4583
+ break;
4584
+ case 22:
4585
+ _context.prev = 22;
4586
+ _context.t0 = _context["catch"](15);
4587
+ result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
4588
+ case 25:
4589
+ return _context.abrupt("return", result);
4590
+ case 26:
4591
+ return _context.abrupt("return", true);
4592
+ case 27:
4593
+ case "end":
4594
+ return _context.stop();
4606
4595
  }
4607
4596
  }, _callee, null, [[15, 22]]);
4608
4597
  }));
@@ -4794,29 +4783,27 @@ var AddSelect = function AddSelect(props) {
4794
4783
  var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
4795
4784
  var isConformToTheRules, newPopValue;
4796
4785
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
4797
- while (1) {
4798
- switch (_context2.prev = _context2.next) {
4799
- case 0:
4800
- _context2.next = 2;
4801
- return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
4802
- case 2:
4803
- isConformToTheRules = _context2.sent;
4804
- if (isConformToTheRules) {
4805
- record[item.dataIndex] = value;
4806
- } else {
4807
- record[item.dataIndex] = null;
4786
+ while (1) switch (_context2.prev = _context2.next) {
4787
+ case 0:
4788
+ _context2.next = 2;
4789
+ return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
4790
+ case 2:
4791
+ isConformToTheRules = _context2.sent;
4792
+ if (isConformToTheRules) {
4793
+ record[item.dataIndex] = value;
4794
+ } else {
4795
+ record[item.dataIndex] = null;
4796
+ }
4797
+ newPopValue = popvalue.map(function (i, innerIndex) {
4798
+ if (innerIndex == index) {
4799
+ i[item.dataIndex] = record[item.dataIndex];
4808
4800
  }
4809
- newPopValue = popvalue.map(function (i, innerIndex) {
4810
- if (innerIndex == index) {
4811
- i[item.dataIndex] = record[item.dataIndex];
4812
- }
4813
- return i;
4814
- });
4815
- setPopValue(newPopValue);
4816
- case 6:
4817
- case "end":
4818
- return _context2.stop();
4819
- }
4801
+ return i;
4802
+ });
4803
+ setPopValue(newPopValue);
4804
+ case 6:
4805
+ case "end":
4806
+ return _context2.stop();
4820
4807
  }
4821
4808
  }, _callee2);
4822
4809
  }));
@@ -4876,84 +4863,85 @@ var AddSelect = function AddSelect(props) {
4876
4863
  });
4877
4864
  }
4878
4865
  // 数组对象处理,对带有特殊标记的name进行处理
4879
- for (var key in params) {
4866
+ var _loop = function _loop() {
4880
4867
  if (Object.prototype.hasOwnProperty.call(params, key)) {
4881
- (function () {
4882
- var element = params[key];
4883
- if (element && key.indexOf('*number*') >= 0) {
4884
- var dataParams = key.split('*number*');
4885
- dataParams.forEach(function (value, index) {
4886
- params[value] = element[index];
4887
- });
4888
- delete params[key];
4889
- } else if (element && key.indexOf('*address*') >= 0) {
4890
- var _dataParams = key.split('*address*');
4891
- _dataParams.forEach(function (value, index) {
4892
- params[value] = element.PCDCode[index];
4893
- });
4894
- delete params[key];
4895
- } else if (element && key.indexOf('*costType*') >= 0) {
4896
- var _dataParams2 = key.split('*costType*');
4897
- // eslint-disable-next-line prefer-destructuring
4898
- params[_dataParams2[0]] = element[1];
4899
- delete params[key];
4900
- } else if (element && key.indexOf('*fullDate*') >= 0) {
4901
- var _dataParams3 = key.split('*fullDate*');
4902
- _dataParams3.forEach(function (value, index) {
4903
- if (index === 0) {
4904
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
4905
- } else {
4906
- params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
4907
- }
4908
- });
4909
- delete params[key];
4910
- } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
4911
- var _dataParams4 = key.split('*checkBox*');
4912
- if (element) {
4913
- params[_dataParams4[0]] = 0;
4868
+ var element = params[key];
4869
+ if (element && key.indexOf('*number*') >= 0) {
4870
+ var dataParams = key.split('*number*');
4871
+ dataParams.forEach(function (value, index) {
4872
+ params[value] = element[index];
4873
+ });
4874
+ delete params[key];
4875
+ } else if (element && key.indexOf('*address*') >= 0) {
4876
+ var _dataParams = key.split('*address*');
4877
+ _dataParams.forEach(function (value, index) {
4878
+ params[value] = element.PCDCode[index];
4879
+ });
4880
+ delete params[key];
4881
+ } else if (element && key.indexOf('*costType*') >= 0) {
4882
+ var _dataParams2 = key.split('*costType*');
4883
+ // eslint-disable-next-line prefer-destructuring
4884
+ params[_dataParams2[0]] = element[1];
4885
+ delete params[key];
4886
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
4887
+ var _dataParams3 = key.split('*fullDate*');
4888
+ _dataParams3.forEach(function (value, index) {
4889
+ if (index === 0) {
4890
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
4891
+ } else {
4892
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
4914
4893
  }
4915
- delete params[key];
4916
- } else if (element && key.indexOf('*cascader*') >= 0) {
4917
- var _dataParams5 = key.split('*cascader*');
4918
- params[_dataParams5[0]] = element[element.length - 1];
4919
- delete params[key];
4920
- } else if (element && key.indexOf('*date*') >= 0) {
4921
- var _dataParams6 = key.split('*date*');
4922
- _dataParams6.forEach(function (value, index) {
4923
- if (index === 0) {
4924
- params[value] = moment(element[index]).format('YYYY-MM-DD');
4925
- } else {
4926
- params[value] = moment(element[index]).format('YYYY-MM-DD');
4927
- }
4928
- });
4929
- delete params[key];
4930
- } else if (element && key.indexOf('*') >= 0) {
4931
- var _dataParams7 = key.split('*');
4932
- _dataParams7.forEach(function (value, index) {
4933
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
4934
- });
4935
- delete params[key];
4936
- } else if (element && key.indexOf('_selectNumberRange') >= 0) {
4937
- // key = xxxxx_selectNumberRange qp-xxxxx-gt
4938
- var _dataParams8 = key.split('_selectNumberRange')[0];
4939
- if (params[key][0] === 'range') {
4940
- if (params[key][1][0]) {
4941
- params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
4942
- }
4943
- if (params[key][1][1]) {
4944
- params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
4945
- }
4894
+ });
4895
+ delete params[key];
4896
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
4897
+ var _dataParams4 = key.split('*checkBox*');
4898
+ if (element) {
4899
+ params[_dataParams4[0]] = 0;
4900
+ }
4901
+ delete params[key];
4902
+ } else if (element && key.indexOf('*cascader*') >= 0) {
4903
+ var _dataParams5 = key.split('*cascader*');
4904
+ params[_dataParams5[0]] = element[element.length - 1];
4905
+ delete params[key];
4906
+ } else if (element && key.indexOf('*date*') >= 0) {
4907
+ var _dataParams6 = key.split('*date*');
4908
+ _dataParams6.forEach(function (value, index) {
4909
+ if (index === 0) {
4910
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
4946
4911
  } else {
4947
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
4912
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
4948
4913
  }
4949
- delete params[key];
4950
- } else if (Array.isArray(element)) {
4951
- params[key] = element.join(',');
4952
- } else if (element == null || element === undefined || String(element).trim() === '') {
4953
- delete params[key];
4914
+ });
4915
+ delete params[key];
4916
+ } else if (element && key.indexOf('*') >= 0) {
4917
+ var _dataParams7 = key.split('*');
4918
+ _dataParams7.forEach(function (value, index) {
4919
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
4920
+ });
4921
+ delete params[key];
4922
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
4923
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
4924
+ var _dataParams8 = key.split('_selectNumberRange')[0];
4925
+ if (params[key][0] === 'range') {
4926
+ if (params[key][1][0]) {
4927
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
4928
+ }
4929
+ if (params[key][1][1]) {
4930
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
4931
+ }
4932
+ } else {
4933
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
4954
4934
  }
4955
- })();
4935
+ delete params[key];
4936
+ } else if (Array.isArray(element)) {
4937
+ params[key] = element.join(',');
4938
+ } else if (element == null || element === undefined || String(element).trim() === '') {
4939
+ delete params[key];
4940
+ }
4956
4941
  }
4942
+ };
4943
+ for (var key in params) {
4944
+ _loop();
4957
4945
  }
4958
4946
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
4959
4947
  pageSize: pageSize,
@@ -6408,72 +6396,70 @@ var BillEntry = function BillEntry(_ref3) {
6408
6396
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
6409
6397
  var canEntryObject, _canEntryObject$error, messageInfo;
6410
6398
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6411
- while (1) {
6412
- switch (_context.prev = _context.next) {
6413
- case 0:
6414
- if (data === null || data === void 0 ? void 0 : data.length) {
6415
- _context.next = 3;
6416
- break;
6417
- }
6418
- message$1.warning('至少录入一条数据');
6419
- return _context.abrupt("return");
6420
- case 3:
6421
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6422
- return d.skuCode && d.name;
6423
- })) {
6424
- _context.next = 6;
6425
- break;
6426
- }
6427
- message$1.warning('请选择商品!');
6428
- return _context.abrupt("return");
6429
- case 6:
6430
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6431
- return d.count;
6432
- })) {
6433
- _context.next = 9;
6434
- break;
6435
- }
6436
- message$1.warning('请填写商品数量!');
6437
- return _context.abrupt("return");
6438
- case 9:
6439
- _context.next = 11;
6440
- return isSkuCanEntry(data);
6441
- case 11:
6442
- canEntryObject = _context.sent;
6443
- if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
6444
- _context.next = 16;
6445
- break;
6446
- }
6447
- messageInfo = (canEntryObject === null || canEntryObject === void 0 ? void 0 : (_canEntryObject$error = canEntryObject.errorList) === null || _canEntryObject$error === void 0 ? void 0 : _canEntryObject$error.length) && (canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.errorList.map(function (i) {
6448
- return /*#__PURE__*/React.createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
6449
- }));
6450
- messageInfo && message$1.warning({
6451
- content: messageInfo,
6452
- duration: 6
6453
- });
6454
- return _context.abrupt("return");
6455
- case 16:
6456
- setLoading(true);
6457
- onSaveCallback(data).then(function (res) {
6458
- {
6459
- var _Object$keys;
6460
- var initSuccessMessage = '保存成功';
6461
- var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
6462
- if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
6463
- (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? message$1.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
6464
- } else {
6465
- message$1.success(initSuccessMessage);
6466
- }
6399
+ while (1) switch (_context.prev = _context.next) {
6400
+ case 0:
6401
+ if (data === null || data === void 0 ? void 0 : data.length) {
6402
+ _context.next = 3;
6403
+ break;
6404
+ }
6405
+ message$1.warning('至少录入一条数据');
6406
+ return _context.abrupt("return");
6407
+ case 3:
6408
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6409
+ return d.skuCode && d.name;
6410
+ })) {
6411
+ _context.next = 6;
6412
+ break;
6413
+ }
6414
+ message$1.warning('请选择商品!');
6415
+ return _context.abrupt("return");
6416
+ case 6:
6417
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6418
+ return d.count;
6419
+ })) {
6420
+ _context.next = 9;
6421
+ break;
6422
+ }
6423
+ message$1.warning('请填写商品数量!');
6424
+ return _context.abrupt("return");
6425
+ case 9:
6426
+ _context.next = 11;
6427
+ return isSkuCanEntry(data);
6428
+ case 11:
6429
+ canEntryObject = _context.sent;
6430
+ if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
6431
+ _context.next = 16;
6432
+ break;
6433
+ }
6434
+ messageInfo = (canEntryObject === null || canEntryObject === void 0 ? void 0 : (_canEntryObject$error = canEntryObject.errorList) === null || _canEntryObject$error === void 0 ? void 0 : _canEntryObject$error.length) && (canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.errorList.map(function (i) {
6435
+ return /*#__PURE__*/React.createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
6436
+ }));
6437
+ messageInfo && message$1.warning({
6438
+ content: messageInfo,
6439
+ duration: 6
6440
+ });
6441
+ return _context.abrupt("return");
6442
+ case 16:
6443
+ setLoading(true);
6444
+ onSaveCallback(data).then(function (res) {
6445
+ {
6446
+ var _Object$keys;
6447
+ var initSuccessMessage = '保存成功';
6448
+ var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
6449
+ if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
6450
+ (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? message$1.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
6451
+ } else {
6452
+ message$1.success(initSuccessMessage);
6467
6453
  }
6468
- setLoading(false);
6469
- }).catch(function (Error) {
6470
- message$1.error(Error);
6471
- setLoading(false);
6472
- });
6473
- case 18:
6474
- case "end":
6475
- return _context.stop();
6476
- }
6454
+ }
6455
+ setLoading(false);
6456
+ }).catch(function (Error) {
6457
+ message$1.error(Error);
6458
+ setLoading(false);
6459
+ });
6460
+ case 18:
6461
+ case "end":
6462
+ return _context.stop();
6477
6463
  }
6478
6464
  }, _callee);
6479
6465
  }));
@@ -6599,6 +6585,13 @@ var shopFile2Type = [{
6599
6585
  text: "自营B2C",
6600
6586
  value: 'B2C'
6601
6587
  }];
6588
+ var shopFile2Status = [{
6589
+ text: "启用",
6590
+ value: 10
6591
+ }, {
6592
+ text: "禁用",
6593
+ value: 20
6594
+ }];
6602
6595
  var arrivalPaySupportList = [{
6603
6596
  text: "支持",
6604
6597
  value: 1
@@ -7554,10 +7547,11 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7554
7547
  mappingTextField: 'physicalWarehouseName',
7555
7548
  mappingTextShowKeyField: 'physicalWarehouseCode',
7556
7549
  mappingValueField: 'id',
7557
- otherParams: {
7558
- 'qp-isEnable-eq': 1,
7550
+ otherParams: _objectSpread2(_objectSpread2({}, (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? {} : {
7551
+ 'qp-isEnable-eq': 1
7552
+ }), {}, {
7559
7553
  sorter: 'desc-id'
7560
- },
7554
+ }),
7561
7555
  sourceName: 'warehouseIds'
7562
7556
  }, requestConfigProp);
7563
7557
  tableSearchForm = [{
@@ -7590,7 +7584,12 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7590
7584
  }
7591
7585
  }
7592
7586
  }
7593
- }];
7587
+ }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
7588
+ name: 'qp-isEnable-eq',
7589
+ type: 'select',
7590
+ label: '物理仓状态',
7591
+ initialSource: getDictionarySource$1('SC00001')
7592
+ }] : []));
7594
7593
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/company"), {
7595
7594
  pageSize: 5000,
7596
7595
  currentPage: 1,
@@ -7613,10 +7612,16 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7613
7612
  render: function render(text) {
7614
7613
  return getDictionaryTextByValue('SC00002', text);
7615
7614
  }
7616
- }, {
7615
+ }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
7616
+ title: '状态',
7617
+ dataIndex: 'isEnable',
7618
+ render: function render(text) {
7619
+ return getDictionaryTextByValue('SC00001', text);
7620
+ }
7621
+ }] : []), [{
7617
7622
  title: '所属公司',
7618
7623
  dataIndex: 'companyName'
7619
- }]
7624
+ }])
7620
7625
  }, modalTableBusProps);
7621
7626
  }
7622
7627
  if (type === 'realWarehouse') {
@@ -7626,10 +7631,11 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7626
7631
  mappingTextField: 'realWarehouseName',
7627
7632
  mappingTextShowKeyField: 'realWarehouseCode',
7628
7633
  mappingValueField: 'id',
7629
- otherParams: {
7630
- 'qp-isEnable-eq': 1,
7634
+ otherParams: _objectSpread2(_objectSpread2({}, (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? {} : {
7635
+ 'qp-isEnable-eq': 1
7636
+ }), {}, {
7631
7637
  sorter: 'desc-id'
7632
- },
7638
+ }),
7633
7639
  sourceName: 'warehouseIds'
7634
7640
  }, requestConfigProp);
7635
7641
  tableSearchForm = [{
@@ -7643,7 +7649,12 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7643
7649
  type: 'select',
7644
7650
  label: '逻辑仓类型',
7645
7651
  initialSource: getDictionarySource$1('SC00004')
7646
- }];
7652
+ }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
7653
+ name: 'qp-isEnable-eq',
7654
+ type: 'select',
7655
+ label: '逻辑仓状态',
7656
+ initialSource: getDictionarySource$1('SC00001')
7657
+ }] : []));
7647
7658
  modalTableProps = _objectSpread2({
7648
7659
  modalTableTitle: '选择逻辑仓',
7649
7660
  tableSearchForm: tableSearchForm,
@@ -7659,7 +7670,13 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7659
7670
  render: function render(text) {
7660
7671
  return getDictionaryTextByValue('SC00004', text);
7661
7672
  }
7662
- }]
7673
+ }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
7674
+ title: '状态',
7675
+ dataIndex: 'isEnable',
7676
+ render: function render(text) {
7677
+ return getDictionaryTextByValue('SC00001', text);
7678
+ }
7679
+ }] : []))
7663
7680
  }, modalTableBusProps);
7664
7681
  }
7665
7682
  if (type === 'ownerWarehouse') {
@@ -7669,10 +7686,11 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7669
7686
  mappingTextField: 'name',
7670
7687
  mappingTextShowKeyField: 'operationWarehouseCode',
7671
7688
  mappingValueField: 'operationWarehouseCode',
7672
- otherParams: {
7673
- 'qp-status-eq': 1,
7689
+ otherParams: _objectSpread2(_objectSpread2({}, (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? {} : {
7690
+ 'qp-status-eq': 1
7691
+ }), {}, {
7674
7692
  sorter: 'desc-id'
7675
- },
7693
+ }),
7676
7694
  sourceName: 'qp-operationWarehouseCode-in'
7677
7695
  }, requestConfigProp);
7678
7696
  tableSearchForm = [{
@@ -7700,7 +7718,12 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7700
7718
  }
7701
7719
  }
7702
7720
  }
7703
- }];
7721
+ }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
7722
+ name: 'qp-status-eq',
7723
+ type: 'select',
7724
+ label: '运营仓状态',
7725
+ initialSource: getDictionarySource$1('SC00001')
7726
+ }] : []));
7704
7727
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/groupInfo/listNoPage"), {
7705
7728
  'qp-status-eq': 1
7706
7729
  })]).then(function (x) {
@@ -7718,7 +7741,13 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
7718
7741
  }, {
7719
7742
  title: '运营组',
7720
7743
  dataIndex: 'groupName'
7721
- }]
7744
+ }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
7745
+ title: '状态',
7746
+ dataIndex: 'status',
7747
+ render: function render(text) {
7748
+ return getDictionaryTextByValue('SC00001', text);
7749
+ }
7750
+ }] : []))
7722
7751
  }, modalTableBusProps);
7723
7752
  }
7724
7753
  // 仓库选择器(虚拟、渠道仓)(无弹窗)
@@ -8137,6 +8166,11 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
8137
8166
  type: 'select',
8138
8167
  label: '商店类型',
8139
8168
  initialSource: shopFile2Type
8169
+ }, {
8170
+ name: 'qp-status-in',
8171
+ type: 'select',
8172
+ label: '商店状态',
8173
+ initialSource: shopFile2Status
8140
8174
  }, {
8141
8175
  name: 'qp-orgCode-in',
8142
8176
  type: 'select',
@@ -8162,7 +8196,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
8162
8196
  'qp-realOrg-eq': true,
8163
8197
  'qp-status-eq': 10
8164
8198
  })]).then(function (x) {
8165
- formatSource(x, 0, 3, tableSearchForm);
8199
+ formatSource(x, 0, 4, tableSearchForm);
8166
8200
  });
8167
8201
  modalTableProps = _objectSpread2({
8168
8202
  modalTableTitle: '选择商店',
@@ -8182,6 +8216,15 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps) {
8182
8216
  return i.value === text;
8183
8217
  })) === null || _shopFile2Type$find === void 0 ? void 0 : _shopFile2Type$find.text;
8184
8218
  }
8219
+ }, {
8220
+ title: '启用状态',
8221
+ dataIndex: 'status',
8222
+ render: function render(text) {
8223
+ var _shopFile2Status$find;
8224
+ return (_shopFile2Status$find = shopFile2Status.find(function (i) {
8225
+ return i.value === text;
8226
+ })) === null || _shopFile2Status$find === void 0 ? void 0 : _shopFile2Status$find.text;
8227
+ }
8185
8228
  }, {
8186
8229
  title: '所属销售组织',
8187
8230
  dataIndex: 'orgName'
@@ -9608,7 +9651,7 @@ var CommodityEntry = function CommodityEntry(props) {
9608
9651
  * @LastEditTime: 2022-01-14 17:17:26
9609
9652
  * @LastEditors: rodchen
9610
9653
  */
9611
- var index$1 = (function (storageKeyString) {
9654
+ var index$2 = (function (storageKeyString) {
9612
9655
  var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
9613
9656
  var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
9614
9657
  if (typeof seconds !== 'number') throw new Error('seconds should be number');
@@ -9729,44 +9772,42 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
9729
9772
  var _ctx$form;
9730
9773
  var resData, coverData, data, dataList;
9731
9774
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9732
- while (1) {
9733
- switch (_context.prev = _context.next) {
9734
- case 0:
9735
- resData = (res === null || res === void 0 ? void 0 : res.data) || [];
9736
- if (!(resData.status === '0' || resData.code === '000000')) {
9737
- _context.next = 13;
9738
- break;
9739
- }
9740
- data = resData.data;
9741
- if (!remoteSource.converter) {
9742
- _context.next = 9;
9743
- break;
9744
- }
9745
- _context.next = 6;
9746
- return remoteSource.converter({
9747
- data: [data]
9748
- });
9749
- case 6:
9750
- coverData = _context.sent;
9751
- _context.next = 11;
9775
+ while (1) switch (_context.prev = _context.next) {
9776
+ case 0:
9777
+ resData = (res === null || res === void 0 ? void 0 : res.data) || [];
9778
+ if (!(resData.status === '0' || resData.code === '000000')) {
9779
+ _context.next = 13;
9752
9780
  break;
9753
- case 9:
9754
- dataList = data && Array.isArray(data) ? data : data && [data] || [];
9755
- coverData = dataList.length && dataList.map(function (ites) {
9756
- return mapSearchTree(ites);
9757
- }) || [];
9758
- case 11:
9759
- _context.next = 14;
9781
+ }
9782
+ data = resData.data;
9783
+ if (!remoteSource.converter) {
9784
+ _context.next = 9;
9760
9785
  break;
9761
- case 13:
9762
- coverData = [];
9763
- case 14:
9764
- setTreeData(coverData);
9765
- ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
9766
- case 16:
9767
- case "end":
9768
- return _context.stop();
9769
- }
9786
+ }
9787
+ _context.next = 6;
9788
+ return remoteSource.converter({
9789
+ data: [data]
9790
+ });
9791
+ case 6:
9792
+ coverData = _context.sent;
9793
+ _context.next = 11;
9794
+ break;
9795
+ case 9:
9796
+ dataList = data && Array.isArray(data) ? data : data && [data] || [];
9797
+ coverData = dataList.length && dataList.map(function (ites) {
9798
+ return mapSearchTree(ites);
9799
+ }) || [];
9800
+ case 11:
9801
+ _context.next = 14;
9802
+ break;
9803
+ case 13:
9804
+ coverData = [];
9805
+ case 14:
9806
+ setTreeData(coverData);
9807
+ ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
9808
+ case 16:
9809
+ case "end":
9810
+ return _context.stop();
9770
9811
  }
9771
9812
  }, _callee);
9772
9813
  }));
@@ -9973,7 +10014,7 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React.memo(BusinessTreeSearchSelec
9973
10014
  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";
9974
10015
  styleInject(css_248z$8);
9975
10016
 
9976
- var index$2 = (function (props) {
10017
+ var index$3 = (function (props) {
9977
10018
  var _props$formStatusMapp = props.formStatusMapping,
9978
10019
  formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
9979
10020
  return /*#__PURE__*/React.createElement("div", {
@@ -11397,7 +11438,7 @@ var iconMap = {
11397
11438
  src: moreIcon
11398
11439
  })
11399
11440
  };
11400
- var index$3 = (function (props) {
11441
+ var index$4 = (function (props) {
11401
11442
  var _useLocation = useLocation(),
11402
11443
  pathname = _useLocation.pathname;
11403
11444
  var _useState = useState(pathname + 'id'),
@@ -11614,7 +11655,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
11614
11655
  styleInject(css_248z$d);
11615
11656
 
11616
11657
  var _excluded$c = ["children"];
11617
- var index$4 = (function (props) {
11658
+ var index$5 = (function (props) {
11618
11659
  var _useLocation = useLocation(),
11619
11660
  pathname = _useLocation.pathname;
11620
11661
  var _useState = useState(pathname + 'id'),
@@ -13913,21 +13954,19 @@ function _outLogin() {
13913
13954
  _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
13914
13955
  var res;
13915
13956
  return _regeneratorRuntime().wrap(function _callee$(_context) {
13916
- while (1) {
13917
- switch (_context.prev = _context.next) {
13918
- case 0:
13919
- _context.next = 2;
13920
- return axios({
13921
- url: '/user/web/loginOut',
13922
- method: 'GET'
13923
- });
13924
- case 2:
13925
- res = _context.sent;
13926
- return _context.abrupt("return", res);
13927
- case 4:
13928
- case "end":
13929
- return _context.stop();
13930
- }
13957
+ while (1) switch (_context.prev = _context.next) {
13958
+ case 0:
13959
+ _context.next = 2;
13960
+ return axios({
13961
+ url: '/user/web/loginOut',
13962
+ method: 'GET'
13963
+ });
13964
+ case 2:
13965
+ res = _context.sent;
13966
+ return _context.abrupt("return", res);
13967
+ case 4:
13968
+ case "end":
13969
+ return _context.stop();
13931
13970
  }
13932
13971
  }, _callee);
13933
13972
  }));
@@ -14056,31 +14095,29 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14056
14095
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
14057
14096
  var sessionId;
14058
14097
  return _regeneratorRuntime().wrap(function _callee$(_context) {
14059
- while (1) {
14060
- switch (_context.prev = _context.next) {
14061
- case 0:
14062
- _context.next = 2;
14063
- return getSessionId();
14064
- case 2:
14065
- sessionId = _context.sent;
14066
- _context.next = 5;
14067
- return outLogin({
14068
- sessionId: sessionId
14098
+ while (1) switch (_context.prev = _context.next) {
14099
+ case 0:
14100
+ _context.next = 2;
14101
+ return getSessionId();
14102
+ case 2:
14103
+ sessionId = _context.sent;
14104
+ _context.next = 5;
14105
+ return outLogin({
14106
+ sessionId: sessionId
14107
+ });
14108
+ case 5:
14109
+ // @ts-ignore
14110
+ if (BUILD_TYPE) {
14111
+ message$1.success('退出登录成功');
14112
+ history.replace({
14113
+ pathname: '/user/login'
14069
14114
  });
14070
- case 5:
14071
- // @ts-ignore
14072
- if (BUILD_TYPE) {
14073
- message$1.success('退出登录成功');
14074
- history.replace({
14075
- pathname: '/user/login'
14076
- });
14077
- } else {
14078
- setLoginOutPath();
14079
- }
14080
- case 6:
14081
- case "end":
14082
- return _context.stop();
14083
- }
14115
+ } else {
14116
+ setLoginOutPath();
14117
+ }
14118
+ case 6:
14119
+ case "end":
14120
+ return _context.stop();
14084
14121
  }
14085
14122
  }, _callee);
14086
14123
  }));
@@ -15908,6 +15945,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
15908
15945
  showSubMenu: isShow
15909
15946
  });
15910
15947
  }, 500);
15948
+ //设置tabs标签左右滚动
15911
15949
  _this.setTabNavTransLate = function (num) {
15912
15950
  var _document$getElementB, _document$getElementB2, _document$getElementB3, _document$getElementB4, _document$defaultView;
15913
15951
  var globalTabsNav = (_document$getElementB = document.getElementById('globalTabs')) === null || _document$getElementB === void 0 ? void 0 : (_document$getElementB2 = _document$getElementB.getElementsByClassName('ant-tabs-nav-list')) === null || _document$getElementB2 === void 0 ? void 0 : _document$getElementB2[0];
@@ -16588,14 +16626,12 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
16588
16626
  request: function () {
16589
16627
  var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
16590
16628
  return _regeneratorRuntime().wrap(function _callee$(_context) {
16591
- while (1) {
16592
- switch (_context.prev = _context.next) {
16593
- case 0:
16594
- return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
16595
- case 1:
16596
- case "end":
16597
- return _context.stop();
16598
- }
16629
+ while (1) switch (_context.prev = _context.next) {
16630
+ case 0:
16631
+ return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
16632
+ case 1:
16633
+ case "end":
16634
+ return _context.stop();
16599
16635
  }
16600
16636
  }, _callee);
16601
16637
  }));
@@ -16733,7 +16769,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
16733
16769
  }]);
16734
16770
  return WrapperComponent;
16735
16771
  }(React.Component);
16736
- var index$5 = (function (props) {
16772
+ var index$6 = (function (props) {
16737
16773
  var _useModel = useModel('@@initialState'),
16738
16774
  _useModel$initialStat = _useModel.initialState,
16739
16775
  initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
@@ -16974,7 +17010,7 @@ var FixedScrollBar = function FixedScrollBar(_ref, ref) {
16974
17010
  };
16975
17011
  var FixedScrollBar$1 = /*#__PURE__*/React.forwardRef(FixedScrollBar);
16976
17012
 
16977
- var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
17013
+ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
16978
17014
  var _useState = useState(false),
16979
17015
  _useState2 = _slicedToArray(_useState, 2),
16980
17016
  show = _useState2[0],
@@ -24275,28 +24311,26 @@ var valueType = {
24275
24311
  var getDynamicDict = /*#__PURE__*/function () {
24276
24312
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
24277
24313
  return _regeneratorRuntime().wrap(function _callee$(_context) {
24278
- while (1) {
24279
- switch (_context.prev = _context.next) {
24280
- case 0:
24281
- _context.next = 2;
24282
- return request$1({
24283
- url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
24284
- converter: function converter(_ref2) {
24285
- var data = _ref2.data;
24286
- return data === null || data === void 0 ? void 0 : data.map(function (d) {
24287
- return {
24288
- text: d.name,
24289
- value: d.code || d.brandCode
24290
- };
24291
- });
24292
- }
24293
- });
24294
- case 2:
24295
- return _context.abrupt("return", _context.sent);
24296
- case 3:
24297
- case "end":
24298
- return _context.stop();
24299
- }
24314
+ while (1) switch (_context.prev = _context.next) {
24315
+ case 0:
24316
+ _context.next = 2;
24317
+ return request$1({
24318
+ url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
24319
+ converter: function converter(_ref2) {
24320
+ var data = _ref2.data;
24321
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
24322
+ return {
24323
+ text: d.name,
24324
+ value: d.code || d.brandCode
24325
+ };
24326
+ });
24327
+ }
24328
+ });
24329
+ case 2:
24330
+ return _context.abrupt("return", _context.sent);
24331
+ case 3:
24332
+ case "end":
24333
+ return _context.stop();
24300
24334
  }
24301
24335
  }, _callee);
24302
24336
  }));
@@ -24346,55 +24380,53 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
24346
24380
  useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
24347
24381
  var _ref$current, source;
24348
24382
  return _regeneratorRuntime().wrap(function _callee$(_context) {
24349
- while (1) {
24350
- switch (_context.prev = _context.next) {
24351
- case 0:
24352
- _context.next = 2;
24353
- return setIsShowAndType(function (prev) {
24354
- if (record.inputType === 20 || record.inputType === 30) {
24355
- return {
24356
- isShow: true,
24357
- singleOrMultiple: record.inputType,
24358
- type: record.choiceType
24359
- };
24360
- }
24361
- return prev;
24362
- });
24363
- case 2:
24364
- if (!record.dictionaryCode) {
24365
- _context.next = 17;
24366
- break;
24367
- }
24368
- if (!(record.choiceType == 20)) {
24369
- _context.next = 7;
24370
- break;
24383
+ while (1) switch (_context.prev = _context.next) {
24384
+ case 0:
24385
+ _context.next = 2;
24386
+ return setIsShowAndType(function (prev) {
24387
+ if (record.inputType === 20 || record.inputType === 30) {
24388
+ return {
24389
+ isShow: true,
24390
+ singleOrMultiple: record.inputType,
24391
+ type: record.choiceType
24392
+ };
24371
24393
  }
24372
- _context.t0 = getDictionarySource(record.dictionaryCode);
24373
- _context.next = 15;
24394
+ return prev;
24395
+ });
24396
+ case 2:
24397
+ if (!record.dictionaryCode) {
24398
+ _context.next = 17;
24374
24399
  break;
24375
- case 7:
24376
- if (!(record.choiceType == 30)) {
24377
- _context.next = 13;
24378
- break;
24379
- }
24380
- _context.next = 10;
24381
- return getDynamicDict(record.dictionaryCode);
24382
- case 10:
24383
- _context.t1 = _context.sent;
24384
- _context.next = 14;
24400
+ }
24401
+ if (!(record.choiceType == 20)) {
24402
+ _context.next = 7;
24385
24403
  break;
24386
- case 13:
24387
- _context.t1 = [];
24388
- case 14:
24389
- _context.t0 = _context.t1;
24390
- case 15:
24391
- source = _context.t0;
24392
- // @ts-ignore
24393
- ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
24394
- case 17:
24395
- case "end":
24396
- return _context.stop();
24397
- }
24404
+ }
24405
+ _context.t0 = getDictionarySource(record.dictionaryCode);
24406
+ _context.next = 15;
24407
+ break;
24408
+ case 7:
24409
+ if (!(record.choiceType == 30)) {
24410
+ _context.next = 13;
24411
+ break;
24412
+ }
24413
+ _context.next = 10;
24414
+ return getDynamicDict(record.dictionaryCode);
24415
+ case 10:
24416
+ _context.t1 = _context.sent;
24417
+ _context.next = 14;
24418
+ break;
24419
+ case 13:
24420
+ _context.t1 = [];
24421
+ case 14:
24422
+ _context.t0 = _context.t1;
24423
+ case 15:
24424
+ source = _context.t0;
24425
+ // @ts-ignore
24426
+ ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
24427
+ case 17:
24428
+ case "end":
24429
+ return _context.stop();
24398
24430
  }
24399
24431
  }, _callee);
24400
24432
  })));
@@ -24462,30 +24494,28 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
24462
24494
  var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
24463
24495
  var form, values, name, relates, source;
24464
24496
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
24465
- while (1) {
24466
- switch (_context2.prev = _context2.next) {
24467
- case 0:
24468
- form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
24469
- if (values[0]) {
24470
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24471
- form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24472
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
24473
- }
24474
- if (!values[1]) {
24475
- _context2.next = 9;
24476
- break;
24477
- }
24478
- _context2.next = 5;
24479
- return getDynamicDict(record.dictionaryCode || values[1]);
24480
- case 5:
24481
- source = _context2.sent;
24497
+ while (1) switch (_context2.prev = _context2.next) {
24498
+ case 0:
24499
+ form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
24500
+ if (values[0]) {
24482
24501
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24483
24502
  form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24484
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
24485
- case 9:
24486
- case "end":
24487
- return _context2.stop();
24488
- }
24503
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
24504
+ }
24505
+ if (!values[1]) {
24506
+ _context2.next = 9;
24507
+ break;
24508
+ }
24509
+ _context2.next = 5;
24510
+ return getDynamicDict(record.dictionaryCode || values[1]);
24511
+ case 5:
24512
+ source = _context2.sent;
24513
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24514
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24515
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
24516
+ case 9:
24517
+ case "end":
24518
+ return _context2.stop();
24489
24519
  }
24490
24520
  }, _callee2);
24491
24521
  }));
@@ -24945,43 +24975,41 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
24945
24975
  var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
24946
24976
  var values, name, form, source;
24947
24977
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
24948
- while (1) {
24949
- switch (_context3.prev = _context3.next) {
24950
- case 0:
24951
- values = _ref10.values, name = _ref10.name, form = _ref10.form;
24952
- if (values[1] === 40) {
24953
- form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
24954
- form.setFieldVisible(name, false);
24955
- }
24956
- if (!(values[0] === 30)) {
24957
- _context3.next = 10;
24958
- break;
24959
- }
24960
- _context3.next = 5;
24961
- return request$1({
24962
- url: '/basic/dictDynamicItem/queryList',
24963
- converter: function converter(_ref11) {
24964
- var data = _ref11.data;
24965
- return data === null || data === void 0 ? void 0 : data.map(function (d) {
24966
- return {
24967
- text: d.dictCode,
24968
- value: d.dictCode
24969
- };
24970
- });
24971
- }
24972
- });
24973
- case 5:
24974
- source = _context3.sent;
24975
- form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
24976
- form.setFieldVisible(name, true);
24977
- _context3.next = 11;
24978
- break;
24979
- case 10:
24978
+ while (1) switch (_context3.prev = _context3.next) {
24979
+ case 0:
24980
+ values = _ref10.values, name = _ref10.name, form = _ref10.form;
24981
+ if (values[1] === 40) {
24982
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
24980
24983
  form.setFieldVisible(name, false);
24981
- case 11:
24982
- case "end":
24983
- return _context3.stop();
24984
- }
24984
+ }
24985
+ if (!(values[0] === 30)) {
24986
+ _context3.next = 10;
24987
+ break;
24988
+ }
24989
+ _context3.next = 5;
24990
+ return request$1({
24991
+ url: '/basic/dictDynamicItem/queryList',
24992
+ converter: function converter(_ref11) {
24993
+ var data = _ref11.data;
24994
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
24995
+ return {
24996
+ text: d.dictCode,
24997
+ value: d.dictCode
24998
+ };
24999
+ });
25000
+ }
25001
+ });
25002
+ case 5:
25003
+ source = _context3.sent;
25004
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
25005
+ form.setFieldVisible(name, true);
25006
+ _context3.next = 11;
25007
+ break;
25008
+ case 10:
25009
+ form.setFieldVisible(name, false);
25010
+ case 11:
25011
+ case "end":
25012
+ return _context3.stop();
24985
25013
  }
24986
25014
  }, _callee3);
24987
25015
  }));
@@ -25170,66 +25198,64 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
25170
25198
  var _ref$current4, _res$editableStatus;
25171
25199
  var res, _res$defaultValue;
25172
25200
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
25173
- while (1) {
25174
- switch (_context4.prev = _context4.next) {
25175
- case 0:
25176
- _context4.next = 2;
25177
- return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
25178
- case 2:
25179
- res = _context4.sent;
25180
- res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
25181
- res.fieldGroup = record.fieldGroup;
25182
- res.businessType = record.businessType;
25183
- res.info = {
25184
- enumeration: res.enumeration,
25185
- dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
25186
- formula: res.formula,
25187
- scale: res.scale,
25188
- variable: res.variable
25189
- };
25190
- res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
25191
- res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
25192
- res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
25193
- if (res.inputType === 40) {
25194
- res.valueType = 22;
25201
+ while (1) switch (_context4.prev = _context4.next) {
25202
+ case 0:
25203
+ _context4.next = 2;
25204
+ return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
25205
+ case 2:
25206
+ res = _context4.sent;
25207
+ res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
25208
+ res.fieldGroup = record.fieldGroup;
25209
+ res.businessType = record.businessType;
25210
+ res.info = {
25211
+ enumeration: res.enumeration,
25212
+ dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
25213
+ formula: res.formula,
25214
+ scale: res.scale,
25215
+ variable: res.variable
25216
+ };
25217
+ res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
25218
+ res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
25219
+ res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
25220
+ if (res.inputType === 40) {
25221
+ res.valueType = 22;
25222
+ }
25223
+ // 把数组处理成文本
25224
+ if (res.inputType === 30) {
25225
+ if (res.defaultValue) {
25226
+ res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
25195
25227
  }
25196
- // 把数组处理成文本
25197
- if (res.inputType === 30) {
25198
- if (res.defaultValue) {
25199
- res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
25200
- }
25228
+ }
25229
+ res.fieldMapping = res.fieldMapping || '';
25230
+ delete res.formula;
25231
+ delete res.showValue;
25232
+ if (!(mode === 'create')) {
25233
+ _context4.next = 18;
25234
+ break;
25235
+ }
25236
+ request$1({
25237
+ url: "/basic/flow/businessField",
25238
+ method: 'POST',
25239
+ params: res,
25240
+ successMessage: '创建成功!',
25241
+ converter: function converter() {
25242
+ onParentOk();
25201
25243
  }
25202
- res.fieldMapping = res.fieldMapping || '';
25203
- delete res.formula;
25204
- delete res.showValue;
25205
- if (!(mode === 'create')) {
25206
- _context4.next = 18;
25207
- break;
25244
+ });
25245
+ return _context4.abrupt("return");
25246
+ case 18:
25247
+ request$1({
25248
+ url: "/basic/flow/businessField/".concat(record.id),
25249
+ method: 'PATCH',
25250
+ params: res,
25251
+ successMessage: '修改成功!',
25252
+ converter: function converter() {
25253
+ onParentOk();
25208
25254
  }
25209
- request$1({
25210
- url: "/basic/flow/businessField",
25211
- method: 'POST',
25212
- params: res,
25213
- successMessage: '创建成功!',
25214
- converter: function converter() {
25215
- onParentOk();
25216
- }
25217
- });
25218
- return _context4.abrupt("return");
25219
- case 18:
25220
- request$1({
25221
- url: "/basic/flow/businessField/".concat(record.id),
25222
- method: 'PATCH',
25223
- params: res,
25224
- successMessage: '修改成功!',
25225
- converter: function converter() {
25226
- onParentOk();
25227
- }
25228
- });
25229
- case 19:
25230
- case "end":
25231
- return _context4.stop();
25232
- }
25255
+ });
25256
+ case 19:
25257
+ case "end":
25258
+ return _context4.stop();
25233
25259
  }
25234
25260
  }, _callee4);
25235
25261
  }));
@@ -26014,28 +26040,26 @@ var BsCascader = function BsCascader(_ref) {
26014
26040
  useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
26015
26041
  var resData, data;
26016
26042
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26017
- while (1) {
26018
- switch (_context.prev = _context.next) {
26019
- case 0:
26020
- if (!(!source && initRequestSource)) {
26021
- _context.next = 6;
26022
- break;
26023
- }
26024
- _context.next = 3;
26025
- return initRequestSource();
26026
- case 3:
26027
- resData = _context.sent;
26028
- data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
26029
- return _objectSpread2(_objectSpread2({}, item), {}, {
26030
- label: item.text,
26031
- isLeaf: false
26032
- });
26033
- })) || [];
26034
- setHandSource(data);
26035
- case 6:
26036
- case "end":
26037
- return _context.stop();
26038
- }
26043
+ while (1) switch (_context.prev = _context.next) {
26044
+ case 0:
26045
+ if (!(!source && initRequestSource)) {
26046
+ _context.next = 6;
26047
+ break;
26048
+ }
26049
+ _context.next = 3;
26050
+ return initRequestSource();
26051
+ case 3:
26052
+ resData = _context.sent;
26053
+ data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
26054
+ return _objectSpread2(_objectSpread2({}, item), {}, {
26055
+ label: item.text,
26056
+ isLeaf: false
26057
+ });
26058
+ })) || [];
26059
+ setHandSource(data);
26060
+ case 6:
26061
+ case "end":
26062
+ return _context.stop();
26039
26063
  }
26040
26064
  }, _callee);
26041
26065
  })), []);
@@ -26167,20 +26191,18 @@ function getRegularThresholdRange(_x) {
26167
26191
  function _getRegularThresholdRange() {
26168
26192
  _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
26169
26193
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26170
- while (1) {
26171
- switch (_context.prev = _context.next) {
26172
- case 0:
26173
- return _context.abrupt("return", axios({
26174
- url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
26175
- method: 'POST',
26176
- data: _objectSpread2(_objectSpread2({}, params), {}, {
26177
- queryIdentify: undefined
26178
- })
26179
- }));
26180
- case 1:
26181
- case "end":
26182
- return _context.stop();
26183
- }
26194
+ while (1) switch (_context.prev = _context.next) {
26195
+ case 0:
26196
+ return _context.abrupt("return", axios({
26197
+ url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
26198
+ method: 'POST',
26199
+ data: _objectSpread2(_objectSpread2({}, params), {}, {
26200
+ queryIdentify: undefined
26201
+ })
26202
+ }));
26203
+ case 1:
26204
+ case "end":
26205
+ return _context.stop();
26184
26206
  }
26185
26207
  }, _callee);
26186
26208
  }));
@@ -26319,137 +26341,136 @@ var RuleField = /*#__PURE__*/function (_Component) {
26319
26341
  _this.getRegularThresholdRange(queryIdentify, propertyCode, queryIdentifyType);
26320
26342
  });
26321
26343
  };
26344
+ //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
26322
26345
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
26323
26346
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
26324
26347
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
26325
26348
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26326
- while (1) {
26327
- switch (_context.prev = _context.next) {
26328
- case 0:
26329
- if (queryIdentify) {
26330
- _context.next = 2;
26331
- break;
26332
- }
26333
- return _context.abrupt("return");
26334
- case 2:
26335
- thresholdQuery = _this.state.thresholdQuery;
26336
- extraRequestUrl = '';
26337
- querParams = setParams(propertyCode, thresholdQuery);
26338
- if (!queryIdentityInfo.find(function (item) {
26339
- return item.identity == propertyCode;
26340
- })) {
26341
- _context.next = 10;
26342
- break;
26343
- }
26344
- //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
26345
- needQueryList = queryIdentityInfo.find(function (item) {
26346
- return item.identity == propertyCode;
26347
- }).queryParam.filter(function (item) {
26348
- return item.isRequired;
26349
- }).map(function (item) {
26350
- return item.queryKey;
26351
- });
26352
- if (!needQueryList.some(function (item) {
26353
- return !querParams[item] || !querParams[item].length;
26354
- })) {
26355
- _context.next = 9;
26356
- break;
26357
- }
26358
- return _context.abrupt("return");
26359
- case 9:
26360
- extraRequestUrl = queryIdentityInfo.find(function (item) {
26361
- return item.identity == propertyCode;
26362
- }).requestUrl || '';
26363
- case 10:
26364
- if (queryIdentifyType === 'dictCodeIdentify') {
26365
- extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
26366
- querParams = {
26367
- dictCode: queryIdentify
26368
- };
26369
- } else if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26370
- extraRequestUrl = "dictDynamicItem/getDynamicData/".concat(queryIdentify); // 字典接口
26371
- // querParams = { dictCode: queryIdentify }
26372
- }
26373
- if (!extraRequestUrl) {
26374
- _context.next = 16;
26375
- break;
26376
- }
26377
- if (queryIdentify == 'maintain_area_code') {
26378
- extraRequestUrl = "/basic/".concat(extraRequestUrl).concat(querParams.memberCardCode, "?").concat(stringify(querParams));
26379
- } else if (queryIdentifyType == 'dictCodeIdentify') {
26380
- extraRequestUrl = "/basic/".concat(extraRequestUrl, "?").concat(stringify(querParams));
26381
- } else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
26382
- extraRequestUrl = "/basic/".concat(extraRequestUrl);
26383
- }
26384
- request$1({
26385
- url: extraRequestUrl,
26386
- method: 'get',
26387
- converter: function converter(res) {
26388
- if (handleError(res)) {
26389
- var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26390
- if (queryIdentifyType === 'dictCodeIdentify') {
26391
- var _handleData2;
26392
- _handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
26393
- return {
26394
- code: i.dictItemCode,
26395
- name: i.dictItemName
26396
- };
26397
- }) : [];
26398
- }
26399
- if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26400
- var _handleData3;
26401
- _handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
26402
- return {
26403
- code: i.code.toString(),
26404
- name: i.name
26405
- };
26406
- }) : [];
26407
- }
26408
- _this.setState({
26409
- thresholdList: _handleData
26410
- });
26349
+ while (1) switch (_context.prev = _context.next) {
26350
+ case 0:
26351
+ if (queryIdentify) {
26352
+ _context.next = 2;
26353
+ break;
26354
+ }
26355
+ return _context.abrupt("return");
26356
+ case 2:
26357
+ thresholdQuery = _this.state.thresholdQuery;
26358
+ extraRequestUrl = '';
26359
+ querParams = setParams(propertyCode, thresholdQuery);
26360
+ if (!queryIdentityInfo.find(function (item) {
26361
+ return item.identity == propertyCode;
26362
+ })) {
26363
+ _context.next = 10;
26364
+ break;
26365
+ }
26366
+ //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
26367
+ needQueryList = queryIdentityInfo.find(function (item) {
26368
+ return item.identity == propertyCode;
26369
+ }).queryParam.filter(function (item) {
26370
+ return item.isRequired;
26371
+ }).map(function (item) {
26372
+ return item.queryKey;
26373
+ });
26374
+ if (!needQueryList.some(function (item) {
26375
+ return !querParams[item] || !querParams[item].length;
26376
+ })) {
26377
+ _context.next = 9;
26378
+ break;
26379
+ }
26380
+ return _context.abrupt("return");
26381
+ case 9:
26382
+ extraRequestUrl = queryIdentityInfo.find(function (item) {
26383
+ return item.identity == propertyCode;
26384
+ }).requestUrl || '';
26385
+ case 10:
26386
+ if (queryIdentifyType === 'dictCodeIdentify') {
26387
+ extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
26388
+ querParams = {
26389
+ dictCode: queryIdentify
26390
+ };
26391
+ } else if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26392
+ extraRequestUrl = "dictDynamicItem/getDynamicData/".concat(queryIdentify); // 字典接口
26393
+ // querParams = { dictCode: queryIdentify }
26394
+ }
26395
+ if (!extraRequestUrl) {
26396
+ _context.next = 16;
26397
+ break;
26398
+ }
26399
+ if (queryIdentify == 'maintain_area_code') {
26400
+ extraRequestUrl = "/basic/".concat(extraRequestUrl).concat(querParams.memberCardCode, "?").concat(stringify(querParams));
26401
+ } else if (queryIdentifyType == 'dictCodeIdentify') {
26402
+ extraRequestUrl = "/basic/".concat(extraRequestUrl, "?").concat(stringify(querParams));
26403
+ } else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
26404
+ extraRequestUrl = "/basic/".concat(extraRequestUrl);
26405
+ }
26406
+ request$1({
26407
+ url: extraRequestUrl,
26408
+ method: 'get',
26409
+ converter: function converter(res) {
26410
+ if (handleError(res)) {
26411
+ var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26412
+ if (queryIdentifyType === 'dictCodeIdentify') {
26413
+ var _handleData2;
26414
+ _handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
26415
+ return {
26416
+ code: i.dictItemCode,
26417
+ name: i.dictItemName
26418
+ };
26419
+ }) : [];
26411
26420
  }
26412
- return handleData;
26421
+ if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26422
+ var _handleData3;
26423
+ _handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
26424
+ return {
26425
+ code: i.code.toString(),
26426
+ name: i.name
26427
+ };
26428
+ }) : [];
26429
+ }
26430
+ _this.setState({
26431
+ thresholdList: _handleData
26432
+ });
26413
26433
  }
26414
- });
26415
- _context.next = 29;
26416
- break;
26417
- case 16:
26418
- if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
26419
- _context.next = 20;
26420
- break;
26434
+ return handleData;
26421
26435
  }
26422
- _this.setState({
26423
- thresholdList: queryIdentify
26424
- });
26425
- _context.next = 29;
26436
+ });
26437
+ _context.next = 29;
26438
+ break;
26439
+ case 16:
26440
+ if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
26441
+ _context.next = 20;
26426
26442
  break;
26427
- case 20:
26428
- if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
26429
- _context.next = 24;
26430
- break;
26431
- }
26432
- // TODO待处理
26443
+ }
26444
+ _this.setState({
26445
+ thresholdList: queryIdentify
26446
+ });
26447
+ _context.next = 29;
26448
+ break;
26449
+ case 20:
26450
+ if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
26451
+ _context.next = 24;
26452
+ break;
26453
+ }
26454
+ // TODO待处理
26455
+ _this.setState({
26456
+ thresholdList: []
26457
+ });
26458
+ _context.next = 29;
26459
+ break;
26460
+ case 24:
26461
+ querParams.queryIdentify = queryIdentify;
26462
+ _context.next = 27;
26463
+ return getRegularThresholdRange(querParams);
26464
+ case 27:
26465
+ res = _context.sent;
26466
+ if (handleError(res)) {
26433
26467
  _this.setState({
26434
- thresholdList: []
26468
+ thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
26435
26469
  });
26436
- _context.next = 29;
26437
- break;
26438
- case 24:
26439
- querParams.queryIdentify = queryIdentify;
26440
- _context.next = 27;
26441
- return getRegularThresholdRange(querParams);
26442
- case 27:
26443
- res = _context.sent;
26444
- if (handleError(res)) {
26445
- _this.setState({
26446
- thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
26447
- });
26448
- }
26449
- case 29:
26450
- case "end":
26451
- return _context.stop();
26452
- }
26470
+ }
26471
+ case 29:
26472
+ case "end":
26473
+ return _context.stop();
26453
26474
  }
26454
26475
  }, _callee);
26455
26476
  }));
@@ -27268,32 +27289,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27268
27289
  notChangeOnSelect: true,
27269
27290
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
27270
27291
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
27271
- while (1) {
27272
- switch (_context2.prev = _context2.next) {
27273
- case 0:
27274
- _context2.next = 2;
27275
- return request$1({
27276
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27277
- method: 'get',
27278
- converter: function converter(_ref3) {
27279
- var data = _ref3.data;
27280
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27281
- return {
27282
- text: item.name,
27283
- value: item.id,
27284
- level: item.level,
27285
- id: item.id
27286
- };
27287
- }) : [];
27288
- return handleData;
27289
- }
27290
- });
27291
- case 2:
27292
- return _context2.abrupt("return", _context2.sent);
27293
- case 3:
27294
- case "end":
27295
- return _context2.stop();
27296
- }
27292
+ while (1) switch (_context2.prev = _context2.next) {
27293
+ case 0:
27294
+ _context2.next = 2;
27295
+ return request$1({
27296
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27297
+ method: 'get',
27298
+ converter: function converter(_ref3) {
27299
+ var data = _ref3.data;
27300
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27301
+ return {
27302
+ text: item.name,
27303
+ value: item.id,
27304
+ level: item.level,
27305
+ id: item.id
27306
+ };
27307
+ }) : [];
27308
+ return handleData;
27309
+ }
27310
+ });
27311
+ case 2:
27312
+ return _context2.abrupt("return", _context2.sent);
27313
+ case 3:
27314
+ case "end":
27315
+ return _context2.stop();
27297
27316
  }
27298
27317
  }, _callee2);
27299
27318
  })),
@@ -27319,32 +27338,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27319
27338
  notChangeOnSelect: true,
27320
27339
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
27321
27340
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
27322
- while (1) {
27323
- switch (_context3.prev = _context3.next) {
27324
- case 0:
27325
- _context3.next = 2;
27326
- return request$1({
27327
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27328
- method: 'get',
27329
- converter: function converter(_ref5) {
27330
- var data = _ref5.data;
27331
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27332
- return {
27333
- text: item.name,
27334
- value: item.id,
27335
- level: item.level,
27336
- id: item.id
27337
- };
27338
- }) : [];
27339
- return handleData;
27340
- }
27341
- });
27342
- case 2:
27343
- return _context3.abrupt("return", _context3.sent);
27344
- case 3:
27345
- case "end":
27346
- return _context3.stop();
27347
- }
27341
+ while (1) switch (_context3.prev = _context3.next) {
27342
+ case 0:
27343
+ _context3.next = 2;
27344
+ return request$1({
27345
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27346
+ method: 'get',
27347
+ converter: function converter(_ref5) {
27348
+ var data = _ref5.data;
27349
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27350
+ return {
27351
+ text: item.name,
27352
+ value: item.id,
27353
+ level: item.level,
27354
+ id: item.id
27355
+ };
27356
+ }) : [];
27357
+ return handleData;
27358
+ }
27359
+ });
27360
+ case 2:
27361
+ return _context3.abrupt("return", _context3.sent);
27362
+ case 3:
27363
+ case "end":
27364
+ return _context3.stop();
27348
27365
  }
27349
27366
  }, _callee3);
27350
27367
  })),
@@ -27372,32 +27389,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27372
27389
  notChangeOnSelect: true,
27373
27390
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
27374
27391
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
27375
- while (1) {
27376
- switch (_context4.prev = _context4.next) {
27377
- case 0:
27378
- _context4.next = 2;
27379
- return request$1({
27380
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27381
- method: 'get',
27382
- converter: function converter(_ref7) {
27383
- var data = _ref7.data;
27384
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27385
- return {
27386
- text: item.name,
27387
- value: item.id,
27388
- level: item.level,
27389
- id: item.id
27390
- };
27391
- }) : [];
27392
- return handleData;
27393
- }
27394
- });
27395
- case 2:
27396
- return _context4.abrupt("return", _context4.sent);
27397
- case 3:
27398
- case "end":
27399
- return _context4.stop();
27400
- }
27392
+ while (1) switch (_context4.prev = _context4.next) {
27393
+ case 0:
27394
+ _context4.next = 2;
27395
+ return request$1({
27396
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27397
+ method: 'get',
27398
+ converter: function converter(_ref7) {
27399
+ var data = _ref7.data;
27400
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27401
+ return {
27402
+ text: item.name,
27403
+ value: item.id,
27404
+ level: item.level,
27405
+ id: item.id
27406
+ };
27407
+ }) : [];
27408
+ return handleData;
27409
+ }
27410
+ });
27411
+ case 2:
27412
+ return _context4.abrupt("return", _context4.sent);
27413
+ case 3:
27414
+ case "end":
27415
+ return _context4.stop();
27401
27416
  }
27402
27417
  }, _callee4);
27403
27418
  })),
@@ -28514,8 +28529,6 @@ var RuleField = /*#__PURE__*/function (_Component) {
28514
28529
  });
28515
28530
  }
28516
28531
  }
28517
-
28518
- //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
28519
28532
  }, {
28520
28533
  key: "render",
28521
28534
  value: function render() {
@@ -29346,6 +29359,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29346
29359
  callBack(ruleClassData);
29347
29360
  });
29348
29361
  };
29362
+ // 树结构 转化成 平行树 (递归函数)
29349
29363
  _this.coverToParallel = function (treeData, result) {
29350
29364
  treeData.forEach(function (el) {
29351
29365
  result.push(el);
@@ -29599,6 +29613,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29599
29613
  callBack(ruleClassData);
29600
29614
  });
29601
29615
  };
29616
+ // 场景需要返回值2022.11.15
29602
29617
  _this.renderResItem = function (itemDetail, parentDetail, ruleReturnConfig, disabled, boxStyle) {
29603
29618
  var _ruleReturnConfig$rig;
29604
29619
  var isShowResponse = itemDetail.response['enable'];
@@ -29896,32 +29911,30 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29896
29911
  notChangeOnSelect: true,
29897
29912
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29898
29913
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29899
- while (1) {
29900
- switch (_context.prev = _context.next) {
29901
- case 0:
29902
- _context.next = 2;
29903
- return request$1({
29904
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
29905
- method: 'get',
29906
- converter: function converter(_ref2) {
29907
- var data = _ref2.data;
29908
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
29909
- return {
29910
- text: item.name,
29911
- value: item.id,
29912
- level: item.level,
29913
- id: item.id
29914
- };
29915
- }) : [];
29916
- return handleData;
29917
- }
29918
- });
29919
- case 2:
29920
- return _context.abrupt("return", _context.sent);
29921
- case 3:
29922
- case "end":
29923
- return _context.stop();
29924
- }
29914
+ while (1) switch (_context.prev = _context.next) {
29915
+ case 0:
29916
+ _context.next = 2;
29917
+ return request$1({
29918
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
29919
+ method: 'get',
29920
+ converter: function converter(_ref2) {
29921
+ var data = _ref2.data;
29922
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
29923
+ return {
29924
+ text: item.name,
29925
+ value: item.id,
29926
+ level: item.level,
29927
+ id: item.id
29928
+ };
29929
+ }) : [];
29930
+ return handleData;
29931
+ }
29932
+ });
29933
+ case 2:
29934
+ return _context.abrupt("return", _context.sent);
29935
+ case 3:
29936
+ case "end":
29937
+ return _context.stop();
29925
29938
  }
29926
29939
  }, _callee);
29927
29940
  })),
@@ -30255,6 +30268,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30255
30268
  }
30256
30269
  }, "\u65B0\u589E\u8FD4\u56DE\u503C")), isHaveRuleReturnConfig && _this.renderResItem(itemDetail, parentDetail, ruleReturnConfig, disabled, RuleActionItemStyle) || null, isHaveRuleTypeData && _this.renderActionList(itemDetail, parentDetail, handleRuleTypeData, selectRuleActionData, classDataIndex, disabled, RuleActionItemStyle) || null);
30257
30270
  };
30271
+ //添加同一层级条件
30258
30272
  _this.addPeerRule = function (itemDetail) {
30259
30273
  var ruleClassData = _this.state.ruleClassData;
30260
30274
  var _this$props4 = _this.props,
@@ -30275,6 +30289,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30275
30289
  callBack(ruleClassData);
30276
30290
  });
30277
30291
  };
30292
+ //添加子层级条件
30278
30293
  _this.addChildRules = function (itemDetail) {
30279
30294
  var ruleClassData = _this.state.ruleClassData;
30280
30295
  var callBack = _this.props.callBack;
@@ -30350,6 +30365,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30350
30365
  callBack(ruleClassData);
30351
30366
  });
30352
30367
  };
30368
+ // 新增执行顺序
30353
30369
  _this.handleSelectRuleAction = function (keys, classDataIndex, callback) {
30354
30370
  callback();
30355
30371
  var callBack = _this.props.callBack;
@@ -30500,4 +30516,4 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30500
30516
  return RuleObjectComponent;
30501
30517
  }(Component);
30502
30518
 
30503
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, CommodityEntry, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, GuideWrapper, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, QueryMutipleInput, RuleObjectComponent as RuleComponent, SearchSelect, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect };
30519
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, BillEntry, BsCascader, index$6 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$2 as CheckOneUser, ColumnSettingTable, CommodityEntry, DataImport, DataValidation, index$4 as DetailPageWrapper, EllipsisTooltip, ExportIcon, GuideWrapper, index$5 as HomePageWrapper, JsonQueryTable, index$7 as MoreTreeTable, QueryMutipleInput, RuleObjectComponent as RuleComponent, SearchSelect, index$3 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect };