@bit-sun/business-component 4.0.13-alpha.17 → 4.0.13-alpha.19

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 (70) hide show
  1. package/.umirc.ts +9 -9
  2. package/dist/components/Business/AddSelectBusiness/index.d.ts +4 -4
  3. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +2 -2
  4. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +2 -2
  5. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  6. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
  7. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +2 -2
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +2 -2
  10. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  11. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +2 -2
  12. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +2 -2
  13. package/dist/components/Business/BsLayouts/index.d.ts +1 -1
  14. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
  15. package/dist/components/Business/BsSulaQueryTable/index.d.ts +2 -2
  16. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
  17. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +15 -15
  18. package/dist/components/Business/CommodityEntry/index.d.ts +2 -2
  19. package/dist/components/Business/CommonAlert/index.d.ts +2 -2
  20. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  21. package/dist/components/Business/DetailPageWrapper/index.d.ts +6 -6
  22. package/dist/components/Business/HomePageWrapper/index.d.ts +2 -2
  23. package/dist/components/Business/ItemPropertySelector/index.d.ts +3 -0
  24. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +2 -2
  25. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +2 -2
  26. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +2 -2
  27. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +2 -2
  28. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +2 -2
  29. package/dist/components/Business/PropertyModal/index.d.ts +2 -2
  30. package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
  31. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  32. package/dist/components/Business/StateFlow/index.d.ts +2 -2
  33. package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
  34. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
  35. package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +2 -2
  36. package/dist/components/Business/columnSettingTable/index.d.ts +2 -2
  37. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +2 -2
  38. package/dist/components/Business/columnSettingTable/utils.d.ts +2 -2
  39. package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
  40. package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
  41. package/dist/components/Common/Section/index.d.ts +1 -1
  42. package/dist/components/Functional/AddSelect/index.d.ts +2 -2
  43. package/dist/components/Functional/AuthButton/index.d.ts +2 -2
  44. package/dist/components/Functional/DataImport/index.d.ts +3 -3
  45. package/dist/components/Functional/DataValidation/index.d.ts +3 -3
  46. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +2 -2
  47. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -2
  48. package/dist/components/Functional/QueryMutipleSelect/index.d.ts +2 -2
  49. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  50. package/dist/components/Functional/SearchSelect/utils.d.ts +5 -4
  51. package/dist/components/Functional/TreeSearchSelect/index.d.ts +2 -2
  52. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
  53. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +2 -2
  54. package/dist/components/Solution/RuleComponent/Formula.d.ts +2 -2
  55. package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +2 -2
  56. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -2
  57. package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +2 -2
  58. package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
  59. package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
  60. package/dist/index.esm.js +790 -459
  61. package/dist/index.js +790 -459
  62. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  63. package/dist/utils/TableUtils.d.ts +19 -19
  64. package/package.json +1 -1
  65. package/src/components/Business/ItemPropertySelector/index.tsx +88 -0
  66. package/src/components/Business/SearchSelect/BusinessUtils.tsx +192 -0
  67. package/src/components/Business/SearchSelect/index.md +2 -2
  68. package/src/components/Business/SearchSelect/utils.ts +1 -1
  69. package/src/components/Functional/SearchSelect/index.tsx +37 -4
  70. package/src/components/Functional/SearchSelect/utils.tsx +6 -5
package/dist/index.js CHANGED
@@ -55,88 +55,9 @@ var serialize__default = /*#__PURE__*/_interopDefaultLegacy(serialize);
55
55
  var castArray__default = /*#__PURE__*/_interopDefaultLegacy(castArray);
56
56
  var isArray__default = /*#__PURE__*/_interopDefaultLegacy(isArray$1);
57
57
 
58
- function _arrayLikeToArray(r, a) {
59
- (null == a || a > r.length) && (a = r.length);
60
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
61
- return n;
62
- }
63
- function _arrayWithHoles(r) {
64
- if (Array.isArray(r)) return r;
65
- }
66
- function _arrayWithoutHoles(r) {
67
- if (Array.isArray(r)) return _arrayLikeToArray(r);
68
- }
69
- function _assertThisInitialized(e) {
70
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
71
- return e;
72
- }
73
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
74
- try {
75
- var i = n[a](c),
76
- u = i.value;
77
- } catch (n) {
78
- return void e(n);
79
- }
80
- i.done ? t(u) : Promise.resolve(u).then(r, o);
81
- }
82
- function _asyncToGenerator(n) {
83
- return function () {
84
- var t = this,
85
- e = arguments;
86
- return new Promise(function (r, o) {
87
- var a = n.apply(t, e);
88
- function _next(n) {
89
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
90
- }
91
- function _throw(n) {
92
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
93
- }
94
- _next(void 0);
95
- });
96
- };
97
- }
98
58
  function _callSuper(t, o, e) {
99
59
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
100
60
  }
101
- function _classCallCheck(a, n) {
102
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
103
- }
104
- function _defineProperties(e, r) {
105
- for (var t = 0; t < r.length; t++) {
106
- var o = r[t];
107
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
108
- }
109
- }
110
- function _createClass(e, r, t) {
111
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
112
- writable: !1
113
- }), e;
114
- }
115
- function _defineProperty(e, r, t) {
116
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
117
- value: t,
118
- enumerable: !0,
119
- configurable: !0,
120
- writable: !0
121
- }) : e[r] = t, e;
122
- }
123
- function _getPrototypeOf(t) {
124
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
125
- return t.__proto__ || Object.getPrototypeOf(t);
126
- }, _getPrototypeOf(t);
127
- }
128
- function _inherits(t, e) {
129
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
130
- t.prototype = Object.create(e && e.prototype, {
131
- constructor: {
132
- value: t,
133
- writable: !0,
134
- configurable: !0
135
- }
136
- }), Object.defineProperty(t, "prototype", {
137
- writable: !1
138
- }), e && _setPrototypeOf(t, e);
139
- }
140
61
  function _isNativeReflectConstruct() {
141
62
  try {
142
63
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -145,9 +66,6 @@ function _isNativeReflectConstruct() {
145
66
  return !!t;
146
67
  })();
147
68
  }
148
- function _iterableToArray(r) {
149
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
150
- }
151
69
  function _iterableToArrayLimit(r, l) {
152
70
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
153
71
  if (null != t) {
@@ -175,15 +93,6 @@ function _iterableToArrayLimit(r, l) {
175
93
  return a;
176
94
  }
177
95
  }
178
- function _nonIterableRest() {
179
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
180
- }
181
- function _nonIterableSpread() {
182
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
183
- }
184
- function _objectDestructuringEmpty(t) {
185
- if (null == t) throw new TypeError("Cannot destructure " + t);
186
- }
187
96
  function ownKeys(e, r) {
188
97
  var t = Object.keys(e);
189
98
  if (Object.getOwnPropertySymbols) {
@@ -205,31 +114,6 @@ function _objectSpread2(e) {
205
114
  }
206
115
  return e;
207
116
  }
208
- function _objectWithoutProperties(e, t) {
209
- if (null == e) return {};
210
- var o,
211
- r,
212
- i = _objectWithoutPropertiesLoose(e, t);
213
- if (Object.getOwnPropertySymbols) {
214
- var s = Object.getOwnPropertySymbols(e);
215
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
216
- }
217
- return i;
218
- }
219
- function _objectWithoutPropertiesLoose(r, e) {
220
- if (null == r) return {};
221
- var t = {};
222
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
223
- if (e.includes(n)) continue;
224
- t[n] = r[n];
225
- }
226
- return t;
227
- }
228
- function _possibleConstructorReturn(t, e) {
229
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
230
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
231
- return _assertThisInitialized(t);
232
- }
233
117
  function _regeneratorRuntime() {
234
118
  _regeneratorRuntime = function () {
235
119
  return e;
@@ -531,20 +415,6 @@ function _regeneratorRuntime() {
531
415
  }
532
416
  }, e;
533
417
  }
534
- function _setPrototypeOf(t, e) {
535
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
536
- return t.__proto__ = e, t;
537
- }, _setPrototypeOf(t, e);
538
- }
539
- function _slicedToArray(r, e) {
540
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
541
- }
542
- function _toArray(r) {
543
- return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
544
- }
545
- function _toConsumableArray(r) {
546
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
547
- }
548
418
  function _toPrimitive(t, r) {
549
419
  if ("object" != typeof t || !t) return t;
550
420
  var e = t[Symbol.toPrimitive];
@@ -568,12 +438,180 @@ function _typeof(o) {
568
438
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
569
439
  }, _typeof(o);
570
440
  }
571
- function _unsupportedIterableToArray(r, a) {
572
- if (r) {
573
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
574
- var t = {}.toString.call(r).slice(8, -1);
575
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
441
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
442
+ try {
443
+ var info = gen[key](arg);
444
+ var value = info.value;
445
+ } catch (error) {
446
+ reject(error);
447
+ return;
448
+ }
449
+ if (info.done) {
450
+ resolve(value);
451
+ } else {
452
+ Promise.resolve(value).then(_next, _throw);
453
+ }
454
+ }
455
+ function _asyncToGenerator(fn) {
456
+ return function () {
457
+ var self = this,
458
+ args = arguments;
459
+ return new Promise(function (resolve, reject) {
460
+ var gen = fn.apply(self, args);
461
+ function _next(value) {
462
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
463
+ }
464
+ function _throw(err) {
465
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
466
+ }
467
+ _next(undefined);
468
+ });
469
+ };
470
+ }
471
+ function _classCallCheck(instance, Constructor) {
472
+ if (!(instance instanceof Constructor)) {
473
+ throw new TypeError("Cannot call a class as a function");
474
+ }
475
+ }
476
+ function _defineProperties(target, props) {
477
+ for (var i = 0; i < props.length; i++) {
478
+ var descriptor = props[i];
479
+ descriptor.enumerable = descriptor.enumerable || false;
480
+ descriptor.configurable = true;
481
+ if ("value" in descriptor) descriptor.writable = true;
482
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
483
+ }
484
+ }
485
+ function _createClass(Constructor, protoProps, staticProps) {
486
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
487
+ if (staticProps) _defineProperties(Constructor, staticProps);
488
+ Object.defineProperty(Constructor, "prototype", {
489
+ writable: false
490
+ });
491
+ return Constructor;
492
+ }
493
+ function _defineProperty(obj, key, value) {
494
+ key = _toPropertyKey(key);
495
+ if (key in obj) {
496
+ Object.defineProperty(obj, key, {
497
+ value: value,
498
+ enumerable: true,
499
+ configurable: true,
500
+ writable: true
501
+ });
502
+ } else {
503
+ obj[key] = value;
504
+ }
505
+ return obj;
506
+ }
507
+ function _inherits(subClass, superClass) {
508
+ if (typeof superClass !== "function" && superClass !== null) {
509
+ throw new TypeError("Super expression must either be null or a function");
510
+ }
511
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
512
+ constructor: {
513
+ value: subClass,
514
+ writable: true,
515
+ configurable: true
516
+ }
517
+ });
518
+ Object.defineProperty(subClass, "prototype", {
519
+ writable: false
520
+ });
521
+ if (superClass) _setPrototypeOf(subClass, superClass);
522
+ }
523
+ function _getPrototypeOf(o) {
524
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
525
+ return o.__proto__ || Object.getPrototypeOf(o);
526
+ };
527
+ return _getPrototypeOf(o);
528
+ }
529
+ function _setPrototypeOf(o, p) {
530
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
531
+ o.__proto__ = p;
532
+ return o;
533
+ };
534
+ return _setPrototypeOf(o, p);
535
+ }
536
+ function _objectDestructuringEmpty(obj) {
537
+ if (obj == null) throw new TypeError("Cannot destructure " + obj);
538
+ }
539
+ function _objectWithoutPropertiesLoose(source, excluded) {
540
+ if (source == null) return {};
541
+ var target = {};
542
+ for (var key in source) {
543
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
544
+ if (excluded.indexOf(key) >= 0) continue;
545
+ target[key] = source[key];
546
+ }
547
+ }
548
+ return target;
549
+ }
550
+ function _objectWithoutProperties(source, excluded) {
551
+ if (source == null) return {};
552
+ var target = _objectWithoutPropertiesLoose(source, excluded);
553
+ var key, i;
554
+ if (Object.getOwnPropertySymbols) {
555
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
556
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
557
+ key = sourceSymbolKeys[i];
558
+ if (excluded.indexOf(key) >= 0) continue;
559
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
560
+ target[key] = source[key];
561
+ }
562
+ }
563
+ return target;
564
+ }
565
+ function _assertThisInitialized(self) {
566
+ if (self === void 0) {
567
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
576
568
  }
569
+ return self;
570
+ }
571
+ function _possibleConstructorReturn(self, call) {
572
+ if (call && (typeof call === "object" || typeof call === "function")) {
573
+ return call;
574
+ } else if (call !== void 0) {
575
+ throw new TypeError("Derived constructors may only return object or undefined");
576
+ }
577
+ return _assertThisInitialized(self);
578
+ }
579
+ function _slicedToArray(arr, i) {
580
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
581
+ }
582
+ function _toArray(arr) {
583
+ return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
584
+ }
585
+ function _toConsumableArray(arr) {
586
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
587
+ }
588
+ function _arrayWithoutHoles(arr) {
589
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
590
+ }
591
+ function _arrayWithHoles(arr) {
592
+ if (Array.isArray(arr)) return arr;
593
+ }
594
+ function _iterableToArray(iter) {
595
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
596
+ }
597
+ function _unsupportedIterableToArray(o, minLen) {
598
+ if (!o) return;
599
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
600
+ var n = Object.prototype.toString.call(o).slice(8, -1);
601
+ if (n === "Object" && o.constructor) n = o.constructor.name;
602
+ if (n === "Map" || n === "Set") return Array.from(o);
603
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
604
+ }
605
+ function _arrayLikeToArray(arr, len) {
606
+ if (len == null || len > arr.length) len = arr.length;
607
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
608
+ return arr2;
609
+ }
610
+ function _nonIterableSpread() {
611
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
612
+ }
613
+ function _nonIterableRest() {
614
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
577
615
  }
578
616
 
579
617
  var ENUM = {
@@ -1083,13 +1121,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1083
1121
  imgHtml.innerHTML = str;
1084
1122
  }
1085
1123
  // 测试使用 测试类型缩小 end
1086
- return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? (/*#__PURE__*/React__default['default'].createElement("div", {
1124
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? ( /*#__PURE__*/React__default['default'].createElement("div", {
1087
1125
  className: "clomnsImg"
1088
1126
  }, /*#__PURE__*/React__default['default'].createElement(antd.Image, _objectSpread2({
1089
1127
  src: url,
1090
1128
  width: "16px",
1091
1129
  height: "16px"
1092
- }, paramsObj)))) : (/*#__PURE__*/React__default['default'].createElement("div", {
1130
+ }, paramsObj)))) : ( /*#__PURE__*/React__default['default'].createElement("div", {
1093
1131
  className: "clomnsImg2"
1094
1132
  }, /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1095
1133
  src: noImg
@@ -1226,7 +1264,7 @@ function downloadExcel(data, fileName, isResUrl) {
1226
1264
  }
1227
1265
  save_link.click();
1228
1266
  }
1229
- var _formatter = function formatter(data, parentAuthority, parentName) {
1267
+ var formatter = function formatter(data, parentAuthority, parentName) {
1230
1268
  return data.map(function (item) {
1231
1269
  if (!item.name || !item.path) {
1232
1270
  return null;
@@ -1246,7 +1284,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1246
1284
  authority: item.authority || parentAuthority
1247
1285
  });
1248
1286
  if (item.routes) {
1249
- var children = _formatter(item.routes, item.authority, locale);
1287
+ var children = formatter(item.routes, item.authority, locale);
1250
1288
  // Reduce memory usage
1251
1289
  result.children = children;
1252
1290
  }
@@ -1256,7 +1294,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1256
1294
  return item;
1257
1295
  });
1258
1296
  };
1259
- var memoizeOneFormatter = memoizeOne__default['default'](_formatter, isEqual__default['default']);
1297
+ var memoizeOneFormatter = memoizeOne__default['default'](formatter, isEqual__default['default']);
1260
1298
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1261
1299
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1262
1300
  if (backHistoryPath) {
@@ -1565,7 +1603,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1565
1603
  // sheepMap是表头字段中英文映射
1566
1604
  // sheetCount:表的数量,默认一张
1567
1605
  var resolveFile = /*#__PURE__*/function () {
1568
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1606
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1569
1607
  var config,
1570
1608
  data,
1571
1609
  _args = arguments;
@@ -1604,7 +1642,7 @@ var resolveFile = /*#__PURE__*/function () {
1604
1642
  }();
1605
1643
  //读取文件
1606
1644
  var readerXlsxToList = /*#__PURE__*/function () {
1607
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1645
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1608
1646
  var _ref5, callback, sheetMap, nowFile, data2, data;
1609
1647
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1610
1648
  while (1) switch (_context2.prev = _context2.next) {
@@ -1697,14 +1735,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1697
1735
  /**---------------------数据写入excel-------结束------------------------*/
1698
1736
 
1699
1737
  // 获取树平行结构
1700
- var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1738
+ var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1701
1739
  var childrenKey = chilKey || 'children';
1702
1740
  treeData.forEach(function (el) {
1703
1741
  var _el$childrenKey;
1704
1742
  result.push(el);
1705
1743
  if ((el === null || el === void 0 ? void 0 : el[childrenKey]) && (el === null || el === void 0 ? void 0 : (_el$childrenKey = el[childrenKey]) === null || _el$childrenKey === void 0 ? void 0 : _el$childrenKey.length) > 0) {
1706
1744
  // 子级递归
1707
- _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1745
+ coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1708
1746
  }
1709
1747
  });
1710
1748
  return result;
@@ -1981,13 +2019,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1981
2019
  imgHtml.innerHTML = str;
1982
2020
  }
1983
2021
  // 测试使用 测试类型缩小 end
1984
- return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? (/*#__PURE__*/React__default['default'].createElement("div", {
2022
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, url ? ( /*#__PURE__*/React__default['default'].createElement("div", {
1985
2023
  className: "clomnsImg"
1986
2024
  }, /*#__PURE__*/React__default['default'].createElement(antd.Image, _objectSpread2({
1987
2025
  src: url,
1988
2026
  width: "16px",
1989
2027
  height: "16px"
1990
- }, paramsObj)))) : (/*#__PURE__*/React__default['default'].createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2028
+ }, paramsObj)))) : ( /*#__PURE__*/React__default['default'].createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1991
2029
  src: noImg
1992
2030
  }))));
1993
2031
  };
@@ -2049,7 +2087,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2049
2087
  }
2050
2088
  });
2051
2089
  };
2052
- var menu = /*#__PURE__*/React__default['default'].createElement(antd.Menu, null, /*#__PURE__*/React__default['default'].createElement(antd.Menu.Item, null, type === 'input' && (/*#__PURE__*/React__default['default'].createElement(antd.Input, _objectSpread2({
2090
+ var menu = /*#__PURE__*/React__default['default'].createElement(antd.Menu, null, /*#__PURE__*/React__default['default'].createElement(antd.Menu.Item, null, type === 'input' && ( /*#__PURE__*/React__default['default'].createElement(antd.Input, _objectSpread2({
2053
2091
  disabled: disabled,
2054
2092
  onChange: function onChange(e) {
2055
2093
  var v = e.target.value;
@@ -2059,7 +2097,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2059
2097
  width: 170
2060
2098
  },
2061
2099
  value: inputValue
2062
- }, inpProps))), type === 'number' && (/*#__PURE__*/React__default['default'].createElement(antd.InputNumber, _objectSpread2({
2100
+ }, inpProps))), type === 'number' && ( /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, _objectSpread2({
2063
2101
  disabled: disabled,
2064
2102
  onBlur: function onBlur(e) {
2065
2103
  var v = parseFloat(e.target.value);
@@ -2438,16 +2476,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2438
2476
  var handleExportBarCode = handleExport;
2439
2477
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2440
2478
  var routerMap = {};
2441
- var _flattenMenuData = function flattenMenuData(data) {
2479
+ var flattenMenuData = function flattenMenuData(data) {
2442
2480
  data.forEach(function (menuItem) {
2443
2481
  if (menuItem.children) {
2444
- _flattenMenuData(menuItem.children);
2482
+ flattenMenuData(menuItem.children);
2445
2483
  }
2446
2484
  // Reduce memory usage
2447
2485
  routerMap[menuItem.path] = menuItem;
2448
2486
  });
2449
2487
  };
2450
- _flattenMenuData(menuData);
2488
+ flattenMenuData(menuData);
2451
2489
  return routerMap;
2452
2490
  };
2453
2491
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2590,7 +2628,7 @@ var requestUtil = function requestUtil(_ref) {
2590
2628
  return request__default['default'](url, parms).then(handleResponseData);
2591
2629
  };
2592
2630
  var handleResponseData = /*#__PURE__*/function () {
2593
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2631
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2594
2632
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2595
2633
  while (1) switch (_context.prev = _context.next) {
2596
2634
  case 0:
@@ -3268,7 +3306,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3268
3306
  style: {
3269
3307
  color: 'red'
3270
3308
  }
3271
- }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && (/*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
3309
+ }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && ( /*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
3272
3310
  trigger: ['click'],
3273
3311
  overlay: this.menuList,
3274
3312
  placement: "bottomRight"
@@ -3943,7 +3981,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3943
3981
  placement: "bottomLeft"
3944
3982
  }, /*#__PURE__*/React__default['default'].createElement("a", null, /*#__PURE__*/React__default['default'].createElement(icons.ProfileTwoTone, null))), /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
3945
3983
  title: /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "1\u3001\u62D6\u52A8\u6570\u636E\u9879\uFF0C\u4EE5\u9002\u914D\u6E90\u6570\u636E\u7684\u987A\u5E8F\uFF0C\u5982\u60A8Excel\u4E2D\u6570\u636E\u6392\u5E8F\u4F9D\u6B21\u4E3A\u7F16\u7801\u3001\u4EF7\u683C\u548C\u6570\u91CF\uFF0C\u5219\u60A8\u4E5F\u53EF\u4EE5\u5C06\u6570\u636E\u9879\u7684\u987A\u5E8F\u8C03\u6574\u4E3A\u4E00\u81F4"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "2\u3001\u590D\u5236\u6587\u4EF6\u6570\u636E\uFF08\u591A\u5217\u4E00\u8D77\uFF09\uFF0C\u5728\u6587\u672C\u6846\u5185\u8FDB\u884C\u7C98\u8D34"), /*#__PURE__*/React__default['default'].createElement("br", null), /*#__PURE__*/React__default['default'].createElement("span", null, "3\u3001\u70B9\u51FB\u8BC6\u522B\u6309\u94AE\u8FDB\u884C\u6570\u636E\u6821\u9A8C\uFF0C\u5982\u5168\u90E8\u6B63\u786E\uFF0C\u5219\u70B9\u51FB\u5F55\u5165\u6309\u94AE\u53EF\u5F55\u5165\u6570\u636E\uFF0C\u5982\u5B58\u5728\u9519\u8BEF\u6570\u636E\uFF0C\u5219\u9700\u4FEE\u6539\u540E\u518D\u8FDB\u884C\u5F55\u5165"))
3946
- }, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null))), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && (/*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
3984
+ }, /*#__PURE__*/React__default['default'].createElement(icons.ExclamationCircleOutlined, null))), /*#__PURE__*/React__default['default'].createElement(antd.Space, null, !notExcelImport && ( /*#__PURE__*/React__default['default'].createElement(antd.Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React__default['default'].createElement(antd.Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React__default['default'].createElement(antd.Dropdown, {
3947
3985
  trigger: ['click'],
3948
3986
  overlay: this.menuList,
3949
3987
  placement: "bottomRight"
@@ -4115,14 +4153,16 @@ var makeUniqueValue = function makeUniqueValue() {
4115
4153
  return generateUnitKey;
4116
4154
  };
4117
4155
  // ------------------------------------------处理样式相关--开始----------------------------------------
4118
- var getFormRowInfo = function getFormRowInfo(list) {
4119
- var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
4120
- var lastRowColumns = (list.length + 1) % columnsPerRow; // 计算最后一行的实际列数
4121
- var emptySlots = lastRowColumns === 0 ? 0 : columnsPerRow - lastRowColumns; // 计算最后一行的空位数
4156
+ var getFormRowInfo = function getFormRowInfo(list, tableSearchColSpan) {
4157
+ var lastColumnsPerRow = tableSearchColSpan == 6 ? columnsPerRow : 3;
4158
+ var totalRows = Math.ceil(list.length / lastColumnsPerRow); // 计算总行数
4159
+ var lastRowColumns = (list.length + 1) % lastColumnsPerRow; // 计算最后一行的实际列数
4160
+ var emptySlots = lastRowColumns === 0 ? 0 : lastColumnsPerRow - lastRowColumns; // 计算最后一行的空位数
4122
4161
  var emptyArray = new Array(emptySlots).fill(null); // 生成长度为 emptySlots 的数组
4123
4162
  return {
4124
4163
  totalRows: totalRows,
4125
- emptyArray: emptyArray
4164
+ emptyArray: emptyArray,
4165
+ ColSpan: tableSearchColSpan !== null && tableSearchColSpan !== void 0 ? tableSearchColSpan : ColSpan
4126
4166
  };
4127
4167
  };
4128
4168
  var defaultVisibleFieldsCount = 7;
@@ -4462,7 +4502,7 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4462
4502
  destroyTooltipOnHide: true,
4463
4503
  placement: "topRight",
4464
4504
  autoAdjustOverflow: false,
4465
- title: (/*#__PURE__*/React__default['default'].createElement("div", {
4505
+ title: ( /*#__PURE__*/React__default['default'].createElement("div", {
4466
4506
  style: {
4467
4507
  margin: '6px 8px 0px'
4468
4508
  },
@@ -4764,10 +4804,10 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4764
4804
  setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
4765
4805
  });
4766
4806
  },
4767
- notFoundContent: fetching ? (/*#__PURE__*/React__default['default'].createElement(antd.Spin, {
4807
+ notFoundContent: fetching ? ( /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
4768
4808
  size: "small",
4769
4809
  className: 'searchSelectSpin'
4770
- })) : (/*#__PURE__*/React__default['default'].createElement("div", {
4810
+ })) : ( /*#__PURE__*/React__default['default'].createElement("div", {
4771
4811
  style: {
4772
4812
  textAlign: 'center'
4773
4813
  }
@@ -4999,7 +5039,7 @@ var PropertyGroup = function PropertyGroup(props) {
4999
5039
  title: item.name,
5000
5040
  className: "propertyGroup_checkbox_container"
5001
5041
  }, item.name));
5002
- }), !!notCommonUseProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", {
5042
+ }), !!notCommonUseProperty.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
5003
5043
  style: {
5004
5044
  width: '50px',
5005
5045
  cursor: 'pointer',
@@ -5012,7 +5052,7 @@ var PropertyGroup = function PropertyGroup(props) {
5012
5052
  setShowNotCommon(!showNotCommon);
5013
5053
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
5014
5054
  }
5015
- }, showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))));
5055
+ }, showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))));
5016
5056
  };
5017
5057
  var PropertyGroup$1 = /*#__PURE__*/React__default['default'].memo(PropertyGroup, function (props, nextProps) {
5018
5058
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -5242,7 +5282,7 @@ var PropertySelector = function PropertySelector(_ref) {
5242
5282
  propertyData: item,
5243
5283
  handleProperyItemChange: handleProperyItemChange
5244
5284
  });
5245
- }))), !!notCommonProperty.length && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
5285
+ }))), !!notCommonProperty.length && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
5246
5286
  style: {
5247
5287
  width: '50px',
5248
5288
  cursor: 'pointer',
@@ -5252,7 +5292,54 @@ var PropertySelector = function PropertySelector(_ref) {
5252
5292
  onClick: function onClick() {
5253
5293
  return setShowNotCommon(!showNotCommon);
5254
5294
  }
5255
- }, showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5295
+ }, showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(icons.CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5296
+ };
5297
+
5298
+ var _excluded$4 = ["onChange", "value", "propertyCode", "name"];
5299
+ var ItemPropertySelector = function ItemPropertySelector(_ref) {
5300
+ var _onChange = _ref.onChange,
5301
+ value = _ref.value,
5302
+ propertyCode = _ref.propertyCode,
5303
+ name = _ref.name,
5304
+ restProps = _objectWithoutProperties(_ref, _excluded$4);
5305
+ var _useState = React$1.useState([]),
5306
+ _useState2 = _slicedToArray(_useState, 2),
5307
+ source = _useState2[0],
5308
+ setSource = _useState2[1];
5309
+ React$1.useEffect(function () {
5310
+ // FIXME: 目前只能通过固定属性编码先获取属性id,再通过属性id去查属性值 @林军
5311
+ if (propertyCode) {
5312
+ bssula.request({
5313
+ url: "/items/item/propertyValue/getPropertyValueNoPagerByCode?qp-propertyCode-eq=".concat(propertyCode, "&pageSize=5000"),
5314
+ method: 'GET',
5315
+ converter: function converter(_ref2) {
5316
+ var data = _ref2.data;
5317
+ var source = ((data === null || data === void 0 ? void 0 : data.items) || []).map(function (item) {
5318
+ return {
5319
+ text: item.value,
5320
+ value: item.value
5321
+ };
5322
+ });
5323
+ setSource(source);
5324
+ }
5325
+ });
5326
+ return;
5327
+ }
5328
+ }, [propertyCode]);
5329
+ return /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, restProps), {}, {
5330
+ value: value,
5331
+ allowClear: true,
5332
+ style: {
5333
+ width: '100%'
5334
+ },
5335
+ onChange: function onChange(v) {
5336
+ _onChange(v);
5337
+ }
5338
+ }), source.map(function (res) {
5339
+ return /*#__PURE__*/React__default['default'].createElement(antd.Select.Option, {
5340
+ value: res.value
5341
+ }, res.text);
5342
+ }));
5256
5343
  };
5257
5344
 
5258
5345
  var Option$1 = antd.Select.Option;
@@ -5949,15 +6036,16 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5949
6036
  return false;
5950
6037
  }
5951
6038
  };
5952
- var _getFormRowInfo = getFormRowInfo(list),
5953
- emptyArray = _getFormRowInfo.emptyArray;
6039
+ var _getFormRowInfo = getFormRowInfo(list, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan),
6040
+ emptyArray = _getFormRowInfo.emptyArray,
6041
+ ColSpan = _getFormRowInfo.ColSpan;
5954
6042
  var addKong = (emptyArray === null || emptyArray === void 0 ? void 0 : emptyArray.map(function (i) {
5955
6043
  return {
5956
6044
  type: 'kong'
5957
6045
  };
5958
6046
  })) || [];
5959
6047
  return list === null || list === void 0 ? void 0 : (_list$concat = list.concat(addKong)) === null || _list$concat === void 0 ? void 0 : _list$concat.map(function (i, index) {
5960
- var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8, _i$field9;
6048
+ var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field10, _i$field11, _i$field12, _i$field14, _i$field15;
5961
6049
  if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
5962
6050
  span: ColSpan,
5963
6051
  key: i
@@ -6006,7 +6094,44 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6006
6094
  disabled: setDisabled(i.name)
6007
6095
  }))));
6008
6096
  }
6009
- if ((i === null || i === void 0 ? void 0 : i.type) === 'businessSearchSelect' || (i === null || i === void 0 ? void 0 : (_i$field5 = i.field) === null || _i$field5 === void 0 ? void 0 : _i$field5.type) === 'businessSearchSelect') {
6097
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'rangepicker' || (i === null || i === void 0 ? void 0 : (_i$field5 = i.field) === null || _i$field5 === void 0 ? void 0 : _i$field5.type) === 'rangepicker') {
6098
+ var _i$initialValue, _i$field6;
6099
+ return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6100
+ span: ColSpan,
6101
+ key: i.name
6102
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
6103
+ name: i.name,
6104
+ label: i.label,
6105
+ key: i.name,
6106
+ initialValue: (_i$initialValue = i === null || i === void 0 ? void 0 : i.initialValue) !== null && _i$initialValue !== void 0 ? _i$initialValue : []
6107
+ }, /*#__PURE__*/React__default['default'].createElement(antd.DatePicker.RangePicker, _objectSpread2(_objectSpread2({
6108
+ style: {
6109
+ width: '100%'
6110
+ },
6111
+ placeholder: "\u8BF7\u9009\u62E9"
6112
+ }, i === null || i === void 0 ? void 0 : (_i$field6 = i.field) === null || _i$field6 === void 0 ? void 0 : _i$field6.props), {}, {
6113
+ disabled: setDisabled(i.name)
6114
+ }))));
6115
+ }
6116
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'datepicker' || (i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'datepicker') {
6117
+ var _i$field8;
6118
+ return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6119
+ span: ColSpan,
6120
+ key: i.name
6121
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
6122
+ name: i.name,
6123
+ label: i.label,
6124
+ key: i.name
6125
+ }, /*#__PURE__*/React__default['default'].createElement(antd.DatePicker, _objectSpread2(_objectSpread2({
6126
+ style: {
6127
+ width: '100%'
6128
+ },
6129
+ placeholder: "\u8BF7\u9009\u62E9"
6130
+ }, i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.props), {}, {
6131
+ disabled: setDisabled(i.name)
6132
+ }))));
6133
+ }
6134
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'businessSearchSelect' || (i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.type) === 'businessSearchSelect') {
6010
6135
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6011
6136
  span: ColSpan,
6012
6137
  key: i.name
@@ -6018,7 +6143,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6018
6143
  disabled: setDisabled(i.name)
6019
6144
  }))));
6020
6145
  }
6021
- if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field6 = i.field) === null || _i$field6 === void 0 ? void 0 : _i$field6.type) === 'multipleQueryInput') {
6146
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field10 = i.field) === null || _i$field10 === void 0 ? void 0 : _i$field10.type) === 'multipleQueryInput') {
6022
6147
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6023
6148
  span: ColSpan,
6024
6149
  key: i.name
@@ -6032,7 +6157,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6032
6157
  }
6033
6158
  })));
6034
6159
  }
6035
- if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
6160
+ if ((i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.type) === 'proppertySelector') {
6036
6161
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6037
6162
  span: ColSpan,
6038
6163
  key: i.name
@@ -6042,7 +6167,23 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6042
6167
  key: i.name
6043
6168
  }, /*#__PURE__*/React__default['default'].createElement(PropertySelector, null)));
6044
6169
  }
6045
- if ((i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.type) === 'multipleQuerySearchSelect') {
6170
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'itemPropertySelector') {
6171
+ var _i$field13;
6172
+ return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6173
+ span: ColSpan,
6174
+ key: i.name
6175
+ }, /*#__PURE__*/React__default['default'].createElement(antd.Form.Item, {
6176
+ name: i.name,
6177
+ label: i.label,
6178
+ key: i.name
6179
+ }, /*#__PURE__*/React__default['default'].createElement(ItemPropertySelector, _objectSpread2({
6180
+ style: {
6181
+ width: '100%'
6182
+ },
6183
+ placeholder: "\u8BF7\u9009\u62E9"
6184
+ }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props))));
6185
+ }
6186
+ if ((i === null || i === void 0 ? void 0 : (_i$field14 = i.field) === null || _i$field14 === void 0 ? void 0 : _i$field14.type) === 'multipleQuerySearchSelect') {
6046
6187
  return /*#__PURE__*/React__default['default'].createElement(antd.Col, {
6047
6188
  span: ColSpan,
6048
6189
  key: i.name
@@ -6071,7 +6212,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6071
6212
  placeholder: "\u8BF7\u8F93\u5165",
6072
6213
  allowClear: true,
6073
6214
  maxLength: 100
6074
- }, i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.props), {}, {
6215
+ }, i === null || i === void 0 ? void 0 : (_i$field15 = i.field) === null || _i$field15 === void 0 ? void 0 : _i$field15.props), {}, {
6075
6216
  disabled: setDisabled(i.name)
6076
6217
  }))));
6077
6218
  });
@@ -6267,13 +6408,13 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6267
6408
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6268
6409
  return /*#__PURE__*/React__default['default'].createElement("div", {
6269
6410
  className: 'search_select'
6270
- }, fieldComponent ? (/*#__PURE__*/React__default['default'].createElement("div", {
6411
+ }, fieldComponent ? ( /*#__PURE__*/React__default['default'].createElement("div", {
6271
6412
  onClick: function onClick() {
6272
6413
  var _fieldComponent$props, _fieldComponent$props2;
6273
6414
  (_fieldComponent$props = fieldComponent.props) === null || _fieldComponent$props === void 0 ? void 0 : (_fieldComponent$props2 = _fieldComponent$props.onClick) === null || _fieldComponent$props2 === void 0 ? void 0 : _fieldComponent$props2.call(_fieldComponent$props);
6274
6415
  showModal();
6275
6416
  }
6276
- }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React__default['default'].createElement("div", {
6417
+ }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React__default['default'].createElement("div", {
6277
6418
  title: getShowStr({
6278
6419
  viewShowValueStr: viewShowValueStr,
6279
6420
  labelInValue: labelInValue,
@@ -6312,10 +6453,10 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6312
6453
  dropdownRender: function dropdownRender(menu) {
6313
6454
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
6314
6455
  },
6315
- notFoundContent: fetching ? (/*#__PURE__*/React__default['default'].createElement(antd.Spin, {
6456
+ notFoundContent: fetching ? ( /*#__PURE__*/React__default['default'].createElement(antd.Spin, {
6316
6457
  size: "small",
6317
6458
  className: 'searchSelectSpin'
6318
- })) : (/*#__PURE__*/React__default['default'].createElement("div", {
6459
+ })) : ( /*#__PURE__*/React__default['default'].createElement("div", {
6319
6460
  style: {
6320
6461
  textAlign: 'center'
6321
6462
  }
@@ -6355,7 +6496,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6355
6496
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6356
6497
  filterTxt: searchValue
6357
6498
  }));
6358
- }))), needModalTable && isModalVisible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
6499
+ }))), needModalTable && isModalVisible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
6359
6500
  maskClosable: false,
6360
6501
  destroyOnClose: true,
6361
6502
  width: "calc(100% - 320px)",
@@ -6401,7 +6542,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
6401
6542
  top: 0,
6402
6543
  right: 0
6403
6544
  }
6404
- }, hasMoreQueryFields(modalTableProps) && (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.isHorizontally) ? /*#__PURE__*/React__default['default'].createElement("img", {
6545
+ }, hasMoreQueryFields(modalTableProps) ? /*#__PURE__*/React__default['default'].createElement("img", {
6405
6546
  onClick: function onClick() {
6406
6547
  toggleCollapsed();
6407
6548
  },
@@ -6450,7 +6591,7 @@ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20enc
6450
6591
  var css_248z$9 = ".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: 8px;\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: 12px;\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: #8E8E8E;\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: 12px;\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: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\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 height: 430px;\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 .ant-modal-body {\n padding: 10px 16px;\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: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\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: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !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: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
6451
6592
  styleInject(css_248z$9);
6452
6593
 
6453
- var _excluded$4 = ["className", "style"];
6594
+ var _excluded$5 = ["className", "style"];
6454
6595
  var Search = antd.Input.Search;
6455
6596
  var DragHandle = reactSortableHoc.SortableHandle(function () {
6456
6597
  return /*#__PURE__*/React__default['default'].createElement("img", {
@@ -6802,7 +6943,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6802
6943
  _this.DraggableBodyRow = function (_ref2) {
6803
6944
  var className = _ref2.className,
6804
6945
  style = _ref2.style,
6805
- restProps = _objectWithoutProperties(_ref2, _excluded$4);
6946
+ restProps = _objectWithoutProperties(_ref2, _excluded$5);
6806
6947
  var sortDataSource = _this.state.sortDataSource;
6807
6948
  // function findIndex base on Table rowKey props and should always be a right array index
6808
6949
  var index = sortDataSource.findIndex(function (x) {
@@ -6952,7 +7093,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6952
7093
  style: {
6953
7094
  width: 525
6954
7095
  }
6955
- }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
7096
+ }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
6956
7097
  checked: !dataSource.some(function (item) {
6957
7098
  if (item.hidden) return true;
6958
7099
  return false;
@@ -6990,13 +7131,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6990
7131
  _this2.onChange(e, item.title);
6991
7132
  }
6992
7133
  }, item.title);
6993
- }), !!seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
7134
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
6994
7135
  style: {
6995
7136
  width: '144px'
6996
7137
  }
6997
- })), !seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
7138
+ })), !seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
6998
7139
  className: 'sort_table_column_all_empty'
6999
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
7140
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
7000
7141
  className: 'sort_table_column_special'
7001
7142
  }, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
7002
7143
  className: 'sort_table_column_all'
@@ -7185,7 +7326,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
7185
7326
  });
7186
7327
  };
7187
7328
  // 格式化树选择器数据源
7188
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7329
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7189
7330
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
7190
7331
  return {
7191
7332
  title: treeDataItem[resKeyValue[1]],
@@ -7195,7 +7336,7 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7195
7336
  isLeaf: !haveChildren,
7196
7337
  disabled: haveChildren,
7197
7338
  children: haveChildren ? treeDataItem.children.map(function (i) {
7198
- return _mapSearchTree(i, resKeyValue);
7339
+ return mapSearchTree(i, resKeyValue);
7199
7340
  }) : []
7200
7341
  };
7201
7342
  };
@@ -7204,7 +7345,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
7204
7345
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7205
7346
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7206
7347
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7207
- return _mapSearchTree(ites, resKeyValue);
7348
+ return mapSearchTree(ites, resKeyValue);
7208
7349
  }) || [];
7209
7350
  changeSearchForm[changePosition].field.props.treeData = formatData;
7210
7351
  };
@@ -7221,7 +7362,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
7221
7362
  });
7222
7363
  };
7223
7364
 
7224
- var _excluded$5 = ["onResize", "width"],
7365
+ var _excluded$6 = ["onResize", "width"],
7225
7366
  _excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
7226
7367
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
7227
7368
  return new Promise(function (resolve, reject) {
@@ -7241,7 +7382,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
7241
7382
  var ResizeableTitle = function ResizeableTitle(props) {
7242
7383
  var onResize = props.onResize,
7243
7384
  width = props.width,
7244
- restProps = _objectWithoutProperties(props, _excluded$5);
7385
+ restProps = _objectWithoutProperties(props, _excluded$6);
7245
7386
  if (!width) {
7246
7387
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
7247
7388
  }
@@ -7375,7 +7516,7 @@ var AddSelect = function AddSelect(props) {
7375
7516
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7376
7517
  // FIXME: 特殊业务逻辑
7377
7518
  var checkSelectChange = /*#__PURE__*/function () {
7378
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7519
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7379
7520
  var result;
7380
7521
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7381
7522
  while (1) switch (_context.prev = _context.next) {
@@ -7628,7 +7769,7 @@ var AddSelect = function AddSelect(props) {
7628
7769
  return /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7629
7770
  value: text || null,
7630
7771
  onChange: function () {
7631
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7772
+ var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7632
7773
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7633
7774
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7634
7775
  while (1) switch (_context2.prev = _context2.next) {
@@ -8236,10 +8377,10 @@ var AddSelect = function AddSelect(props) {
8236
8377
  var newColumns = arr.map(function (col) {
8237
8378
  return _objectSpread2({}, col);
8238
8379
  });
8239
- var _handleIndex = function handleIndex(arr, indexArr) {
8380
+ var handleIndex = function handleIndex(arr, indexArr) {
8240
8381
  var i = indexArr.shift();
8241
8382
  if (indexArr.length > 0) {
8242
- _handleIndex(arr[i].children, indexArr);
8383
+ handleIndex(arr[i].children, indexArr);
8243
8384
  } else {
8244
8385
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8245
8386
  width: size.width
@@ -8247,7 +8388,7 @@ var AddSelect = function AddSelect(props) {
8247
8388
  handleAntdColumnsSpecialParams(arr[i]);
8248
8389
  }
8249
8390
  };
8250
- _handleIndex(newColumns, _toConsumableArray(index));
8391
+ handleIndex(newColumns, _toConsumableArray(index));
8251
8392
  callback(newColumns);
8252
8393
  };
8253
8394
  };
@@ -8257,13 +8398,13 @@ var AddSelect = function AddSelect(props) {
8257
8398
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
8258
8399
  setShowToChooseColumns(_toConsumableArray(newColumns));
8259
8400
  };
8260
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
8401
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
8261
8402
  arr.forEach(function (item, index) {
8262
8403
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8263
8404
  return i || i === 0;
8264
8405
  });
8265
8406
  if (noEmptyArray$1(item.children)) {
8266
- _handleColumns(item.children, indexArrInside);
8407
+ handleColumns(item.children, indexArrInside);
8267
8408
  } else {
8268
8409
  item.width = item.width || getItemDefaultWidth$2(item);
8269
8410
  item.onHeaderCell = function (column) {
@@ -8279,14 +8420,14 @@ var AddSelect = function AddSelect(props) {
8279
8420
  handleAntdColumnsSpecialParams(item);
8280
8421
  return _objectSpread2({}, item);
8281
8422
  });
8282
- _handleColumns(showToChooseCol, [], function (res) {
8423
+ handleColumns(showToChooseCol, [], function (res) {
8283
8424
  return setShowToChooseColumnsCallback(res);
8284
8425
  });
8285
8426
  var showSelectedCol = showColumns.map(function (item) {
8286
8427
  handleAntdColumnsSpecialParams(item);
8287
8428
  return _objectSpread2({}, item);
8288
8429
  });
8289
- _handleColumns(showSelectedCol, [], function (res) {
8430
+ handleColumns(showSelectedCol, [], function (res) {
8290
8431
  return setShowColumnsCallback(res);
8291
8432
  });
8292
8433
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8297,7 +8438,7 @@ var AddSelect = function AddSelect(props) {
8297
8438
  id: "add_select_div_".concat(uniqueValue)
8298
8439
  }, /*#__PURE__*/React__default['default'].createElement(antd.Button, _objectSpread2({
8299
8440
  onClick: handleShowModal
8300
- }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, {
8441
+ }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
8301
8442
  width: '1200px',
8302
8443
  style: {
8303
8444
  top: 20
@@ -8473,7 +8614,7 @@ var AddSelect = function AddSelect(props) {
8473
8614
  var css_248z$a = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
8474
8615
  styleInject(css_248z$a);
8475
8616
 
8476
- var _excluded$6 = ["onResize", "width"];
8617
+ var _excluded$7 = ["onResize", "width"];
8477
8618
  var _this = undefined;
8478
8619
  var InputElement = function InputElement(_ref) {
8479
8620
  var _record$packingUnitLi, _record$packingUnitLi2;
@@ -8971,7 +9112,7 @@ var InputElement = function InputElement(_ref) {
8971
9112
  var ResizeableTitle$1 = function ResizeableTitle(props) {
8972
9113
  var onResize = props.onResize,
8973
9114
  width = props.width,
8974
- restProps = _objectWithoutProperties(props, _excluded$6);
9115
+ restProps = _objectWithoutProperties(props, _excluded$7);
8975
9116
  if (!width) {
8976
9117
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
8977
9118
  }
@@ -9211,7 +9352,7 @@ var BillEntry = function BillEntry(_ref3) {
9211
9352
  });
9212
9353
  };
9213
9354
  var handleSubmit = /*#__PURE__*/function () {
9214
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9355
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9215
9356
  var canEntryObject, _canEntryObject$error, messageInfo;
9216
9357
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9217
9358
  while (1) switch (_context.prev = _context.next) {
@@ -9294,10 +9435,10 @@ var BillEntry = function BillEntry(_ref3) {
9294
9435
  var newColumns = arr.map(function (col) {
9295
9436
  return _objectSpread2({}, col);
9296
9437
  });
9297
- var _handleIndex = function handleIndex(arr, indexArr) {
9438
+ var handleIndex = function handleIndex(arr, indexArr) {
9298
9439
  var i = indexArr.shift();
9299
9440
  if (indexArr.length > 0) {
9300
- _handleIndex(arr[i].children, indexArr);
9441
+ handleIndex(arr[i].children, indexArr);
9301
9442
  } else {
9302
9443
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
9303
9444
  width: size.width
@@ -9305,17 +9446,17 @@ var BillEntry = function BillEntry(_ref3) {
9305
9446
  handleAntdColumnsSpecialParams(arr[i]);
9306
9447
  }
9307
9448
  };
9308
- _handleIndex(newColumns, _toConsumableArray(index));
9449
+ handleIndex(newColumns, _toConsumableArray(index));
9309
9450
  callback(newColumns);
9310
9451
  };
9311
9452
  };
9312
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
9453
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
9313
9454
  arr.forEach(function (item, index) {
9314
9455
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
9315
9456
  return i || i === 0;
9316
9457
  });
9317
9458
  if (noEmptyArray$1(item.children)) {
9318
- _handleColumns(item.children, indexArrInside);
9459
+ handleColumns(item.children, indexArrInside);
9319
9460
  } else {
9320
9461
  item.width = item.width || getItemDefaultWidth$2(item);
9321
9462
  item.onHeaderCell = function (column) {
@@ -9331,7 +9472,7 @@ var BillEntry = function BillEntry(_ref3) {
9331
9472
  handleAntdColumnsSpecialParams(item);
9332
9473
  return _objectSpread2({}, item);
9333
9474
  });
9334
- _handleColumns(showSelectedCol, [], function (res) {
9475
+ handleColumns(showSelectedCol, [], function (res) {
9335
9476
  return setShowColumnsCallback(res);
9336
9477
  });
9337
9478
  return /*#__PURE__*/React__default['default'].createElement("div", {
@@ -9541,6 +9682,7 @@ var handleDefaultPrefixUrl = function handleDefaultPrefixUrl(type) {
9541
9682
  case 'spuCommodity':
9542
9683
  case 'skcCommodity':
9543
9684
  case 'brand':
9685
+ case 'spuCommodityWithProperty':
9544
9686
  result = '/items';
9545
9687
  break;
9546
9688
  case 'physicalWarehouse':
@@ -9646,7 +9788,7 @@ function commonFun(type, prefixUrl, parentProps) {
9646
9788
  });
9647
9789
  };
9648
9790
  // 格式化树选择器数据源
9649
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9791
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9650
9792
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9651
9793
  return {
9652
9794
  title: treeDataItem[resKeyValue[1]],
@@ -9656,7 +9798,7 @@ function commonFun(type, prefixUrl, parentProps) {
9656
9798
  isLeaf: !haveChildren,
9657
9799
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9658
9800
  children: haveChildren ? treeDataItem.children.map(function (i) {
9659
- return _mapSearchTree(i, resKeyValue, disabledJudge);
9801
+ return mapSearchTree(i, resKeyValue, disabledJudge);
9660
9802
  }) : []
9661
9803
  };
9662
9804
  };
@@ -9670,7 +9812,7 @@ function commonFun(type, prefixUrl, parentProps) {
9670
9812
  disabledJudge = false;
9671
9813
  }
9672
9814
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9673
- return _mapSearchTree(ites, resKeyValue, disabledJudge);
9815
+ return mapSearchTree(ites, resKeyValue, disabledJudge);
9674
9816
  }) || [];
9675
9817
  changeSearchForm[changePosition].field.props.treeData = formatData;
9676
9818
  };
@@ -10245,6 +10387,195 @@ function commonFun(type, prefixUrl, parentProps) {
10245
10387
  }]
10246
10388
  }, modalTableBusProps);
10247
10389
  }
10390
+ // 新库存商品选择器spu
10391
+ if (type === 'spuCommodityWithProperty') {
10392
+ selectProps = _objectSpread2({
10393
+ placeholder: '输入spu编码或名称',
10394
+ renderTableColumns: [{
10395
+ title: 'spu编码',
10396
+ dataIndex: 'itemCode'
10397
+ }, {
10398
+ title: 'spu名称',
10399
+ dataIndex: 'name'
10400
+ }]
10401
+ }, selectConfigProps);
10402
+ requestConfig = _objectSpread2({
10403
+ url: "/stock/item/doItemPageAll",
10404
+ method: 'POST',
10405
+ filter: 'qp-itemCode,name-orGroup,like',
10406
+ mappingTextField: 'name',
10407
+ mappingValueField: 'itemCode',
10408
+ otherParams: _objectSpread2({
10409
+ // 'qp-approveStatus-eq': 1, // 审核状态(0.待审批;1.审批通过;2.驳回;3.审批未通过)
10410
+ sorter: 'desc-id'
10411
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10412
+ sourceName: 'itemCode'
10413
+ }, requestConfigProp);
10414
+ tableSearchForm = [{
10415
+ name: 'qp-name-like',
10416
+ label: 'SPU名称'
10417
+ }, {
10418
+ name: 'qp-itemCode-like',
10419
+ label: 'SPU编码'
10420
+ }, {
10421
+ name: 'qp-brandId-in',
10422
+ type: 'select',
10423
+ label: '品牌',
10424
+ field: {
10425
+ type: 'select',
10426
+ props: {
10427
+ mode: 'multiple',
10428
+ notFoundContent: '暂无数据',
10429
+ allowClear: true,
10430
+ showSearch: true,
10431
+ showArrow: true,
10432
+ maxTagCount: 1,
10433
+ optionFilterProp: 'children',
10434
+ filterOption: function filterOption(input, option) {
10435
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10436
+ }
10437
+ }
10438
+ }
10439
+ }, {
10440
+ name: 'qp-categoryId-in',
10441
+ type: 'treeSelect',
10442
+ label: '类目',
10443
+ field: {
10444
+ type: 'treeSelect',
10445
+ props: {
10446
+ treeData: [],
10447
+ treeCheckable: true,
10448
+ showSearch: true,
10449
+ allowClear: true,
10450
+ showArrow: true,
10451
+ treeNodeFilterProp: 'title',
10452
+ treeDefaultExpandAll: true,
10453
+ maxTagCount: 1,
10454
+ placeholder: '请选择',
10455
+ style: {
10456
+ width: '100%'
10457
+ },
10458
+ dropdownStyle: {
10459
+ maxHeight: 400,
10460
+ maxWidth: 100,
10461
+ overflow: 'auto'
10462
+ }
10463
+ }
10464
+ }
10465
+ }, {
10466
+ name: 'qp-classId-in',
10467
+ type: 'select',
10468
+ label: '品类',
10469
+ field: {
10470
+ type: 'select',
10471
+ props: {
10472
+ mode: 'multiple',
10473
+ notFoundContent: '暂无数据',
10474
+ allowClear: true,
10475
+ showSearch: true,
10476
+ showArrow: true,
10477
+ maxTagCount: 1,
10478
+ optionFilterProp: 'children',
10479
+ filterOption: function filterOption(input, option) {
10480
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10481
+ }
10482
+ }
10483
+ }
10484
+ }, {
10485
+ name: 'qp-year-in',
10486
+ label: '年份',
10487
+ field: {
10488
+ type: 'itemPropertySelector',
10489
+ props: {
10490
+ propertyCode: 'SX0000114',
10491
+ mode: 'multiple'
10492
+ }
10493
+ }
10494
+ }, {
10495
+ name: 'qp-season-in',
10496
+ label: '季节',
10497
+ field: {
10498
+ type: 'itemPropertySelector',
10499
+ props: {
10500
+ propertyCode: 'SX0000070',
10501
+ mode: 'multiple'
10502
+ }
10503
+ }
10504
+ }, {
10505
+ name: 'qp-zzdlbm-in',
10506
+ label: '大类',
10507
+ field: {
10508
+ type: 'itemPropertySelector',
10509
+ props: {
10510
+ propertyCode: 'SX0000071',
10511
+ mode: 'multiple'
10512
+ }
10513
+ }
10514
+ }, {
10515
+ name: 'qp-zzzlbm-in',
10516
+ label: '中类',
10517
+ field: {
10518
+ type: 'itemPropertySelector',
10519
+ props: {
10520
+ propertyCode: 'SX0000072',
10521
+ mode: 'multiple'
10522
+ }
10523
+ }
10524
+ }, {
10525
+ name: 'qp-zzxlbm-in',
10526
+ label: '小类',
10527
+ field: {
10528
+ type: 'itemPropertySelector',
10529
+ props: {
10530
+ propertyCode: 'SX0000110',
10531
+ mode: 'multiple'
10532
+ }
10533
+ }
10534
+ }];
10535
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
10536
+ pageSize: 5000,
10537
+ currentPage: 1,
10538
+ 'ctl-withAuth': true
10539
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
10540
+ pageSize: 5000,
10541
+ currentPage: 1
10542
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/class/withProperty"), {
10543
+ pageSize: 5000,
10544
+ currentPage: 1
10545
+ })]).then(function (x) {
10546
+ formatSource(x, 0, 2, tableSearchForm, ['id', 'name']);
10547
+ formatTreeDataSource(x, 1, 3, tableSearchForm);
10548
+ formatSource(x, 2, 4, tableSearchForm, ['id', 'name']);
10549
+ });
10550
+ modalTableProps = _objectSpread2({
10551
+ modalTableTitle: '选择SPU',
10552
+ tableSearchForm: tableSearchForm,
10553
+ tableColumns: [{
10554
+ title: '序号',
10555
+ dataIndex: 'keyIndex',
10556
+ defaultSort: 0
10557
+ }, {
10558
+ title: 'SPU编码',
10559
+ dataIndex: 'itemCode',
10560
+ defaultSort: 1
10561
+ }, {
10562
+ title: 'SPU名称',
10563
+ dataIndex: 'name',
10564
+ defaultSort: 2
10565
+ }, {
10566
+ title: '品牌',
10567
+ dataIndex: 'brandName',
10568
+ defaultSort: 3
10569
+ }, {
10570
+ title: '类目',
10571
+ dataIndex: 'categoryText',
10572
+ defaultSort: 4
10573
+ }, {
10574
+ title: '品类',
10575
+ dataIndex: 'className'
10576
+ }]
10577
+ }, modalTableBusProps);
10578
+ }
10248
10579
  // 商品选择器skc
10249
10580
  if (type === 'skcCommodity') {
10250
10581
  selectProps = _objectSpread2({
@@ -13782,7 +14113,7 @@ var CommodityEntry = function CommodityEntry(props) {
13782
14113
  };
13783
14114
  return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(antd.Button, _objectSpread2({
13784
14115
  onClick: handleShowModal
13785
- }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
14116
+ }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13786
14117
  onOk: handleOk,
13787
14118
  onCancel: handleCancel,
13788
14119
  destroyOnClose: true,
@@ -13846,7 +14177,7 @@ function getStorageVale(storageKeyString) {
13846
14177
  return "";
13847
14178
  }
13848
14179
 
13849
- var _excluded$7 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
14180
+ var _excluded$8 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
13850
14181
  var TreeSearchSelect = function TreeSearchSelect(props) {
13851
14182
  var _useState = React$1.useState([]),
13852
14183
  _useState2 = _slicedToArray(_useState, 2),
@@ -13888,7 +14219,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13888
14219
  } : _props$style,
13889
14220
  getTreeData = props.getTreeData,
13890
14221
  disabled = props.disabled,
13891
- restProps = _objectWithoutProperties(props, _excluded$7);
14222
+ restProps = _objectWithoutProperties(props, _excluded$8);
13892
14223
  var url = remoteSource.url,
13893
14224
  headers = remoteSource.headers,
13894
14225
  _remoteSource$paramsK = remoteSource.paramsKey,
@@ -13901,7 +14232,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13901
14232
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
13902
14233
  _remoteSource$special = remoteSource.specialBracket,
13903
14234
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
13904
- var _mapSearchTree = function mapSearchTree(treeDataItem) {
14235
+ var mapSearchTree = function mapSearchTree(treeDataItem) {
13905
14236
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
13906
14237
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
13907
14238
  return {
@@ -13913,7 +14244,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13913
14244
  isLeaf: !haveChildren,
13914
14245
  disabled: isDisabled(haveChildren, isRoot),
13915
14246
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
13916
- return _mapSearchTree(i);
14247
+ return mapSearchTree(i);
13917
14248
  }) : []
13918
14249
  };
13919
14250
  };
@@ -13931,8 +14262,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13931
14262
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13932
14263
  requestUtil.get("".concat(url, "?").concat(querystring.stringify(paramsData)), {
13933
14264
  headers: headers
13934
- }).then(/*#__PURE__*/function () {
13935
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
14265
+ }).then( /*#__PURE__*/function () {
14266
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13936
14267
  var _ctx$form;
13937
14268
  var resData, coverData, data, dataList;
13938
14269
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13959,7 +14290,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13959
14290
  case 9:
13960
14291
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13961
14292
  coverData = dataList.length && dataList.map(function (ites) {
13962
- return _mapSearchTree(ites);
14293
+ return mapSearchTree(ites);
13963
14294
  }) || [];
13964
14295
  case 11:
13965
14296
  _context.next = 14;
@@ -13997,11 +14328,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13997
14328
  return _formatResult;
13998
14329
  }
13999
14330
  };
14000
- var _parallelData = function parallelData(data, result) {
14331
+ var parallelData = function parallelData(data, result) {
14001
14332
  data.forEach(function (i) {
14002
14333
  result.push(i);
14003
14334
  if (i[treeChildrenRoom]) {
14004
- _parallelData(i[treeChildrenRoom], result);
14335
+ parallelData(i[treeChildrenRoom], result);
14005
14336
  }
14006
14337
  });
14007
14338
  return result;
@@ -14041,7 +14372,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14041
14372
  var _ctx$form2;
14042
14373
  var handleData = formatData(data);
14043
14374
  // 获取选中树节点当条数据,并返回给调用业务
14044
- var parallelTreeData = _parallelData(treeData, []);
14375
+ var parallelTreeData = parallelData(treeData, []);
14045
14376
  var currentItem = getSelectItem(parallelTreeData, data);
14046
14377
  onChange(handleData, data, currentItem, parallelTreeData);
14047
14378
  onChangeName && onChangeName(dataName);
@@ -14084,7 +14415,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14084
14415
  var getShowStr = function getShowStr() {
14085
14416
  var isMultiple = multiple || treeCheckable;
14086
14417
  var kongValue = '无';
14087
- var parallelTreeData = _parallelData(treeData, []);
14418
+ var parallelTreeData = parallelData(treeData, []);
14088
14419
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
14089
14420
  if (isMultiple) {
14090
14421
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -14096,7 +14427,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14096
14427
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
14097
14428
  return /*#__PURE__*/React__default['default'].createElement("div", {
14098
14429
  className: 'tree_search_select'
14099
- }, isShouldShowStr ? (/*#__PURE__*/React__default['default'].createElement("div", {
14430
+ }, isShouldShowStr ? ( /*#__PURE__*/React__default['default'].createElement("div", {
14100
14431
  title: getShowStr(),
14101
14432
  style: {
14102
14433
  overflow: 'hidden',
@@ -14104,7 +14435,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14104
14435
  whiteSpace: 'nowrap'
14105
14436
  },
14106
14437
  className: 'search_select_show'
14107
- }, getShowStr())) : (/*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14438
+ }, getShowStr())) : ( /*#__PURE__*/React__default['default'].createElement(antd.TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14108
14439
  treeCheckable: treeCheckable,
14109
14440
  maxTagCount: maxTagCount,
14110
14441
  showSearch: showSearch,
@@ -14301,7 +14632,7 @@ var index$2 = (function (props) {
14301
14632
  } : {}
14302
14633
  }, item.text)), /*#__PURE__*/React__default['default'].createElement("div", {
14303
14634
  className: 'status-label-operate'
14304
- }, item.isDone ? (/*#__PURE__*/React__default['default'].createElement("div", {
14635
+ }, item.isDone ? ( /*#__PURE__*/React__default['default'].createElement("div", {
14305
14636
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
14306
14637
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React__default['default'].createElement("div", {
14307
14638
  style: {
@@ -14314,7 +14645,7 @@ var index$2 = (function (props) {
14314
14645
  var css_248z$c = ".guide-wrapper .form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.guide-wrapper .form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.guide-wrapper .form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.guide-wrapper .form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .white-card.bitsun-form-card-class .guidewrapper-body-wrapper {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.guide-wrapper .bitsun-form-card-class > .guidewrapper-body-wrapper {\n margin-bottom: 10px;\n}\n.guide-wrapper .bitsun-form-card-class .guidewrapper-body-wrapper {\n padding: 12px 0 0;\n background-color: #F3F3F3;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005cff;\n height: 20px;\n margin-right: 16px;\n}\n.guide-wrapper .field-group-hidden .guidewrapper-body-wrapper {\n display: none !important;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap {\n cursor: pointer;\n color: #B6B6B6;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon {\n transition: transform 0.3s;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.guidewrapper-head-wrap {\n padding-left: 16px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: #fff;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left {\n display: flex;\n align-items: center;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left::before {\n content: '';\n display: block;\n width: 3px;\n background: #005cff;\n height: 20px;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left .guidewrapper-head-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n padding: 0 6px;\n}\n.guidewrapper-head-border {\n border-bottom: 1px solid #F0F0F0;\n}\n.guidewrapper-title-extra-wrap {\n padding-left: 5px;\n}\n";
14315
14646
  styleInject(css_248z$c);
14316
14647
 
14317
- var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
14648
+ var _excluded$9 = ["children", "titleExtra", "title", "extra", "bordered"],
14318
14649
  _excluded2$3 = ["children"];
14319
14650
  var Field = function Field(_ref) {
14320
14651
  var children = _ref.children,
@@ -14322,7 +14653,7 @@ var Field = function Field(_ref) {
14322
14653
  title = _ref.title,
14323
14654
  extra = _ref.extra,
14324
14655
  bordered = _ref.bordered,
14325
- props = _objectWithoutProperties(_ref, _excluded$8);
14656
+ props = _objectWithoutProperties(_ref, _excluded$9);
14326
14657
  var _React$useState = React__default['default'].useState(true),
14327
14658
  _React$useState2 = _slicedToArray(_React$useState, 2),
14328
14659
  fieldGroupVisible = _React$useState2[0],
@@ -14449,7 +14780,7 @@ var ExportIcon = function ExportIcon(_ref) {
14449
14780
  var css_248z$d = ".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: 8px;\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: 12px;\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: #8E8E8E;\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: 12px;\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: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\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 height: 430px;\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 .ant-modal-body {\n padding: 10px 16px;\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: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\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: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !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: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
14450
14781
  styleInject(css_248z$d);
14451
14782
 
14452
- var _excluded$9 = ["className", "style"];
14783
+ var _excluded$a = ["className", "style"];
14453
14784
  var Search$1 = antd.Input.Search;
14454
14785
  var DragHandle$1 = reactSortableHoc.SortableHandle(function () {
14455
14786
  return /*#__PURE__*/React__default['default'].createElement("img", {
@@ -14867,7 +15198,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14867
15198
  _this.DraggableBodyRow = function (_ref2) {
14868
15199
  var className = _ref2.className,
14869
15200
  style = _ref2.style,
14870
- restProps = _objectWithoutProperties(_ref2, _excluded$9);
15201
+ restProps = _objectWithoutProperties(_ref2, _excluded$a);
14871
15202
  var sortDataSource = _this.state.sortDataSource;
14872
15203
  // function findIndex base on Table rowKey props and should always be a right array index
14873
15204
  var index = sortDataSource.findIndex(function (x) {
@@ -15082,7 +15413,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15082
15413
  style: {
15083
15414
  width: 525
15084
15415
  }
15085
- }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
15416
+ }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
15086
15417
  checked: !dataSource.some(function (item) {
15087
15418
  if (item.hidden) return true;
15088
15419
  return false;
@@ -15120,13 +15451,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15120
15451
  _this2.onChange(e, item.title);
15121
15452
  }
15122
15453
  }, item.title);
15123
- }), !!seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
15454
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
15124
15455
  style: {
15125
15456
  width: '144px'
15126
15457
  }
15127
- })), !seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
15458
+ })), !seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
15128
15459
  className: 'sort_table_column_all_empty'
15129
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
15460
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
15130
15461
  className: 'sort_table_column_special'
15131
15462
  }, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
15132
15463
  className: 'sort_table_column_all'
@@ -15221,7 +15552,7 @@ var TableSumComponent = (function (_ref) {
15221
15552
  }));
15222
15553
  });
15223
15554
 
15224
- var _excluded$a = ["onResize", "width"],
15555
+ var _excluded$b = ["onResize", "width"],
15225
15556
  _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15226
15557
  var Text = antd.Typography.Text;
15227
15558
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
@@ -15305,10 +15636,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15305
15636
  var newColumns = _this.state.showColumns.map(function (col) {
15306
15637
  return _objectSpread2({}, col);
15307
15638
  });
15308
- var _handleIndex = function handleIndex(arr, indexArr) {
15639
+ var handleIndex = function handleIndex(arr, indexArr) {
15309
15640
  var i = indexArr.shift();
15310
15641
  if (indexArr.length > 0) {
15311
- _handleIndex(arr[i].children, indexArr);
15642
+ handleIndex(arr[i].children, indexArr);
15312
15643
  } else {
15313
15644
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15314
15645
  width: size.width
@@ -15316,7 +15647,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15316
15647
  handleBssulaColumnsSpecialParams(arr[i]);
15317
15648
  }
15318
15649
  };
15319
- _handleIndex(newColumns, _toConsumableArray(index));
15650
+ handleIndex(newColumns, _toConsumableArray(index));
15320
15651
  _this.setState({
15321
15652
  showColumns: _toConsumableArray(newColumns)
15322
15653
  });
@@ -15325,7 +15656,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15325
15656
  _this.ResizeableTitle = function (props) {
15326
15657
  var onResize = props.onResize,
15327
15658
  width = props.width,
15328
- restProps = _objectWithoutProperties(props, _excluded$a);
15659
+ restProps = _objectWithoutProperties(props, _excluded$b);
15329
15660
  var _useState = React$1.useState(width),
15330
15661
  _useState2 = _slicedToArray(_useState, 2),
15331
15662
  innerWidth = _useState2[0],
@@ -15357,7 +15688,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15357
15688
  };
15358
15689
  setIsResizing(true);
15359
15690
  document.addEventListener('mousemove', handleMouseMove);
15360
- document.addEventListener('mouseup', _handleMouseUp);
15691
+ document.addEventListener('mouseup', handleMouseUp);
15361
15692
  };
15362
15693
  var handleMouseMove = function handleMouseMove(e) {
15363
15694
  e.stopPropagation();
@@ -15373,9 +15704,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15373
15704
  dom.style.top = "".concat(e.clientY - 20, "px");
15374
15705
  }
15375
15706
  };
15376
- var _handleMouseUp = function handleMouseUp(e) {
15707
+ var handleMouseUp = function handleMouseUp(e) {
15377
15708
  document.removeEventListener('mousemove', handleMouseMove);
15378
- document.removeEventListener('mouseup', _handleMouseUp);
15709
+ document.removeEventListener('mouseup', handleMouseUp);
15379
15710
  setIsResizing(false);
15380
15711
  };
15381
15712
  var handleresize = function handleresize(e, data, title) {
@@ -15496,13 +15827,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15496
15827
  showSummary = summary;
15497
15828
  }
15498
15829
  }
15499
- var _handleColumns = function handleColumns(arr, indexArr) {
15830
+ var handleColumns = function handleColumns(arr, indexArr) {
15500
15831
  arr.forEach(function (item, index) {
15501
15832
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15502
15833
  return i || i === 0;
15503
15834
  });
15504
15835
  if (noEmptyArray$1(item.children)) {
15505
- _handleColumns(item.children, indexArrInside);
15836
+ handleColumns(item.children, indexArrInside);
15506
15837
  } else {
15507
15838
  item.width = item.width || getItemDefaultWidth$2(item);
15508
15839
  item.onHeaderCell = function (column) {
@@ -15518,7 +15849,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15518
15849
  handleBssulaColumnsSpecialParams(item);
15519
15850
  return _objectSpread2({}, item);
15520
15851
  });
15521
- _handleColumns(showCol, []);
15852
+ handleColumns(showCol, []);
15522
15853
  if (dynamicColumns.length) {
15523
15854
  showCol = this.handledynamicColumns(showCol);
15524
15855
  }
@@ -15559,14 +15890,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15559
15890
  cell: this.ResizeableTitle
15560
15891
  }
15561
15892
  }
15562
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
15893
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
15563
15894
  summary: summary
15564
15895
  })));
15565
15896
  }
15566
15897
  }]);
15567
15898
  }(React__default['default'].Component);
15568
15899
 
15569
- var _excluded$b = ["onResize", "width"],
15900
+ var _excluded$c = ["onResize", "width"],
15570
15901
  _excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15571
15902
  var Text$1 = antd.Typography.Text;
15572
15903
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
@@ -15656,10 +15987,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15656
15987
  var newColumns = _this.state.showColumns.map(function (col) {
15657
15988
  return _objectSpread2({}, col);
15658
15989
  });
15659
- var _handleIndex = function handleIndex(arr, indexArr) {
15990
+ var handleIndex = function handleIndex(arr, indexArr) {
15660
15991
  var i = indexArr.shift();
15661
15992
  if (indexArr.length > 0) {
15662
- _handleIndex(arr[i].children, indexArr);
15993
+ handleIndex(arr[i].children, indexArr);
15663
15994
  } else {
15664
15995
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15665
15996
  width: size.width
@@ -15667,7 +15998,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15667
15998
  handleAntdColumnsSpecialParams(arr[i]);
15668
15999
  }
15669
16000
  };
15670
- _handleIndex(newColumns, _toConsumableArray(index));
16001
+ handleIndex(newColumns, _toConsumableArray(index));
15671
16002
  _this.setState({
15672
16003
  showColumns: _toConsumableArray(newColumns)
15673
16004
  });
@@ -15676,7 +16007,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15676
16007
  _this.ResizeableTitle = function (props) {
15677
16008
  var onResize = props.onResize,
15678
16009
  width = props.width,
15679
- restProps = _objectWithoutProperties(props, _excluded$b);
16010
+ restProps = _objectWithoutProperties(props, _excluded$c);
15680
16011
  if (!width) {
15681
16012
  return /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps));
15682
16013
  }
@@ -15743,13 +16074,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15743
16074
  showSummary = summary;
15744
16075
  }
15745
16076
  }
15746
- var _handleColumns = function handleColumns(arr, indexArr) {
16077
+ var handleColumns = function handleColumns(arr, indexArr) {
15747
16078
  arr.forEach(function (item, index) {
15748
16079
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15749
16080
  return i || i === 0;
15750
16081
  });
15751
16082
  if (noEmptyArray$1(item.children)) {
15752
- _handleColumns(item.children, indexArrInside);
16083
+ handleColumns(item.children, indexArrInside);
15753
16084
  } else {
15754
16085
  item.width = item.width || getItemDefaultWidth$2(item);
15755
16086
  item.onHeaderCell = function (column) {
@@ -15765,7 +16096,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15765
16096
  handleAntdColumnsSpecialParams(item);
15766
16097
  return _objectSpread2({}, item);
15767
16098
  });
15768
- _handleColumns(showCol, []);
16099
+ handleColumns(showCol, []);
15769
16100
  if (dynamicColumns.length) {
15770
16101
  showCol = this.handledynamicColumns(showCol);
15771
16102
  }
@@ -15805,7 +16136,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15805
16136
  cell: this.ResizeableTitle
15806
16137
  }
15807
16138
  }
15808
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
16139
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React__default['default'].createElement(TableSumComponent, {
15809
16140
  summary: summary
15810
16141
  })));
15811
16142
  }
@@ -15865,20 +16196,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
15865
16196
  };
15866
16197
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
15867
16198
  var routerMap = {};
15868
- var _flattenMenuData2 = function flattenMenuData(data, parent) {
16199
+ var flattenMenuData = function flattenMenuData(data, parent) {
15869
16200
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
15870
16201
  data.forEach(function (menuItem) {
15871
16202
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
15872
16203
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
15873
16204
  });
15874
16205
  if (newMenuItem.children) {
15875
- _flattenMenuData2(newMenuItem.children, newMenuItem);
16206
+ flattenMenuData(newMenuItem.children, newMenuItem);
15876
16207
  }
15877
16208
  // Reduce memory usage
15878
16209
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
15879
16210
  });
15880
16211
  };
15881
- _flattenMenuData2(menuData, {});
16212
+ flattenMenuData(menuData, {});
15882
16213
  return routerMap;
15883
16214
  };
15884
16215
  // mode类型判断
@@ -15957,12 +16288,12 @@ var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D
15957
16288
  var css_248z$g = "";
15958
16289
  styleInject(css_248z$g);
15959
16290
 
15960
- var _excluded$c = ["message", "type"];
16291
+ var _excluded$d = ["message", "type"];
15961
16292
  var CommonAlert = (function (props) {
15962
16293
  var message = props.message,
15963
16294
  _props$type = props.type,
15964
16295
  type = _props$type === void 0 ? 'info' : _props$type,
15965
- reset = _objectWithoutProperties(props, _excluded$c);
16296
+ reset = _objectWithoutProperties(props, _excluded$d);
15966
16297
  return /*#__PURE__*/React__default['default'].createElement("div", {
15967
16298
  style: {
15968
16299
  width: '100%',
@@ -15983,7 +16314,7 @@ var CommonAlert = (function (props) {
15983
16314
  }, reset)));
15984
16315
  });
15985
16316
 
15986
- var _excluded$d = ["children"];
16317
+ var _excluded$e = ["children"];
15987
16318
  var iconMap = {
15988
16319
  edit: /*#__PURE__*/React__default['default'].createElement("img", {
15989
16320
  src: editIcon
@@ -16005,7 +16336,7 @@ var index$3 = (function (props) {
16005
16336
  _useState2 = _slicedToArray(_useState, 1),
16006
16337
  id = _useState2[0];
16007
16338
  var children = props.children,
16008
- restProps = _objectWithoutProperties(props, _excluded$d);
16339
+ restProps = _objectWithoutProperties(props, _excluded$e);
16009
16340
  return /*#__PURE__*/React__default['default'].createElement("div", {
16010
16341
  id: id,
16011
16342
  className: 'detail_page_wrapper'
@@ -16204,7 +16535,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
16204
16535
  display: 'flex',
16205
16536
  gap: '8px'
16206
16537
  }
16207
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React__default['default'].createElement("a", null, isFullScreen ? (/*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
16538
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React__default['default'].createElement("a", null, isFullScreen ? ( /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
16208
16539
  title: "\u53D6\u6D88\u5168\u5C4F"
16209
16540
  }, /*#__PURE__*/React__default['default'].createElement("img", {
16210
16541
  onClick: function onClick() {
@@ -16212,7 +16543,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
16212
16543
  },
16213
16544
  width: 24,
16214
16545
  src: scanning
16215
- }))) : (/*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
16546
+ }))) : ( /*#__PURE__*/React__default['default'].createElement(antd.Tooltip, {
16216
16547
  title: "\u5168\u5C4F"
16217
16548
  }, /*#__PURE__*/React__default['default'].createElement("img", {
16218
16549
  onClick: function onClick() {
@@ -16220,7 +16551,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
16220
16551
  },
16221
16552
  width: 24,
16222
16553
  src: quanping
16223
- }))))) : null)), alertProps && (/*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
16554
+ }))))) : null)), alertProps && ( /*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
16224
16555
  }, function (prevProps, nextProps) {
16225
16556
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
16226
16557
  return false;
@@ -16231,7 +16562,7 @@ var DetailWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
16231
16562
  var css_248z$h = ".bs_home_page_head_wrapper {\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
16232
16563
  styleInject(css_248z$h);
16233
16564
 
16234
- var _excluded$e = ["children"];
16565
+ var _excluded$f = ["children"];
16235
16566
  var index$4 = (function (props) {
16236
16567
  var _useLocation = umi.useLocation(),
16237
16568
  pathname = _useLocation.pathname;
@@ -16239,7 +16570,7 @@ var index$4 = (function (props) {
16239
16570
  _useState2 = _slicedToArray(_useState, 1),
16240
16571
  id = _useState2[0];
16241
16572
  var children = props.children,
16242
- restProps = _objectWithoutProperties(props, _excluded$e);
16573
+ restProps = _objectWithoutProperties(props, _excluded$f);
16243
16574
  return /*#__PURE__*/React__default['default'].createElement("div", {
16244
16575
  id: id,
16245
16576
  className: 'home_page_wrapper'
@@ -16305,7 +16636,7 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
16305
16636
  }, /*#__PURE__*/React__default['default'].createElement("span", {
16306
16637
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
16307
16638
  }, item));
16308
- }))), extra ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, extra) : ''), alertProps && (/*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
16639
+ }))), extra ? /*#__PURE__*/React__default['default'].createElement(antd.Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React__default['default'].createElement(CommonAlert, _objectSpread2({}, alertProps))));
16309
16640
  }, function (prevProps, nextProps) {
16310
16641
  if (prevProps.title !== nextProps.title) {
16311
16642
  return false;
@@ -16316,7 +16647,7 @@ var HeaderWrapper = /*#__PURE__*/React__default['default'].memo(function (_ref)
16316
16647
  var css_248z$i = ".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: 8px;\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: 12px;\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: #8E8E8E;\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: 12px;\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: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\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 height: 430px;\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 .ant-modal-body {\n padding: 10px 16px;\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: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\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: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !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: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
16317
16648
  styleInject(css_248z$i);
16318
16649
 
16319
- var _excluded$f = ["className", "style"];
16650
+ var _excluded$g = ["className", "style"];
16320
16651
  var DragHandle$2 = reactSortableHoc.SortableHandle(function () {
16321
16652
  return /*#__PURE__*/React__default['default'].createElement("img", {
16322
16653
  width: 25,
@@ -16754,7 +17085,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16754
17085
  _this.DraggableBodyRow = function (_ref2) {
16755
17086
  var className = _ref2.className,
16756
17087
  style = _ref2.style,
16757
- restProps = _objectWithoutProperties(_ref2, _excluded$f);
17088
+ restProps = _objectWithoutProperties(_ref2, _excluded$g);
16758
17089
  var sortDataSource = _this.state.sortDataSource;
16759
17090
  // function findIndex base on Table rowKey props and should always be a right array index
16760
17091
  var index = sortDataSource.findIndex(function (x) {
@@ -16945,7 +17276,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16945
17276
  });
16946
17277
  return /*#__PURE__*/React__default['default'].createElement("div", {
16947
17278
  className: 'sort_table_wrapper'
16948
- }, visible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, {
17279
+ }, visible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
16949
17280
  title: "\u5C55\u793A\u5217\u8BBE\u7F6E",
16950
17281
  wrapClassName: 'sort_table_wrapper',
16951
17282
  width: 810,
@@ -16996,7 +17327,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16996
17327
  width: 525,
16997
17328
  height: 24
16998
17329
  }
16999
- }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
17330
+ }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
17000
17331
  checked: !dataSource.some(function (item) {
17001
17332
  if (item.hidden) return true;
17002
17333
  return false;
@@ -17050,13 +17381,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17050
17381
  _this2.onChange(e, item.title);
17051
17382
  }
17052
17383
  }, item.title);
17053
- }), !!seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
17384
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
17054
17385
  style: {
17055
17386
  width: '144px'
17056
17387
  }
17057
- })), !seatchDataSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
17388
+ })), !seatchDataSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
17058
17389
  className: 'sort_table_column_all_empty'
17059
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
17390
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
17060
17391
  className: 'sort_table_column_special'
17061
17392
  }, /*#__PURE__*/React__default['default'].createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React__default['default'].createElement("div", {
17062
17393
  className: 'sort_table_column_all'
@@ -17124,7 +17455,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17124
17455
  }]);
17125
17456
  }(React__default['default'].Component);
17126
17457
 
17127
- var _excluded$g = ["className", "style"];
17458
+ var _excluded$h = ["className", "style"];
17128
17459
  var DragHandle$3 = reactSortableHoc.SortableHandle(function () {
17129
17460
  return /*#__PURE__*/React__default['default'].createElement("img", {
17130
17461
  width: 25,
@@ -17377,7 +17708,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17377
17708
  _this.DraggableBodyRow = function (_ref2) {
17378
17709
  var className = _ref2.className,
17379
17710
  style = _ref2.style,
17380
- restProps = _objectWithoutProperties(_ref2, _excluded$g);
17711
+ restProps = _objectWithoutProperties(_ref2, _excluded$h);
17381
17712
  var sortDataSource = _this.state.sortDataSource;
17382
17713
  var index = sortDataSource.findIndex(function (x) {
17383
17714
  return x.name === restProps['data-row-key'];
@@ -17530,7 +17861,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17530
17861
  });
17531
17862
  return /*#__PURE__*/React__default['default'].createElement("div", {
17532
17863
  className: 'sort_table_wrapper'
17533
- }, visible && (/*#__PURE__*/React__default['default'].createElement(antd.Modal, {
17864
+ }, visible && ( /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
17534
17865
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17535
17866
  wrapClassName: 'sort_table_wrapper',
17536
17867
  width: 820,
@@ -17575,7 +17906,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17575
17906
  style: {
17576
17907
  width: 525
17577
17908
  }
17578
- }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && (/*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
17909
+ }), /*#__PURE__*/React__default['default'].createElement("div", null, !searchDataSource && ( /*#__PURE__*/React__default['default'].createElement(antd.Checkbox, {
17579
17910
  checked: !dataSource.some(function (item) {
17580
17911
  if (item.hidden) return true;
17581
17912
  return false;
@@ -17611,11 +17942,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17611
17942
  _this2.onChange(e, item.name);
17612
17943
  }
17613
17944
  }, item.label);
17614
- }), !!newSearchSource.length && (/*#__PURE__*/React__default['default'].createElement("span", {
17945
+ }), !!newSearchSource.length && ( /*#__PURE__*/React__default['default'].createElement("span", {
17615
17946
  style: {
17616
17947
  width: '144px'
17617
17948
  }
17618
- })), !newSearchSource.length && (/*#__PURE__*/React__default['default'].createElement("div", {
17949
+ })), !newSearchSource.length && ( /*#__PURE__*/React__default['default'].createElement("div", {
17619
17950
  className: 'sort_table_column_all_empty'
17620
17951
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React__default['default'].createElement("div", {
17621
17952
  className: 'sort_table_content_wrapper'
@@ -17676,13 +18007,13 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17676
18007
  var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
17677
18008
  styleInject(css_248z$j);
17678
18009
 
17679
- var _excluded$h = ["onResize", "width"];
18010
+ var _excluded$i = ["onResize", "width"];
17680
18011
  var MemoQueryTable = /*#__PURE__*/React__default['default'].memo(bssula.QueryTable);
17681
18012
  var Text$2 = antd.Typography.Text;
17682
18013
  var ResizeableTitle$2 = function ResizeableTitle(props) {
17683
18014
  var onResize = props.onResize,
17684
18015
  width = props.width,
17685
- restProps = _objectWithoutProperties(props, _excluded$h);
18016
+ restProps = _objectWithoutProperties(props, _excluded$i);
17686
18017
  var _useState = React$1.useState(width),
17687
18018
  _useState2 = _slicedToArray(_useState, 2),
17688
18019
  innerWidth = _useState2[0],
@@ -17714,7 +18045,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17714
18045
  };
17715
18046
  setIsResizing(true);
17716
18047
  document.addEventListener('mousemove', handleMouseMove);
17717
- document.addEventListener('mouseup', _handleMouseUp);
18048
+ document.addEventListener('mouseup', handleMouseUp);
17718
18049
  };
17719
18050
  var handleMouseMove = function handleMouseMove(e) {
17720
18051
  e.stopPropagation();
@@ -17730,9 +18061,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17730
18061
  dom.style.top = "".concat(e.clientY - 20, "px");
17731
18062
  }
17732
18063
  };
17733
- var _handleMouseUp = function handleMouseUp(e) {
18064
+ var handleMouseUp = function handleMouseUp(e) {
17734
18065
  document.removeEventListener('mousemove', handleMouseMove);
17735
- document.removeEventListener('mouseup', _handleMouseUp);
18066
+ document.removeEventListener('mouseup', handleMouseUp);
17736
18067
  setIsResizing(false);
17737
18068
  };
17738
18069
  var handleresize = function handleresize(e, data, title) {
@@ -18143,7 +18474,7 @@ var BsSulaQueryTable = (function (props) {
18143
18474
  actionsRender = actionsRender.concat([{
18144
18475
  type: 'text',
18145
18476
  props: {
18146
- children: (/*#__PURE__*/React__default['default'].createElement(ExportIcon, {
18477
+ children: ( /*#__PURE__*/React__default['default'].createElement(ExportIcon, {
18147
18478
  request: {
18148
18479
  url: (value === null || value === void 0 ? void 0 : (_value$exportConfig2 = value.exportConfig) === null || _value$exportConfig2 === void 0 ? void 0 : _value$exportConfig2.url) || "/oms-ops/excel/exportAsync/".concat(value === null || value === void 0 ? void 0 : (_value$exportConfig3 = value.exportConfig) === null || _value$exportConfig3 === void 0 ? void 0 : _value$exportConfig3.type),
18149
18480
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18389,7 +18720,7 @@ var BsSulaQueryTable = (function (props) {
18389
18720
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18390
18721
  bsTableCode: bsTableCode,
18391
18722
  onlyModal: true
18392
- }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
18723
+ }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && ( /*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
18393
18724
  ref: exportTableRef,
18394
18725
  setShowColumns: setShowExportColumns,
18395
18726
  setInitialTableInfo: setInitialTableInfo,
@@ -18482,11 +18813,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18482
18813
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18483
18814
  var resultList = [];
18484
18815
  var newRouter = cloneDeep__default['default'](router);
18485
- var _deep = function deep(router) {
18816
+ var deep = function deep(router) {
18486
18817
  if (router && Array.isArray(router)) {
18487
18818
  router.forEach(function (item) {
18488
18819
  if (item.children && Array.isArray(item.children)) {
18489
- _deep(item.children);
18820
+ deep(item.children);
18490
18821
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18491
18822
  return d === item.code;
18492
18823
  })) {
@@ -18500,10 +18831,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18500
18831
  resultList.push(_objectSpread2({}, router));
18501
18832
  }
18502
18833
  };
18503
- _deep(newRouter);
18834
+ deep(newRouter);
18504
18835
  callBack([].concat(resultList));
18505
18836
  };
18506
- var _setMenuTreeData = function setMenuTreeData(routesData) {
18837
+ var setMenuTreeData = function setMenuTreeData(routesData) {
18507
18838
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18508
18839
  var _loop = function _loop(i) {
18509
18840
  if (routesData[i].hideInMenu) {
@@ -18517,7 +18848,7 @@ var _setMenuTreeData = function setMenuTreeData(routesData) {
18517
18848
  return 0; // continue
18518
18849
  }
18519
18850
  if (routesData[i].children) {
18520
- _setMenuTreeData(routesData[i].children);
18851
+ setMenuTreeData(routesData[i].children);
18521
18852
  }
18522
18853
  },
18523
18854
  _ret;
@@ -18538,16 +18869,16 @@ var setLoginOutPath = function setLoginOutPath() {
18538
18869
  };
18539
18870
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18540
18871
  var routerMap = {};
18541
- var _flattenMenuData = function flattenMenuData(data) {
18872
+ var flattenMenuData = function flattenMenuData(data) {
18542
18873
  data.forEach(function (menuItem) {
18543
18874
  if (menuItem.children) {
18544
- _flattenMenuData(menuItem.children);
18875
+ flattenMenuData(menuItem.children);
18545
18876
  }
18546
18877
  // Reduce memory usage
18547
18878
  routerMap[menuItem.path] = menuItem;
18548
18879
  });
18549
18880
  };
18550
- _flattenMenuData(menuData);
18881
+ flattenMenuData(menuData);
18551
18882
  return routerMap;
18552
18883
  };
18553
18884
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -18693,7 +19024,7 @@ var DrawContent = function DrawContent(_ref) {
18693
19024
  sethomepageData(homepageDataList);
18694
19025
  setroutesData(routesDataList);
18695
19026
  }, []);
18696
- var _renderChildItem = function renderChildItem(child) {
19027
+ var renderChildItem = function renderChildItem(child) {
18697
19028
  if (!child.hideInMenu && child.children) {
18698
19029
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
18699
19030
  style: {
@@ -18703,7 +19034,7 @@ var DrawContent = function DrawContent(_ref) {
18703
19034
  }, umi.formatMessage({
18704
19035
  id: "".concat(child.locale)
18705
19036
  })), child.children.map(function (menuItem) {
18706
- return _renderChildItem(menuItem);
19037
+ return renderChildItem(menuItem);
18707
19038
  }));
18708
19039
  } else if (!child.hideInMenu && child.path) {
18709
19040
  return /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
@@ -18738,7 +19069,7 @@ var DrawContent = function DrawContent(_ref) {
18738
19069
  className: 'drawerWarp'
18739
19070
  }, homepageData && homepageData.filter(function (d) {
18740
19071
  return !d.hideInMenu;
18741
- }).length > 0 && (/*#__PURE__*/React__default['default'].createElement(antd.List, {
19072
+ }).length > 0 && ( /*#__PURE__*/React__default['default'].createElement(antd.List, {
18742
19073
  className: classNames__default['default']('allFunsList', 'allFunsListWarp'),
18743
19074
  dataSource: homepageData,
18744
19075
  renderItem: function renderItem(child) {
@@ -18773,7 +19104,7 @@ var DrawContent = function DrawContent(_ref) {
18773
19104
  bordered: true,
18774
19105
  dataSource: item.children,
18775
19106
  renderItem: function renderItem(child) {
18776
- return _renderChildItem(child);
19107
+ return renderChildItem(child);
18777
19108
  }
18778
19109
  });
18779
19110
  })));
@@ -18833,7 +19164,7 @@ var AllFunc$1 = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
18833
19164
  src: allfunc
18834
19165
  })), /*#__PURE__*/React__default['default'].createElement("span", {
18835
19166
  className: 'btnSpan2'
18836
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
19167
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
18837
19168
  style: {
18838
19169
  left: isDrawer ? 140 : 0,
18839
19170
  top: 50
@@ -18879,7 +19210,7 @@ function outLogin(_x) {
18879
19210
  return _outLogin.apply(this, arguments);
18880
19211
  }
18881
19212
  function _outLogin() {
18882
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19213
+ _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18883
19214
  var res;
18884
19215
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18885
19216
  while (1) switch (_context.prev = _context.next) {
@@ -19021,7 +19352,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19021
19352
  });
19022
19353
  };
19023
19354
  var loginOut = /*#__PURE__*/function () {
19024
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19355
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19025
19356
  var sessionId;
19026
19357
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19027
19358
  while (1) switch (_context.prev = _context.next) {
@@ -19125,7 +19456,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19125
19456
  marginRight: '0px'
19126
19457
  },
19127
19458
  src: './xialajiantou-new.svg'
19128
- }))))), loginModalParams.visible && (/*#__PURE__*/React__default['default'].createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19459
+ }))))), loginModalParams.visible && ( /*#__PURE__*/React__default['default'].createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19129
19460
  };
19130
19461
 
19131
19462
  // -- 查询店铺 --
@@ -19133,7 +19464,7 @@ function getStoreByName(_x) {
19133
19464
  return _getStoreByName.apply(this, arguments);
19134
19465
  }
19135
19466
  function _getStoreByName() {
19136
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19467
+ _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19137
19468
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19138
19469
  while (1) switch (_context.prev = _context.next) {
19139
19470
  case 0:
@@ -19201,7 +19532,7 @@ var ChooseStore = function ChooseStore(props) {
19201
19532
  return _fetchUserList.apply(this, arguments);
19202
19533
  }
19203
19534
  function _fetchUserList() {
19204
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19535
+ _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19205
19536
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19206
19537
  while (1) switch (_context3.prev = _context3.next) {
19207
19538
  case 0:
@@ -19249,7 +19580,7 @@ var ChooseStore = function ChooseStore(props) {
19249
19580
  return debounce__default['default'](loadOptions, debounceTimeout);
19250
19581
  }, [debounceTimeout, key]);
19251
19582
  var changeInput = /*#__PURE__*/function () {
19252
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19583
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19253
19584
  var res;
19254
19585
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19255
19586
  while (1) switch (_context.prev = _context.next) {
@@ -19271,7 +19602,7 @@ var ChooseStore = function ChooseStore(props) {
19271
19602
  };
19272
19603
  }();
19273
19604
  React$1.useEffect(function () {
19274
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19605
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19275
19606
  var res;
19276
19607
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19277
19608
  while (1) switch (_context2.prev = _context2.next) {
@@ -19436,7 +19767,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19436
19767
  var resultList = [];
19437
19768
  var newRouter = _.cloneDeep(router);
19438
19769
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19439
- var _deep = function deep(router) {
19770
+ var deep = function deep(router) {
19440
19771
  if (router && Array.isArray(router)) {
19441
19772
  router.forEach(function (item) {
19442
19773
  if (item.routes && Array.isArray(item.routes)) {
@@ -19446,7 +19777,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19446
19777
  d.nameEdit = true;
19447
19778
  }
19448
19779
  });
19449
- _deep(item.routes);
19780
+ deep(item.routes);
19450
19781
  } else if (!item.hideInMenu && (name ? umi.formatMessage({
19451
19782
  id: "menu.".concat(item.name)
19452
19783
  }).indexOf(name) !== -1 : true)) {
@@ -19465,7 +19796,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19465
19796
  }));
19466
19797
  }
19467
19798
  };
19468
- _deep(newRouter);
19799
+ deep(newRouter);
19469
19800
  setroutesData([].concat(resultList));
19470
19801
  };
19471
19802
  var renderLineStyl = function renderLineStyl(name) {
@@ -19547,7 +19878,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19547
19878
  },
19548
19879
  title: item.fullPathName
19549
19880
  }, renderLineStyl(item.fullPathName));
19550
- }))))), showSelectStore && (/*#__PURE__*/React__default['default'].createElement(ChooseStore, {
19881
+ }))))), showSelectStore && ( /*#__PURE__*/React__default['default'].createElement(ChooseStore, {
19551
19882
  employeeCode: employeeCode
19552
19883
  })), /*#__PURE__*/React__default['default'].createElement(GlobalHeaderRight, null));
19553
19884
  };
@@ -19562,7 +19893,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19562
19893
  var TreeNode = antd.Tree.TreeNode;
19563
19894
  var Search$2 = antd.Input.Search;
19564
19895
  var dataList = [];
19565
- var _generateList = function generateList(data) {
19896
+ var generateList = function generateList(data) {
19566
19897
  for (var i = 0; i < data.length; i++) {
19567
19898
  var node = data[i];
19568
19899
  var path = node.path,
@@ -19572,11 +19903,11 @@ var _generateList = function generateList(data) {
19572
19903
  name: name
19573
19904
  });
19574
19905
  if (node.children) {
19575
- _generateList(node.children);
19906
+ generateList(node.children);
19576
19907
  }
19577
19908
  }
19578
19909
  };
19579
- var _getParentKey = function getParentKey(path, tree) {
19910
+ var getParentKey = function getParentKey(path, tree) {
19580
19911
  var parentKey;
19581
19912
  for (var i = 0; i < tree.length; i++) {
19582
19913
  var node = tree[i];
@@ -19585,8 +19916,8 @@ var _getParentKey = function getParentKey(path, tree) {
19585
19916
  return item.path === path;
19586
19917
  })) {
19587
19918
  parentKey = node.path;
19588
- } else if (_getParentKey(path, node.children)) {
19589
- parentKey = _getParentKey(path, node.children);
19919
+ } else if (getParentKey(path, node.children)) {
19920
+ parentKey = getParentKey(path, node.children);
19590
19921
  }
19591
19922
  }
19592
19923
  }
@@ -19617,7 +19948,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19617
19948
  var treeData = _this.state.treeData;
19618
19949
  var expandedKeys = dataList.map(function (item) {
19619
19950
  if (item.name.indexOf(value) > -1) {
19620
- return _getParentKey(item.path, treeData);
19951
+ return getParentKey(item.path, treeData);
19621
19952
  }
19622
19953
  return null;
19623
19954
  }).filter(function (item, i, self) {
@@ -19631,22 +19962,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19631
19962
  };
19632
19963
  _this.getPathList = function (originData) {
19633
19964
  var pathList = [];
19634
- var _getList = function getList(data) {
19965
+ var getList = function getList(data) {
19635
19966
  if (Array.isArray(data)) {
19636
19967
  data.forEach(function (item) {
19637
19968
  pathList.push(item.path);
19638
19969
  if (item.children) {
19639
- _getList(item.children);
19970
+ getList(item.children);
19640
19971
  }
19641
19972
  });
19642
19973
  } else {
19643
19974
  pathList.push(data.path);
19644
19975
  if (data.children) {
19645
- _getList(data.children);
19976
+ getList(data.children);
19646
19977
  }
19647
19978
  }
19648
19979
  };
19649
- _getList(originData);
19980
+ getList(originData);
19650
19981
  return pathList;
19651
19982
  };
19652
19983
  _this.handleAdd2Menu = function (path) {
@@ -19655,18 +19986,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19655
19986
  customerMenuData = _this$props.customerMenuData,
19656
19987
  setCustomerMenuData = _this$props.setCustomerMenuData;
19657
19988
  var filterItem;
19658
- var _filterMenuItem = function filterMenuItem(menuData) {
19989
+ var filterMenuItem = function filterMenuItem(menuData) {
19659
19990
  menuData.forEach(function (item) {
19660
19991
  if (item.path === path) {
19661
19992
  filterItem = _objectSpread2({}, item);
19662
19993
  return;
19663
19994
  }
19664
19995
  if (item.children) {
19665
- _filterMenuItem(item.children);
19996
+ filterMenuItem(item.children);
19666
19997
  }
19667
19998
  });
19668
19999
  };
19669
- _filterMenuItem(treeData);
20000
+ filterMenuItem(treeData);
19670
20001
  var addPathList = _this.getPathList(filterItem);
19671
20002
  var oldPathList = _this.getPathList(customerMenuData);
19672
20003
  var isRepet = false;
@@ -19696,8 +20027,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19696
20027
  return item.path === '/';
19697
20028
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19698
20029
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19699
- _setMenuTreeData(routesData);
19700
- _generateList(routesData);
20030
+ setMenuTreeData(routesData);
20031
+ generateList(routesData);
19701
20032
  this.setState({
19702
20033
  treeData: routesData
19703
20034
  });
@@ -19711,16 +20042,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19711
20042
  expandedKeys = _this$state.expandedKeys,
19712
20043
  autoExpandParent = _this$state.autoExpandParent,
19713
20044
  treeData = _this$state.treeData;
19714
- var _loop = function loop(data) {
20045
+ var loop = function loop(data) {
19715
20046
  return data.map(function (item) {
19716
20047
  var index = item.name.indexOf(searchValue);
19717
20048
  var beforeStr = item.name.substr(0, index);
19718
20049
  var afterStr = item.name.substr(index + searchValue.length);
19719
- var name = index > -1 ? (/*#__PURE__*/React__default['default'].createElement("span", null, beforeStr, /*#__PURE__*/React__default['default'].createElement("span", {
20050
+ var name = index > -1 ? ( /*#__PURE__*/React__default['default'].createElement("span", null, beforeStr, /*#__PURE__*/React__default['default'].createElement("span", {
19720
20051
  style: {
19721
20052
  color: '#f50'
19722
20053
  }
19723
- }, searchValue), afterStr)) : (/*#__PURE__*/React__default['default'].createElement("span", null, item.name));
20054
+ }, searchValue), afterStr)) : ( /*#__PURE__*/React__default['default'].createElement("span", null, item.name));
19724
20055
  if (item.children && item.children.length) {
19725
20056
  return /*#__PURE__*/React__default['default'].createElement(TreeNode, {
19726
20057
  path: item.path,
@@ -19742,7 +20073,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19742
20073
  width: 18,
19743
20074
  src: arrowRight
19744
20075
  }))))
19745
- }, _loop(item.children));
20076
+ }, loop(item.children));
19746
20077
  }
19747
20078
  return /*#__PURE__*/React__default['default'].createElement(TreeNode, {
19748
20079
  path: item.path,
@@ -19792,7 +20123,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19792
20123
  onExpand: this.onExpand,
19793
20124
  expandedKeys: expandedKeys,
19794
20125
  autoExpandParent: autoExpandParent
19795
- }, _loop(treeData))));
20126
+ }, loop(treeData))));
19796
20127
  }
19797
20128
  }]);
19798
20129
  }(React__default['default'].Component);
@@ -19825,24 +20156,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19825
20156
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
19826
20157
  var dragObj;
19827
20158
  var finalDropItem;
19828
- var _loop = function loop(data, path, callback) {
20159
+ var loop = function loop(data, path, callback) {
19829
20160
  for (var i = 0; i < data.length; i++) {
19830
20161
  if (data[i].path === path) {
19831
20162
  return callback(data[i], i, data);
19832
20163
  }
19833
20164
  if (data[i].children) {
19834
- _loop(data[i].children, path, callback);
20165
+ loop(data[i].children, path, callback);
19835
20166
  }
19836
20167
  }
19837
20168
  };
19838
20169
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
19839
- _loop(data, dragKey, function (item, index, arr) {
20170
+ loop(data, dragKey, function (item, index, arr) {
19840
20171
  arr.splice(index, 1);
19841
20172
  dragObj = item;
19842
20173
  });
19843
20174
  if (!info.dropToGap) {
19844
20175
  // Drop on the content
19845
- _loop(data, dropKey, function (item) {
20176
+ loop(data, dropKey, function (item) {
19846
20177
  item.children = item.children || [];
19847
20178
  item.children.unshift(dragObj);
19848
20179
  finalDropItem = _objectSpread2({}, item);
@@ -19853,7 +20184,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19853
20184
  // Is expanded
19854
20185
  dropPosition === 1 // On the bottom gap
19855
20186
  ) {
19856
- _loop(data, dropKey, function (item) {
20187
+ loop(data, dropKey, function (item) {
19857
20188
  item.children = item.children || [];
19858
20189
  item.children.unshift(dragObj);
19859
20190
  finalDropItem = _objectSpread2({}, item);
@@ -19861,7 +20192,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19861
20192
  } else {
19862
20193
  var ar;
19863
20194
  var i;
19864
- _loop(data, dropKey, function (item, index, arr) {
20195
+ loop(data, dropKey, function (item, index, arr) {
19865
20196
  ar = arr;
19866
20197
  i = index;
19867
20198
  });
@@ -19900,17 +20231,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19900
20231
  title: '编辑名称',
19901
20232
  callBack: function callBack(newName) {
19902
20233
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19903
- var _editTreeDataName = function editTreeDataName(oldTreeData) {
20234
+ var editTreeDataName = function editTreeDataName(oldTreeData) {
19904
20235
  oldTreeData.forEach(function (treeItem) {
19905
20236
  if (treeItem.path === item.path) {
19906
20237
  treeItem.name = newName;
19907
20238
  }
19908
20239
  if (treeItem.children) {
19909
- _editTreeDataName(treeItem.children);
20240
+ editTreeDataName(treeItem.children);
19910
20241
  }
19911
20242
  });
19912
20243
  };
19913
- _editTreeDataName(oldTreeData);
20244
+ editTreeDataName(oldTreeData);
19914
20245
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19915
20246
  _this.setState({
19916
20247
  modalInfo: {
@@ -19955,7 +20286,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19955
20286
  title: '新增子目录',
19956
20287
  callBack: function callBack(newName) {
19957
20288
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19958
- var _addChildFolder = function addChildFolder(oldTreeData) {
20289
+ var addChildFolder = function addChildFolder(oldTreeData) {
19959
20290
  oldTreeData.forEach(function (treeItem) {
19960
20291
  if (treeItem.path === item.path) {
19961
20292
  treeItem.children ? treeItem.children.push({
@@ -19967,11 +20298,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19967
20298
  }];
19968
20299
  }
19969
20300
  if (treeItem.children) {
19970
- _addChildFolder(treeItem.children);
20301
+ addChildFolder(treeItem.children);
19971
20302
  }
19972
20303
  });
19973
20304
  };
19974
- _addChildFolder(oldTreeData);
20305
+ addChildFolder(oldTreeData);
19975
20306
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19976
20307
  _this.setState({
19977
20308
  modalInfo: {
@@ -20030,7 +20361,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20030
20361
  var _this$state = this.state,
20031
20362
  modalInfo = _this$state.modalInfo,
20032
20363
  checkedKeys = _this$state.checkedKeys;
20033
- var _loop2 = function loop(data) {
20364
+ var loop = function loop(data) {
20034
20365
  return data.map(function (item) {
20035
20366
  if (item.children && item.children.length) {
20036
20367
  return /*#__PURE__*/React__default['default'].createElement(TreeNode$1, {
@@ -20047,7 +20378,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20047
20378
  e.stopPropagation();
20048
20379
  }
20049
20380
  }, /*#__PURE__*/React__default['default'].createElement(antd.Space, null, /*#__PURE__*/React__default['default'].createElement(icons.EllipsisOutlined, null))))))
20050
- }, _loop2(item.children));
20381
+ }, loop(item.children));
20051
20382
  }
20052
20383
  return /*#__PURE__*/React__default['default'].createElement(TreeNode$1, {
20053
20384
  path: item.path,
@@ -20126,7 +20457,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20126
20457
  children: 'children'
20127
20458
  },
20128
20459
  onDrop: this.onDrop
20129
- }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
20460
+ }, loop(this.props.customerMenuData))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, {
20130
20461
  width: 600,
20131
20462
  bodyStyle: {
20132
20463
  paddingTop: '32px',
@@ -20239,7 +20570,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
20239
20570
  pathname: item.path
20240
20571
  });
20241
20572
  };
20242
- var _getMenuDom = function getMenuDom(menuData) {
20573
+ var getMenuDom = function getMenuDom(menuData) {
20243
20574
  return menuData.map(function (item) {
20244
20575
  return /*#__PURE__*/React__default['default'].createElement("div", {
20245
20576
  style: {
@@ -20254,7 +20585,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
20254
20585
  fontWeight: item.children || !item.component ? 'bolder' : '400',
20255
20586
  paddingLeft: '4px'
20256
20587
  }
20257
- }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
20588
+ }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
20258
20589
  });
20259
20590
  };
20260
20591
  return /*#__PURE__*/React__default['default'].createElement("div", {
@@ -20280,7 +20611,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
20280
20611
  style: {
20281
20612
  paddingLeft: '5px'
20282
20613
  }
20283
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
20614
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
20284
20615
  style: {
20285
20616
  left: isDrawer ? 140 : 0
20286
20617
  },
@@ -20301,7 +20632,7 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
20301
20632
  visible: isDrawer
20302
20633
  }, /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("p", {
20303
20634
  className: 'menu_title_line'
20304
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
20635
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React__default['default'].createElement(antd.Modal, _objectSpread2({
20305
20636
  title: /*#__PURE__*/React__default['default'].createElement("span", {
20306
20637
  style: {
20307
20638
  fontWeight: '600',
@@ -20375,7 +20706,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20375
20706
  return item.path === '/';
20376
20707
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20377
20708
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20378
- _setMenuTreeData(routesData);
20709
+ setMenuTreeData(routesData);
20379
20710
  routesData.forEach(function (item) {
20380
20711
  if (item.children) {
20381
20712
  routesDataList.push(item);
@@ -20405,7 +20736,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20405
20736
  setHeight(clientHeight - 190);
20406
20737
  setDrawHeight(clientHeight - 70);
20407
20738
  };
20408
- var _renderChildItem = function renderChildItem(child) {
20739
+ var renderChildItem = function renderChildItem(child) {
20409
20740
  if (!child.hideInMenu && child.children) {
20410
20741
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
20411
20742
  style: {
@@ -20415,7 +20746,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20415
20746
  }, umi.formatMessage({
20416
20747
  id: "".concat(child.locale)
20417
20748
  })), child.children.map(function (menuItem) {
20418
- return _renderChildItem(menuItem);
20749
+ return renderChildItem(menuItem);
20419
20750
  }));
20420
20751
  } else if (!child.hideInMenu && child.path) {
20421
20752
  return /*#__PURE__*/React__default['default'].createElement(antd.List.Item, {
@@ -20557,7 +20888,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20557
20888
  onMenuClick(e, item);
20558
20889
  }
20559
20890
  }, item.name);
20560
- }))), !!SearhData.length ? (/*#__PURE__*/React__default['default'].createElement("div", {
20891
+ }))), !!SearhData.length ? ( /*#__PURE__*/React__default['default'].createElement("div", {
20561
20892
  className: 'search_menu_content'
20562
20893
  }, SearhData.map(function (item) {
20563
20894
  return /*#__PURE__*/React__default['default'].createElement("div", {
@@ -20566,7 +20897,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20566
20897
  },
20567
20898
  key: item.path
20568
20899
  }, item.name);
20569
- }))) : (/*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
20900
+ }))) : ( /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("div", {
20570
20901
  style: {
20571
20902
  height: "".concat(rightMenuHeight, "px"),
20572
20903
  overflowY: 'scroll',
@@ -20578,7 +20909,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20578
20909
  className: 'drawerWarp_right'
20579
20910
  }, homepageData && homepageData.filter(function (d) {
20580
20911
  return !d.hideInMenu;
20581
- }).length > 0 && (/*#__PURE__*/React__default['default'].createElement(antd.List, {
20912
+ }).length > 0 && ( /*#__PURE__*/React__default['default'].createElement(antd.List, {
20582
20913
  className: classNames__default['default']('allFunsList', 'allFunsListWarp'),
20583
20914
  dataSource: homepageData,
20584
20915
  renderItem: function renderItem(child) {
@@ -20619,7 +20950,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20619
20950
  bordered: true,
20620
20951
  dataSource: item.children,
20621
20952
  renderItem: function renderItem(child) {
20622
- return _renderChildItem(child);
20953
+ return renderChildItem(child);
20623
20954
  }
20624
20955
  });
20625
20956
  })), /*#__PURE__*/React__default['default'].createElement("div", {
@@ -20759,7 +21090,7 @@ var NoFoundPage = function NoFoundPage(props) {
20759
21090
  }));
20760
21091
  };
20761
21092
 
20762
- var _excluded$i = ["route"];
21093
+ var _excluded$j = ["route"];
20763
21094
  var TabPane = antd.Tabs.TabPane;
20764
21095
  var getId = function getId(str) {
20765
21096
  // 找到最后一个 / 的位置
@@ -20777,10 +21108,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20777
21108
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
20778
21109
  var menuKeys = [];
20779
21110
  var docsId = [];
20780
- var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
21111
+ var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20781
21112
  data.forEach(function (item) {
20782
21113
  if (item.children && item.children.length > 0) {
20783
- _getLimitedMenuKeys(item.children);
21114
+ getLimitedMenuKeys(item.children);
20784
21115
  } else {
20785
21116
  var originPath = item.path.replace(/^\/\w+\//, '/');
20786
21117
  menuKeys.push(originPath);
@@ -20791,7 +21122,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20791
21122
  });
20792
21123
  };
20793
21124
  try {
20794
- _getLimitedMenuKeys(limitedMenuData);
21125
+ getLimitedMenuKeys(limitedMenuData);
20795
21126
  } catch (e) {}
20796
21127
  return {
20797
21128
  menuKeys: menuKeys,
@@ -21025,10 +21356,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21025
21356
  return (node.path || '').includes('all-general-documents');
21026
21357
  };
21027
21358
  // 递归获取树列表
21028
- var _getTreeList = function getTreeList(data) {
21359
+ var getTreeList = function getTreeList(data) {
21029
21360
  data.forEach(function (node) {
21030
21361
  if (node.routes && node.routes.length > 0) {
21031
- _getTreeList(node.routes);
21362
+ getTreeList(node.routes);
21032
21363
  return;
21033
21364
  }
21034
21365
  // todo:暂时处理非wujie环境不做404管控
@@ -21059,7 +21390,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21059
21390
  }
21060
21391
  });
21061
21392
  };
21062
- _getTreeList(treeData);
21393
+ getTreeList(treeData);
21063
21394
  return treeList;
21064
21395
  };
21065
21396
  _this.getDictionarySource = function (dicCode) {
@@ -21688,7 +22019,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21688
22019
  updateState = _ref8.updateState;
21689
22020
  return /*#__PURE__*/React__default['default'].createElement("div", {
21690
22021
  className: "tab_title_content"
21691
- }, item.tab, item.key !== '/' && (/*#__PURE__*/React__default['default'].createElement(ItemMenu, {
22022
+ }, item.tab, item.key !== '/' && ( /*#__PURE__*/React__default['default'].createElement(ItemMenu, {
21692
22023
  info: item,
21693
22024
  operateFun: _this3.operateFun,
21694
22025
  listenRouterState: listenRouterState
@@ -21700,7 +22031,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21700
22031
  }); // 添加数据大屏
21701
22032
  var _this$props3 = this.props,
21702
22033
  route = _this$props3.route,
21703
- restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
22034
+ restPrpos = _objectWithoutProperties(_this$props3, _excluded$j);
21704
22035
  var exist = route.routes.find(function (route) {
21705
22036
  return route.path === '/homePage/data-show';
21706
22037
  });
@@ -21824,7 +22155,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21824
22155
  };
21825
22156
  }
21826
22157
  var OperationsSlot = {
21827
- left: (/*#__PURE__*/React__default['default'].createElement("div", {
22158
+ left: ( /*#__PURE__*/React__default['default'].createElement("div", {
21828
22159
  className: 'tab_left_operate'
21829
22160
  }, /*#__PURE__*/React__default['default'].createElement("div", {
21830
22161
  onClick: function onClick() {
@@ -21840,7 +22171,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21840
22171
  _this3.setTabNavTransLate(-100);
21841
22172
  }
21842
22173
  }, /*#__PURE__*/React__default['default'].createElement(icons.DoubleLeftOutlined, null)))),
21843
- right: (/*#__PURE__*/React__default['default'].createElement("div", {
22174
+ right: ( /*#__PURE__*/React__default['default'].createElement("div", {
21844
22175
  style: {
21845
22176
  opacity: this.state.isSlider ? 1 : 0.5
21846
22177
  },
@@ -21938,7 +22269,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21938
22269
  onMouseLeave: function onMouseLeave() {
21939
22270
  _this3.setShowMenu(false);
21940
22271
  }
21941
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React__default['default'].createElement(icons.CaretLeftOutlined, {
22272
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React__default['default'].createElement(icons.CaretLeftOutlined, {
21942
22273
  style: {
21943
22274
  position: 'absolute',
21944
22275
  top: '14px',
@@ -21957,7 +22288,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21957
22288
  postMenuData: function postMenuData(menus) {
21958
22289
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21959
22290
  },
21960
- links: [!this.state.collapse ? (/*#__PURE__*/React__default['default'].createElement(AllFunc$1, {
22291
+ links: [!this.state.collapse ? ( /*#__PURE__*/React__default['default'].createElement(AllFunc$1, {
21961
22292
  ref: this.allFunc,
21962
22293
  itemPath: itemPath,
21963
22294
  handleClose: this.handleClose,
@@ -21975,7 +22306,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21975
22306
  },
21976
22307
  menu: {
21977
22308
  request: function () {
21978
- var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
22309
+ var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21979
22310
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21980
22311
  while (1) switch (_context.prev = _context.next) {
21981
22312
  case 0:
@@ -22110,7 +22441,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22110
22441
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
22111
22442
  timeFormat = _this$props4.timeFormat,
22112
22443
  transparentProps = _this$props4.transparentProps;
22113
- return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, item.isNotFound ? (/*#__PURE__*/React__default['default'].createElement(NoFoundPage, null)) : /*#__PURE__*/React__default['default'].createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
22444
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, item.isNotFound ? ( /*#__PURE__*/React__default['default'].createElement(NoFoundPage, null)) : /*#__PURE__*/React__default['default'].createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
22114
22445
  getDictionarySource: getDictionarySource,
22115
22446
  getDictionaryTextByValue: getDictionaryTextByValue,
22116
22447
  timeFormat: timeFormat
@@ -22134,12 +22465,12 @@ var index$5 = (function (props) {
22134
22465
  });
22135
22466
 
22136
22467
  // @ts-nocheck
22137
- var _getAllColumns = function getAllColumns(columns) {
22468
+ var getAllColumns = function getAllColumns(columns) {
22138
22469
  var result = [];
22139
22470
  columns.forEach(function (column) {
22140
22471
  if (column.children) {
22141
22472
  result.push(column);
22142
- result.push.apply(result, _getAllColumns(column.children));
22473
+ result.push.apply(result, getAllColumns(column.children));
22143
22474
  } else {
22144
22475
  result.push(column);
22145
22476
  }
@@ -22148,7 +22479,7 @@ var _getAllColumns = function getAllColumns(columns) {
22148
22479
  };
22149
22480
  var convertToRows = function convertToRows(originColumns) {
22150
22481
  var maxLevel = 1;
22151
- var _traverse = function traverse(column, parent) {
22482
+ var traverse = function traverse(column, parent) {
22152
22483
  if (parent) {
22153
22484
  column.level = parent.level + 1;
22154
22485
  if (maxLevel < column.level) {
@@ -22158,7 +22489,7 @@ var convertToRows = function convertToRows(originColumns) {
22158
22489
  if (column.children) {
22159
22490
  var colSpan = 0;
22160
22491
  column.children.forEach(function (subColumn) {
22161
- _traverse(subColumn, column);
22492
+ traverse(subColumn, column);
22162
22493
  colSpan += subColumn.colSpan;
22163
22494
  });
22164
22495
  column.colSpan = colSpan;
@@ -22168,13 +22499,13 @@ var convertToRows = function convertToRows(originColumns) {
22168
22499
  };
22169
22500
  originColumns.forEach(function (column) {
22170
22501
  column.level = 1;
22171
- _traverse(column);
22502
+ traverse(column);
22172
22503
  });
22173
22504
  var rows = [];
22174
22505
  for (var i = 0; i < maxLevel; i++) {
22175
22506
  rows.push([]);
22176
22507
  }
22177
- var allColumns = _getAllColumns(originColumns);
22508
+ var allColumns = getAllColumns(originColumns);
22178
22509
  allColumns.forEach(function (column) {
22179
22510
  if (!column.children) {
22180
22511
  column.rowSpan = maxLevel - column.level + 1;
@@ -22214,7 +22545,7 @@ var convertToRows = function convertToRows(originColumns) {
22214
22545
  };
22215
22546
  var headersToRows = function headersToRows(originColumns) {
22216
22547
  var maxLevel = 1;
22217
- var _traverse2 = function traverse(column, parent) {
22548
+ var traverse = function traverse(column, parent) {
22218
22549
  if (parent) {
22219
22550
  //计算当前元素属于第几个层级
22220
22551
  column.level = parent.level + 1;
@@ -22227,7 +22558,7 @@ var headersToRows = function headersToRows(originColumns) {
22227
22558
  var colSpan = 0;
22228
22559
  column.children.forEach(function (subColumn) {
22229
22560
  //进行递归
22230
- _traverse2(subColumn, column);
22561
+ traverse(subColumn, column);
22231
22562
  colSpan += subColumn.colSpan;
22232
22563
  });
22233
22564
  column.colSpan = colSpan;
@@ -22237,14 +22568,14 @@ var headersToRows = function headersToRows(originColumns) {
22237
22568
  };
22238
22569
  originColumns.forEach(function (column) {
22239
22570
  column.level = 1;
22240
- _traverse2(column);
22571
+ traverse(column);
22241
22572
  });
22242
22573
  var rows = [];
22243
22574
  var lastData = [];
22244
22575
  for (var i = 0; i < maxLevel; i++) {
22245
22576
  rows.push([]);
22246
22577
  }
22247
- var allColumns = _getAllColumns(originColumns);
22578
+ var allColumns = getAllColumns(originColumns);
22248
22579
  allColumns.forEach(function (column) {
22249
22580
  if (!column.children) {
22250
22581
  column.rowSpan = maxLevel - column.level + 1;
@@ -22673,10 +23004,10 @@ var index$6 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
22673
23004
  }))))));
22674
23005
  });
22675
23006
 
22676
- var _excluded$j = ["children"];
23007
+ var _excluded$k = ["children"];
22677
23008
  var Drawer = (function (props) {
22678
23009
  var children = props.children,
22679
- restProps = _objectWithoutProperties(props, _excluded$j);
23010
+ restProps = _objectWithoutProperties(props, _excluded$k);
22680
23011
  return /*#__PURE__*/React__default['default'].createElement(antd.Drawer, _objectSpread2({
22681
23012
  mask: true,
22682
23013
  closable: false,
@@ -28261,7 +28592,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
28261
28592
  }
28262
28593
  return lineStart <= highLightLine && lineEnd >= highLightLine;
28263
28594
  };
28264
- var _hasHighLightChildren = function hasHighLightChildren() {
28595
+ var hasHighLightChildren = function hasHighLightChildren() {
28265
28596
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
28266
28597
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
28267
28598
  var children = hightLightData.children,
@@ -28272,7 +28603,7 @@ var _hasHighLightChildren = function hasHighLightChildren() {
28272
28603
  lineEnd = _loc2[2];
28273
28604
  if (children) {
28274
28605
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
28275
- return _hasHighLightChildren(v, highLightLine);
28606
+ return hasHighLightChildren(v, highLightLine);
28276
28607
  });
28277
28608
  }
28278
28609
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -28284,7 +28615,7 @@ function createHighLightTreeData(treeData, highLightLine) {
28284
28615
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
28285
28616
  data.forEach(function (node) {
28286
28617
  if (!node) return;
28287
- node.toggled = _hasHighLightChildren(node, highLightLine);
28618
+ node.toggled = hasHighLightChildren(node, highLightLine);
28288
28619
  node.active = isHightLight(node, highLightLine);
28289
28620
  if (node.children) {
28290
28621
  if (node.active) {
@@ -29715,7 +30046,7 @@ var valueType = {
29715
30046
  };
29716
30047
 
29717
30048
  var getDynamicDict = /*#__PURE__*/function () {
29718
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
30049
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29719
30050
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29720
30051
  while (1) switch (_context.prev = _context.next) {
29721
30052
  case 0:
@@ -29783,7 +30114,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29783
30114
  value: false
29784
30115
  }];
29785
30116
  var ref = React$1.useRef();
29786
- ahooks.useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30117
+ ahooks.useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29787
30118
  var _ref$current, source;
29788
30119
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29789
30120
  while (1) switch (_context.prev = _context.next) {
@@ -29897,7 +30228,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29897
30228
  source: {
29898
30229
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
29899
30230
  type: function () {
29900
- var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30231
+ var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29901
30232
  var form, values, name, relates, source;
29902
30233
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29903
30234
  while (1) switch (_context2.prev = _context2.next) {
@@ -30377,7 +30708,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30377
30708
  source: {
30378
30709
  relates: ['choiceType', 'inputType'],
30379
30710
  type: function () {
30380
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30711
+ var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30381
30712
  var values, name, form, source;
30382
30713
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30383
30714
  while (1) switch (_context3.prev = _context3.next) {
@@ -30599,7 +30930,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30599
30930
  width: 900,
30600
30931
  maskClosable: false,
30601
30932
  onOk: function () {
30602
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30933
+ var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30603
30934
  var _ref$current4, _res$editableStatus;
30604
30935
  var res, _res$defaultValue;
30605
30936
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -30671,7 +31002,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30671
31002
  }()
30672
31003
  }), /*#__PURE__*/React__default['default'].createElement(bssula.Form, _objectSpread2(_objectSpread2({}, formConfig), {}, {
30673
31004
  ref: ref
30674
- })), maintainOptionsModal.visible && (/*#__PURE__*/React__default['default'].createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
31005
+ })), maintainOptionsModal.visible && ( /*#__PURE__*/React__default['default'].createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30675
31006
  };
30676
31007
 
30677
31008
  // @ts-nocheck
@@ -31285,7 +31616,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
31285
31616
  return setVisible(false);
31286
31617
  },
31287
31618
  className: 'customFieldsDrawer'
31288
- }, detailTablesSetting.length == 0 && (/*#__PURE__*/React__default['default'].createElement("div", {
31619
+ }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React__default['default'].createElement("div", {
31289
31620
  style: {
31290
31621
  display: 'flex'
31291
31622
  }
@@ -31294,13 +31625,13 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
31294
31625
  flex: 1,
31295
31626
  width: 500
31296
31627
  }
31297
- }, _.isEmpty(moduleParams) ? (/*#__PURE__*/React__default['default'].createElement("div", {
31628
+ }, _.isEmpty(moduleParams) ? ( /*#__PURE__*/React__default['default'].createElement("div", {
31298
31629
  style: {
31299
31630
  padding: "10px 0",
31300
31631
  fontSize: "16px",
31301
31632
  fontWeight: "bolder"
31302
31633
  }
31303
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
31634
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
31304
31635
  style: {
31305
31636
  flex: 1
31306
31637
  }
@@ -31309,7 +31640,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
31309
31640
  onRun: onClickRun,
31310
31641
  value: jsonEditorVal,
31311
31642
  shallowHeight: height
31312
- })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React__default['default'].createElement(antd.Tabs, {
31643
+ })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React__default['default'].createElement(antd.Tabs, {
31313
31644
  defaultActiveKey: activeKey,
31314
31645
  onChange: function onChange(v) {
31315
31646
  return setActiveKey(v);
@@ -31326,13 +31657,13 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
31326
31657
  flex: 1,
31327
31658
  width: 500
31328
31659
  }
31329
- }, _.isEmpty(moduleParams) ? (/*#__PURE__*/React__default['default'].createElement("div", {
31660
+ }, _.isEmpty(moduleParams) ? ( /*#__PURE__*/React__default['default'].createElement("div", {
31330
31661
  style: {
31331
31662
  padding: "10px 0",
31332
31663
  fontSize: "16px",
31333
31664
  fontWeight: "bolder"
31334
31665
  }
31335
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
31666
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React__default['default'].createElement("div", {
31336
31667
  style: {
31337
31668
  flex: 1
31338
31669
  }
@@ -31354,13 +31685,13 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
31354
31685
  flex: 1,
31355
31686
  width: 500
31356
31687
  }
31357
- }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React__default['default'].createElement("div", {
31688
+ }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React__default['default'].createElement("div", {
31358
31689
  style: {
31359
31690
  padding: "10px 0",
31360
31691
  fontSize: "16px",
31361
31692
  fontWeight: "bolder"
31362
31693
  }
31363
- }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : (/*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React__default['default'].createElement("div", {
31694
+ }, "\u63D0\u793A\uFF1A\u4E1A\u52A1\u5BF9\u8C61\u672A\u7EF4\u62A4\uFF0C\u8BF7\u5728\u901A\u7528\u5355\u636E\u5BF9\u5E94\u4E1A\u52A1\u7C7B\u578B\u4E0B\u7EF4\u62A4\u4E1A\u52A1\u5BF9\u8C61")) : ( /*#__PURE__*/React__default['default'].createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React__default['default'].createElement("div", {
31364
31695
  style: {
31365
31696
  flex: 1
31366
31697
  }
@@ -31455,7 +31786,7 @@ var formatListName = function formatListName(list, columns) {
31455
31786
  });
31456
31787
  };
31457
31788
 
31458
- var _excluded$k = ["sorter"];
31789
+ var _excluded$l = ["sorter"];
31459
31790
  /**
31460
31791
  * 删掉查询条件的qp- 和 -eq等
31461
31792
  * @param {object} data
@@ -31506,7 +31837,7 @@ function getMetaData(_x) {
31506
31837
 
31507
31838
  // 获取数据
31508
31839
  function _getMetaData() {
31509
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31840
+ _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31510
31841
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31511
31842
  while (1) switch (_context.prev = _context.next) {
31512
31843
  case 0:
@@ -31538,7 +31869,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
31538
31869
  var _requestConfig$method;
31539
31870
  var params = _ref.params;
31540
31871
  var sorter = params.sorter,
31541
- paramsTemp = _objectWithoutProperties(params, _excluded$k);
31872
+ paramsTemp = _objectWithoutProperties(params, _excluded$l);
31542
31873
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), ___default['default'].omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
31543
31874
  currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
31544
31875
  });
@@ -31728,7 +32059,7 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
31728
32059
  tableState = _useState4[0],
31729
32060
  setTableState = _useState4[1];
31730
32061
  var handleOpen = /*#__PURE__*/function () {
31731
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32062
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31732
32063
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
31733
32064
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
31734
32065
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -32047,7 +32378,7 @@ var CustomSelectorModal = /*#__PURE__*/React$1.forwardRef(function (props, ref)
32047
32378
  destroyOnClose: true
32048
32379
  }, config && /*#__PURE__*/React__default['default'].createElement(bssula.QueryTable, _objectSpread2({
32049
32380
  ref: queryTableRef
32050
- }, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && (/*#__PURE__*/React__default['default'].createElement(antd.Row, {
32381
+ }, config)), (props === null || props === void 0 ? void 0 : (_props$selectProps4 = props.selectProps) === null || _props$selectProps4 === void 0 ? void 0 : _props$selectProps4.multipleForQuery) && !isView && ( /*#__PURE__*/React__default['default'].createElement(antd.Row, {
32051
32382
  justify: "center",
32052
32383
  style: {
32053
32384
  marginBottom: 30,
@@ -32163,7 +32494,7 @@ var CustomSelector = (function (props) {
32163
32494
  var _props$ctx7;
32164
32495
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
32165
32496
  }
32166
- })), showType === 'modalTable' && (/*#__PURE__*/React__default['default'].createElement(antd.Button, {
32497
+ })), showType === 'modalTable' && ( /*#__PURE__*/React__default['default'].createElement(antd.Button, {
32167
32498
  type: "primary",
32168
32499
  style: {
32169
32500
  width: '30px',
@@ -32249,7 +32580,7 @@ var BsCascader = function BsCascader(_ref) {
32249
32580
  _useState2 = _slicedToArray(_useState, 2),
32250
32581
  handSource = _useState2[0],
32251
32582
  setHandSource = _useState2[1];
32252
- React$1.useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32583
+ React$1.useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32253
32584
  var resData, data;
32254
32585
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32255
32586
  while (1) switch (_context.prev = _context.next) {
@@ -32401,7 +32732,7 @@ function getRegularThresholdRange(_x) {
32401
32732
  return _getRegularThresholdRange.apply(this, arguments);
32402
32733
  }
32403
32734
  function _getRegularThresholdRange() {
32404
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32735
+ _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32405
32736
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32406
32737
  while (1) switch (_context.prev = _context.next) {
32407
32738
  case 0:
@@ -32555,7 +32886,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32555
32886
  };
32556
32887
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32557
32888
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32558
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32889
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32559
32890
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32560
32891
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32561
32892
  while (1) switch (_context.prev = _context.next) {
@@ -33512,7 +33843,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33512
33843
  isAll: true,
33513
33844
  needNameAndCode: true,
33514
33845
  notChangeOnSelect: true,
33515
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33846
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33516
33847
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33517
33848
  while (1) switch (_context2.prev = _context2.next) {
33518
33849
  case 0:
@@ -33561,7 +33892,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33561
33892
  isAll: true,
33562
33893
  needNameAndCode: true,
33563
33894
  notChangeOnSelect: true,
33564
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33895
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33565
33896
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33566
33897
  while (1) switch (_context3.prev = _context3.next) {
33567
33898
  case 0:
@@ -33612,7 +33943,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33612
33943
  isAll: true,
33613
33944
  needNameAndCode: true,
33614
33945
  notChangeOnSelect: true,
33615
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33946
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33616
33947
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33617
33948
  while (1) switch (_context4.prev = _context4.next) {
33618
33949
  case 0:
@@ -35590,7 +35921,7 @@ var App$1 = function App(_ref) {
35590
35921
  borderRadius: '5px',
35591
35922
  cursor: 'pointer'
35592
35923
  }
35593
- }, isStaticNumber ? (/*#__PURE__*/React__default['default'].createElement(antd.Input, {
35924
+ }, isStaticNumber ? ( /*#__PURE__*/React__default['default'].createElement(antd.Input, {
35594
35925
  autoFocus: true,
35595
35926
  onClick: function onClick(e) {
35596
35927
  return e.stopPropagation();
@@ -35877,7 +36208,7 @@ function RenderCompItem(props) {
35877
36208
  dictData = _useState2[0],
35878
36209
  setDictData = _useState2[1];
35879
36210
  var getDictData = /*#__PURE__*/function () {
35880
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36211
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35881
36212
  var _data$map;
35882
36213
  var data;
35883
36214
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -35919,7 +36250,7 @@ function RenderCompItem(props) {
35919
36250
  var style2 = {
35920
36251
  width: '100px'
35921
36252
  };
35922
- return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (/*#__PURE__*/React__default['default'].createElement(antd.Input, {
36253
+ return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && ( /*#__PURE__*/React__default['default'].createElement(antd.Input, {
35923
36254
  disabled: disabled,
35924
36255
  allowClear: true,
35925
36256
  onClear: function onClear() {
@@ -35930,7 +36261,7 @@ function RenderCompItem(props) {
35930
36261
  onBlur: function onBlur(e) {
35931
36262
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
35932
36263
  }
35933
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && (/*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
36264
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 22) && ( /*#__PURE__*/React__default['default'].createElement(antd.InputNumber, {
35934
36265
  disabled: disabled,
35935
36266
  // max={Number.MAX_SAFE_INTEGER}
35936
36267
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -35943,7 +36274,7 @@ function RenderCompItem(props) {
35943
36274
  onChange: function onChange(value) {
35944
36275
  handleEdit(ites.code, value);
35945
36276
  }
35946
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && (/*#__PURE__*/React__default['default'].createElement(antd.DatePicker, {
36277
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && ((ites === null || ites === void 0 ? void 0 : ites.valueType) === 41 || (ites === null || ites === void 0 ? void 0 : ites.valueType) === 32) && ( /*#__PURE__*/React__default['default'].createElement(antd.DatePicker, {
35947
36278
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
35948
36279
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
35949
36280
  disabled: disabled,
@@ -35953,7 +36284,7 @@ function RenderCompItem(props) {
35953
36284
  onChange: function onChange(value, dateString) {
35954
36285
  handleEdit(ites.code, dateString);
35955
36286
  }
35956
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (/*#__PURE__*/React__default['default'].createElement(RangePicker$1, {
36287
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && ( /*#__PURE__*/React__default['default'].createElement(RangePicker$1, {
35957
36288
  showTime: true,
35958
36289
  disabled: disabled,
35959
36290
  defaultValue: ites.defaultValue,
@@ -35962,7 +36293,7 @@ function RenderCompItem(props) {
35962
36293
  onChange: function onChange(value, timeString) {
35963
36294
  handleEdit(ites.code, timeString);
35964
36295
  }
35965
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (/*#__PURE__*/React__default['default'].createElement(antd.Switch, {
36296
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && ( /*#__PURE__*/React__default['default'].createElement(antd.Switch, {
35966
36297
  disabled: disabled,
35967
36298
  defaultChecked: !!ites.defaultValue,
35968
36299
  style: style2,
@@ -35970,7 +36301,7 @@ function RenderCompItem(props) {
35970
36301
  onChange: function onChange(value) {
35971
36302
  handleEdit(ites.code, value);
35972
36303
  }
35973
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && (/*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
36304
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && ( /*#__PURE__*/React__default['default'].createElement(antd.Select, _objectSpread2(_objectSpread2({
35974
36305
  disabled: disabled,
35975
36306
  allowClear: true,
35976
36307
  showArrow: true
@@ -35988,7 +36319,7 @@ function RenderCompItem(props) {
35988
36319
  key: it,
35989
36320
  value: it
35990
36321
  }, ites.enumeration[it]);
35991
- }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && (/*#__PURE__*/React__default['default'].createElement(InnerSelect, {
36322
+ }))) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 20 && ( /*#__PURE__*/React__default['default'].createElement(InnerSelect, {
35992
36323
  disabled: disabled,
35993
36324
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
35994
36325
  defaultValue: ites.defaultValue,
@@ -35998,7 +36329,7 @@ function RenderCompItem(props) {
35998
36329
  handleEdit(ites.code, value);
35999
36330
  },
36000
36331
  dictionaryCode: ites.dictionaryCode
36001
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36332
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 110 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36002
36333
  selectBusinessType: "physicalWarehouse",
36003
36334
  selectProps: _objectSpread2({
36004
36335
  style: styleCommon,
@@ -36020,7 +36351,7 @@ function RenderCompItem(props) {
36020
36351
  getPopupContainer: function getPopupContainer() {
36021
36352
  return document.body;
36022
36353
  }
36023
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36354
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36024
36355
  selectBusinessType: "realWarehouse",
36025
36356
  selectProps: _objectSpread2({
36026
36357
  style: styleCommon,
@@ -36042,7 +36373,7 @@ function RenderCompItem(props) {
36042
36373
  getPopupContainer: function getPopupContainer() {
36043
36374
  return document.body;
36044
36375
  }
36045
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36376
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36046
36377
  selectBusinessType: "virtualWarehouse",
36047
36378
  selectProps: _objectSpread2({
36048
36379
  style: styleCommon,
@@ -36064,7 +36395,7 @@ function RenderCompItem(props) {
36064
36395
  getPopupContainer: function getPopupContainer() {
36065
36396
  return document.body;
36066
36397
  }
36067
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36398
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36068
36399
  selectBusinessType: "channelWarehouse",
36069
36400
  selectProps: _objectSpread2({
36070
36401
  style: styleCommon,
@@ -36086,7 +36417,7 @@ function RenderCompItem(props) {
36086
36417
  getPopupContainer: function getPopupContainer() {
36087
36418
  return document.body;
36088
36419
  }
36089
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36420
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 150 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36090
36421
  selectBusinessType: "spuCommodity",
36091
36422
  selectProps: _objectSpread2({
36092
36423
  style: styleCommon,
@@ -36107,7 +36438,7 @@ function RenderCompItem(props) {
36107
36438
  getPopupContainer: function getPopupContainer() {
36108
36439
  return document.body;
36109
36440
  }
36110
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36441
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 160 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36111
36442
  selectBusinessType: "skuCommodity",
36112
36443
  selectProps: _objectSpread2({
36113
36444
  style: styleCommon,
@@ -36128,13 +36459,13 @@ function RenderCompItem(props) {
36128
36459
  getPopupContainer: function getPopupContainer() {
36129
36460
  return document.body;
36130
36461
  }
36131
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && (/*#__PURE__*/React__default['default'].createElement(BsCascader, {
36462
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 190 && ( /*#__PURE__*/React__default['default'].createElement(BsCascader, {
36132
36463
  disabled: disabled,
36133
36464
  isAll: true,
36134
36465
  needNameAndCode: true,
36135
36466
  notChangeOnSelect: true,
36136
36467
  initRequestSource: function () {
36137
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36468
+ var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36138
36469
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
36139
36470
  while (1) switch (_context2.prev = _context2.next) {
36140
36471
  case 0:
@@ -36176,7 +36507,7 @@ function RenderCompItem(props) {
36176
36507
  getPopupContainer: function getPopupContainer() {
36177
36508
  return document.body;
36178
36509
  }
36179
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36510
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 210 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36180
36511
  disabled: disabled,
36181
36512
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36182
36513
  businessType: "department",
@@ -36189,7 +36520,7 @@ function RenderCompItem(props) {
36189
36520
  getPopupContainer: function getPopupContainer() {
36190
36521
  return document.body;
36191
36522
  }
36192
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36523
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 220 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36193
36524
  disabled: disabled,
36194
36525
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36195
36526
  businessType: "purchase-organization",
@@ -36202,7 +36533,7 @@ function RenderCompItem(props) {
36202
36533
  getPopupContainer: function getPopupContainer() {
36203
36534
  return document.body;
36204
36535
  }
36205
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36536
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 230 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36206
36537
  disabled: disabled,
36207
36538
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36208
36539
  businessType: "sales-organization",
@@ -36215,7 +36546,7 @@ function RenderCompItem(props) {
36215
36546
  getPopupContainer: function getPopupContainer() {
36216
36547
  return document.body;
36217
36548
  }
36218
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36549
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36219
36550
  selectBusinessType: "supplier2",
36220
36551
  selectProps: _objectSpread2({
36221
36552
  style: styleCommon,
@@ -36236,7 +36567,7 @@ function RenderCompItem(props) {
36236
36567
  getPopupContainer: function getPopupContainer() {
36237
36568
  return document.body;
36238
36569
  }
36239
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36570
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36240
36571
  selectBusinessType: "customer2",
36241
36572
  selectProps: _objectSpread2({
36242
36573
  style: styleCommon,
@@ -36257,7 +36588,7 @@ function RenderCompItem(props) {
36257
36588
  getPopupContainer: function getPopupContainer() {
36258
36589
  return document.body;
36259
36590
  }
36260
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36591
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 260 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36261
36592
  selectBusinessType: "shopFile2",
36262
36593
  selectProps: _objectSpread2({
36263
36594
  style: styleCommon,
@@ -36278,7 +36609,7 @@ function RenderCompItem(props) {
36278
36609
  getPopupContainer: function getPopupContainer() {
36279
36610
  return document.body;
36280
36611
  }
36281
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36612
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36282
36613
  selectBusinessType: "employee2",
36283
36614
  selectProps: _objectSpread2({
36284
36615
  style: styleCommon,
@@ -36299,7 +36630,7 @@ function RenderCompItem(props) {
36299
36630
  getPopupContainer: function getPopupContainer() {
36300
36631
  return document.body;
36301
36632
  }
36302
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36633
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 280 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36303
36634
  disabled: disabled,
36304
36635
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36305
36636
  businessType: "stock-organization",
@@ -36312,7 +36643,7 @@ function RenderCompItem(props) {
36312
36643
  getPopupContainer: function getPopupContainer() {
36313
36644
  return document.body;
36314
36645
  }
36315
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36646
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36316
36647
  disabled: disabled,
36317
36648
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36318
36649
  businessType: "settle-organization",
@@ -36325,7 +36656,7 @@ function RenderCompItem(props) {
36325
36656
  getPopupContainer: function getPopupContainer() {
36326
36657
  return document.body;
36327
36658
  }
36328
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36659
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 310 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36329
36660
  selectBusinessType: "deliveryMode",
36330
36661
  selectProps: _objectSpread2({
36331
36662
  style: styleCommon,
@@ -36346,7 +36677,7 @@ function RenderCompItem(props) {
36346
36677
  getPopupContainer: function getPopupContainer() {
36347
36678
  return document.body;
36348
36679
  }
36349
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36680
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36350
36681
  selectBusinessType: "role",
36351
36682
  selectProps: _objectSpread2({
36352
36683
  style: styleCommon,
@@ -36367,7 +36698,7 @@ function RenderCompItem(props) {
36367
36698
  getPopupContainer: function getPopupContainer() {
36368
36699
  return document.body;
36369
36700
  }
36370
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36701
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 410 && ( /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
36371
36702
  selectBusinessType: "brand",
36372
36703
  selectProps: _objectSpread2({
36373
36704
  style: styleCommon,
@@ -36388,7 +36719,7 @@ function RenderCompItem(props) {
36388
36719
  getPopupContainer: function getPopupContainer() {
36389
36720
  return document.body;
36390
36721
  }
36391
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && (/*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36722
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && ( /*#__PURE__*/React__default['default'].createElement(BusinessTreeSearchSelect$1, {
36392
36723
  disabled: disabled,
36393
36724
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36394
36725
  businessType: "background-category",
@@ -36401,7 +36732,7 @@ function RenderCompItem(props) {
36401
36732
  getPopupContainer: function getPopupContainer() {
36402
36733
  return document.body;
36403
36734
  }
36404
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && (/*#__PURE__*/React__default['default'].createElement(CustomSelector, {
36735
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && ( /*#__PURE__*/React__default['default'].createElement(CustomSelector, {
36405
36736
  selectProps: _objectSpread2(_objectSpread2({
36406
36737
  style: styleCommon,
36407
36738
  placeholder: '请选择'
@@ -36424,7 +36755,7 @@ function RenderCompItem(props) {
36424
36755
  onChange: function onChange(value) {
36425
36756
  handleEdit(ites.code, value);
36426
36757
  }
36427
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React__default['default'].createElement("div", {
36758
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React__default['default'].createElement("div", {
36428
36759
  style: {
36429
36760
  display: 'flex'
36430
36761
  }
@@ -36936,7 +37267,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36936
37267
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
36937
37268
  queryIdentifyType = 'dynamicDictCodeIdentify';
36938
37269
  }
36939
- var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
37270
+ var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
36940
37271
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
36941
37272
  var _i$key;
36942
37273
  return ((i === null || i === void 0 ? void 0 : (_i$key = i.key) === null || _i$key === void 0 ? void 0 : _i$key.indexOf('.')) > -1 ? i.id : i.key) === (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId);
@@ -37863,13 +38194,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
37863
38194
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
37864
38195
  // 处理对象-设置了必填-规则实例保存时数据必填校验
37865
38196
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
37866
- var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
38197
+ var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37867
38198
  var requiredList = list.filter(function (c) {
37868
38199
  return c.required == 1;
37869
38200
  }) || []; // 获取对象属性为true的集合
37870
38201
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
37871
38202
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
37872
- var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? _coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
38203
+ var coverExpressionTree = (s === null || s === void 0 ? void 0 : (_s$expression = s.expression) === null || _s$expression === void 0 ? void 0 : (_s$expression$subExpr = _s$expression.subExpression) === null || _s$expression$subExpr === void 0 ? void 0 : _s$expression$subExpr.length) ? coverToParallel(s === null || s === void 0 ? void 0 : (_s$expression2 = s.expression) === null || _s$expression2 === void 0 ? void 0 : _s$expression2.subExpression, [], 'subExpression') : (s === null || s === void 0 ? void 0 : s.expression) && [s === null || s === void 0 ? void 0 : s.expression];
37873
38204
  (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : coverExpressionTree.length) && (coverExpressionTree === null || coverExpressionTree === void 0 ? void 0 : (_coverExpressionTree$ = coverExpressionTree.forEach) === null || _coverExpressionTree$ === void 0 ? void 0 : _coverExpressionTree$.call(coverExpressionTree, function (e) {
37874
38205
  if (requiredList.some(function (r) {
37875
38206
  return r.id === e.elementId;
@@ -38458,7 +38789,7 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
38458
38789
  style: {
38459
38790
  float: 'right'
38460
38791
  }
38461
- })), /*#__PURE__*/React__default['default'].createElement("div", null, sceneId ? (/*#__PURE__*/React__default['default'].createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38792
+ })), /*#__PURE__*/React__default['default'].createElement("div", null, sceneId ? ( /*#__PURE__*/React__default['default'].createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38462
38793
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38463
38794
  ruleGroupInfo: {
38464
38795
  ruleGroupList: ruleGroupList,
@@ -38476,7 +38807,7 @@ var BaseRule = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
38476
38807
  callBack: function callBack(newData) {
38477
38808
  upDateData(newData);
38478
38809
  }
38479
- }))) : (/*#__PURE__*/React__default['default'].createElement("div", {
38810
+ }))) : ( /*#__PURE__*/React__default['default'].createElement("div", {
38480
38811
  style: {
38481
38812
  padding: 20
38482
38813
  }
@@ -38706,14 +39037,14 @@ var index$7 = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
38706
39037
  var css_248z$y = ".bs-collapse-wrap {\n border-radius: 4px;\n overflow: hidden;\n}\n.bs-collapse-wrap .bs-collapse-header-wrap {\n background: #fff;\n}\n.bs-collapse-wrap .bs-collapse-icon {\n color: #b6b6b6;\n transition: transform 0.3s;\n}\n.bs-collapse-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.bs-collapse-wrap .bs-collapse-header-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n}\n.bs-collapse-wrap .bs-collapse-header-divider {\n width: 3px;\n height: 20px;\n background: #005cff;\n}\n.bs-collapse-header-boder .ant-collapse .ant-collapse-item > .ant-collapse-header {\n border-bottom: 1px solid #f0f0f0;\n padding: 8px 16px;\n}\n";
38707
39038
  styleInject(css_248z$y);
38708
39039
 
38709
- var _excluded$l = ["titleExtra", "header", "showArrow"];
39040
+ var _excluded$m = ["titleExtra", "header", "showArrow"];
38710
39041
  var Panel = antd.Collapse.Panel;
38711
39042
  var ExtendedPanel = function ExtendedPanel(_ref) {
38712
39043
  var titleExtra = _ref.titleExtra,
38713
39044
  header = _ref.header,
38714
39045
  _ref$showArrow = _ref.showArrow,
38715
39046
  showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
38716
- props = _objectWithoutProperties(_ref, _excluded$l);
39047
+ props = _objectWithoutProperties(_ref, _excluded$m);
38717
39048
  var renderHeader = function renderHeader() {
38718
39049
  return /*#__PURE__*/React__default['default'].createElement(antd.Space, {
38719
39050
  align: "center"
@@ -38737,11 +39068,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
38737
39068
  }), props.children);
38738
39069
  };
38739
39070
 
38740
- var _excluded$m = ["children", "bordered"];
39071
+ var _excluded$n = ["children", "bordered"];
38741
39072
  var ExtendedCollapse = function ExtendedCollapse(props) {
38742
39073
  var children = props.children,
38743
39074
  bordered = props.bordered,
38744
- restProps = _objectWithoutProperties(props, _excluded$m);
39075
+ restProps = _objectWithoutProperties(props, _excluded$n);
38745
39076
  return /*#__PURE__*/React__default['default'].createElement("div", {
38746
39077
  className: classNames__default['default']({
38747
39078
  'bs-collapse-wrap': true,
@@ -38893,11 +39224,11 @@ exports.TreeSearchSelect = TreeSearchSelect;
38893
39224
  exports.authFunc = authFunc;
38894
39225
  exports.calculateValidPeriod = calculateValidPeriod;
38895
39226
  exports.checkQuantityAccuracy = checkQuantityAccuracy;
38896
- exports.coverToParallel = _coverToParallel;
39227
+ exports.coverToParallel = coverToParallel;
38897
39228
  exports.createUniqID = createUniqID;
38898
39229
  exports.downloadExcel = downloadExcel;
38899
39230
  exports.ergodicMenuRoutes = ergodicMenuRoutes;
38900
- exports.formatter = _formatter;
39231
+ exports.formatter = formatter;
38901
39232
  exports.getAccountID = getAccountID;
38902
39233
  exports.getAccountId = getAccountId;
38903
39234
  exports.getBreadcrumbNameMap = getBreadcrumbNameMap;