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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (204) 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/BsLayouts/service.d.ts +1 -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/AddSelect/helps.d.ts +13 -0
  14. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  15. package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
  16. package/dist/index.esm.js +1369 -1289
  17. package/dist/index.js +1375 -1295
  18. package/dist/utils/utils.d.ts +1 -1
  19. package/docs/index.md +21 -21
  20. package/lib/assets/drag.svg +17 -17
  21. package/lib/assets/exportFail.svg +37 -37
  22. package/lib/assets/exportProcessing.svg +28 -28
  23. package/lib/assets/exportSuccess.svg +34 -34
  24. package/lib/assets/label_icon_bottom.svg +25 -25
  25. package/lib/assets/upExport.svg +22 -22
  26. package/package.json +78 -78
  27. package/src/assets/32.svg +27 -27
  28. package/src/assets/addIcon.svg +17 -17
  29. package/src/assets/allfunc.svg +27 -27
  30. package/src/assets/arrowRight.svg +24 -24
  31. package/src/assets/btn-delete.svg +29 -29
  32. package/src/assets/btn-edit.svg +19 -19
  33. package/src/assets/btn-more.svg +17 -17
  34. package/src/assets/btn-submit.svg +19 -19
  35. package/src/assets/caidan.svg +11 -11
  36. package/src/assets/close.svg +26 -26
  37. package/src/assets/drag.svg +17 -17
  38. package/src/assets/exportFail.svg +37 -37
  39. package/src/assets/exportProcessing.svg +28 -28
  40. package/src/assets/exportSuccess.svg +34 -34
  41. package/src/assets/fixed-left-active.svg +11 -11
  42. package/src/assets/fixed-left.svg +15 -15
  43. package/src/assets/fixed-right-active.svg +11 -11
  44. package/src/assets/fixed-right.svg +15 -15
  45. package/src/assets/guanbi.svg +15 -15
  46. package/src/assets/icon-quanping.svg +15 -15
  47. package/src/assets/icon-shezhi.svg +17 -17
  48. package/src/assets/label_icon_bottom.svg +25 -25
  49. package/src/assets/list-no-img.svg +21 -21
  50. package/src/assets/morentouxiang-32.svg +23 -23
  51. package/src/assets/scanning.svg +24 -24
  52. package/src/assets/upExport.svg +22 -22
  53. package/src/common/ENUM.ts +41 -41
  54. package/src/components/Business/AddSelectBusiness/index.md +162 -162
  55. package/src/components/Business/AddSelectBusiness/index.tsx +1060 -895
  56. package/src/components/Business/BsLayouts/Components/AllFunc/drawContent.tsx +111 -111
  57. package/src/components/Business/BsLayouts/Components/AllFunc/index.less +153 -153
  58. package/src/components/Business/BsLayouts/Components/AllFunc/index.tsx +70 -70
  59. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.less +90 -90
  60. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.tsx +37 -37
  61. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.tsx +242 -242
  62. package/src/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.tsx +384 -384
  63. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.tsx +285 -285
  64. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.tsx +74 -74
  65. package/src/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/drawContent.less +170 -170
  66. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.less +64 -64
  67. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +153 -153
  68. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.less +72 -72
  69. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +157 -157
  70. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +85 -85
  71. package/src/components/Business/BsLayouts/Components/RightContent/home.less +218 -218
  72. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +155 -155
  73. package/src/components/Business/BsLayouts/Components/SearchFunc/index.less +160 -160
  74. package/src/components/Business/BsLayouts/Components/SearchFunc/index.tsx +75 -75
  75. package/src/components/Business/BsLayouts/index.less +79 -79
  76. package/src/components/Business/BsLayouts/index.tsx +1484 -1484
  77. package/src/components/Business/BsLayouts/service.ts +10 -10
  78. package/src/components/Business/BsLayouts/utils.tsx +203 -203
  79. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +564 -564
  80. package/src/components/Business/BsSulaQueryTable/index.less +221 -221
  81. package/src/components/Business/BsSulaQueryTable/index.tsx +535 -535
  82. package/src/components/Business/BsSulaQueryTable/setting.tsx +852 -852
  83. package/src/components/Business/BsSulaQueryTable/utils.less +65 -65
  84. package/src/components/Business/BsSulaQueryTable/utils.tsx +690 -690
  85. package/src/components/Business/CommodityEntry/index.md +70 -70
  86. package/src/components/Business/CommodityEntry/index.tsx +80 -80
  87. package/src/components/Business/CommonAlert/index.tsx +23 -23
  88. package/src/components/Business/CommonGuideWrapper/index.less +111 -111
  89. package/src/components/Business/CommonGuideWrapper/index.md +39 -39
  90. package/src/components/Business/CommonGuideWrapper/index.tsx +83 -83
  91. package/src/components/Business/DetailPageWrapper/index.less +79 -79
  92. package/src/components/Business/DetailPageWrapper/index.tsx +313 -313
  93. package/src/components/Business/DetailPageWrapper/utils.tsx +100 -100
  94. package/src/components/Business/HomePageWrapper/index.less +33 -33
  95. package/src/components/Business/HomePageWrapper/index.md +45 -45
  96. package/src/components/Business/HomePageWrapper/index.tsx +162 -162
  97. package/src/components/Business/JsonQueryTable/components/FieldsModifyModal.tsx +824 -824
  98. package/src/components/Business/JsonQueryTable/components/FieldsSettingsTable.tsx +205 -205
  99. package/src/components/Business/JsonQueryTable/components/Formula.tsx +205 -205
  100. package/src/components/Business/JsonQueryTable/components/MaintainOptions.tsx +127 -127
  101. package/src/components/Business/JsonQueryTable/configButton/index.js +20 -20
  102. package/src/components/Business/JsonQueryTable/configTree/component/compactArrayView.js +25 -25
  103. package/src/components/Business/JsonQueryTable/configTree/component/compactObjectView.js +30 -30
  104. package/src/components/Business/JsonQueryTable/configTree/index.js +82 -82
  105. package/src/components/Business/JsonQueryTable/configTree/index.less +44 -44
  106. package/src/components/Business/JsonQueryTable/configTree/parser/highlight.js +57 -57
  107. package/src/components/Business/JsonQueryTable/configTree/parser/index.js +124 -124
  108. package/src/components/Business/JsonQueryTable/configTree/render/iconRender.js +29 -29
  109. package/src/components/Business/JsonQueryTable/configTree/render/nameRender.js +22 -22
  110. package/src/components/Business/JsonQueryTable/configTree/treeNode.js +116 -116
  111. package/src/components/Business/JsonQueryTable/drawer/index.tsx +12 -12
  112. package/src/components/Business/JsonQueryTable/function.ts +62 -62
  113. package/src/components/Business/JsonQueryTable/index.less +16 -16
  114. package/src/components/Business/JsonQueryTable/index.md +328 -328
  115. package/src/components/Business/JsonQueryTable/index.tsx +535 -535
  116. package/src/components/Business/JsonQueryTable/jsonEditor/index.js +346 -346
  117. package/src/components/Business/JsonQueryTable/jsonEditor/index.less +22 -22
  118. package/src/components/Business/JsonQueryTable/jsonEditor/lint/basicType.js +147 -147
  119. package/src/components/Business/JsonQueryTable/jsonEditor/lint/index.js +389 -389
  120. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/actions.js +118 -118
  121. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/dependency.js +22 -22
  122. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/index.js +21 -21
  123. package/src/components/Business/JsonQueryTable/jsonEditor/suggestions/request.js +65 -65
  124. package/src/components/Business/JsonQueryTable/static.ts +390 -390
  125. package/src/components/Business/SearchSelect/BusinessUtils.ts +1762 -1762
  126. package/src/components/Business/SearchSelect/common.ts +75 -75
  127. package/src/components/Business/SearchSelect/index.md +1329 -1329
  128. package/src/components/Business/SearchSelect/index.tsx +55 -55
  129. package/src/components/Business/SearchSelect/utils.ts +100 -100
  130. package/src/components/Business/StateFlow/index.less +130 -130
  131. package/src/components/Business/StateFlow/index.md +60 -60
  132. package/src/components/Business/StateFlow/index.tsx +29 -29
  133. package/src/components/Business/TreeSearchSelect/index.md +156 -156
  134. package/src/components/Business/TreeSearchSelect/index.tsx +33 -33
  135. package/src/components/Business/TreeSearchSelect/utils.ts +75 -75
  136. package/src/components/Business/columnSettingTable/columnSetting.tsx +764 -764
  137. package/src/components/Business/columnSettingTable/index.less +247 -247
  138. package/src/components/Business/columnSettingTable/index.md +357 -357
  139. package/src/components/Business/columnSettingTable/index.tsx +232 -232
  140. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +240 -240
  141. package/src/components/Business/columnSettingTable/utils.tsx +71 -71
  142. package/src/components/Business/moreTreeTable/FixedScrollBar.tsx +87 -87
  143. package/src/components/Business/moreTreeTable/hooks/useSticky.ts +21 -21
  144. package/src/components/Business/moreTreeTable/index.less +99 -99
  145. package/src/components/Business/moreTreeTable/index.md +448 -448
  146. package/src/components/Business/moreTreeTable/index.tsx +387 -387
  147. package/src/components/Business/moreTreeTable/utils.ts +126 -126
  148. package/src/components/Functional/AddSelect/helps.ts +79 -14
  149. package/src/components/Functional/AddSelect/index.less +367 -367
  150. package/src/components/Functional/AddSelect/index.md +155 -155
  151. package/src/components/Functional/AddSelect/index.tsx +1170 -1282
  152. package/src/components/Functional/BillEntry/index.less +371 -371
  153. package/src/components/Functional/BillEntry/index.md +39 -39
  154. package/src/components/Functional/BillEntry/index.tsx +772 -772
  155. package/src/components/Functional/BsAntdSula/BsCascader/index.md +62 -62
  156. package/src/components/Functional/BsAntdSula/BsCascader/index.tsx +178 -178
  157. package/src/components/Functional/BsAntdSula/index.ts +2 -2
  158. package/src/components/Functional/DataImport/index.less +63 -63
  159. package/src/components/Functional/DataImport/index.md +44 -44
  160. package/src/components/Functional/DataImport/index.tsx +695 -695
  161. package/src/components/Functional/DataValidation/index.less +63 -63
  162. package/src/components/Functional/DataValidation/index.md +39 -39
  163. package/src/components/Functional/DataValidation/index.tsx +687 -687
  164. package/src/components/Functional/EllipsisTooltip/index.d.ts +5 -5
  165. package/src/components/Functional/EllipsisTooltip/index.js +36 -36
  166. package/src/components/Functional/EllipsisTooltip/index.md +30 -30
  167. package/src/components/Functional/ExportFunctions/ExportIcon/index.md +37 -37
  168. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +59 -59
  169. package/src/components/Functional/QueryMutipleInput/index.less +37 -37
  170. package/src/components/Functional/QueryMutipleInput/index.md +33 -33
  171. package/src/components/Functional/QueryMutipleInput/index.tsx +128 -128
  172. package/src/components/Functional/SearchSelect/index.less +115 -115
  173. package/src/components/Functional/SearchSelect/index.md +141 -141
  174. package/src/components/Functional/SearchSelect/index.tsx +879 -879
  175. package/src/components/Functional/SearchSelect/utils.ts +3 -3
  176. package/src/components/Functional/TreeSearchSelect/index.md +47 -47
  177. package/src/components/Functional/TreeSearchSelect/index.tsx +199 -199
  178. package/src/components/Solution/RuleComponent/Formula.tsx +335 -335
  179. package/src/components/Solution/RuleComponent/index.d.ts +29 -29
  180. package/src/components/Solution/RuleComponent/index.js +2032 -2032
  181. package/src/components/Solution/RuleComponent/index.less +230 -230
  182. package/src/components/Solution/RuleComponent/renderSpecificAction.js +99 -99
  183. package/src/components/Solution/RuleComponent/ruleFiled.js +2107 -2107
  184. package/src/components/Solution/RuleComponent/services.ts +13 -13
  185. package/src/components/Solution/RuleComponent/util.js +139 -139
  186. package/src/index.ts +38 -38
  187. package/src/plugin/TableColumnSetting/index.less +247 -247
  188. package/src/plugin/TableColumnSetting/index.md +50 -50
  189. package/src/plugin/TableColumnSetting/index.tsx +724 -724
  190. package/src/plugin/TableColumnSetting/utils.ts +19 -19
  191. package/src/styles/bsDefault.less +1912 -1912
  192. package/src/utils/CheckOneUser/index.md +39 -39
  193. package/src/utils/CheckOneUser/index.ts +51 -51
  194. package/src/utils/LocalstorageUtils.ts +95 -95
  195. package/src/utils/TableUtils.tsx +18 -18
  196. package/src/utils/checkUtils.ts +39 -39
  197. package/src/utils/enumConfig.ts +11 -11
  198. package/src/utils/getFormMode.js +12 -12
  199. package/src/utils/index.ts +4 -4
  200. package/src/utils/requestUtils.ts +34 -34
  201. package/src/utils/serialize.js +7 -7
  202. package/src/utils/utils.ts +212 -212
  203. package/tsconfig.json +29 -29
  204. package/typings.d.ts +4 -4
package/dist/index.js CHANGED
@@ -6,7 +6,7 @@ var axios = require('axios');
6
6
  var antd = require('antd');
7
7
  var _ = require('lodash');
8
8
  var umi = require('umi');
9
- var isEqual$1 = require('lodash/isEqual');
9
+ var isEqual = require('lodash/isEqual');
10
10
  var React = require('react');
11
11
  var moment$1 = require('moment');
12
12
  var icons = require('@ant-design/icons');
@@ -33,7 +33,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
33
33
 
34
34
  var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
35
35
  var ___default = /*#__PURE__*/_interopDefaultLegacy(_);
36
- var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual$1);
36
+ var isEqual__default = /*#__PURE__*/_interopDefaultLegacy(isEqual);
37
37
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
38
38
  var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment$1);
39
39
  var ProLayout__default = /*#__PURE__*/_interopDefaultLegacy(ProLayout);
@@ -781,52 +781,41 @@ var precisionQuantity = function precisionQuantity(num, accuracy) {
781
781
  return '';
782
782
  };
783
783
 
784
- var safeIsNaN = Number.isNaN ||
785
- function ponyfill(value) {
786
- return typeof value === 'number' && value !== value;
787
- };
788
- function isEqual(first, second) {
789
- if (first === second) {
790
- return true;
791
- }
792
- if (safeIsNaN(first) && safeIsNaN(second)) {
793
- return true;
794
- }
795
- return false;
796
- }
797
- function areInputsEqual(newInputs, lastInputs) {
798
- if (newInputs.length !== lastInputs.length) {
799
- return false;
784
+ var simpleIsEqual = function simpleIsEqual(a, b) {
785
+ return a === b;
786
+ };
787
+
788
+ function index$1 (resultFn, isEqual) {
789
+ if (isEqual === void 0) {
790
+ isEqual = simpleIsEqual;
791
+ }
792
+
793
+ var lastThis;
794
+ var lastArgs = [];
795
+ var lastResult;
796
+ var calledOnce = false;
797
+
798
+ var isNewArgEqualToLast = function isNewArgEqualToLast(newArg, index) {
799
+ return isEqual(newArg, lastArgs[index], index);
800
+ };
801
+
802
+ var result = function result() {
803
+ for (var _len = arguments.length, newArgs = new Array(_len), _key = 0; _key < _len; _key++) {
804
+ newArgs[_key] = arguments[_key];
800
805
  }
801
- for (var i = 0; i < newInputs.length; i++) {
802
- if (!isEqual(newInputs[i], lastInputs[i])) {
803
- return false;
804
- }
806
+
807
+ if (calledOnce && lastThis === this && newArgs.length === lastArgs.length && newArgs.every(isNewArgEqualToLast)) {
808
+ return lastResult;
805
809
  }
806
- return true;
807
- }
808
810
 
809
- function memoizeOne(resultFn, isEqual) {
810
- if (isEqual === void 0) { isEqual = areInputsEqual; }
811
- var lastThis;
812
- var lastArgs = [];
813
- var lastResult;
814
- var calledOnce = false;
815
- function memoized() {
816
- var newArgs = [];
817
- for (var _i = 0; _i < arguments.length; _i++) {
818
- newArgs[_i] = arguments[_i];
819
- }
820
- if (calledOnce && lastThis === this && isEqual(newArgs, lastArgs)) {
821
- return lastResult;
822
- }
823
- lastResult = resultFn.apply(this, newArgs);
824
- calledOnce = true;
825
- lastThis = this;
826
- lastArgs = newArgs;
827
- return lastResult;
828
- }
829
- return memoized;
811
+ lastResult = resultFn.apply(this, newArgs);
812
+ calledOnce = true;
813
+ lastThis = this;
814
+ lastArgs = newArgs;
815
+ return lastResult;
816
+ };
817
+
818
+ return result;
830
819
  }
831
820
 
832
821
  function styleInject(css, ref) {
@@ -856,7 +845,7 @@ function styleInject(css, ref) {
856
845
  }
857
846
  }
858
847
 
859
- var css_248z = ".cardContent {\n font-family: PingFangSC, PingFangSC-Regular;\n}\n.user_card_header {\n margin-top: -32px;\n}\n.user_card_header .card_name {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n color: #000000;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 6px;\n}\n.card_company {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin-bottom: 16px;\n}\n.card_detailInfo {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin: 0 0 5px !important;\n}\n.card_department {\n color: #005cff !important;\n}\n.user_info_card .ant-popover-inner-content {\n padding: 0px !important;\n}\n.user_info_card .ant-card-body {\n padding: 0px !important;\n}\n";
848
+ var css_248z = ".cardContent {\n font-family: PingFangSC, PingFangSC-Regular;\n}\n.user_card_header {\n margin-top: -32px;\n}\n.user_card_header .card_name {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n color: #000000;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n margin-top: 6px;\n}\n.card_company {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin-bottom: 16px;\n}\n.card_detailInfo {\n font-size: 12px;\n font-weight: 400;\n color: #848484;\n line-height: 20px;\n margin: 0 0 5px !important;\n}\n.card_department {\n color: #02B56E !important;\n}\n.user_info_card .ant-popover-inner-content {\n padding: 0px !important;\n}\n.user_info_card .ant-card-body {\n padding: 0px !important;\n}\n";
860
849
  styleInject(css_248z);
861
850
 
862
851
  var noImg = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2244px%22%20height%3D%2244px%22%20viewBox%3D%220%200%2044%2044%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E8%92%99%E7%89%88%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22path-1%22%20points%3D%22-1.56319402e-13%201.84741111e-13%2044%201.84741111e-13%2044%2044%20-1.56319402e-13%2044%22%3E%3C%2Fpolygon%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-354.000000%2C%20-672.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E4%B8%80%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%28240.000000%2C%20664.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%8D%95%E6%8D%AE%E7%BC%96%E5%8F%B7%22%20transform%3D%22translate%28106.000000%2C%200.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20transform%3D%22translate%288.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23E6F3FF%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M28.4962332%2C15%20C29.4007284%2C15%2030.1339666%2C15.7383979%2030.1339666%2C16.6492578%20L30.1339666%2C27.5596481%20C30.1339666%2C28.4705081%2029.4007284%2C29.208906%2028.4962332%2C29.208906%20L14.6377334%2C29.208906%20C13.7332382%2C29.208906%2013%2C28.4705081%2013%2C27.5596481%20L13%2C16.6492578%20C13%2C15.7383979%2013.7332382%2C15%2014.6377334%2C15%20L28.4956873%2C15%20L28.4962332%2C15%20Z%20M28.4962332%2C16.6492578%20L14.6377334%2C16.6492578%20L14.6377334%2C27.5596481%20L28.4956873%2C27.5596481%20L28.4956873%2C16.6492578%20L28.4962332%2C16.6492578%20Z%20M26.6996397%2C18.6899395%20L26.6996397%2C20.3369983%20C24.5001638%2C20.357889%2023.12283%2C21.0967565%2022.4448084%2C22.5305113%20L22.3847582%2C22.6624519%20L22.3137897%2C22.8224299%20C21.2241511%2C25.1880154%2019.0819959%2C26.322155%2016.0560105%2C26.1940627%20L16.243258%2C26.2001099%20L16.2443498%2C24.5508521%20C18.5633803%2C24.6206707%2020.0357026%2C23.8290269%2020.8190851%2C22.1473337%20L20.8824107%2C22.006597%20L20.9479201%2C21.8603628%20C21.9158205%2C19.7680044%2023.8767333%2C18.7196262%2026.6996397%2C18.6899395%20L26.6996397%2C18.6899395%20Z%20M17.5583579%2C18.3435954%20C18.1149239%2C18.3435954%2018.5661099%2C18.7979562%2018.5661099%2C19.3584387%20C18.5661099%2C19.9189212%2018.1149239%2C20.373282%2017.5583579%2C20.373282%20C17.0016411%2C20.373282%2016.550333%2C19.9187981%2016.550333%2C19.3581638%20C16.550333%2C18.7975295%2017.0016411%2C18.3430456%2017.5583579%2C18.3430456%20L17.5583579%2C18.3435954%20Z%22%20fill%3D%22%23A3D1FF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -1043,58 +1032,59 @@ var getItemDefaultWidth = function getItemDefaultWidth(item) {
1043
1032
  * @returns 返回处理后的查询参数
1044
1033
  */
1045
1034
  function queryParams(params, flag) {
1046
- for (var key in params) {
1035
+ var _loop = function _loop() {
1047
1036
  if (Object.prototype.hasOwnProperty.call(params, key)) {
1048
- (function () {
1049
- var element = params[key];
1050
- if (element && key.indexOf('*number*') >= 0) {
1051
- var dataParams = key.split('*number*');
1052
- dataParams.forEach(function (value, index) {
1053
- params[value] = element[index];
1054
- });
1055
- delete params[key];
1056
- } else if (element && key.indexOf('*address*') >= 0) {
1057
- var _dataParams = key.split('*address*');
1058
- _dataParams.forEach(function (value, index) {
1059
- params[value] = element.PCDCode[index];
1060
- });
1061
- delete params[key];
1062
- } else if (element && key.indexOf('*costType*') >= 0) {
1063
- var _dataParams2 = key.split('*costType*');
1064
- // eslint-disable-next-line prefer-destructuring
1065
- params[_dataParams2[0]] = element[1];
1066
- delete params[key];
1067
- } else if (element && key.indexOf('*fullDate*') >= 0) {
1068
- var _dataParams3 = key.split('*fullDate*');
1069
- _dataParams3.forEach(function (value, index) {
1070
- if (index === 0) {
1071
- params[value] = moment__default['default'](element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
1072
- } else {
1073
- params[value] = moment__default['default'](element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
1074
- }
1075
- });
1076
- delete params[key];
1077
- } else if (element && key.indexOf('*') >= 0) {
1078
- var _dataParams4 = key.split('*');
1079
- _dataParams4.forEach(function (value, index) {
1080
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
1081
- });
1082
- delete params[key];
1083
- } else if (element && key.indexOf('_likeIn_') >= 0) {
1084
- var _dataParams5 = key.split('_likeIn_');
1085
- if (element.indexOf(',') >= 0) {
1086
- params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
1087
- params["qp-".concat(_dataParams5[0], "-like")] = null;
1037
+ var element = params[key];
1038
+ if (element && key.indexOf('*number*') >= 0) {
1039
+ var dataParams = key.split('*number*');
1040
+ dataParams.forEach(function (value, index) {
1041
+ params[value] = element[index];
1042
+ });
1043
+ delete params[key];
1044
+ } else if (element && key.indexOf('*address*') >= 0) {
1045
+ var _dataParams = key.split('*address*');
1046
+ _dataParams.forEach(function (value, index) {
1047
+ params[value] = element.PCDCode[index];
1048
+ });
1049
+ delete params[key];
1050
+ } else if (element && key.indexOf('*costType*') >= 0) {
1051
+ var _dataParams2 = key.split('*costType*');
1052
+ // eslint-disable-next-line prefer-destructuring
1053
+ params[_dataParams2[0]] = element[1];
1054
+ delete params[key];
1055
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
1056
+ var _dataParams3 = key.split('*fullDate*');
1057
+ _dataParams3.forEach(function (value, index) {
1058
+ if (index === 0) {
1059
+ params[value] = moment__default['default'](element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
1088
1060
  } else {
1089
- params["qp-".concat(_dataParams5[0], "-like")] = element;
1090
- params["qp-".concat(_dataParams5[0], "-in")] = null;
1061
+ params[value] = moment__default['default'](element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
1091
1062
  }
1092
- delete params[key];
1093
- } else if (Array.isArray(element)) {
1094
- params[key] = element.join(',');
1063
+ });
1064
+ delete params[key];
1065
+ } else if (element && key.indexOf('*') >= 0) {
1066
+ var _dataParams4 = key.split('*');
1067
+ _dataParams4.forEach(function (value, index) {
1068
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
1069
+ });
1070
+ delete params[key];
1071
+ } else if (element && key.indexOf('_likeIn_') >= 0) {
1072
+ var _dataParams5 = key.split('_likeIn_');
1073
+ if (element.indexOf(',') >= 0) {
1074
+ params["qp-".concat(_dataParams5[0], "-in")] = element.split(',').join(',');
1075
+ params["qp-".concat(_dataParams5[0], "-like")] = null;
1076
+ } else {
1077
+ params["qp-".concat(_dataParams5[0], "-like")] = element;
1078
+ params["qp-".concat(_dataParams5[0], "-in")] = null;
1095
1079
  }
1096
- })();
1080
+ delete params[key];
1081
+ } else if (Array.isArray(element)) {
1082
+ params[key] = element.join(',');
1083
+ }
1097
1084
  }
1085
+ };
1086
+ for (var key in params) {
1087
+ _loop();
1098
1088
  }
1099
1089
  return flag ? params : qs.stringify(params);
1100
1090
  }
@@ -1140,7 +1130,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1140
1130
  return item;
1141
1131
  });
1142
1132
  };
1143
- var memoizeOneFormatter = memoizeOne(formatter, isEqual__default['default']);
1133
+ var memoizeOneFormatter = index$1(formatter, isEqual__default['default']);
1144
1134
  var go2BackAndClose = function go2BackAndClose() {
1145
1135
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1146
1136
  umi.history.goBack();
@@ -2823,84 +2813,85 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
2823
2813
  });
2824
2814
  }
2825
2815
  // 数组对象处理,对带有特殊标记的name进行处理
2826
- for (var key in params) {
2816
+ var _loop = function _loop() {
2827
2817
  if (Object.prototype.hasOwnProperty.call(params, key)) {
2828
- (function () {
2829
- var element = params[key];
2830
- if (element && key.indexOf('*number*') >= 0) {
2831
- var dataParams = key.split('*number*');
2832
- dataParams.forEach(function (value, index) {
2833
- params[value] = element[index];
2834
- });
2835
- delete params[key];
2836
- } else if (element && key.indexOf('*address*') >= 0) {
2837
- var _dataParams = key.split('*address*');
2838
- _dataParams.forEach(function (value, index) {
2839
- params[value] = element.PCDCode[index];
2840
- });
2841
- delete params[key];
2842
- } else if (element && key.indexOf('*costType*') >= 0) {
2843
- var _dataParams2 = key.split('*costType*');
2844
- // eslint-disable-next-line prefer-destructuring
2845
- params[_dataParams2[0]] = element[1];
2846
- delete params[key];
2847
- } else if (element && key.indexOf('*fullDate*') >= 0) {
2848
- var _dataParams3 = key.split('*fullDate*');
2849
- _dataParams3.forEach(function (value, index) {
2850
- if (index === 0) {
2851
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2852
- } else {
2853
- params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
2854
- }
2855
- });
2856
- delete params[key];
2857
- } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
2858
- var _dataParams4 = key.split('*checkBox*');
2859
- if (element) {
2860
- params[_dataParams4[0]] = 0;
2818
+ var element = params[key];
2819
+ if (element && key.indexOf('*number*') >= 0) {
2820
+ var dataParams = key.split('*number*');
2821
+ dataParams.forEach(function (value, index) {
2822
+ params[value] = element[index];
2823
+ });
2824
+ delete params[key];
2825
+ } else if (element && key.indexOf('*address*') >= 0) {
2826
+ var _dataParams = key.split('*address*');
2827
+ _dataParams.forEach(function (value, index) {
2828
+ params[value] = element.PCDCode[index];
2829
+ });
2830
+ delete params[key];
2831
+ } else if (element && key.indexOf('*costType*') >= 0) {
2832
+ var _dataParams2 = key.split('*costType*');
2833
+ // eslint-disable-next-line prefer-destructuring
2834
+ params[_dataParams2[0]] = element[1];
2835
+ delete params[key];
2836
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
2837
+ var _dataParams3 = key.split('*fullDate*');
2838
+ _dataParams3.forEach(function (value, index) {
2839
+ if (index === 0) {
2840
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
2841
+ } else {
2842
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
2861
2843
  }
2862
- delete params[key];
2863
- } else if (element && key.indexOf('*cascader*') >= 0) {
2864
- var _dataParams5 = key.split('*cascader*');
2865
- params[_dataParams5[0]] = element[element.length - 1];
2866
- delete params[key];
2867
- } else if (element && key.indexOf('*date*') >= 0) {
2868
- var _dataParams6 = key.split('*date*');
2869
- _dataParams6.forEach(function (value, index) {
2870
- if (index === 0) {
2871
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2872
- } else {
2873
- params[value] = moment(element[index]).format('YYYY-MM-DD');
2874
- }
2875
- });
2876
- delete params[key];
2877
- } else if (element && key.indexOf('*') >= 0) {
2878
- var _dataParams7 = key.split('*');
2879
- _dataParams7.forEach(function (value, index) {
2880
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
2881
- });
2882
- delete params[key];
2883
- } else if (element && key.indexOf('_selectNumberRange') >= 0) {
2884
- // key = xxxxx_selectNumberRange qp-xxxxx-gt
2885
- var _dataParams8 = key.split('_selectNumberRange')[0];
2886
- if (params[key][0] === 'range') {
2887
- if (params[key][1][0]) {
2888
- params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
2889
- }
2890
- if (params[key][1][1]) {
2891
- params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
2892
- }
2844
+ });
2845
+ delete params[key];
2846
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
2847
+ var _dataParams4 = key.split('*checkBox*');
2848
+ if (element) {
2849
+ params[_dataParams4[0]] = 0;
2850
+ }
2851
+ delete params[key];
2852
+ } else if (element && key.indexOf('*cascader*') >= 0) {
2853
+ var _dataParams5 = key.split('*cascader*');
2854
+ params[_dataParams5[0]] = element[element.length - 1];
2855
+ delete params[key];
2856
+ } else if (element && key.indexOf('*date*') >= 0) {
2857
+ var _dataParams6 = key.split('*date*');
2858
+ _dataParams6.forEach(function (value, index) {
2859
+ if (index === 0) {
2860
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2893
2861
  } else {
2894
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2862
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
2863
+ }
2864
+ });
2865
+ delete params[key];
2866
+ } else if (element && key.indexOf('*') >= 0) {
2867
+ var _dataParams7 = key.split('*');
2868
+ _dataParams7.forEach(function (value, index) {
2869
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
2870
+ });
2871
+ delete params[key];
2872
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
2873
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
2874
+ var _dataParams8 = key.split('_selectNumberRange')[0];
2875
+ if (params[key][0] === 'range') {
2876
+ if (params[key][1][0]) {
2877
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
2895
2878
  }
2896
- delete params[key];
2897
- } else if (Array.isArray(element)) {
2898
- params[key] = element.join(',');
2899
- } else if (element == null || element === undefined || String(element).trim() === '') {
2900
- delete params[key];
2879
+ if (params[key][1][1]) {
2880
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
2881
+ }
2882
+ } else {
2883
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
2901
2884
  }
2902
- })();
2885
+ delete params[key];
2886
+ } else if (Array.isArray(element)) {
2887
+ params[key] = element.join(',');
2888
+ } else if (element == null || element === undefined || String(element).trim() === '') {
2889
+ delete params[key];
2890
+ }
2903
2891
  }
2892
+ };
2893
+ for (var key in params) {
2894
+ _loop();
2904
2895
  }
2905
2896
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
2906
2897
  pageSize: pageSize,
@@ -3297,7 +3288,7 @@ var SearchSelect = /*#__PURE__*/React.forwardRef(function (props, ref) {
3297
3288
  }
3298
3289
  };
3299
3290
  var themeColor = {
3300
- color: '#1890ff'
3291
+ color: '#02B56E'
3301
3292
  };
3302
3293
  var formItem = function formItem(list) {
3303
3294
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
@@ -3600,11 +3591,11 @@ var drag = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F200
3600
3591
 
3601
3592
  var fixedLeft = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1256.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28125.000000%2C%2020.000000%29%20scale%281%2C%20-1%29%20translate%28-125.000000%2C%20-20.000000%29%20translate%28116.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3602
3593
 
3603
- var fixedLeftActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-67.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2876.000000%2C%2052.000000%29%20scale%281%2C%20-1%29%20translate%28-76.000000%2C%20-52.000000%29%20translate%2867.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3594
+ var fixedLeftActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-67.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2876.000000%2C%2052.000000%29%20scale%281%2C%20-1%29%20translate%28-76.000000%2C%20-52.000000%29%20translate%2867.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%2302B56E%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3604
3595
 
3605
3596
  var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E6%90%9C%E7%B4%A2%E5%8C%BA%E5%8A%9F%E8%83%BD%E8%BF%AD%E4%BB%A3%EF%BC%88%E5%8F%AF%E9%94%81%E5%AE%9A%E5%88%97%E8%A1%A8%EF%BC%89%22%20transform%3D%22translate%28-1278.000000%2C%20-596.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28550.000000%2C%20291.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%E5%A4%87%E4%BB%BD-3%22%20transform%3D%22translate%28590.000000%2C%20294.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%28138.000000%2C%2011.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23999999%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3606
3597
 
3607
- var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3598
+ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-89.000000%2C%20-43.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%2302B56E%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
3608
3599
 
3609
3600
  var css_248z$6 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 10px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 115px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
3610
3601
  styleInject(css_248z$6);
@@ -4299,8 +4290,6 @@ var getSelectDataList = function getSelectDataList(record, item, selectKey) {
4299
4290
  }
4300
4291
  return result;
4301
4292
  };
4302
-
4303
- var _excluded$3 = ["onResize", "width"];
4304
4293
  var loadSelectSource = function loadSelectSource(url, params) {
4305
4294
  return new Promise(function (resolve, reject) {
4306
4295
  axios__default['default'].get("".concat(url, "?").concat(querystring.stringify(params))).then(function (result) {
@@ -4308,6 +4297,7 @@ var loadSelectSource = function loadSelectSource(url, params) {
4308
4297
  result = result.data;
4309
4298
  if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
4310
4299
  antd.message.error(result.msg);
4300
+ resolve(result);
4311
4301
  return;
4312
4302
  }
4313
4303
  resolve(result);
@@ -4316,38 +4306,6 @@ var loadSelectSource = function loadSelectSource(url, params) {
4316
4306
  });
4317
4307
  });
4318
4308
  };
4319
- var checkSpuMatchCode = function checkSpuMatchCode(data) {
4320
- return new Promise(function (resolve, reject) {
4321
- axios__default['default'].post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
4322
- var _result3, _result4;
4323
- result = result.data;
4324
- if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
4325
- antd.message.error(result.msg);
4326
- reject(false);
4327
- return;
4328
- }
4329
- resolve(result);
4330
- }).catch(function (err) {
4331
- reject(err);
4332
- });
4333
- });
4334
- };
4335
- var ResizeableTitle = function ResizeableTitle(props) {
4336
- var onResize = props.onResize,
4337
- width = props.width,
4338
- restProps = _objectWithoutProperties(props, _excluded$3);
4339
- if (!width) {
4340
- return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
4341
- }
4342
- return /*#__PURE__*/React__default['default'].createElement(reactResizable.Resizable, {
4343
- width: width,
4344
- height: 0,
4345
- onResize: onResize,
4346
- draggableOpts: {
4347
- enableUserSelectHack: false
4348
- }
4349
- }, /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps)));
4350
- };
4351
4309
  var formatSource = function formatSource(reData, position, changePosition, changeSearchForm) {
4352
4310
  var _reData$position;
4353
4311
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['code', 'name'];
@@ -4387,6 +4345,52 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
4387
4345
  }) || [];
4388
4346
  changeSearchForm[changePosition].field.props.treeData = formatData;
4389
4347
  };
4348
+ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearchForm) {
4349
+ loadList.forEach(function (i, index) {
4350
+ if (i.resType == 'list') {
4351
+ var resKeyValue = i.resKeyValue || ['code', 'name'];
4352
+ formatSource(x, index, i.resPosition, tableSearchForm, resKeyValue);
4353
+ }
4354
+ if (i.resType == 'treeList') {
4355
+ var _resKeyValue = i.resKeyValue || ['id', 'name'];
4356
+ formatTreeDataSource(x, index, i.resPosition, tableSearchForm, _resKeyValue);
4357
+ }
4358
+ });
4359
+ };
4360
+
4361
+ var _excluded$3 = ["onResize", "width"];
4362
+ var checkSpuMatchCode = function checkSpuMatchCode(data) {
4363
+ return new Promise(function (resolve, reject) {
4364
+ axios__default['default'].post("/stock/rwFrontRecordSkcDetail/checkSpuMatchCode", data).then(function (result) {
4365
+ var _result, _result2;
4366
+ result = result.data;
4367
+ if (((_result = result) === null || _result === void 0 ? void 0 : _result.status) && result.status !== '0' || ((_result2 = result) === null || _result2 === void 0 ? void 0 : _result2.code) && result.code !== '000000') {
4368
+ antd.message.error(result.msg);
4369
+ reject(false);
4370
+ return;
4371
+ }
4372
+ resolve(result);
4373
+ }).catch(function (err) {
4374
+ reject(err);
4375
+ });
4376
+ });
4377
+ };
4378
+ var ResizeableTitle = function ResizeableTitle(props) {
4379
+ var onResize = props.onResize,
4380
+ width = props.width,
4381
+ restProps = _objectWithoutProperties(props, _excluded$3);
4382
+ if (!width) {
4383
+ return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
4384
+ }
4385
+ return /*#__PURE__*/React__default['default'].createElement(reactResizable.Resizable, {
4386
+ width: width,
4387
+ height: 0,
4388
+ onResize: onResize,
4389
+ draggableOpts: {
4390
+ enableUserSelectHack: false
4391
+ }
4392
+ }, /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps)));
4393
+ };
4390
4394
  var initTableCode = {
4391
4395
  'sku': ['skuSelect-tableOptionsToChoosePartCode', 'skuSelect-tableSelectedItemPartCode'],
4392
4396
  'skc': ['skcSelect-tableOptionsToChoosePartCode', 'skcSelect-tableSelectedItemPartCode'],
@@ -4419,9 +4423,7 @@ var AddSelect = function AddSelect(props) {
4419
4423
  _props$businessType = props.businessType,
4420
4424
  businessType = _props$businessType === void 0 ? 'sku' : _props$businessType,
4421
4425
  _props$isAllowRepeate = props.isAllowRepeatedSelect,
4422
- isAllowRepeatedSelect = _props$isAllowRepeate === void 0 ? false : _props$isAllowRepeate,
4423
- _props$noUseItemEanco = props.noUseItemEancode,
4424
- noUseItemEancode = _props$noUseItemEanco === void 0 ? true : _props$noUseItemEanco;
4426
+ isAllowRepeatedSelect = _props$isAllowRepeate === void 0 ? false : _props$isAllowRepeate;
4425
4427
  var _ref = requestConfig || {},
4426
4428
  url = _ref.url,
4427
4429
  otherParams = _ref.otherParams,
@@ -4578,76 +4580,74 @@ var AddSelect = function AddSelect(props) {
4578
4580
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
4579
4581
  var result;
4580
4582
  return _regeneratorRuntime().wrap(function _callee$(_context) {
4581
- while (1) {
4582
- switch (_context.prev = _context.next) {
4583
- case 0:
4584
- if (!(bType == 'skc' && tList.some(function (i) {
4585
- return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
4586
- }))) {
4587
- _context.next = 3;
4588
- break;
4589
- }
4590
- antd.message.warning('相同skc配码不可设置相同哦');
4591
- return _context.abrupt("return", false);
4592
- case 3:
4593
- if (!(bType == 'spu')) {
4594
- _context.next = 26;
4595
- break;
4596
- }
4597
- if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
4598
- return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
4599
- }))) {
4600
- _context.next = 7;
4601
- break;
4602
- }
4603
- antd.message.warning('相同商品相同配码颜色不可设置相同哦');
4604
- return _context.abrupt("return", false);
4605
- case 7:
4606
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
4607
- _context.next = 10;
4608
- break;
4609
- }
4610
- antd.message.warning('请先选择颜色!');
4611
- return _context.abrupt("return", false);
4612
- case 10:
4613
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
4614
- return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
4615
- }))) {
4616
- _context.next = 13;
4617
- break;
4618
- }
4619
- antd.message.warning('相同商品相同颜色配码不可设置相同哦');
4620
- return _context.abrupt("return", false);
4621
- case 13:
4622
- if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
4623
- _context.next = 26;
4624
- break;
4625
- }
4626
- result = true;
4627
- _context.prev = 15;
4628
- _context.next = 18;
4629
- return checkSpuMatchCode({
4630
- skcCode: recordItem[recordKey],
4631
- matchingCode: changeValue,
4632
- ext1: recordItem.colorName
4633
- });
4634
- case 18:
4635
- result = _context.sent;
4636
- result = true;
4637
- _context.next = 25;
4583
+ while (1) switch (_context.prev = _context.next) {
4584
+ case 0:
4585
+ if (!(bType == 'skc' && tList.some(function (i) {
4586
+ return i[recordKey] == recordItem[recordKey] && i[selectItem.dataIndex] == changeValue;
4587
+ }))) {
4588
+ _context.next = 3;
4638
4589
  break;
4639
- case 22:
4640
- _context.prev = 22;
4641
- _context.t0 = _context["catch"](15);
4642
- result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
4643
- case 25:
4644
- return _context.abrupt("return", result);
4645
- case 26:
4646
- return _context.abrupt("return", true);
4647
- case 27:
4648
- case "end":
4649
- return _context.stop();
4650
- }
4590
+ }
4591
+ antd.message.warning('相同skc配码不可设置相同哦');
4592
+ return _context.abrupt("return", false);
4593
+ case 3:
4594
+ if (!(bType == 'spu')) {
4595
+ _context.next = 26;
4596
+ break;
4597
+ }
4598
+ if (!(selectItem.dataIndex == 'colorName' && tList.some(function (i) {
4599
+ return i[recordKey] == recordItem[recordKey] && i.selectPropertyGroupCode == recordItem.selectPropertyGroupCode && i[selectItem.dataIndex] == changeValue;
4600
+ }))) {
4601
+ _context.next = 7;
4602
+ break;
4603
+ }
4604
+ antd.message.warning('相同商品相同配码颜色不可设置相同哦');
4605
+ return _context.abrupt("return", false);
4606
+ case 7:
4607
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && !recordItem.colorName)) {
4608
+ _context.next = 10;
4609
+ break;
4610
+ }
4611
+ antd.message.warning('请先选择颜色!');
4612
+ return _context.abrupt("return", false);
4613
+ case 10:
4614
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode' && tList.some(function (i) {
4615
+ return i[recordKey] == recordItem[recordKey] && i.colorName == recordItem.colorName && i[selectItem.dataIndex] == changeValue;
4616
+ }))) {
4617
+ _context.next = 13;
4618
+ break;
4619
+ }
4620
+ antd.message.warning('相同商品相同颜色配码不可设置相同哦');
4621
+ return _context.abrupt("return", false);
4622
+ case 13:
4623
+ if (!(selectItem.dataIndex == 'selectPropertyGroupCode')) {
4624
+ _context.next = 26;
4625
+ break;
4626
+ }
4627
+ result = true;
4628
+ _context.prev = 15;
4629
+ _context.next = 18;
4630
+ return checkSpuMatchCode({
4631
+ skcCode: recordItem[recordKey],
4632
+ matchingCode: changeValue,
4633
+ ext1: recordItem.colorName
4634
+ });
4635
+ case 18:
4636
+ result = _context.sent;
4637
+ result = true;
4638
+ _context.next = 25;
4639
+ break;
4640
+ case 22:
4641
+ _context.prev = 22;
4642
+ _context.t0 = _context["catch"](15);
4643
+ result = typeof _context.t0 == 'boolean' ? _context.t0 : false;
4644
+ case 25:
4645
+ return _context.abrupt("return", result);
4646
+ case 26:
4647
+ return _context.abrupt("return", true);
4648
+ case 27:
4649
+ case "end":
4650
+ return _context.stop();
4651
4651
  }
4652
4652
  }, _callee, null, [[15, 22]]);
4653
4653
  }));
@@ -4839,29 +4839,27 @@ var AddSelect = function AddSelect(props) {
4839
4839
  var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
4840
4840
  var isConformToTheRules, newPopValue;
4841
4841
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
4842
- while (1) {
4843
- switch (_context2.prev = _context2.next) {
4844
- case 0:
4845
- _context2.next = 2;
4846
- return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
4847
- case 2:
4848
- isConformToTheRules = _context2.sent;
4849
- if (isConformToTheRules) {
4850
- record[item.dataIndex] = value;
4851
- } else {
4852
- record[item.dataIndex] = null;
4842
+ while (1) switch (_context2.prev = _context2.next) {
4843
+ case 0:
4844
+ _context2.next = 2;
4845
+ return checkSelectChange(businessType, popvalue, mappingValueField, record, item, value);
4846
+ case 2:
4847
+ isConformToTheRules = _context2.sent;
4848
+ if (isConformToTheRules) {
4849
+ record[item.dataIndex] = value;
4850
+ } else {
4851
+ record[item.dataIndex] = null;
4852
+ }
4853
+ newPopValue = popvalue.map(function (i, innerIndex) {
4854
+ if (innerIndex == index) {
4855
+ i[item.dataIndex] = record[item.dataIndex];
4853
4856
  }
4854
- newPopValue = popvalue.map(function (i, innerIndex) {
4855
- if (innerIndex == index) {
4856
- i[item.dataIndex] = record[item.dataIndex];
4857
- }
4858
- return i;
4859
- });
4860
- setPopValue(newPopValue);
4861
- case 6:
4862
- case "end":
4863
- return _context2.stop();
4864
- }
4857
+ return i;
4858
+ });
4859
+ setPopValue(newPopValue);
4860
+ case 6:
4861
+ case "end":
4862
+ return _context2.stop();
4865
4863
  }
4866
4864
  }, _callee2);
4867
4865
  }));
@@ -4893,7 +4891,7 @@ var AddSelect = function AddSelect(props) {
4893
4891
  return /*#__PURE__*/React__default['default'].createElement("span", {
4894
4892
  style: {
4895
4893
  cursor: 'pointer',
4896
- color: '#005CFF'
4894
+ color: '#02B56E'
4897
4895
  },
4898
4896
  onClick: function onClick() {
4899
4897
  deleteRecord(record);
@@ -4921,94 +4919,95 @@ var AddSelect = function AddSelect(props) {
4921
4919
  });
4922
4920
  }
4923
4921
  // 数组对象处理,对带有特殊标记的name进行处理
4924
- for (var key in params) {
4922
+ var _loop = function _loop() {
4925
4923
  if (Object.prototype.hasOwnProperty.call(params, key)) {
4926
- (function () {
4927
- var element = params[key];
4928
- if (element && key.indexOf('*number*') >= 0) {
4929
- var dataParams = key.split('*number*');
4930
- dataParams.forEach(function (value, index) {
4931
- params[value] = element[index];
4932
- });
4933
- delete params[key];
4934
- } else if (element && key.indexOf('*address*') >= 0) {
4935
- var _dataParams = key.split('*address*');
4936
- _dataParams.forEach(function (value, index) {
4937
- params[value] = element.PCDCode[index];
4938
- });
4939
- delete params[key];
4940
- } else if (element && key.indexOf('*costType*') >= 0) {
4941
- var _dataParams2 = key.split('*costType*');
4942
- // eslint-disable-next-line prefer-destructuring
4943
- params[_dataParams2[0]] = element[1];
4944
- delete params[key];
4945
- } else if (element && key.indexOf('*fullDate*') >= 0) {
4946
- var _dataParams3 = key.split('*fullDate*');
4947
- _dataParams3.forEach(function (value, index) {
4948
- if (index === 0) {
4949
- params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
4950
- } else {
4951
- params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
4952
- }
4953
- });
4954
- delete params[key];
4955
- } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
4956
- var _dataParams4 = key.split('*checkBox*');
4957
- if (element) {
4958
- params[_dataParams4[0]] = 0;
4959
- }
4960
- delete params[key];
4961
- } else if (element && key.indexOf('*cascader*') >= 0) {
4962
- var _dataParams5 = key.split('*cascader*');
4963
- params[_dataParams5[0]] = element[element.length - 1];
4964
- delete params[key];
4965
- } else if (element && key.indexOf('*date*') >= 0) {
4966
- var _dataParams6 = key.split('*date*');
4967
- _dataParams6.forEach(function (value, index) {
4968
- if (index === 0) {
4969
- params[value] = moment(element[index]).format('YYYY-MM-DD');
4970
- } else {
4971
- params[value] = moment(element[index]).format('YYYY-MM-DD');
4972
- }
4973
- });
4974
- delete params[key];
4975
- } else if (element && key.indexOf('*') >= 0) {
4976
- var _dataParams7 = key.split('*');
4977
- _dataParams7.forEach(function (value, index) {
4978
- params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
4979
- });
4980
- delete params[key];
4981
- } else if (element && key.indexOf('_selectNumberRange') >= 0) {
4982
- // key = xxxxx_selectNumberRange qp-xxxxx-gt
4983
- var _dataParams8 = key.split('_selectNumberRange')[0];
4984
- if (params[key][0] === 'range') {
4985
- if (params[key][1][0]) {
4986
- params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
4987
- }
4988
- if (params[key][1][1]) {
4989
- params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
4990
- }
4991
- } else {
4992
- params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
4993
- }
4994
- delete params[key];
4995
- } else if (Array.isArray(element)) {
4996
- params[key] = element.join(',');
4997
- } else if (element == null || element === undefined || String(element).trim() === '') {
4998
- delete params[key];
4924
+ var element = params[key];
4925
+ if (element && key.indexOf('*number*') >= 0) {
4926
+ var dataParams = key.split('*number*');
4927
+ dataParams.forEach(function (value, index) {
4928
+ params[value] = element[index];
4929
+ });
4930
+ delete params[key];
4931
+ } else if (element && key.indexOf('*address*') >= 0) {
4932
+ var _dataParams = key.split('*address*');
4933
+ _dataParams.forEach(function (value, index) {
4934
+ params[value] = element.PCDCode[index];
4935
+ });
4936
+ delete params[key];
4937
+ } else if (element && key.indexOf('*costType*') >= 0) {
4938
+ var _dataParams2 = key.split('*costType*');
4939
+ // eslint-disable-next-line prefer-destructuring
4940
+ params[_dataParams2[0]] = element[1];
4941
+ delete params[key];
4942
+ } else if (element && key.indexOf('*fullDate*') >= 0) {
4943
+ var _dataParams3 = key.split('*fullDate*');
4944
+ _dataParams3.forEach(function (value, index) {
4945
+ if (index === 0) {
4946
+ params[value] = moment(element[index]).millisecond(0).second(0).minute(0).hour(0).format('YYYY-MM-DD HH:mm:ss');
4947
+ } else {
4948
+ params[value] = moment(element[index]).millisecond(59).second(59).minute(59).hour(23).format('YYYY-MM-DD HH:mm:ss');
4949
+ }
4950
+ });
4951
+ delete params[key];
4952
+ } else if (typeof element === 'boolean' && key.indexOf('*checkBox*') >= 0) {
4953
+ var _dataParams4 = key.split('*checkBox*');
4954
+ if (element) {
4955
+ params[_dataParams4[0]] = 0;
4956
+ }
4957
+ delete params[key];
4958
+ } else if (element && key.indexOf('*cascader*') >= 0) {
4959
+ var _dataParams5 = key.split('*cascader*');
4960
+ params[_dataParams5[0]] = element[element.length - 1];
4961
+ delete params[key];
4962
+ } else if (element && key.indexOf('*date*') >= 0) {
4963
+ var _dataParams6 = key.split('*date*');
4964
+ _dataParams6.forEach(function (value, index) {
4965
+ if (index === 0) {
4966
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
4967
+ } else {
4968
+ params[value] = moment(element[index]).format('YYYY-MM-DD');
4969
+ }
4970
+ });
4971
+ delete params[key];
4972
+ } else if (element && key.indexOf('*') >= 0) {
4973
+ var _dataParams7 = key.split('*');
4974
+ _dataParams7.forEach(function (value, index) {
4975
+ params[value] = element[index].format('YYYY-MM-DD HH:mm:ss');
4976
+ });
4977
+ delete params[key];
4978
+ } else if (element && key.indexOf('_selectNumberRange') >= 0) {
4979
+ // key = xxxxx_selectNumberRange qp-xxxxx-gt
4980
+ var _dataParams8 = key.split('_selectNumberRange')[0];
4981
+ if (params[key][0] === 'range') {
4982
+ if (params[key][1][0]) {
4983
+ params["qp-".concat(_dataParams8, "-ge")] = params[key][1][0];
4984
+ }
4985
+ if (params[key][1][1]) {
4986
+ params["qp-".concat(_dataParams8, "-le")] = params[key][1][1];
4987
+ }
4988
+ } else {
4989
+ params["qp-".concat(_dataParams8, "-").concat(params[key][0])] = params[key][1];
4999
4990
  }
5000
- })();
4991
+ delete params[key];
4992
+ } else if (Array.isArray(element)) {
4993
+ params[key] = element.join(',');
4994
+ } else if (element == null || element === undefined || String(element).trim() === '') {
4995
+ delete params[key];
4996
+ }
5001
4997
  }
4998
+ };
4999
+ for (var key in params) {
5000
+ _loop();
5002
5001
  }
5003
5002
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2({
5004
5003
  pageSize: pageSize,
5005
5004
  currentPage: currentPage
5006
5005
  }, otherParams), fixedParam), params);
5007
5006
  axios__default['default'].get("".concat(url, "?").concat(querystring.stringify(queryParams))).then(function (result) {
5008
- var _result5, _result6;
5007
+ var _result3, _result4;
5009
5008
  setFetching(false);
5010
5009
  result = result.data;
5011
- if (((_result5 = result) === null || _result5 === void 0 ? void 0 : _result5.status) && result.status !== '0' || ((_result6 = result) === null || _result6 === void 0 ? void 0 : _result6.code) && result.code !== '000000') {
5010
+ if (((_result3 = result) === null || _result3 === void 0 ? void 0 : _result3.status) && result.status !== '0' || ((_result4 = result) === null || _result4 === void 0 ? void 0 : _result4.code) && result.code !== '000000') {
5012
5011
  antd.message.error(result.msg);
5013
5012
  return;
5014
5013
  }
@@ -5089,65 +5088,14 @@ var AddSelect = function AddSelect(props) {
5089
5088
  };
5090
5089
 
5091
5090
  React.useEffect(function () {
5092
- if (businessType == 'sku') {
5093
- Promise.all([loadSelectSource("/items/brand/queryBrandList", {
5094
- pageSize: 5000,
5095
- currentPage: 1,
5096
- 'ctl-withAuth': true
5097
- }), loadSelectSource("/items/category/queryCategoryTree", {
5098
- pageSize: 5000,
5099
- currentPage: 1
5100
- })]).then(function (x) {
5101
- var searchPosition1 = noUseItemEancode ? 3 : 2;
5102
- var searchPosition2 = noUseItemEancode ? 4 : 3;
5103
- formatSource(x, 0, searchPosition1, tableSearchForm, ['id', 'name']);
5104
- formatTreeDataSource(x, 1, searchPosition2, tableSearchForm);
5105
- });
5106
- }
5107
- if (businessType == 'skc') {
5108
- Promise.all([loadSelectSource("/items/item/propertyValue/sizeBySkcConfig", {
5109
- pageSize: 10000,
5110
- currentPage: 1,
5111
- type: 2 // 类型:1尺码;2颜色
5112
- }), loadSelectSource("/items/category/queryCategoryTree", {
5113
- pageSize: 5000,
5114
- currentPage: 1
5115
- }), loadSelectSource("/items/class/withProperty", {
5116
- pageSize: 5000,
5117
- currentPage: 1
5118
- }), loadSelectSource("/items/brand/queryBrandList", {
5119
- pageSize: 5000,
5120
- currentPage: 1,
5121
- 'ctl-withAuth': true
5122
- })]).then(function (x) {
5123
- formatSource(x, 0, 3, tableSearchForm, ['value', 'value']);
5124
- formatTreeDataSource(x, 1, 4, tableSearchForm);
5125
- formatSource(x, 2, 5, tableSearchForm, ['id', 'name']);
5126
- formatSource(x, 3, 6, tableSearchForm, ['id', 'name']);
5127
- });
5128
- }
5129
- if (businessType == 'spu') {
5130
- Promise.all([loadSelectSource("/user/orgViewNode/listNoPage", {
5131
- 'qp-employeeId-eq': getEmployeeId(),
5132
- 'qp-orgViewCode-eq': 'business-organizational-view',
5133
- 'ctl-withDefaultOrg': true
5134
- }), loadSelectSource("/items/brand/queryBrandList", {
5135
- pageSize: 5000,
5136
- currentPage: 1,
5137
- 'ctl-withAuth': true
5138
- }), loadSelectSource("/items/category/queryCategoryTree", {
5139
- pageSize: 5000,
5140
- currentPage: 1
5141
- }), loadSelectSource("/items/class/withProperty", {
5142
- pageSize: 5000,
5143
- currentPage: 1
5144
- })]).then(function (x) {
5145
- formatSource(x, 0, 2, tableSearchForm, ['targetId', 'name']);
5146
- formatSource(x, 1, 3, tableSearchForm, ['id', 'name']);
5147
- formatTreeDataSource(x, 2, 4, tableSearchForm);
5148
- formatSource(x, 3, 5, tableSearchForm, ['id', 'name']);
5149
- });
5150
- }
5091
+ var pList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.promiseLoadList) || [];
5092
+ if (!(pList === null || pList === void 0 ? void 0 : pList.length)) return;
5093
+ var list = pList.map(function (i) {
5094
+ return loadSelectSource(i.url, i.params);
5095
+ });
5096
+ Promise.all(list).then(function (x) {
5097
+ formatFormSourceList(x, pList, tableSearchForm);
5098
+ });
5151
5099
  }, [businessType]);
5152
5100
  React.useEffect(function () {
5153
5101
  if (value) {
@@ -5337,7 +5285,7 @@ var AddSelect = function AddSelect(props) {
5337
5285
  }
5338
5286
  };
5339
5287
  var themeColor = {
5340
- color: '#005CFF'
5288
+ color: '#02B56E'
5341
5289
  };
5342
5290
  var formItem = function formItem(list) {
5343
5291
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
@@ -5428,10 +5376,10 @@ var AddSelect = function AddSelect(props) {
5428
5376
  setSelectedRowKeys([]);
5429
5377
  } else {
5430
5378
  setPopValue(popvalue.filter(function (item) {
5431
- return item.skuCode !== record.skuCode;
5379
+ return item[selectRowKey] !== record[selectRowKey];
5432
5380
  }));
5433
5381
  setSelectedRowKeys(_toConsumableArray(selectedRowKeys.filter(function (item) {
5434
- return item !== record.skuCode;
5382
+ return item !== record[selectRowKey];
5435
5383
  })));
5436
5384
  }
5437
5385
  };
@@ -5531,8 +5479,8 @@ var AddSelect = function AddSelect(props) {
5531
5479
  }, "\u53D6\u6D88"), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
5532
5480
  key: "save-and-continue",
5533
5481
  style: {
5534
- color: '#005CFF',
5535
- borderColor: '#005CFF'
5482
+ color: '#02B56E',
5483
+ borderColor: '#02B56E'
5536
5484
  },
5537
5485
  onClick: function onClick() {
5538
5486
  handleOk(true);
@@ -5782,7 +5730,7 @@ var InputElement = function InputElement(_ref) {
5782
5730
  var _tableRef$current;
5783
5731
  var dom = tableRef === null || tableRef === void 0 ? void 0 : (_tableRef$current = tableRef.current) === null || _tableRef$current === void 0 ? void 0 : _tableRef$current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[0];
5784
5732
  if (dom) {
5785
- dom.style.background = '#005CFF30';
5733
+ dom.style.background = '#02B56E30';
5786
5734
  }
5787
5735
  }
5788
5736
  }, [hoverVisibled, tableRef === null || tableRef === void 0 ? void 0 : tableRef.current]);
@@ -5832,7 +5780,7 @@ var InputElement = function InputElement(_ref) {
5832
5780
  if (dom) {
5833
5781
  tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
5834
5782
  setSelectIndex(currentIndex + 1);
5835
- dom.style.background = '#005CFF30';
5783
+ dom.style.background = '#02B56E30';
5836
5784
  dom.scrollIntoViewIfNeeded(false);
5837
5785
  }
5838
5786
  } else if (e.keyCode === 38) {
@@ -5840,7 +5788,7 @@ var InputElement = function InputElement(_ref) {
5840
5788
  if (_dom) {
5841
5789
  tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')[currentIndex].style.background = '';
5842
5790
  setSelectIndex(currentIndex - 1);
5843
- _dom.style.background = '#005CFF30';
5791
+ _dom.style.background = '#02B56E30';
5844
5792
  _dom.scrollIntoViewIfNeeded(false);
5845
5793
  }
5846
5794
  }
@@ -5853,7 +5801,7 @@ var InputElement = function InputElement(_ref) {
5853
5801
  // body: {
5854
5802
  // cell: ({index, record, ...props}) => {
5855
5803
  // debugger
5856
- // return <td {...props} style={selectIndex === record?.index ? {background: '#005CFF30'} : {} } />
5804
+ // return <td {...props} style={selectIndex === record?.index ? {background: '#02B56E30'} : {} } />
5857
5805
  // }
5858
5806
  // }
5859
5807
  // }
@@ -5866,7 +5814,7 @@ var InputElement = function InputElement(_ref) {
5866
5814
  _toConsumableArray(tableRef.current.getElementsByTagName('tbody')[0].getElementsByTagName('tr')).map(function (item) {
5867
5815
  item.style.background = '';
5868
5816
  });
5869
- dom.style.background = '#005CFF30';
5817
+ dom.style.background = '#02B56E30';
5870
5818
  dom.scrollIntoViewIfNeeded(false);
5871
5819
  }
5872
5820
  setSelectIndex(index);
@@ -6373,7 +6321,7 @@ var BillEntry = function BillEntry(_ref3) {
6373
6321
  return /*#__PURE__*/React__default['default'].createElement("span", {
6374
6322
  style: {
6375
6323
  cursor: 'pointer',
6376
- color: '#005CFF'
6324
+ color: '#02B56E'
6377
6325
  },
6378
6326
  onClick: function onClick() {
6379
6327
  deleteRecord(record);
@@ -6455,72 +6403,70 @@ var BillEntry = function BillEntry(_ref3) {
6455
6403
  var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
6456
6404
  var canEntryObject, _canEntryObject$error, messageInfo;
6457
6405
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6458
- while (1) {
6459
- switch (_context.prev = _context.next) {
6460
- case 0:
6461
- if (data === null || data === void 0 ? void 0 : data.length) {
6462
- _context.next = 3;
6463
- break;
6464
- }
6465
- antd.message.warning('至少录入一条数据');
6466
- return _context.abrupt("return");
6467
- case 3:
6468
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6469
- return d.skuCode && d.name;
6470
- })) {
6471
- _context.next = 6;
6472
- break;
6473
- }
6474
- antd.message.warning('请选择商品!');
6475
- return _context.abrupt("return");
6476
- case 6:
6477
- if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6478
- return d.count;
6479
- })) {
6480
- _context.next = 9;
6481
- break;
6482
- }
6483
- antd.message.warning('请填写商品数量!');
6484
- return _context.abrupt("return");
6485
- case 9:
6486
- _context.next = 11;
6487
- return isSkuCanEntry(data);
6488
- case 11:
6489
- canEntryObject = _context.sent;
6490
- if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
6491
- _context.next = 16;
6492
- break;
6493
- }
6494
- 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) {
6495
- return /*#__PURE__*/React__default['default'].createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
6496
- }));
6497
- messageInfo && antd.message.warning({
6498
- content: messageInfo,
6499
- duration: 6
6500
- });
6501
- return _context.abrupt("return");
6502
- case 16:
6503
- setLoading(true);
6504
- onSaveCallback(data).then(function (res) {
6505
- {
6506
- var _Object$keys;
6507
- var initSuccessMessage = '保存成功';
6508
- var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
6509
- if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
6510
- (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? antd.message.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
6511
- } else {
6512
- antd.message.success(initSuccessMessage);
6513
- }
6406
+ while (1) switch (_context.prev = _context.next) {
6407
+ case 0:
6408
+ if (data === null || data === void 0 ? void 0 : data.length) {
6409
+ _context.next = 3;
6410
+ break;
6411
+ }
6412
+ antd.message.warning('至少录入一条数据');
6413
+ return _context.abrupt("return");
6414
+ case 3:
6415
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6416
+ return d.skuCode && d.name;
6417
+ })) {
6418
+ _context.next = 6;
6419
+ break;
6420
+ }
6421
+ antd.message.warning('请选择商品!');
6422
+ return _context.abrupt("return");
6423
+ case 6:
6424
+ if (data === null || data === void 0 ? void 0 : data.every(function (d) {
6425
+ return d.count;
6426
+ })) {
6427
+ _context.next = 9;
6428
+ break;
6429
+ }
6430
+ antd.message.warning('请填写商品数量!');
6431
+ return _context.abrupt("return");
6432
+ case 9:
6433
+ _context.next = 11;
6434
+ return isSkuCanEntry(data);
6435
+ case 11:
6436
+ canEntryObject = _context.sent;
6437
+ if (!((canEntryObject === null || canEntryObject === void 0 ? void 0 : canEntryObject.flag) === false)) {
6438
+ _context.next = 16;
6439
+ break;
6440
+ }
6441
+ 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) {
6442
+ return /*#__PURE__*/React__default['default'].createElement("div", null, i.skuCode, "\u6821\u9A8C\u5931\u8D25\uFF1A", i.checkResults);
6443
+ }));
6444
+ messageInfo && antd.message.warning({
6445
+ content: messageInfo,
6446
+ duration: 6
6447
+ });
6448
+ return _context.abrupt("return");
6449
+ case 16:
6450
+ setLoading(true);
6451
+ onSaveCallback(data).then(function (res) {
6452
+ {
6453
+ var _Object$keys;
6454
+ var initSuccessMessage = '保存成功';
6455
+ var rmsbi = (res === null || res === void 0 ? void 0 : res.messageSuccessBackInfo) || {};
6456
+ if (rmsbi && ((_Object$keys = Object.keys(rmsbi)) === null || _Object$keys === void 0 ? void 0 : _Object$keys.length)) {
6457
+ (rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.needThrowSuccess) ? antd.message.success((rmsbi === null || rmsbi === void 0 ? void 0 : rmsbi.successMessage) || initSuccessMessage) : null;
6458
+ } else {
6459
+ antd.message.success(initSuccessMessage);
6514
6460
  }
6515
- setLoading(false);
6516
- }).catch(function (Error) {
6517
- antd.message.error(Error);
6518
- setLoading(false);
6519
- });
6520
- case 18:
6521
- case "end":
6522
- return _context.stop();
6523
- }
6461
+ }
6462
+ setLoading(false);
6463
+ }).catch(function (Error) {
6464
+ antd.message.error(Error);
6465
+ setLoading(false);
6466
+ });
6467
+ case 18:
6468
+ case "end":
6469
+ return _context.stop();
6524
6470
  }
6525
6471
  }, _callee);
6526
6472
  }));
@@ -8764,9 +8710,16 @@ var BusinessSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Busines
8764
8710
  // import { getCurrentTargetBgId } from '@/utils/LocalstorageUtils';
8765
8711
  function handleSelectColumn(c, parentProps) {
8766
8712
  var result = c;
8713
+ var showColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showColumns) || [];
8767
8714
  var exceptColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptColumns) || [];
8768
8715
  var coverColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverColumns) || [];
8769
8716
  var additionColumns = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.additionColumns) || [];
8717
+ // 仅展示内容
8718
+ if (showColumns === null || showColumns === void 0 ? void 0 : showColumns.length) {
8719
+ result = result.filter(function (i) {
8720
+ return showColumns.includes(i.dataIndex);
8721
+ });
8722
+ }
8770
8723
  // 过滤不需要展示内容
8771
8724
  if (exceptColumns === null || exceptColumns === void 0 ? void 0 : exceptColumns.length) {
8772
8725
  result = result.filter(function (i) {
@@ -8785,6 +8738,57 @@ function handleSelectColumn(c, parentProps) {
8785
8738
  }
8786
8739
  return result;
8787
8740
  }
8741
+ function handleSearchForm(c, parentProps) {
8742
+ var result = c;
8743
+ var showTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showTableSearchForm) || [];
8744
+ var exceptTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptTableSearchForm) || [];
8745
+ var coverTableSearchForm = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableSearchForm) || [];
8746
+ // 仅展示内容
8747
+ if (showTableSearchForm === null || showTableSearchForm === void 0 ? void 0 : showTableSearchForm.length) {
8748
+ result = result.filter(function (i) {
8749
+ return showTableSearchForm.includes(i.name);
8750
+ });
8751
+ }
8752
+ // 过滤不需要展示内容
8753
+ if (exceptTableSearchForm === null || exceptTableSearchForm === void 0 ? void 0 : exceptTableSearchForm.length) {
8754
+ result = result.filter(function (i) {
8755
+ return !exceptTableSearchForm.includes(i.name);
8756
+ });
8757
+ }
8758
+ // 覆盖内容
8759
+ if (coverTableSearchForm === null || coverTableSearchForm === void 0 ? void 0 : coverTableSearchForm.length) {
8760
+ result = coverTableSearchForm;
8761
+ }
8762
+ return result;
8763
+ }
8764
+ function handleFormSearchSourceLoad(c, parentProps) {
8765
+ var result = c;
8766
+ var showTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.showTableFormSearchSourceLoad) || [];
8767
+ var exceptTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.exceptTableFormSearchSourceLoad) || [];
8768
+ var coverTableFormSearchSourceLoad = (parentProps === null || parentProps === void 0 ? void 0 : parentProps.coverTableFormSearchSourceLoad) || [];
8769
+ var noNeedTableFormSearchSourceLoad = parentProps === null || parentProps === void 0 ? void 0 : parentProps.noNeedTableFormSearchSourceLoad;
8770
+ // 仅展示内容
8771
+ if (showTableFormSearchSourceLoad === null || showTableFormSearchSourceLoad === void 0 ? void 0 : showTableFormSearchSourceLoad.length) {
8772
+ result = result.filter(function (i) {
8773
+ return showTableFormSearchSourceLoad.includes(i.url);
8774
+ });
8775
+ }
8776
+ // 过滤不需要展示内容
8777
+ if (exceptTableFormSearchSourceLoad === null || exceptTableFormSearchSourceLoad === void 0 ? void 0 : exceptTableFormSearchSourceLoad.length) {
8778
+ result = result.filter(function (i) {
8779
+ return !exceptTableFormSearchSourceLoad.includes(i.url);
8780
+ });
8781
+ }
8782
+ // 覆盖内容
8783
+ if (coverTableFormSearchSourceLoad === null || coverTableFormSearchSourceLoad === void 0 ? void 0 : coverTableFormSearchSourceLoad.length) {
8784
+ result = coverTableFormSearchSourceLoad;
8785
+ }
8786
+ // 不需要默认请求
8787
+ if (noNeedTableFormSearchSourceLoad) {
8788
+ result = [];
8789
+ }
8790
+ return result;
8791
+ }
8788
8792
  var AddSkuSelect = function AddSkuSelect(parProps) {
8789
8793
  var _parProps$requestConf, _parProps$requestConf2;
8790
8794
  var selectProps = {
@@ -8891,234 +8895,258 @@ var AddSkuSelect = function AddSkuSelect(parProps) {
8891
8895
  dataIndex: 'propertyNameAndValue'
8892
8896
  }]);
8893
8897
  var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
8894
- var props = {
8895
- buttonText: parProps.buttonText || '新增',
8896
- buttonProps: parProps.buttonProps || {},
8897
- tableCodeList: parProps.tableCodeList || [],
8898
- value: value,
8899
- // labelInValue: true, // 非必填 默认为false
8900
- requestConfig: _objectSpread2({
8901
- url: "/items/sku/pager/v2",
8902
- filter: 'qp-name-like',
8903
- otherParams: _objectSpread2({
8904
- 'qp-combination-eq': false,
8905
- 'qp-approveStatus-eq': 1,
8906
- 'qp-status-eq': 1
8907
- }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.addOtherParams) || {}),
8908
- mappingTextField: 'name',
8909
- mappingValueField: 'skuCode'
8910
- }, parProps.requestConfig),
8911
- selectProps: selectProps,
8912
- onChange: function onChange(value) {
8913
- console.log(value);
8914
- setValue(value);
8898
+ var initialTableColumn = [{
8899
+ title: 'SKU编码',
8900
+ width: 150,
8901
+ dataIndex: 'skuCode'
8902
+ }, {
8903
+ title: 'SKU名称',
8904
+ width: 200,
8905
+ ellipsis: {
8906
+ showTitle: false
8915
8907
  },
8916
- beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
8917
- onSaveCallback: parProps.onSaveCallback,
8918
- businessType: 'sku',
8919
- isAllowRepeatedSelect: !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect),
8920
- noUseItemEancode: isNoUseItemBarcode
8921
- };
8922
- var modalTableProps = {
8923
- modalTableTitle: '选择商品',
8924
- tableSearchForm: [{
8925
- name: 'qp-skuCode-like',
8926
- label: 'SKU编码'
8927
- }, {
8928
- name: 'qp-skuName-like',
8929
- label: 'SKU名称'
8930
- }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
8931
- name: 'qp-code-in',
8932
- label: '商品条码',
8933
- field: {
8934
- type: 'multipleQueryInput',
8935
- props: _objectSpread2({}, ((_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.itemEancodeValueRequestConfig) || {})
8936
- }
8937
- }]), [{
8938
- name: 'qp-brandId-in',
8939
- type: 'select',
8940
- label: '品牌',
8941
- field: {
8942
- type: 'select',
8943
- props: {
8944
- mode: 'multiple',
8945
- notFoundContent: '暂无数据',
8946
- allowClear: true,
8947
- showSearch: true,
8948
- showArrow: true,
8949
- maxTagCount: 1,
8950
- optionFilterProp: 'children',
8951
- filterOption: function filterOption(input, option) {
8952
- return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
8953
- }
8954
- }
8955
- }
8956
- }, {
8957
- name: 'qp-categoryId-in',
8958
- type: 'treeSelect',
8959
- label: '类目',
8960
- field: {
8961
- type: 'treeSelect',
8962
- props: {
8963
- treeData: [],
8964
- treeCheckable: true,
8965
- showSearch: true,
8966
- allowClear: true,
8967
- showArrow: true,
8968
- treeNodeFilterProp: 'title',
8969
- treeDefaultExpandAll: true,
8970
- maxTagCount: 1,
8971
- placeholder: '请选择',
8972
- style: {
8973
- width: '100%'
8974
- },
8975
- dropdownStyle: {
8976
- maxHeight: 400,
8977
- maxWidth: 100,
8978
- overflow: 'auto'
8979
- }
8980
- }
8981
- }
8982
- }]),
8983
- tableColumns: [{
8984
- title: 'SKU编码',
8985
- width: 150,
8986
- dataIndex: 'skuCode'
8987
- }, {
8988
- title: 'SKU名称',
8989
- width: 200,
8990
- ellipsis: {
8991
- showTitle: false
8992
- },
8993
- render: function render(text) {
8994
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8995
- placement: "topLeft",
8996
- title: text
8997
- }, text);
8998
- },
8999
- dataIndex: 'name'
9000
- }, {
9001
- title: '图片',
9002
- dataIndex: 'itemUrl',
9003
- width: 200,
9004
- ellipsis: {
9005
- showTitle: false
9006
- },
9007
- render: function render(text, record) {
9008
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9009
- placement: "topLeft",
9010
- title: text
9011
- }, tableColumnsImage(getSkuImg(record), {
9012
- width: 20,
9013
- height: 20
9014
- }));
9015
- }
9016
- }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
9017
- title: '商品条码',
9018
- width: 100,
9019
- ellipsis: {
9020
- showTitle: false
9021
- },
9022
- dataIndex: 'itemEancode',
9023
- render: function render(text) {
9024
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9025
- placement: "topLeft",
9026
- title: text
9027
- }, text);
9028
- }
9029
- }]), [{
9030
- title: '所属SPU名称',
9031
- width: 100,
9032
- ellipsis: {
9033
- showTitle: false
9034
- },
9035
- dataIndex: 'itemName',
9036
- render: function render(text) {
9037
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9038
- placement: "topLeft",
9039
- title: text
9040
- }, text);
8908
+ render: function render(text) {
8909
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8910
+ placement: "topLeft",
8911
+ title: text
8912
+ }, text);
8913
+ },
8914
+ dataIndex: 'name'
8915
+ }, {
8916
+ title: '图片',
8917
+ dataIndex: 'itemUrl',
8918
+ width: 200,
8919
+ ellipsis: {
8920
+ showTitle: false
8921
+ },
8922
+ render: function render(text, record) {
8923
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8924
+ placement: "topLeft",
8925
+ title: text
8926
+ }, tableColumnsImage(getSkuImg(record), {
8927
+ width: 20,
8928
+ height: 20
8929
+ }));
8930
+ }
8931
+ }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
8932
+ title: '商品条码',
8933
+ width: 100,
8934
+ ellipsis: {
8935
+ showTitle: false
8936
+ },
8937
+ dataIndex: 'itemEancode',
8938
+ render: function render(text) {
8939
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8940
+ placement: "topLeft",
8941
+ title: text
8942
+ }, text);
8943
+ }
8944
+ }]), [{
8945
+ title: '所属SPU名称',
8946
+ width: 100,
8947
+ ellipsis: {
8948
+ showTitle: false
8949
+ },
8950
+ dataIndex: 'itemName',
8951
+ render: function render(text) {
8952
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8953
+ placement: "topLeft",
8954
+ title: text
8955
+ }, text);
8956
+ }
8957
+ }, {
8958
+ title: '所属SPU编码',
8959
+ width: 100,
8960
+ ellipsis: {
8961
+ showTitle: false
8962
+ },
8963
+ dataIndex: 'itemCode',
8964
+ render: function render(text) {
8965
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8966
+ placement: "topLeft",
8967
+ title: text
8968
+ }, text);
8969
+ }
8970
+ }, {
8971
+ title: '外部编码',
8972
+ width: 100,
8973
+ ellipsis: {
8974
+ showTitle: false
8975
+ },
8976
+ render: function render(text) {
8977
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8978
+ placement: "topLeft",
8979
+ title: text
8980
+ }, text);
8981
+ },
8982
+ dataIndex: 'externalCode'
8983
+ }, {
8984
+ title: '规格',
8985
+ width: 100,
8986
+ ellipsis: {
8987
+ showTitle: false
8988
+ },
8989
+ render: function render(text) {
8990
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
8991
+ placement: "topLeft",
8992
+ title: text
8993
+ }, text);
8994
+ },
8995
+ dataIndex: 'propertyNameAndValue'
8996
+ }, {
8997
+ title: '类目',
8998
+ width: 100,
8999
+ ellipsis: {
9000
+ showTitle: false
9001
+ },
9002
+ render: function render(text) {
9003
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9004
+ placement: "topLeft",
9005
+ title: text
9006
+ }, text);
9007
+ },
9008
+ dataIndex: 'categoryName'
9009
+ }, {
9010
+ title: '品类',
9011
+ width: 100,
9012
+ ellipsis: {
9013
+ showTitle: false
9014
+ },
9015
+ render: function render(text) {
9016
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9017
+ placement: "topLeft",
9018
+ title: text
9019
+ }, text);
9020
+ },
9021
+ dataIndex: 'className'
9022
+ }, {
9023
+ title: '品牌',
9024
+ width: 100,
9025
+ ellipsis: {
9026
+ showTitle: false
9027
+ },
9028
+ render: function render(text) {
9029
+ return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9030
+ placement: "topLeft",
9031
+ title: text
9032
+ }, text);
9033
+ },
9034
+ dataIndex: 'brandName'
9035
+ }]);
9036
+ var mTpTableColumn = handleSelectColumn(initialTableColumn, parProps);
9037
+ var initialTableSearchForm = [{
9038
+ name: 'qp-skuCode-like',
9039
+ label: 'SKU编码'
9040
+ }, {
9041
+ name: 'qp-skuName-like',
9042
+ label: 'SKU名称'
9043
+ }].concat(_toConsumableArray(isNoUseItemBarcode ? [] : [{
9044
+ name: 'qp-code-in',
9045
+ label: '商品条码',
9046
+ field: {
9047
+ type: 'multipleQueryInput',
9048
+ props: _objectSpread2({}, ((_parProps$requestConf = parProps.requestConfig) === null || _parProps$requestConf === void 0 ? void 0 : _parProps$requestConf.itemEancodeValueRequestConfig) || {})
9049
+ }
9050
+ }]), [{
9051
+ name: 'qp-brandId-in',
9052
+ type: 'select',
9053
+ label: '品牌',
9054
+ field: {
9055
+ type: 'select',
9056
+ props: {
9057
+ mode: 'multiple',
9058
+ notFoundContent: '暂无数据',
9059
+ allowClear: true,
9060
+ showSearch: true,
9061
+ showArrow: true,
9062
+ maxTagCount: 1,
9063
+ optionFilterProp: 'children',
9064
+ filterOption: function filterOption(input, option) {
9065
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
9066
+ }
9041
9067
  }
9042
- }, {
9043
- title: '所属SPU编码',
9044
- width: 100,
9045
- ellipsis: {
9046
- showTitle: false
9047
- },
9048
- dataIndex: 'itemCode',
9049
- render: function render(text) {
9050
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9051
- placement: "topLeft",
9052
- title: text
9053
- }, text);
9068
+ }
9069
+ }, {
9070
+ name: 'qp-categoryId-in',
9071
+ type: 'treeSelect',
9072
+ label: '类目',
9073
+ field: {
9074
+ type: 'treeSelect',
9075
+ props: {
9076
+ treeData: [],
9077
+ treeCheckable: true,
9078
+ showSearch: true,
9079
+ allowClear: true,
9080
+ showArrow: true,
9081
+ treeNodeFilterProp: 'title',
9082
+ treeDefaultExpandAll: true,
9083
+ maxTagCount: 1,
9084
+ placeholder: '请选择',
9085
+ style: {
9086
+ width: '100%'
9087
+ },
9088
+ dropdownStyle: {
9089
+ maxHeight: 400,
9090
+ maxWidth: 100,
9091
+ overflow: 'auto'
9092
+ }
9054
9093
  }
9055
- }, {
9056
- title: '外部编码',
9057
- width: 100,
9058
- ellipsis: {
9059
- showTitle: false
9060
- },
9061
- render: function render(text) {
9062
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9063
- placement: "topLeft",
9064
- title: text
9065
- }, text);
9066
- },
9067
- dataIndex: 'externalCode'
9068
- }, {
9069
- title: '规格',
9070
- width: 100,
9071
- ellipsis: {
9072
- showTitle: false
9073
- },
9074
- render: function render(text) {
9075
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9076
- placement: "topLeft",
9077
- title: text
9078
- }, text);
9079
- },
9080
- dataIndex: 'propertyNameAndValue'
9081
- }, {
9082
- title: '类目',
9083
- width: 100,
9084
- ellipsis: {
9085
- showTitle: false
9086
- },
9087
- render: function render(text) {
9088
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9089
- placement: "topLeft",
9090
- title: text
9091
- }, text);
9092
- },
9093
- dataIndex: 'categoryName'
9094
- }, {
9095
- title: '品类',
9096
- width: 100,
9097
- ellipsis: {
9098
- showTitle: false
9099
- },
9100
- render: function render(text) {
9101
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9102
- placement: "topLeft",
9103
- title: text
9104
- }, text);
9105
- },
9106
- dataIndex: 'className'
9107
- }, {
9108
- title: '品牌',
9109
- width: 100,
9110
- ellipsis: {
9111
- showTitle: false
9112
- },
9113
- render: function render(text) {
9114
- return /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
9115
- placement: "topLeft",
9116
- title: text
9117
- }, text);
9118
- },
9119
- dataIndex: 'brandName'
9120
- }]),
9121
- selectColumn: mTpSelectColumn
9094
+ }
9095
+ }], _toConsumableArray((parProps === null || parProps === void 0 ? void 0 : parProps.addTableSearchForm) || []));
9096
+ var mTpTableSearchForm = handleSearchForm(initialTableSearchForm, parProps);
9097
+ var initialPromiseLoadList = [{
9098
+ url: "/items/brand/queryBrandList",
9099
+ params: {
9100
+ pageSize: 5000,
9101
+ currentPage: 1,
9102
+ 'ctl-withAuth': true
9103
+ },
9104
+ resType: 'list',
9105
+ resPosition: isNoUseItemBarcode ? 2 : 3,
9106
+ resKeyValue: ['id', 'name']
9107
+ }, {
9108
+ url: "/items/category/queryCategoryTree",
9109
+ params: {
9110
+ pageSize: 5000,
9111
+ currentPage: 1
9112
+ },
9113
+ resType: 'treeList',
9114
+ resPosition: isNoUseItemBarcode ? 3 : 4
9115
+ }];
9116
+ var mTpPromiseLoadList = handleFormSearchSourceLoad(initialPromiseLoadList, parProps);
9117
+ var props = {
9118
+ buttonText: parProps.buttonText || '新增',
9119
+ buttonProps: parProps.buttonProps || {},
9120
+ tableCodeList: parProps.tableCodeList || [],
9121
+ value: value,
9122
+ // labelInValue: true, // 非必填 默认为false
9123
+ requestConfig: _objectSpread2({
9124
+ url: "/items/sku/pager/v2",
9125
+ filter: 'qp-name-like',
9126
+ otherParams: _objectSpread2({
9127
+ 'qp-combination-eq': false,
9128
+ 'qp-approveStatus-eq': 1,
9129
+ 'qp-status-eq': 1
9130
+ }, (parProps === null || parProps === void 0 ? void 0 : (_parProps$requestConf2 = parProps.requestConfig) === null || _parProps$requestConf2 === void 0 ? void 0 : _parProps$requestConf2.addOtherParams) || {}),
9131
+ mappingTextField: 'name',
9132
+ mappingValueField: 'skuCode'
9133
+ }, parProps.requestConfig),
9134
+ selectProps: selectProps,
9135
+ onChange: function onChange(value) {
9136
+ console.log(value);
9137
+ setValue(value);
9138
+ },
9139
+ beforeShowModal: parProps === null || parProps === void 0 ? void 0 : parProps.beforeShowModal,
9140
+ onSaveCallback: parProps.onSaveCallback,
9141
+ businessType: 'sku',
9142
+ isAllowRepeatedSelect: !!(parProps === null || parProps === void 0 ? void 0 : parProps.isAllowRepeatedSelect)
9143
+ };
9144
+ var modalTableProps = {
9145
+ modalTableTitle: '选择商品',
9146
+ tableSearchForm: mTpTableSearchForm,
9147
+ tableColumns: mTpTableColumn,
9148
+ selectColumn: mTpSelectColumn,
9149
+ promiseLoadList: mTpPromiseLoadList
9122
9150
  };
9123
9151
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
9124
9152
  modalTableProps: modalTableProps
@@ -9194,6 +9222,45 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9194
9222
  dataIndex: 'count'
9195
9223
  }];
9196
9224
  var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
9225
+ var initialPromiseLoadList = [{
9226
+ url: "/items/item/propertyValue/sizeBySkcConfig",
9227
+ params: {
9228
+ pageSize: 10000,
9229
+ currentPage: 1,
9230
+ type: 2 // 类型:1尺码;2颜色
9231
+ },
9232
+
9233
+ resType: 'list',
9234
+ resPosition: 3,
9235
+ resKeyValue: ['value', 'value']
9236
+ }, {
9237
+ url: "/items/category/queryCategoryTree",
9238
+ params: {
9239
+ pageSize: 5000,
9240
+ currentPage: 1
9241
+ },
9242
+ resType: 'treeList',
9243
+ resPosition: 4
9244
+ }, {
9245
+ url: "/items/class/withProperty",
9246
+ params: {
9247
+ pageSize: 5000,
9248
+ currentPage: 1
9249
+ },
9250
+ resType: 'list',
9251
+ resPosition: 5,
9252
+ resKeyValue: ['id', 'name']
9253
+ }, {
9254
+ url: "/items/brand/queryBrandList",
9255
+ params: {
9256
+ pageSize: 5000,
9257
+ currentPage: 1,
9258
+ 'ctl-withAuth': true
9259
+ },
9260
+ resType: 'list',
9261
+ resPosition: 6,
9262
+ resKeyValue: ['id', 'name']
9263
+ }];
9197
9264
  var props = {
9198
9265
  buttonText: parProps.buttonText || '新增',
9199
9266
  buttonProps: parProps.buttonProps || {},
@@ -9398,7 +9465,8 @@ var AddSkcSelect = function AddSkcSelect(parProps) {
9398
9465
  },
9399
9466
  dataIndex: 'brandName'
9400
9467
  }],
9401
- selectColumn: mTpSelectColumn
9468
+ selectColumn: mTpSelectColumn,
9469
+ promiseLoadList: initialPromiseLoadList
9402
9470
  };
9403
9471
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
9404
9472
  modalTableProps: modalTableProps
@@ -9483,6 +9551,44 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
9483
9551
  dataIndex: 'className'
9484
9552
  }];
9485
9553
  var mTpSelectColumn = handleSelectColumn(initialSelectColumn, parProps);
9554
+ var initialPromiseLoadList = [{
9555
+ url: "/user/orgViewNode/listNoPage",
9556
+ params: {
9557
+ 'qp-employeeId-eq': getEmployeeId(),
9558
+ 'qp-orgViewCode-eq': 'business-organizational-view',
9559
+ 'ctl-withDefaultOrg': true
9560
+ },
9561
+ resType: 'list',
9562
+ resPosition: 2,
9563
+ resKeyValue: ['targetId', 'name']
9564
+ }, {
9565
+ url: "/items/brand/queryBrandList",
9566
+ params: {
9567
+ pageSize: 5000,
9568
+ currentPage: 1,
9569
+ 'ctl-withAuth': true
9570
+ },
9571
+ resType: 'list',
9572
+ resPosition: 3,
9573
+ resKeyValue: ['id', 'name']
9574
+ }, {
9575
+ url: "/items/category/queryCategoryTree",
9576
+ params: {
9577
+ pageSize: 5000,
9578
+ currentPage: 1
9579
+ },
9580
+ resType: 'treeList',
9581
+ resPosition: 4
9582
+ }, {
9583
+ url: "/items/class/withProperty",
9584
+ params: {
9585
+ pageSize: 5000,
9586
+ currentPage: 1
9587
+ },
9588
+ resType: 'list',
9589
+ resPosition: 5,
9590
+ resKeyValue: ['id', 'name']
9591
+ }];
9486
9592
  var props = {
9487
9593
  buttonText: parProps.buttonText || '新增',
9488
9594
  buttonProps: parProps.buttonProps || {},
@@ -9672,7 +9778,8 @@ var AddSpuSelect = function AddSpuSelect(parProps) {
9672
9778
  },
9673
9779
  dataIndex: 'className'
9674
9780
  }],
9675
- selectColumn: mTpSelectColumn
9781
+ selectColumn: mTpSelectColumn,
9782
+ promiseLoadList: initialPromiseLoadList
9676
9783
  };
9677
9784
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(AddSelect, _objectSpread2(_objectSpread2({}, props), {}, {
9678
9785
  modalTableProps: modalTableProps
@@ -9764,7 +9871,7 @@ var CommodityEntry = function CommodityEntry(props) {
9764
9871
  * @LastEditTime: 2022-01-14 17:17:26
9765
9872
  * @LastEditors: rodchen
9766
9873
  */
9767
- var index$1 = (function (storageKeyString) {
9874
+ var index$2 = (function (storageKeyString) {
9768
9875
  var seconds = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 2;
9769
9876
  var tipsCallFunction = arguments.length > 2 ? arguments[2] : undefined;
9770
9877
  if (typeof seconds !== 'number') throw new Error('seconds should be number');
@@ -9891,44 +9998,42 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
9891
9998
  var _ctx$form;
9892
9999
  var resData, coverData, data, dataList;
9893
10000
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9894
- while (1) {
9895
- switch (_context.prev = _context.next) {
9896
- case 0:
9897
- resData = (res === null || res === void 0 ? void 0 : res.data) || [];
9898
- if (!(resData.status === '0' || resData.code === '000000')) {
9899
- _context.next = 13;
9900
- break;
9901
- }
9902
- data = resData.data;
9903
- if (!remoteSource.converter) {
9904
- _context.next = 9;
9905
- break;
9906
- }
9907
- _context.next = 6;
9908
- return remoteSource.converter({
9909
- data: [data]
9910
- });
9911
- case 6:
9912
- coverData = _context.sent;
9913
- _context.next = 11;
10001
+ while (1) switch (_context.prev = _context.next) {
10002
+ case 0:
10003
+ resData = (res === null || res === void 0 ? void 0 : res.data) || [];
10004
+ if (!(resData.status === '0' || resData.code === '000000')) {
10005
+ _context.next = 13;
9914
10006
  break;
9915
- case 9:
9916
- dataList = data && Array.isArray(data) ? data : data && [data] || [];
9917
- coverData = dataList.length && dataList.map(function (ites) {
9918
- return mapSearchTree(ites);
9919
- }) || [];
9920
- case 11:
9921
- _context.next = 14;
10007
+ }
10008
+ data = resData.data;
10009
+ if (!remoteSource.converter) {
10010
+ _context.next = 9;
9922
10011
  break;
9923
- case 13:
9924
- coverData = [];
9925
- case 14:
9926
- setTreeData(coverData);
9927
- ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
9928
- case 16:
9929
- case "end":
9930
- return _context.stop();
9931
- }
10012
+ }
10013
+ _context.next = 6;
10014
+ return remoteSource.converter({
10015
+ data: [data]
10016
+ });
10017
+ case 6:
10018
+ coverData = _context.sent;
10019
+ _context.next = 11;
10020
+ break;
10021
+ case 9:
10022
+ dataList = data && Array.isArray(data) ? data : data && [data] || [];
10023
+ coverData = dataList.length && dataList.map(function (ites) {
10024
+ return mapSearchTree(ites);
10025
+ }) || [];
10026
+ case 11:
10027
+ _context.next = 14;
10028
+ break;
10029
+ case 13:
10030
+ coverData = [];
10031
+ case 14:
10032
+ setTreeData(coverData);
10033
+ ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(ctx.name, coverData);
10034
+ case 16:
10035
+ case "end":
10036
+ return _context.stop();
9932
10037
  }
9933
10038
  }, _callee);
9934
10039
  }));
@@ -10175,10 +10280,10 @@ var BusinessTreeSearchSelect$1 = /*#__PURE__*/React__default['default'].memo(Bus
10175
10280
  return true;
10176
10281
  });
10177
10282
 
10178
- 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";
10283
+ var css_248z$8 = ".form-status-label {\n height: 48px;\n margin-right: 12px;\n display: inline-block;\n position: relative;\n background-color: #B0B4B7;\n align-items: center;\n}\n.choosed-status-label.form-status-label {\n background-color: #02B56E;\n}\n.form-status-label:last-child {\n margin-right: 0px;\n}\n.form-status-label:first-child::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.choosed-status-label.form-status-label::after {\n border-left: 12px solid #02B56E;\n}\n.choosed-status-label.form-status-label:not(:first-child):not(:last-child)::after {\n border-left: 12px solid #02B56E;\n}\n.form-status-label:last-child::after {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::before {\n position: absolute;\n display: block;\n content: '';\n left: 0;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #ffffff;\n}\n.form-status-label:not(:first-child):not(:last-child)::after {\n position: absolute;\n display: block;\n content: '';\n right: -48px;\n top: 0;\n width: 48px;\n height: 48px;\n border: 24px solid;\n border-color: transparent transparent transparent transparent;\n border-left: 12px solid #B0B4B7;\n}\n.status-label-index {\n display: inline-block;\n width: 24px;\n height: 24px;\n border: 1px solid #FFFFFF;\n color: #FFFFFF;\n border-radius: 50%;\n font-family: Montserrat;\n font-size: 14px;\n line-height: 24px;\n text-align: center;\n margin: 0 6px 0 20px;\n}\n.status-label-key {\n width: 50px;\n height: 100%;\n display: inline-flex;\n float: left;\n align-items: center;\n justify-content: center;\n}\n.status-label-operate {\n float: left;\n width: calc(100% - 50px);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 100%;\n margin: 4px 0;\n}\n.status-label-operate > div {\n font-size: 12px;\n height: 20px;\n line-height: 20px;\n color: #FFFFFF;\n font-family: PingFangSC;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.status-label-operate > div:first-child {\n font-size: 14px;\n font-weight: 600;\n}\n.only-one-child.form-status-label::after,\n.only-one-child.form-status-label::before {\n border-left: 0px;\n}\n";
10179
10284
  styleInject(css_248z$8);
10180
10285
 
10181
- var index$2 = (function (props) {
10286
+ var index$3 = (function (props) {
10182
10287
  var _props$formStatusMapp = props.formStatusMapping,
10183
10288
  formStatusMapping = _props$formStatusMapp === void 0 ? [] : _props$formStatusMapp;
10184
10289
  return /*#__PURE__*/React__default['default'].createElement("div", {
@@ -10218,7 +10323,7 @@ var label_icon_bottom = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20en
10218
10323
 
10219
10324
  var arrow_top = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAuBJREFUaEPtl0urjlEUx3/HXUkpErkkJAYoGbhkJB2SW2IgBibKVL6Cz2BgQMqAXCKXiHIGBhiIDJEJyjXlfu2vtWp36nj2fvZ+HG/tXW/n7bz7Wft/WXut9fTR46uvx/FTCQy3g9WB6kCmAjWFMgXMfrw6kC1hZoDqQKaA2Y//Cwd0xq9spEME6JLACOCnnRt+L8qlKwIOeDT8GRi/Ap2Q6ILASOAHsAo4DEwGDgAnAP+tmAulCTjANcBpA6/812e3kRgFfC/FoCQBByblzxl4Tx399hnYA5wq6UQpAq78ClN+mqWR/q+llNL3T8BO4AJQxIkSBBz8cgM2FfgCjAXOAC+A/cA3QJf6vZG4UoJELgEHvww4C8wMgF40oB+BI8Bey30p/xbYDtzITaccAg5+CXAJmB4oL3UF8IMBVD84DuwK9rwCNgO3cki0JeDgF9uFnRMof83AK1VU+7VEYBxwDNgR7H0GbAVutyXRhoCDXwhcBmYHql4HtlmeD+7EKqW6A6pCm4JnRGI9cL8NiVQCDn6RKT/fuuwY4CawBXg3BBAnNAE4aaD9Yj+ydHqYSiKFgIOfByjH5wYqDlgqvGkYGZzERCu3a4MYIrEOeJxCIpaAT5RSXE1KDqhJSXldQqXE68iDXYhJwHlgdRDrgTnxxGaoxik2hoCrNgu4CiwIVBN4pc3LxGHNY04xQVYGMXUX+oHnMTFjCPjYouoiyzUSqKLcBTYY+DZd1Z1Q41NKLg1iq4dsjJmXmgh46owHngJSTOuOKa8KkjMmh+4qndRTtHSXZtjo8dcXoiYCCuYB1IQOAfeAfTYitFF+sLDuhMrxUXPioHXvxre5GALhgarjGszUmBqDx6SA7fFYEkSENEtFrRQCfoj+6uOvi1EHRWxyLKo80eKkEIjAUGRLNHjP7yKnDleQ/9GBJC0qgSS5OthcHehA1KSQ1YEkuTrYXB3oQNSkkNWBJLk62NzzDvwGGnWoMahVpG4AAAAASUVORK5CYII=";
10220
10325
 
10221
- var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005CFF;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
10326
+ var css_248z$9 = ".form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.white-card.bitsun-form-card-class .ant-card-body {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.bitsun-form-card-class > .ant-card-body {\n margin-bottom: 10px;\n}\n.bitsun-form-card-class .ant-card-head {\n border: 0px;\n padding: 0px;\n height: 48px;\n}\n.bitsun-form-card-class .ant-card-body {\n padding: 12px 0 0;\n margin-top: -4px;\n background-color: #F3F3F3;\n}\n.bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n font-family: PingFangSC;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #02B56E;\n height: 20px;\n margin-right: 16px;\n}\n.field-group-hidden .ant-card-body {\n display: none !important;\n}\n";
10222
10327
  styleInject(css_248z$9);
10223
10328
 
10224
10329
  var _excluded$6 = ["children"],
@@ -11543,7 +11648,7 @@ var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
11543
11648
  return routerMap;
11544
11649
  };
11545
11650
 
11546
- var css_248z$b = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005CFF;\n border: 1px solid #005CFF;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 16px;\n margin-top: 2px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
11651
+ var css_248z$b = ".detail_page_head {\n height: 54px;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.back_home_img_content {\n display: inline-block;\n height: 28px;\n width: 28px;\n border: 1px solid #BABABA;\n margin: 0 12px 0 20px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #02B56E;\n border: 1px solid #02B56E;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 16px;\n margin-top: 2px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
11547
11652
  styleInject(css_248z$b);
11548
11653
 
11549
11654
  var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -11576,7 +11681,7 @@ var CommonAlert = (function (props) {
11576
11681
  className: 'common_Alert'
11577
11682
  }, /*#__PURE__*/React__default['default'].createElement(antd.Alert, _objectSpread2({
11578
11683
  style: {
11579
- borderColor: '#005CFF',
11684
+ borderColor: '#02B56E',
11580
11685
  background: '#e5eeff',
11581
11686
  borderRadius: '4px'
11582
11687
  },
@@ -11602,7 +11707,7 @@ var iconMap = {
11602
11707
  src: moreIcon
11603
11708
  })
11604
11709
  };
11605
- var index$3 = (function (props) {
11710
+ var index$4 = (function (props) {
11606
11711
  var _useLocation = umi.useLocation(),
11607
11712
  pathname = _useLocation.pathname;
11608
11713
  var _useState = React.useState(pathname + 'id'),
@@ -11819,7 +11924,7 @@ var css_248z$d = ".home_page_head {\n height: 54px;\n display: flex;\n justif
11819
11924
  styleInject(css_248z$d);
11820
11925
 
11821
11926
  var _excluded$c = ["children"];
11822
- var index$4 = (function (props) {
11927
+ var index$5 = (function (props) {
11823
11928
  var _useLocation = umi.useLocation(),
11824
11929
  pathname = _useLocation.pathname;
11825
11930
  var _useState = React.useState(pathname + 'id'),
@@ -13646,7 +13751,7 @@ var BsSulaQueryTable = (function (props) {
13646
13751
  }));
13647
13752
  });
13648
13753
 
13649
- var css_248z$f = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #005cff;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005CFF;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
13754
+ var css_248z$f = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #02B56E;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #02B56E;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
13650
13755
  styleInject(css_248z$f);
13651
13756
 
13652
13757
  var cache = {};
@@ -13902,7 +14007,7 @@ var AllFunc = function AllFunc(props) {
13902
14007
  })))));
13903
14008
  };
13904
14009
 
13905
- var css_248z$g = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #1890ff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
14010
+ var css_248z$g = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
13906
14011
  styleInject(css_248z$g);
13907
14012
 
13908
14013
  var allfunc = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Eicon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-20.000000%2C%20-1016.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-6%22%20transform%3D%22translate%280.000000%2C%2060.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%280.000000%2C%20900.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9F%A5%E7%9C%8B%E5%85%A8%E9%83%A8%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%2810.000000%2C%2046.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%22%20transform%3D%22translate%2810.000000%2C%2010.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22navigation-icon-allfunctions%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22category%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%283.000000%2C%205.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.24999999%2C12.3585414%20L2.24999999%2C14%20L0%2C14%20L0%2C12.3585414%20L2.24999999%2C12.3585414%20Z%20M18%2C12.3585414%20L18%2C14%20L3.375%2C14%20L3.375%2C12.3585414%20L18%2C12.3585414%20Z%20M2.24999999%2C6.17954431%20L2.24999999%2C7.82100286%20L0%2C7.82100286%20L0%2C6.17954431%20L2.24999999%2C6.17954431%20L2.24999999%2C6.17954431%20Z%20M18%2C6.17954431%20L18%2C7.82100286%20L3.375%2C7.82100286%20L3.375%2C6.17954431%20L18%2C6.17954431%20L18%2C6.17954431%20Z%20M2.24999999%2C0%20L2.24999999%2C1.64145855%20L0%2C1.64145855%20L0%2C0%20L2.24999999%2C0%20L2.24999999%2C0%20Z%20M18%2C0%20L18%2C1.64145855%20L3.375%2C1.64145855%20L3.375%2C0%20L18%2C0%20L18%2C0%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -14010,7 +14115,7 @@ var DrawContent = function DrawContent(_ref) {
14010
14115
  return /*#__PURE__*/React__default['default'].createElement(antd.List, {
14011
14116
  className: classNames__default['default']('allFunsList', 'allFunsListWarp'),
14012
14117
  style: {
14013
- color: '#005CFF'
14118
+ color: '#02B56E'
14014
14119
  },
14015
14120
  header: /*#__PURE__*/React__default['default'].createElement("b", null, umi.formatMessage({
14016
14121
  id: "".concat(item.name)
@@ -14102,7 +14207,7 @@ var AllFunc$1 = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
14102
14207
  })));
14103
14208
  });
14104
14209
 
14105
- var css_248z$h = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
14210
+ var css_248z$h = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
14106
14211
  styleInject(css_248z$h);
14107
14212
 
14108
14213
  var Morentouxiang = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2240px%22%20height%3D%2240px%22%20viewBox%3D%220%200%2040%2040%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E32%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22path-1%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2213%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-40.4%25%22%20y%3D%22-40.4%25%22%20width%3D%22180.8%25%22%20height%3D%22180.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%220%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%223.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeComposite%20in%3D%22shadowBlurOuter1%22%20in2%3D%22SourceAlpha%22%20operator%3D%22out%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeComposite%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%200%200%200%201%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22-----6.1-%E9%BB%98%E8%AE%A4%E5%9B%BE%E7%89%87%2F-Default-picture%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22B-Design-%E4%BD%93%E9%AA%8C%E8%A7%84%E8%8C%83%22%20transform%3D%22translate%28-1119.000000%2C%20-988.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%2232%22%20transform%3D%22translate%281126.000000%2C%20995.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%9C%86%E5%BD%A2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url%28%23filter-2%29%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ccircle%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%220.8328125%22%20stroke-linejoin%3D%22square%22%20fill%3D%22%23EDF4FF%22%20fill-rule%3D%22evenodd%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2212.5835938%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M15.644709%2C13.6190476%20L18.9119048%2C15.0892857%20L18.9119048%2C19.5%20L7.15%2C19.5%20L7.15%2C15.0892857%20L10.4171958%2C13.6190476%20L15.644709%2C13.6190476%20Z%20M16.1261905%2C16.4047619%20L13.65%2C16.4047619%20L13.65%2C17.6428571%20L16.1261905%2C17.6428571%20L16.1261905%2C16.4047619%20Z%20M13.1857143%2C6.5%20C14.9806397%2C6.5%2016.4357143%2C7.95507456%2016.4357143%2C9.75%20C16.4357143%2C11.5449254%2014.9806397%2C13%2013.1857143%2C13%20C11.3907888%2C13%209.93571429%2C11.5449254%209.93571429%2C9.75%20C9.93571429%2C7.95507456%2011.3907888%2C6.5%2013.1857143%2C6.5%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%239AC4FF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -14118,21 +14223,19 @@ function _outLogin() {
14118
14223
  _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
14119
14224
  var res;
14120
14225
  return _regeneratorRuntime().wrap(function _callee$(_context) {
14121
- while (1) {
14122
- switch (_context.prev = _context.next) {
14123
- case 0:
14124
- _context.next = 2;
14125
- return axios__default['default']({
14126
- url: '/user/web/loginOut',
14127
- method: 'GET'
14128
- });
14129
- case 2:
14130
- res = _context.sent;
14131
- return _context.abrupt("return", res);
14132
- case 4:
14133
- case "end":
14134
- return _context.stop();
14135
- }
14226
+ while (1) switch (_context.prev = _context.next) {
14227
+ case 0:
14228
+ _context.next = 2;
14229
+ return axios__default['default']({
14230
+ url: '/user/web/loginOut',
14231
+ method: 'GET'
14232
+ });
14233
+ case 2:
14234
+ res = _context.sent;
14235
+ return _context.abrupt("return", res);
14236
+ case 4:
14237
+ case "end":
14238
+ return _context.stop();
14136
14239
  }
14137
14240
  }, _callee);
14138
14241
  }));
@@ -14261,31 +14364,29 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14261
14364
  var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
14262
14365
  var sessionId;
14263
14366
  return _regeneratorRuntime().wrap(function _callee$(_context) {
14264
- while (1) {
14265
- switch (_context.prev = _context.next) {
14266
- case 0:
14267
- _context.next = 2;
14268
- return getSessionId();
14269
- case 2:
14270
- sessionId = _context.sent;
14271
- _context.next = 5;
14272
- return outLogin({
14273
- sessionId: sessionId
14367
+ while (1) switch (_context.prev = _context.next) {
14368
+ case 0:
14369
+ _context.next = 2;
14370
+ return getSessionId();
14371
+ case 2:
14372
+ sessionId = _context.sent;
14373
+ _context.next = 5;
14374
+ return outLogin({
14375
+ sessionId: sessionId
14376
+ });
14377
+ case 5:
14378
+ // @ts-ignore
14379
+ if (BUILD_TYPE) {
14380
+ antd.message.success('退出登录成功');
14381
+ umi.history.replace({
14382
+ pathname: '/user/login'
14274
14383
  });
14275
- case 5:
14276
- // @ts-ignore
14277
- if (BUILD_TYPE) {
14278
- antd.message.success('退出登录成功');
14279
- umi.history.replace({
14280
- pathname: '/user/login'
14281
- });
14282
- } else {
14283
- setLoginOutPath();
14284
- }
14285
- case 6:
14286
- case "end":
14287
- return _context.stop();
14288
- }
14384
+ } else {
14385
+ setLoginOutPath();
14386
+ }
14387
+ case 6:
14388
+ case "end":
14389
+ return _context.stop();
14289
14390
  }
14290
14391
  }, _callee);
14291
14392
  }));
@@ -14354,7 +14455,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
14354
14455
  }))))), loginModalParams.visible && /*#__PURE__*/React__default['default'].createElement(LoginModal, _objectSpread2({}, loginModalParams)));
14355
14456
  };
14356
14457
 
14357
- var css_248z$i = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005cff;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
14458
+ var css_248z$i = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #02B56E;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
14358
14459
  styleInject(css_248z$i);
14359
14460
 
14360
14461
  var judgeIsEmpty$2 = function judgeIsEmpty(value) {
@@ -14431,7 +14532,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
14431
14532
  var afterStr = newName.substr(index + keyWord.length);
14432
14533
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("span", null, beforeStr), /*#__PURE__*/React__default['default'].createElement("span", {
14433
14534
  style: {
14434
- color: '#1890ff'
14535
+ color: '#02B56E'
14435
14536
  }
14436
14537
  }, keyWord), /*#__PURE__*/React__default['default'].createElement("span", null, afterStr));
14437
14538
  }
@@ -15276,7 +15377,7 @@ var CustomerMenu = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
15276
15377
  })));
15277
15378
  });
15278
15379
 
15279
- var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #1890ff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #1890ff !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #005CFF;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #005CFF;\n}\n";
15380
+ var css_248z$l = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #02B56E;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #02B56E !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #02B56E;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #02B56E;\n}\n";
15280
15381
  styleInject(css_248z$l);
15281
15382
 
15282
15383
  var closeicon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAiZJREFUSEvFll1LVFEUhh/1QqjAxALrot+ggR9RQWh1UZl9kNCtv8ALf0Q3/YVuiyIqLKOUyI80RP0VXVSU+UGKF2W88q7hzPacOY4QHhiGmVn7fdZe691rTwP/+WlI9Bv9eQfQq55HWqH3NxamgOz3+q0SWEJSYpFQVWIBUIDE+oARYBj4ATQBf0rEI+Yk8Ah4CHwEdjUDoHeRnwN3gBngJrBaAgnxVmAMOA88A4aKAAp8A5wzZABYK4Dkic8CWqPEdpPO9iB20Qa8BnqBae9EkCijKhbixx2rzOeAG8CvEFdg2uRYKIh20mOIslo3RGvUlxaLXwDmgesWr+pbnovyIFPe+oYbLnHV/CLw2eIreaUssmlATngn3YAg17yL8f2I55Uo68is/VSuLuC9AZeBBQN/1nJa0Q4ClHVKuEu/fXJZihxWSbQMEM5pBlQWHUQ9E+7JduKuPWeyFiDEj7mhl2xFrdE5+WAL/64FKQJkxV858yXgqq09CXQAer8FFELyAFnxl0A/sOiaf3cN2u2usy7X7SJI3rjW0DsKSFxuUeY6RN/sFjF00ARRXzrtLkE203LljQqJvwCuAMu2YojHZA13nTJE5XrnQSlIjJ3KqIgvjlhctZa4Mv9aMuxOu1yCvAXuAlvpsAvAU+DePsTTc5KFPAHup+M6GjsIjDrgS50XzhngMfDAtq66cNIRoUYf5MqUaNUNeCiXfsUB9fylcOyetf8AAkCfGYuSNSEAAAAASUVORK5CYII=";
@@ -15441,8 +15542,8 @@ var DrawContent$1 = function DrawContent(_ref) {
15441
15542
  return /*#__PURE__*/React__default['default'].createElement("div", {
15442
15543
  className: 'left_item',
15443
15544
  style: {
15444
- borderLeft: currentOneLevel === item.path ? '2px solid #1890ff' : 'none',
15445
- color: currentOneLevel === item.path ? '#1890ff' : '#000000'
15545
+ borderLeft: currentOneLevel === item.path ? '2px solid #02B56E' : 'none',
15546
+ color: currentOneLevel === item.path ? '#02B56E' : '#000000'
15446
15547
  },
15447
15548
  onClick: function onClick(e) {
15448
15549
  e.stopPropagation();
@@ -15568,7 +15669,7 @@ var DrawContent$1 = function DrawContent(_ref) {
15568
15669
  className: "allFunsList allFunsListWarp ".concat(currentOneLevel === item.path ? 'choosedStyle' : ''),
15569
15670
  id: item.path,
15570
15671
  style: {
15571
- color: currentOneLevel === item.path ? '#fff' : '#005CFF'
15672
+ color: currentOneLevel === item.path ? '#fff' : '#02B56E'
15572
15673
  },
15573
15674
  header: /*#__PURE__*/React__default['default'].createElement("b", null, umi.formatMessage({
15574
15675
  id: "".concat(item.name)
@@ -15600,7 +15701,7 @@ var DrawContent$1 = function DrawContent(_ref) {
15600
15701
  }, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u4E0B\u6ED1\u52A0\u8F7D\u66F4\u591A"))))));
15601
15702
  };
15602
15703
 
15603
- var caidan = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-20.000000%2C%20-19.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%2820.000000%2C%2019.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23005CFF%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M34.4%2C30.5%20L34.4%2C33.1%20L13.6%2C33.1%20L13.6%2C30.5%20L34.4%2C30.5%20Z%20M34.4%2C22.7%20L34.4%2C25.3%20L13.6%2C25.3%20L13.6%2C22.7%20L34.4%2C22.7%20Z%20M34.4%2C14.9%20L34.4%2C17.5%20L13.6%2C17.5%20L13.6%2C14.9%20L34.4%2C14.9%20Z%22%20id%3D%22nav-line-%E5%AF%BC%E8%88%AA%E5%85%A5%E5%8F%A3%22%20fill%3D%22%23FFFFFF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15704
+ var caidan = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2248px%22%20height%3D%2248px%22%20viewBox%3D%220%200%2048%2048%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-20.000000%2C%20-19.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%2820.000000%2C%2019.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%2302B56E%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M34.4%2C30.5%20L34.4%2C33.1%20L13.6%2C33.1%20L13.6%2C30.5%20L34.4%2C30.5%20Z%20M34.4%2C22.7%20L34.4%2C25.3%20L13.6%2C25.3%20L13.6%2C22.7%20L34.4%2C22.7%20Z%20M34.4%2C14.9%20L34.4%2C17.5%20L13.6%2C17.5%20L13.6%2C14.9%20L34.4%2C14.9%20Z%22%20id%3D%22nav-line-%E5%AF%BC%E8%88%AA%E5%85%A5%E5%8F%A3%22%20fill%3D%22%23FFFFFF%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15604
15705
 
15605
15706
  var guanbi = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2249px%22%20height%3D%2249px%22%20viewBox%3D%220%200%2049%2049%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%402x%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28-327.000000%2C%20-7295.000000%29%22%20fill%3D%22%23FFFFFF%22%20id%3D%22%E7%BC%96%E7%BB%84-19%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%28201.125000%2C%206939.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-12%22%20transform%3D%22translate%28120.750000%2C%20350.500000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%285.125000%2C%205.500000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20opacity%3D%220%22%20x%3D%220.875%22%20y%3D%220.5%22%20width%3D%2248%22%20height%3D%2248%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill-rule%3D%22nonzero%22%20points%3D%2216.1903531%2014.2124746%2014.6278957%2015.7683177%2023.3198919%2024.5%2014.6278957%2033.2316823%2016.1903531%2034.7875254%2024.875%2026.0624574%2033.5596469%2034.7875254%2035.1221043%2033.2316823%2026.4308431%2024.5007349%2035.1221043%2015.7683177%2033.5596469%2014.2124746%2024.875%2022.9368077%2016.1903531%2014.2132096%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15606
15707
 
@@ -15692,7 +15793,7 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
15692
15793
  })));
15693
15794
  };
15694
15795
 
15695
- var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #1890ff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
15796
+ var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #02B56E;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
15696
15797
  styleInject(css_248z$m);
15697
15798
 
15698
15799
  var _excluded$g = ["route"];
@@ -16113,6 +16214,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
16113
16214
  showSubMenu: isShow
16114
16215
  });
16115
16216
  }, 500);
16217
+ //设置tabs标签左右滚动
16116
16218
  _this.setTabNavTransLate = function (num) {
16117
16219
  var _document$getElementB, _document$getElementB2, _document$getElementB3, _document$getElementB4, _document$defaultView;
16118
16220
  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];
@@ -16793,14 +16895,12 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
16793
16895
  request: function () {
16794
16896
  var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
16795
16897
  return _regeneratorRuntime().wrap(function _callee$(_context) {
16796
- while (1) {
16797
- switch (_context.prev = _context.next) {
16798
- case 0:
16799
- return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
16800
- case 1:
16801
- case "end":
16802
- return _context.stop();
16803
- }
16898
+ while (1) switch (_context.prev = _context.next) {
16899
+ case 0:
16900
+ return _context.abrupt("return", JSON.parse(localStorage.getItem("customerMenu_".concat(itemPath, "_front")) || '[]'));
16901
+ case 1:
16902
+ case "end":
16903
+ return _context.stop();
16804
16904
  }
16805
16905
  }, _callee);
16806
16906
  }));
@@ -16938,7 +17038,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
16938
17038
  }]);
16939
17039
  return WrapperComponent;
16940
17040
  }(React__default['default'].Component);
16941
- var index$5 = (function (props) {
17041
+ var index$6 = (function (props) {
16942
17042
  var _useModel = umi.useModel('@@initialState'),
16943
17043
  _useModel$initialStat = _useModel.initialState,
16944
17044
  initialState = _useModel$initialStat === void 0 ? {} : _useModel$initialStat;
@@ -17180,7 +17280,7 @@ var FixedScrollBar = function FixedScrollBar(_ref, ref) {
17180
17280
  };
17181
17281
  var FixedScrollBar$1 = /*#__PURE__*/React__default['default'].forwardRef(FixedScrollBar);
17182
17282
 
17183
- var index$6 = /*#__PURE__*/React.forwardRef(function (props, ref) {
17283
+ var index$7 = /*#__PURE__*/React.forwardRef(function (props, ref) {
17184
17284
  var _useState = React.useState(false),
17185
17285
  _useState2 = _slicedToArray(_useState, 2),
17186
17286
  show = _useState2[0],
@@ -23530,7 +23630,7 @@ function registerSuggestions(monaco) {
23530
23630
  });
23531
23631
  }
23532
23632
 
23533
- var css_248z$p = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #1890ff;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
23633
+ var css_248z$p = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #02B56E;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
23534
23634
  styleInject(css_248z$p);
23535
23635
 
23536
23636
  var Title = antd.Typography.Title;
@@ -24481,28 +24581,26 @@ var valueType = {
24481
24581
  var getDynamicDict = /*#__PURE__*/function () {
24482
24582
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
24483
24583
  return _regeneratorRuntime().wrap(function _callee$(_context) {
24484
- while (1) {
24485
- switch (_context.prev = _context.next) {
24486
- case 0:
24487
- _context.next = 2;
24488
- return bssula.request({
24489
- url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
24490
- converter: function converter(_ref2) {
24491
- var data = _ref2.data;
24492
- return data === null || data === void 0 ? void 0 : data.map(function (d) {
24493
- return {
24494
- text: d.name,
24495
- value: d.code || d.brandCode
24496
- };
24497
- });
24498
- }
24499
- });
24500
- case 2:
24501
- return _context.abrupt("return", _context.sent);
24502
- case 3:
24503
- case "end":
24504
- return _context.stop();
24505
- }
24584
+ while (1) switch (_context.prev = _context.next) {
24585
+ case 0:
24586
+ _context.next = 2;
24587
+ return bssula.request({
24588
+ url: "/basic/dictDynamicItem/getDynamicData/".concat(dictionaryCode),
24589
+ converter: function converter(_ref2) {
24590
+ var data = _ref2.data;
24591
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
24592
+ return {
24593
+ text: d.name,
24594
+ value: d.code || d.brandCode
24595
+ };
24596
+ });
24597
+ }
24598
+ });
24599
+ case 2:
24600
+ return _context.abrupt("return", _context.sent);
24601
+ case 3:
24602
+ case "end":
24603
+ return _context.stop();
24506
24604
  }
24507
24605
  }, _callee);
24508
24606
  }));
@@ -24552,55 +24650,53 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
24552
24650
  ahooks.useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
24553
24651
  var _ref$current, source;
24554
24652
  return _regeneratorRuntime().wrap(function _callee$(_context) {
24555
- while (1) {
24556
- switch (_context.prev = _context.next) {
24557
- case 0:
24558
- _context.next = 2;
24559
- return setIsShowAndType(function (prev) {
24560
- if (record.inputType === 20 || record.inputType === 30) {
24561
- return {
24562
- isShow: true,
24563
- singleOrMultiple: record.inputType,
24564
- type: record.choiceType
24565
- };
24566
- }
24567
- return prev;
24568
- });
24569
- case 2:
24570
- if (!record.dictionaryCode) {
24571
- _context.next = 17;
24572
- break;
24573
- }
24574
- if (!(record.choiceType == 20)) {
24575
- _context.next = 7;
24576
- break;
24653
+ while (1) switch (_context.prev = _context.next) {
24654
+ case 0:
24655
+ _context.next = 2;
24656
+ return setIsShowAndType(function (prev) {
24657
+ if (record.inputType === 20 || record.inputType === 30) {
24658
+ return {
24659
+ isShow: true,
24660
+ singleOrMultiple: record.inputType,
24661
+ type: record.choiceType
24662
+ };
24577
24663
  }
24578
- _context.t0 = getDictionarySource(record.dictionaryCode);
24579
- _context.next = 15;
24664
+ return prev;
24665
+ });
24666
+ case 2:
24667
+ if (!record.dictionaryCode) {
24668
+ _context.next = 17;
24580
24669
  break;
24581
- case 7:
24582
- if (!(record.choiceType == 30)) {
24583
- _context.next = 13;
24584
- break;
24585
- }
24586
- _context.next = 10;
24587
- return getDynamicDict(record.dictionaryCode);
24588
- case 10:
24589
- _context.t1 = _context.sent;
24590
- _context.next = 14;
24670
+ }
24671
+ if (!(record.choiceType == 20)) {
24672
+ _context.next = 7;
24591
24673
  break;
24592
- case 13:
24593
- _context.t1 = [];
24594
- case 14:
24595
- _context.t0 = _context.t1;
24596
- case 15:
24597
- source = _context.t0;
24598
- // @ts-ignore
24599
- ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
24600
- case 17:
24601
- case "end":
24602
- return _context.stop();
24603
- }
24674
+ }
24675
+ _context.t0 = getDictionarySource(record.dictionaryCode);
24676
+ _context.next = 15;
24677
+ break;
24678
+ case 7:
24679
+ if (!(record.choiceType == 30)) {
24680
+ _context.next = 13;
24681
+ break;
24682
+ }
24683
+ _context.next = 10;
24684
+ return getDynamicDict(record.dictionaryCode);
24685
+ case 10:
24686
+ _context.t1 = _context.sent;
24687
+ _context.next = 14;
24688
+ break;
24689
+ case 13:
24690
+ _context.t1 = [];
24691
+ case 14:
24692
+ _context.t0 = _context.t1;
24693
+ case 15:
24694
+ source = _context.t0;
24695
+ // @ts-ignore
24696
+ ref === null || ref === void 0 ? void 0 : (_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.setFieldSource('defaultValue', source);
24697
+ case 17:
24698
+ case "end":
24699
+ return _context.stop();
24604
24700
  }
24605
24701
  }, _callee);
24606
24702
  })));
@@ -24668,30 +24764,28 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
24668
24764
  var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
24669
24765
  var form, values, name, relates, source;
24670
24766
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
24671
- while (1) {
24672
- switch (_context2.prev = _context2.next) {
24673
- case 0:
24674
- form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
24675
- if (values[0]) {
24676
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24677
- form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24678
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
24679
- }
24680
- if (!values[1]) {
24681
- _context2.next = 9;
24682
- break;
24683
- }
24684
- _context2.next = 5;
24685
- return getDynamicDict(record.dictionaryCode || values[1]);
24686
- case 5:
24687
- source = _context2.sent;
24767
+ while (1) switch (_context2.prev = _context2.next) {
24768
+ case 0:
24769
+ form = _ref3.form, values = _ref3.values, name = _ref3.name, relates = _ref3.relates;
24770
+ if (values[0]) {
24688
24771
  form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24689
24772
  form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24690
- form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
24691
- case 9:
24692
- case "end":
24693
- return _context2.stop();
24694
- }
24773
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], getDictionarySource(values[0]));
24774
+ }
24775
+ if (!values[1]) {
24776
+ _context2.next = 9;
24777
+ break;
24778
+ }
24779
+ _context2.next = 5;
24780
+ return getDynamicDict(record.dictionaryCode || values[1]);
24781
+ case 5:
24782
+ source = _context2.sent;
24783
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], []);
24784
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name[0], undefined);
24785
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name[0], source);
24786
+ case 9:
24787
+ case "end":
24788
+ return _context2.stop();
24695
24789
  }
24696
24790
  }, _callee2);
24697
24791
  }));
@@ -25151,43 +25245,41 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
25151
25245
  var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
25152
25246
  var values, name, form, source;
25153
25247
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
25154
- while (1) {
25155
- switch (_context3.prev = _context3.next) {
25156
- case 0:
25157
- values = _ref10.values, name = _ref10.name, form = _ref10.form;
25158
- if (values[1] === 40) {
25159
- form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
25160
- form.setFieldVisible(name, false);
25161
- }
25162
- if (!(values[0] === 30)) {
25163
- _context3.next = 10;
25164
- break;
25165
- }
25166
- _context3.next = 5;
25167
- return bssula.request({
25168
- url: '/basic/dictDynamicItem/queryList',
25169
- converter: function converter(_ref11) {
25170
- var data = _ref11.data;
25171
- return data === null || data === void 0 ? void 0 : data.map(function (d) {
25172
- return {
25173
- text: d.dictCode,
25174
- value: d.dictCode
25175
- };
25176
- });
25177
- }
25178
- });
25179
- case 5:
25180
- source = _context3.sent;
25181
- form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
25182
- form.setFieldVisible(name, true);
25183
- _context3.next = 11;
25184
- break;
25185
- case 10:
25248
+ while (1) switch (_context3.prev = _context3.next) {
25249
+ case 0:
25250
+ values = _ref10.values, name = _ref10.name, form = _ref10.form;
25251
+ if (values[1] === 40) {
25252
+ form === null || form === void 0 ? void 0 : form.setFieldValue(name, null);
25186
25253
  form.setFieldVisible(name, false);
25187
- case 11:
25188
- case "end":
25189
- return _context3.stop();
25190
- }
25254
+ }
25255
+ if (!(values[0] === 30)) {
25256
+ _context3.next = 10;
25257
+ break;
25258
+ }
25259
+ _context3.next = 5;
25260
+ return bssula.request({
25261
+ url: '/basic/dictDynamicItem/queryList',
25262
+ converter: function converter(_ref11) {
25263
+ var data = _ref11.data;
25264
+ return data === null || data === void 0 ? void 0 : data.map(function (d) {
25265
+ return {
25266
+ text: d.dictCode,
25267
+ value: d.dictCode
25268
+ };
25269
+ });
25270
+ }
25271
+ });
25272
+ case 5:
25273
+ source = _context3.sent;
25274
+ form === null || form === void 0 ? void 0 : form.setFieldSource(name, source);
25275
+ form.setFieldVisible(name, true);
25276
+ _context3.next = 11;
25277
+ break;
25278
+ case 10:
25279
+ form.setFieldVisible(name, false);
25280
+ case 11:
25281
+ case "end":
25282
+ return _context3.stop();
25191
25283
  }
25192
25284
  }, _callee3);
25193
25285
  }));
@@ -25376,66 +25468,64 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
25376
25468
  var _ref$current4, _res$editableStatus;
25377
25469
  var res, _res$defaultValue;
25378
25470
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
25379
- while (1) {
25380
- switch (_context4.prev = _context4.next) {
25381
- case 0:
25382
- _context4.next = 2;
25383
- return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
25384
- case 2:
25385
- res = _context4.sent;
25386
- res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
25387
- res.fieldGroup = record.fieldGroup;
25388
- res.businessType = record.businessType;
25389
- res.info = {
25390
- enumeration: res.enumeration,
25391
- dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
25392
- formula: res.formula,
25393
- scale: res.scale,
25394
- variable: res.variable
25395
- };
25396
- res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
25397
- res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
25398
- res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
25399
- if (res.inputType === 40) {
25400
- res.valueType = 22;
25471
+ while (1) switch (_context4.prev = _context4.next) {
25472
+ case 0:
25473
+ _context4.next = 2;
25474
+ return ref === null || ref === void 0 ? void 0 : (_ref$current4 = ref.current) === null || _ref$current4 === void 0 ? void 0 : _ref$current4.validateFields();
25475
+ case 2:
25476
+ res = _context4.sent;
25477
+ res.editableStatus = (_res$editableStatus = res.editableStatus) === null || _res$editableStatus === void 0 ? void 0 : _res$editableStatus.join(',');
25478
+ res.fieldGroup = record.fieldGroup;
25479
+ res.businessType = record.businessType;
25480
+ res.info = {
25481
+ enumeration: res.enumeration,
25482
+ dictionaryCode: res.dictionaryCode || (res === null || res === void 0 ? void 0 : res['dictionaryCode_dynamic']),
25483
+ formula: res.formula,
25484
+ scale: res.scale,
25485
+ variable: res.variable
25486
+ };
25487
+ res.createVisibleFlag = res.showValue.indexOf('createVisibleFlag') >= 0;
25488
+ res.editVisibleFlag = res.showValue.indexOf('editVisibleFlag') >= 0;
25489
+ res.createEditableFlag = res.showValue.indexOf('createEditableFlag') >= 0;
25490
+ if (res.inputType === 40) {
25491
+ res.valueType = 22;
25492
+ }
25493
+ // 把数组处理成文本
25494
+ if (res.inputType === 30) {
25495
+ if (res.defaultValue) {
25496
+ res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
25401
25497
  }
25402
- // 把数组处理成文本
25403
- if (res.inputType === 30) {
25404
- if (res.defaultValue) {
25405
- res.defaultValue = (_res$defaultValue = res.defaultValue) === null || _res$defaultValue === void 0 ? void 0 : _res$defaultValue.join(',');
25406
- }
25498
+ }
25499
+ res.fieldMapping = res.fieldMapping || '';
25500
+ delete res.formula;
25501
+ delete res.showValue;
25502
+ if (!(mode === 'create')) {
25503
+ _context4.next = 18;
25504
+ break;
25505
+ }
25506
+ bssula.request({
25507
+ url: "/basic/flow/businessField",
25508
+ method: 'POST',
25509
+ params: res,
25510
+ successMessage: '创建成功!',
25511
+ converter: function converter() {
25512
+ onParentOk();
25407
25513
  }
25408
- res.fieldMapping = res.fieldMapping || '';
25409
- delete res.formula;
25410
- delete res.showValue;
25411
- if (!(mode === 'create')) {
25412
- _context4.next = 18;
25413
- break;
25514
+ });
25515
+ return _context4.abrupt("return");
25516
+ case 18:
25517
+ bssula.request({
25518
+ url: "/basic/flow/businessField/".concat(record.id),
25519
+ method: 'PATCH',
25520
+ params: res,
25521
+ successMessage: '修改成功!',
25522
+ converter: function converter() {
25523
+ onParentOk();
25414
25524
  }
25415
- bssula.request({
25416
- url: "/basic/flow/businessField",
25417
- method: 'POST',
25418
- params: res,
25419
- successMessage: '创建成功!',
25420
- converter: function converter() {
25421
- onParentOk();
25422
- }
25423
- });
25424
- return _context4.abrupt("return");
25425
- case 18:
25426
- bssula.request({
25427
- url: "/basic/flow/businessField/".concat(record.id),
25428
- method: 'PATCH',
25429
- params: res,
25430
- successMessage: '修改成功!',
25431
- converter: function converter() {
25432
- onParentOk();
25433
- }
25434
- });
25435
- case 19:
25436
- case "end":
25437
- return _context4.stop();
25438
- }
25525
+ });
25526
+ case 19:
25527
+ case "end":
25528
+ return _context4.stop();
25439
25529
  }
25440
25530
  }, _callee4);
25441
25531
  }));
@@ -26220,28 +26310,26 @@ var BsCascader = function BsCascader(_ref) {
26220
26310
  React.useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
26221
26311
  var resData, data;
26222
26312
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26223
- while (1) {
26224
- switch (_context.prev = _context.next) {
26225
- case 0:
26226
- if (!(!source && initRequestSource)) {
26227
- _context.next = 6;
26228
- break;
26229
- }
26230
- _context.next = 3;
26231
- return initRequestSource();
26232
- case 3:
26233
- resData = _context.sent;
26234
- data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
26235
- return _objectSpread2(_objectSpread2({}, item), {}, {
26236
- label: item.text,
26237
- isLeaf: false
26238
- });
26239
- })) || [];
26240
- setHandSource(data);
26241
- case 6:
26242
- case "end":
26243
- return _context.stop();
26244
- }
26313
+ while (1) switch (_context.prev = _context.next) {
26314
+ case 0:
26315
+ if (!(!source && initRequestSource)) {
26316
+ _context.next = 6;
26317
+ break;
26318
+ }
26319
+ _context.next = 3;
26320
+ return initRequestSource();
26321
+ case 3:
26322
+ resData = _context.sent;
26323
+ data = (resData === null || resData === void 0 ? void 0 : resData.map(function (item) {
26324
+ return _objectSpread2(_objectSpread2({}, item), {}, {
26325
+ label: item.text,
26326
+ isLeaf: false
26327
+ });
26328
+ })) || [];
26329
+ setHandSource(data);
26330
+ case 6:
26331
+ case "end":
26332
+ return _context.stop();
26245
26333
  }
26246
26334
  }, _callee);
26247
26335
  })), []);
@@ -26373,20 +26461,18 @@ function getRegularThresholdRange(_x) {
26373
26461
  function _getRegularThresholdRange() {
26374
26462
  _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
26375
26463
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26376
- while (1) {
26377
- switch (_context.prev = _context.next) {
26378
- case 0:
26379
- return _context.abrupt("return", axios__default['default']({
26380
- url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
26381
- method: 'POST',
26382
- data: _objectSpread2(_objectSpread2({}, params), {}, {
26383
- queryIdentify: undefined
26384
- })
26385
- }));
26386
- case 1:
26387
- case "end":
26388
- return _context.stop();
26389
- }
26464
+ while (1) switch (_context.prev = _context.next) {
26465
+ case 0:
26466
+ return _context.abrupt("return", axios__default['default']({
26467
+ url: "/basic/regularThresholdRange/getVals/".concat(params.queryIdentify),
26468
+ method: 'POST',
26469
+ data: _objectSpread2(_objectSpread2({}, params), {}, {
26470
+ queryIdentify: undefined
26471
+ })
26472
+ }));
26473
+ case 1:
26474
+ case "end":
26475
+ return _context.stop();
26390
26476
  }
26391
26477
  }, _callee);
26392
26478
  }));
@@ -26525,137 +26611,136 @@ var RuleField = /*#__PURE__*/function (_Component) {
26525
26611
  _this.getRegularThresholdRange(queryIdentify, propertyCode, queryIdentifyType);
26526
26612
  });
26527
26613
  };
26614
+ //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
26528
26615
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
26529
26616
  var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
26530
26617
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
26531
26618
  return _regeneratorRuntime().wrap(function _callee$(_context) {
26532
- while (1) {
26533
- switch (_context.prev = _context.next) {
26534
- case 0:
26535
- if (queryIdentify) {
26536
- _context.next = 2;
26537
- break;
26538
- }
26539
- return _context.abrupt("return");
26540
- case 2:
26541
- thresholdQuery = _this.state.thresholdQuery;
26542
- extraRequestUrl = '';
26543
- querParams = setParams(propertyCode, thresholdQuery);
26544
- if (!queryIdentityInfo.find(function (item) {
26545
- return item.identity == propertyCode;
26546
- })) {
26547
- _context.next = 10;
26548
- break;
26549
- }
26550
- //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
26551
- needQueryList = queryIdentityInfo.find(function (item) {
26552
- return item.identity == propertyCode;
26553
- }).queryParam.filter(function (item) {
26554
- return item.isRequired;
26555
- }).map(function (item) {
26556
- return item.queryKey;
26557
- });
26558
- if (!needQueryList.some(function (item) {
26559
- return !querParams[item] || !querParams[item].length;
26560
- })) {
26561
- _context.next = 9;
26562
- break;
26563
- }
26564
- return _context.abrupt("return");
26565
- case 9:
26566
- extraRequestUrl = queryIdentityInfo.find(function (item) {
26567
- return item.identity == propertyCode;
26568
- }).requestUrl || '';
26569
- case 10:
26570
- if (queryIdentifyType === 'dictCodeIdentify') {
26571
- extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
26572
- querParams = {
26573
- dictCode: queryIdentify
26574
- };
26575
- } else if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26576
- extraRequestUrl = "dictDynamicItem/getDynamicData/".concat(queryIdentify); // 字典接口
26577
- // querParams = { dictCode: queryIdentify }
26578
- }
26579
- if (!extraRequestUrl) {
26580
- _context.next = 16;
26581
- break;
26582
- }
26583
- if (queryIdentify == 'maintain_area_code') {
26584
- extraRequestUrl = "/basic/".concat(extraRequestUrl).concat(querParams.memberCardCode, "?").concat(querystring.stringify(querParams));
26585
- } else if (queryIdentifyType == 'dictCodeIdentify') {
26586
- extraRequestUrl = "/basic/".concat(extraRequestUrl, "?").concat(querystring.stringify(querParams));
26587
- } else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
26588
- extraRequestUrl = "/basic/".concat(extraRequestUrl);
26589
- }
26590
- bssula.request({
26591
- url: extraRequestUrl,
26592
- method: 'get',
26593
- converter: function converter(res) {
26594
- if (handleError(res)) {
26595
- var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26596
- if (queryIdentifyType === 'dictCodeIdentify') {
26597
- var _handleData2;
26598
- _handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
26599
- return {
26600
- code: i.dictItemCode,
26601
- name: i.dictItemName
26602
- };
26603
- }) : [];
26604
- }
26605
- if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26606
- var _handleData3;
26607
- _handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
26608
- return {
26609
- code: i.code.toString(),
26610
- name: i.name
26611
- };
26612
- }) : [];
26613
- }
26614
- _this.setState({
26615
- thresholdList: _handleData
26616
- });
26619
+ while (1) switch (_context.prev = _context.next) {
26620
+ case 0:
26621
+ if (queryIdentify) {
26622
+ _context.next = 2;
26623
+ break;
26624
+ }
26625
+ return _context.abrupt("return");
26626
+ case 2:
26627
+ thresholdQuery = _this.state.thresholdQuery;
26628
+ extraRequestUrl = '';
26629
+ querParams = setParams(propertyCode, thresholdQuery);
26630
+ if (!queryIdentityInfo.find(function (item) {
26631
+ return item.identity == propertyCode;
26632
+ })) {
26633
+ _context.next = 10;
26634
+ break;
26635
+ }
26636
+ //判断查询属性枚举时有没有必传参数,如果必传参数没有值则不调用查询接口
26637
+ needQueryList = queryIdentityInfo.find(function (item) {
26638
+ return item.identity == propertyCode;
26639
+ }).queryParam.filter(function (item) {
26640
+ return item.isRequired;
26641
+ }).map(function (item) {
26642
+ return item.queryKey;
26643
+ });
26644
+ if (!needQueryList.some(function (item) {
26645
+ return !querParams[item] || !querParams[item].length;
26646
+ })) {
26647
+ _context.next = 9;
26648
+ break;
26649
+ }
26650
+ return _context.abrupt("return");
26651
+ case 9:
26652
+ extraRequestUrl = queryIdentityInfo.find(function (item) {
26653
+ return item.identity == propertyCode;
26654
+ }).requestUrl || '';
26655
+ case 10:
26656
+ if (queryIdentifyType === 'dictCodeIdentify') {
26657
+ extraRequestUrl = "bscDictItem/selectDictItemsByDictCode"; // 字典接口
26658
+ querParams = {
26659
+ dictCode: queryIdentify
26660
+ };
26661
+ } else if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26662
+ extraRequestUrl = "dictDynamicItem/getDynamicData/".concat(queryIdentify); // 字典接口
26663
+ // querParams = { dictCode: queryIdentify }
26664
+ }
26665
+ if (!extraRequestUrl) {
26666
+ _context.next = 16;
26667
+ break;
26668
+ }
26669
+ if (queryIdentify == 'maintain_area_code') {
26670
+ extraRequestUrl = "/basic/".concat(extraRequestUrl).concat(querParams.memberCardCode, "?").concat(querystring.stringify(querParams));
26671
+ } else if (queryIdentifyType == 'dictCodeIdentify') {
26672
+ extraRequestUrl = "/basic/".concat(extraRequestUrl, "?").concat(querystring.stringify(querParams));
26673
+ } else if (queryIdentifyType == 'dynamicDictCodeIdentify') {
26674
+ extraRequestUrl = "/basic/".concat(extraRequestUrl);
26675
+ }
26676
+ bssula.request({
26677
+ url: extraRequestUrl,
26678
+ method: 'get',
26679
+ converter: function converter(res) {
26680
+ if (handleError(res)) {
26681
+ var _handleData = (res === null || res === void 0 ? void 0 : res.data) || [];
26682
+ if (queryIdentifyType === 'dictCodeIdentify') {
26683
+ var _handleData2;
26684
+ _handleData = ((_handleData2 = _handleData) === null || _handleData2 === void 0 ? void 0 : _handleData2.length) ? _handleData.map(function (i) {
26685
+ return {
26686
+ code: i.dictItemCode,
26687
+ name: i.dictItemName
26688
+ };
26689
+ }) : [];
26617
26690
  }
26618
- return handleData;
26691
+ if (queryIdentifyType === 'dynamicDictCodeIdentify') {
26692
+ var _handleData3;
26693
+ _handleData = ((_handleData3 = _handleData) === null || _handleData3 === void 0 ? void 0 : _handleData3.length) ? _handleData.map(function (i) {
26694
+ return {
26695
+ code: i.code.toString(),
26696
+ name: i.name
26697
+ };
26698
+ }) : [];
26699
+ }
26700
+ _this.setState({
26701
+ thresholdList: _handleData
26702
+ });
26619
26703
  }
26620
- });
26621
- _context.next = 29;
26622
- break;
26623
- case 16:
26624
- if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
26625
- _context.next = 20;
26626
- break;
26704
+ return handleData;
26627
26705
  }
26628
- _this.setState({
26629
- thresholdList: queryIdentify
26630
- });
26631
- _context.next = 29;
26706
+ });
26707
+ _context.next = 29;
26708
+ break;
26709
+ case 16:
26710
+ if (!(queryIdentifyType == 'objectPropertyListIdentify')) {
26711
+ _context.next = 20;
26632
26712
  break;
26633
- case 20:
26634
- if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
26635
- _context.next = 24;
26636
- break;
26637
- }
26638
- // TODO待处理
26713
+ }
26714
+ _this.setState({
26715
+ thresholdList: queryIdentify
26716
+ });
26717
+ _context.next = 29;
26718
+ break;
26719
+ case 20:
26720
+ if (!(queryIdentifyType == 'objectPropertyCodeIdentify')) {
26721
+ _context.next = 24;
26722
+ break;
26723
+ }
26724
+ // TODO待处理
26725
+ _this.setState({
26726
+ thresholdList: []
26727
+ });
26728
+ _context.next = 29;
26729
+ break;
26730
+ case 24:
26731
+ querParams.queryIdentify = queryIdentify;
26732
+ _context.next = 27;
26733
+ return getRegularThresholdRange(querParams);
26734
+ case 27:
26735
+ res = _context.sent;
26736
+ if (handleError(res)) {
26639
26737
  _this.setState({
26640
- thresholdList: []
26738
+ thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
26641
26739
  });
26642
- _context.next = 29;
26643
- break;
26644
- case 24:
26645
- querParams.queryIdentify = queryIdentify;
26646
- _context.next = 27;
26647
- return getRegularThresholdRange(querParams);
26648
- case 27:
26649
- res = _context.sent;
26650
- if (handleError(res)) {
26651
- _this.setState({
26652
- thresholdList: (res === null || res === void 0 ? void 0 : res.data) || []
26653
- });
26654
- }
26655
- case 29:
26656
- case "end":
26657
- return _context.stop();
26658
- }
26740
+ }
26741
+ case 29:
26742
+ case "end":
26743
+ return _context.stop();
26659
26744
  }
26660
26745
  }, _callee);
26661
26746
  }));
@@ -27474,32 +27559,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27474
27559
  notChangeOnSelect: true,
27475
27560
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
27476
27561
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
27477
- while (1) {
27478
- switch (_context2.prev = _context2.next) {
27479
- case 0:
27480
- _context2.next = 2;
27481
- return bssula.request({
27482
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27483
- method: 'get',
27484
- converter: function converter(_ref3) {
27485
- var data = _ref3.data;
27486
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27487
- return {
27488
- text: item.name,
27489
- value: item.id,
27490
- level: item.level,
27491
- id: item.id
27492
- };
27493
- }) : [];
27494
- return handleData;
27495
- }
27496
- });
27497
- case 2:
27498
- return _context2.abrupt("return", _context2.sent);
27499
- case 3:
27500
- case "end":
27501
- return _context2.stop();
27502
- }
27562
+ while (1) switch (_context2.prev = _context2.next) {
27563
+ case 0:
27564
+ _context2.next = 2;
27565
+ return bssula.request({
27566
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27567
+ method: 'get',
27568
+ converter: function converter(_ref3) {
27569
+ var data = _ref3.data;
27570
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27571
+ return {
27572
+ text: item.name,
27573
+ value: item.id,
27574
+ level: item.level,
27575
+ id: item.id
27576
+ };
27577
+ }) : [];
27578
+ return handleData;
27579
+ }
27580
+ });
27581
+ case 2:
27582
+ return _context2.abrupt("return", _context2.sent);
27583
+ case 3:
27584
+ case "end":
27585
+ return _context2.stop();
27503
27586
  }
27504
27587
  }, _callee2);
27505
27588
  })),
@@ -27525,32 +27608,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27525
27608
  notChangeOnSelect: true,
27526
27609
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
27527
27610
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
27528
- while (1) {
27529
- switch (_context3.prev = _context3.next) {
27530
- case 0:
27531
- _context3.next = 2;
27532
- return bssula.request({
27533
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27534
- method: 'get',
27535
- converter: function converter(_ref5) {
27536
- var data = _ref5.data;
27537
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27538
- return {
27539
- text: item.name,
27540
- value: item.id,
27541
- level: item.level,
27542
- id: item.id
27543
- };
27544
- }) : [];
27545
- return handleData;
27546
- }
27547
- });
27548
- case 2:
27549
- return _context3.abrupt("return", _context3.sent);
27550
- case 3:
27551
- case "end":
27552
- return _context3.stop();
27553
- }
27611
+ while (1) switch (_context3.prev = _context3.next) {
27612
+ case 0:
27613
+ _context3.next = 2;
27614
+ return bssula.request({
27615
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27616
+ method: 'get',
27617
+ converter: function converter(_ref5) {
27618
+ var data = _ref5.data;
27619
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27620
+ return {
27621
+ text: item.name,
27622
+ value: item.id,
27623
+ level: item.level,
27624
+ id: item.id
27625
+ };
27626
+ }) : [];
27627
+ return handleData;
27628
+ }
27629
+ });
27630
+ case 2:
27631
+ return _context3.abrupt("return", _context3.sent);
27632
+ case 3:
27633
+ case "end":
27634
+ return _context3.stop();
27554
27635
  }
27555
27636
  }, _callee3);
27556
27637
  })),
@@ -27578,32 +27659,30 @@ var RuleField = /*#__PURE__*/function (_Component) {
27578
27659
  notChangeOnSelect: true,
27579
27660
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
27580
27661
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
27581
- while (1) {
27582
- switch (_context4.prev = _context4.next) {
27583
- case 0:
27584
- _context4.next = 2;
27585
- return bssula.request({
27586
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27587
- method: 'get',
27588
- converter: function converter(_ref7) {
27589
- var data = _ref7.data;
27590
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27591
- return {
27592
- text: item.name,
27593
- value: item.id,
27594
- level: item.level,
27595
- id: item.id
27596
- };
27597
- }) : [];
27598
- return handleData;
27599
- }
27600
- });
27601
- case 2:
27602
- return _context4.abrupt("return", _context4.sent);
27603
- case 3:
27604
- case "end":
27605
- return _context4.stop();
27606
- }
27662
+ while (1) switch (_context4.prev = _context4.next) {
27663
+ case 0:
27664
+ _context4.next = 2;
27665
+ return bssula.request({
27666
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
27667
+ method: 'get',
27668
+ converter: function converter(_ref7) {
27669
+ var data = _ref7.data;
27670
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
27671
+ return {
27672
+ text: item.name,
27673
+ value: item.id,
27674
+ level: item.level,
27675
+ id: item.id
27676
+ };
27677
+ }) : [];
27678
+ return handleData;
27679
+ }
27680
+ });
27681
+ case 2:
27682
+ return _context4.abrupt("return", _context4.sent);
27683
+ case 3:
27684
+ case "end":
27685
+ return _context4.stop();
27607
27686
  }
27608
27687
  }, _callee4);
27609
27688
  })),
@@ -28720,8 +28799,6 @@ var RuleField = /*#__PURE__*/function (_Component) {
28720
28799
  });
28721
28800
  }
28722
28801
  }
28723
-
28724
- //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
28725
28802
  }, {
28726
28803
  key: "render",
28727
28804
  value: function render() {
@@ -29552,6 +29629,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29552
29629
  callBack(ruleClassData);
29553
29630
  });
29554
29631
  };
29632
+ // 树结构 转化成 平行树 (递归函数)
29555
29633
  _this.coverToParallel = function (treeData, result) {
29556
29634
  treeData.forEach(function (el) {
29557
29635
  result.push(el);
@@ -29807,6 +29885,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
29807
29885
  callBack(ruleClassData);
29808
29886
  });
29809
29887
  };
29888
+ // 场景需要返回值2022.11.15
29810
29889
  _this.renderResItem = function (itemDetail, parentDetail, ruleReturnConfig, classDataIndex, disabled, boxStyle) {
29811
29890
  var _ruleReturnConfig$rig;
29812
29891
  var isShowResponse = itemDetail.response['enable'];
@@ -30104,32 +30183,30 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30104
30183
  notChangeOnSelect: true,
30105
30184
  initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30106
30185
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30107
- while (1) {
30108
- switch (_context.prev = _context.next) {
30109
- case 0:
30110
- _context.next = 2;
30111
- return bssula.request({
30112
- url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
30113
- method: 'get',
30114
- converter: function converter(_ref2) {
30115
- var data = _ref2.data;
30116
- var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
30117
- return {
30118
- text: item.name,
30119
- value: item.id,
30120
- level: item.level,
30121
- id: item.id
30122
- };
30123
- }) : [];
30124
- return handleData;
30125
- }
30126
- });
30127
- case 2:
30128
- return _context.abrupt("return", _context.sent);
30129
- case 3:
30130
- case "end":
30131
- return _context.stop();
30132
- }
30186
+ while (1) switch (_context.prev = _context.next) {
30187
+ case 0:
30188
+ _context.next = 2;
30189
+ return bssula.request({
30190
+ url: '/basic/bscArea/getBscAreaList?qp-level-eq=1&qp-pid-eq=100000',
30191
+ method: 'get',
30192
+ converter: function converter(_ref2) {
30193
+ var data = _ref2.data;
30194
+ var handleData = data && data[0] ? data === null || data === void 0 ? void 0 : data.map(function (item) {
30195
+ return {
30196
+ text: item.name,
30197
+ value: item.id,
30198
+ level: item.level,
30199
+ id: item.id
30200
+ };
30201
+ }) : [];
30202
+ return handleData;
30203
+ }
30204
+ });
30205
+ case 2:
30206
+ return _context.abrupt("return", _context.sent);
30207
+ case 3:
30208
+ case "end":
30209
+ return _context.stop();
30133
30210
  }
30134
30211
  }, _callee);
30135
30212
  })),
@@ -30463,6 +30540,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30463
30540
  }
30464
30541
  }, "\u65B0\u589E\u8FD4\u56DE\u503C")), isHaveRuleReturnConfig && _this.renderResItem(itemDetail, parentDetail, ruleReturnConfig, classDataIndex, disabled, RuleActionItemStyle) || null, isHaveRuleTypeData && _this.renderActionList(itemDetail, parentDetail, handleRuleTypeData, selectRuleActionData, classDataIndex, disabled, RuleActionItemStyle) || null);
30465
30542
  };
30543
+ //添加同一层级条件
30466
30544
  _this.addPeerRule = function (itemDetail) {
30467
30545
  var ruleClassData = _this.state.ruleClassData;
30468
30546
  var _this$props4 = _this.props,
@@ -30483,6 +30561,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30483
30561
  callBack(ruleClassData);
30484
30562
  });
30485
30563
  };
30564
+ //添加子层级条件
30486
30565
  _this.addChildRules = function (itemDetail) {
30487
30566
  var ruleClassData = _this.state.ruleClassData;
30488
30567
  var callBack = _this.props.callBack;
@@ -30558,6 +30637,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
30558
30637
  callBack(ruleClassData);
30559
30638
  });
30560
30639
  };
30640
+ // 新增执行顺序
30561
30641
  _this.handleSelectRuleAction = function (keys, classDataIndex, callback) {
30562
30642
  callback();
30563
30643
  var callBack = _this.props.callBack;
@@ -30714,26 +30794,26 @@ exports.AddSkuSelect = AddSkuSelect;
30714
30794
  exports.AddSpuSelect = AddSpuSelect;
30715
30795
  exports.BillEntry = BillEntry;
30716
30796
  exports.BsCascader = BsCascader;
30717
- exports.BsLayout = index$5;
30797
+ exports.BsLayout = index$6;
30718
30798
  exports.BsSulaQueryTable = BsSulaQueryTable;
30719
30799
  exports.BusinessSearchSelect = BusinessSearchSelect$1;
30720
30800
  exports.BusinessTreeSearchSelect = BusinessTreeSearchSelect$1;
30721
- exports.CheckOneUser = index$1;
30801
+ exports.CheckOneUser = index$2;
30722
30802
  exports.ColumnSettingTable = ColumnSettingTable;
30723
30803
  exports.CommodityEntry = CommodityEntry;
30724
30804
  exports.DataImport = DataImport;
30725
30805
  exports.DataValidation = DataValidation;
30726
- exports.DetailPageWrapper = index$3;
30806
+ exports.DetailPageWrapper = index$4;
30727
30807
  exports.EllipsisTooltip = EllipsisTooltip;
30728
30808
  exports.ExportIcon = ExportIcon;
30729
30809
  exports.GuideWrapper = GuideWrapper;
30730
- exports.HomePageWrapper = index$4;
30810
+ exports.HomePageWrapper = index$5;
30731
30811
  exports.JsonQueryTable = JsonQueryTable;
30732
- exports.MoreTreeTable = index$6;
30812
+ exports.MoreTreeTable = index$7;
30733
30813
  exports.QueryMutipleInput = QueryMutipleInput;
30734
30814
  exports.RuleComponent = RuleObjectComponent;
30735
30815
  exports.SearchSelect = SearchSelect;
30736
- exports.StateFlow = index$2;
30816
+ exports.StateFlow = index$3;
30737
30817
  exports.SulaColumnSettingTable = ColumnSettingSulaTable;
30738
30818
  exports.TableColumnSetting = TableColumnSetting;
30739
30819
  exports.TreeSearchSelect = TreeSearchSelect;