@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.esm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import axios from 'axios';
2
2
  import request$1 from 'umi-request';
3
3
  import cookie from 'js-cookie';
4
- import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Tag, Select, Spin, Form, Table, Empty, Row, Col, Tabs, TreeSelect, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, DatePicker, TimePicker, Divider, Switch, Collapse } from 'antd';
4
+ import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Tag, Select, Spin, Form, Table, Empty, Row, Col, Tabs, TreeSelect, DatePicker, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, TimePicker, Divider, Switch, Collapse } from 'antd';
5
5
  import _, { omit, uniqBy, escapeRegExp, isNil, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
6
6
  import memoizeOne from 'memoize-one';
7
7
  import { formatMessage, history, useLocation, Link, useModel, setLocale, useIntl, request as request$3 } from 'umi';
@@ -32,88 +32,9 @@ import { parse as parse$1 } from '@babel/parser';
32
32
  import { visit } from 'ast-types';
33
33
  import isArray$1 from 'lodash/isArray';
34
34
 
35
- function _arrayLikeToArray(r, a) {
36
- (null == a || a > r.length) && (a = r.length);
37
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
38
- return n;
39
- }
40
- function _arrayWithHoles(r) {
41
- if (Array.isArray(r)) return r;
42
- }
43
- function _arrayWithoutHoles(r) {
44
- if (Array.isArray(r)) return _arrayLikeToArray(r);
45
- }
46
- function _assertThisInitialized(e) {
47
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
48
- return e;
49
- }
50
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
51
- try {
52
- var i = n[a](c),
53
- u = i.value;
54
- } catch (n) {
55
- return void e(n);
56
- }
57
- i.done ? t(u) : Promise.resolve(u).then(r, o);
58
- }
59
- function _asyncToGenerator(n) {
60
- return function () {
61
- var t = this,
62
- e = arguments;
63
- return new Promise(function (r, o) {
64
- var a = n.apply(t, e);
65
- function _next(n) {
66
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
67
- }
68
- function _throw(n) {
69
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
70
- }
71
- _next(void 0);
72
- });
73
- };
74
- }
75
35
  function _callSuper(t, o, e) {
76
36
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
77
37
  }
78
- function _classCallCheck(a, n) {
79
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
80
- }
81
- function _defineProperties(e, r) {
82
- for (var t = 0; t < r.length; t++) {
83
- var o = r[t];
84
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
85
- }
86
- }
87
- function _createClass(e, r, t) {
88
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
89
- writable: !1
90
- }), e;
91
- }
92
- function _defineProperty(e, r, t) {
93
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
94
- value: t,
95
- enumerable: !0,
96
- configurable: !0,
97
- writable: !0
98
- }) : e[r] = t, e;
99
- }
100
- function _getPrototypeOf(t) {
101
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
102
- return t.__proto__ || Object.getPrototypeOf(t);
103
- }, _getPrototypeOf(t);
104
- }
105
- function _inherits(t, e) {
106
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
107
- t.prototype = Object.create(e && e.prototype, {
108
- constructor: {
109
- value: t,
110
- writable: !0,
111
- configurable: !0
112
- }
113
- }), Object.defineProperty(t, "prototype", {
114
- writable: !1
115
- }), e && _setPrototypeOf(t, e);
116
- }
117
38
  function _isNativeReflectConstruct() {
118
39
  try {
119
40
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -122,9 +43,6 @@ function _isNativeReflectConstruct() {
122
43
  return !!t;
123
44
  })();
124
45
  }
125
- function _iterableToArray(r) {
126
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
127
- }
128
46
  function _iterableToArrayLimit(r, l) {
129
47
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
130
48
  if (null != t) {
@@ -152,15 +70,6 @@ function _iterableToArrayLimit(r, l) {
152
70
  return a;
153
71
  }
154
72
  }
155
- function _nonIterableRest() {
156
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
157
- }
158
- function _nonIterableSpread() {
159
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
160
- }
161
- function _objectDestructuringEmpty(t) {
162
- if (null == t) throw new TypeError("Cannot destructure " + t);
163
- }
164
73
  function ownKeys(e, r) {
165
74
  var t = Object.keys(e);
166
75
  if (Object.getOwnPropertySymbols) {
@@ -182,31 +91,6 @@ function _objectSpread2(e) {
182
91
  }
183
92
  return e;
184
93
  }
185
- function _objectWithoutProperties(e, t) {
186
- if (null == e) return {};
187
- var o,
188
- r,
189
- i = _objectWithoutPropertiesLoose(e, t);
190
- if (Object.getOwnPropertySymbols) {
191
- var s = Object.getOwnPropertySymbols(e);
192
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
193
- }
194
- return i;
195
- }
196
- function _objectWithoutPropertiesLoose(r, e) {
197
- if (null == r) return {};
198
- var t = {};
199
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
200
- if (e.includes(n)) continue;
201
- t[n] = r[n];
202
- }
203
- return t;
204
- }
205
- function _possibleConstructorReturn(t, e) {
206
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
207
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
208
- return _assertThisInitialized(t);
209
- }
210
94
  function _regeneratorRuntime() {
211
95
  _regeneratorRuntime = function () {
212
96
  return e;
@@ -508,20 +392,6 @@ function _regeneratorRuntime() {
508
392
  }
509
393
  }, e;
510
394
  }
511
- function _setPrototypeOf(t, e) {
512
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
513
- return t.__proto__ = e, t;
514
- }, _setPrototypeOf(t, e);
515
- }
516
- function _slicedToArray(r, e) {
517
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
518
- }
519
- function _toArray(r) {
520
- return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
521
- }
522
- function _toConsumableArray(r) {
523
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
524
- }
525
395
  function _toPrimitive(t, r) {
526
396
  if ("object" != typeof t || !t) return t;
527
397
  var e = t[Symbol.toPrimitive];
@@ -545,12 +415,180 @@ function _typeof(o) {
545
415
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
546
416
  }, _typeof(o);
547
417
  }
548
- function _unsupportedIterableToArray(r, a) {
549
- if (r) {
550
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
551
- var t = {}.toString.call(r).slice(8, -1);
552
- 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;
418
+ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
419
+ try {
420
+ var info = gen[key](arg);
421
+ var value = info.value;
422
+ } catch (error) {
423
+ reject(error);
424
+ return;
425
+ }
426
+ if (info.done) {
427
+ resolve(value);
428
+ } else {
429
+ Promise.resolve(value).then(_next, _throw);
430
+ }
431
+ }
432
+ function _asyncToGenerator(fn) {
433
+ return function () {
434
+ var self = this,
435
+ args = arguments;
436
+ return new Promise(function (resolve, reject) {
437
+ var gen = fn.apply(self, args);
438
+ function _next(value) {
439
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
440
+ }
441
+ function _throw(err) {
442
+ asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
443
+ }
444
+ _next(undefined);
445
+ });
446
+ };
447
+ }
448
+ function _classCallCheck(instance, Constructor) {
449
+ if (!(instance instanceof Constructor)) {
450
+ throw new TypeError("Cannot call a class as a function");
451
+ }
452
+ }
453
+ function _defineProperties(target, props) {
454
+ for (var i = 0; i < props.length; i++) {
455
+ var descriptor = props[i];
456
+ descriptor.enumerable = descriptor.enumerable || false;
457
+ descriptor.configurable = true;
458
+ if ("value" in descriptor) descriptor.writable = true;
459
+ Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
460
+ }
461
+ }
462
+ function _createClass(Constructor, protoProps, staticProps) {
463
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
464
+ if (staticProps) _defineProperties(Constructor, staticProps);
465
+ Object.defineProperty(Constructor, "prototype", {
466
+ writable: false
467
+ });
468
+ return Constructor;
469
+ }
470
+ function _defineProperty(obj, key, value) {
471
+ key = _toPropertyKey(key);
472
+ if (key in obj) {
473
+ Object.defineProperty(obj, key, {
474
+ value: value,
475
+ enumerable: true,
476
+ configurable: true,
477
+ writable: true
478
+ });
479
+ } else {
480
+ obj[key] = value;
481
+ }
482
+ return obj;
483
+ }
484
+ function _inherits(subClass, superClass) {
485
+ if (typeof superClass !== "function" && superClass !== null) {
486
+ throw new TypeError("Super expression must either be null or a function");
487
+ }
488
+ subClass.prototype = Object.create(superClass && superClass.prototype, {
489
+ constructor: {
490
+ value: subClass,
491
+ writable: true,
492
+ configurable: true
493
+ }
494
+ });
495
+ Object.defineProperty(subClass, "prototype", {
496
+ writable: false
497
+ });
498
+ if (superClass) _setPrototypeOf(subClass, superClass);
499
+ }
500
+ function _getPrototypeOf(o) {
501
+ _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
502
+ return o.__proto__ || Object.getPrototypeOf(o);
503
+ };
504
+ return _getPrototypeOf(o);
505
+ }
506
+ function _setPrototypeOf(o, p) {
507
+ _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
508
+ o.__proto__ = p;
509
+ return o;
510
+ };
511
+ return _setPrototypeOf(o, p);
512
+ }
513
+ function _objectDestructuringEmpty(obj) {
514
+ if (obj == null) throw new TypeError("Cannot destructure " + obj);
515
+ }
516
+ function _objectWithoutPropertiesLoose(source, excluded) {
517
+ if (source == null) return {};
518
+ var target = {};
519
+ for (var key in source) {
520
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
521
+ if (excluded.indexOf(key) >= 0) continue;
522
+ target[key] = source[key];
523
+ }
524
+ }
525
+ return target;
526
+ }
527
+ function _objectWithoutProperties(source, excluded) {
528
+ if (source == null) return {};
529
+ var target = _objectWithoutPropertiesLoose(source, excluded);
530
+ var key, i;
531
+ if (Object.getOwnPropertySymbols) {
532
+ var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
533
+ for (i = 0; i < sourceSymbolKeys.length; i++) {
534
+ key = sourceSymbolKeys[i];
535
+ if (excluded.indexOf(key) >= 0) continue;
536
+ if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
537
+ target[key] = source[key];
538
+ }
539
+ }
540
+ return target;
541
+ }
542
+ function _assertThisInitialized(self) {
543
+ if (self === void 0) {
544
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
553
545
  }
546
+ return self;
547
+ }
548
+ function _possibleConstructorReturn(self, call) {
549
+ if (call && (typeof call === "object" || typeof call === "function")) {
550
+ return call;
551
+ } else if (call !== void 0) {
552
+ throw new TypeError("Derived constructors may only return object or undefined");
553
+ }
554
+ return _assertThisInitialized(self);
555
+ }
556
+ function _slicedToArray(arr, i) {
557
+ return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
558
+ }
559
+ function _toArray(arr) {
560
+ return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
561
+ }
562
+ function _toConsumableArray(arr) {
563
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
564
+ }
565
+ function _arrayWithoutHoles(arr) {
566
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
567
+ }
568
+ function _arrayWithHoles(arr) {
569
+ if (Array.isArray(arr)) return arr;
570
+ }
571
+ function _iterableToArray(iter) {
572
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
573
+ }
574
+ function _unsupportedIterableToArray(o, minLen) {
575
+ if (!o) return;
576
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
577
+ var n = Object.prototype.toString.call(o).slice(8, -1);
578
+ if (n === "Object" && o.constructor) n = o.constructor.name;
579
+ if (n === "Map" || n === "Set") return Array.from(o);
580
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
581
+ }
582
+ function _arrayLikeToArray(arr, len) {
583
+ if (len == null || len > arr.length) len = arr.length;
584
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
585
+ return arr2;
586
+ }
587
+ function _nonIterableSpread() {
588
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
589
+ }
590
+ function _nonIterableRest() {
591
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
554
592
  }
555
593
 
556
594
  var ENUM = {
@@ -1060,13 +1098,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1060
1098
  imgHtml.innerHTML = str;
1061
1099
  }
1062
1100
  // 测试使用 测试类型缩小 end
1063
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1101
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1064
1102
  className: "clomnsImg"
1065
1103
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1066
1104
  src: url,
1067
1105
  width: "16px",
1068
1106
  height: "16px"
1069
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1107
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1070
1108
  className: "clomnsImg2"
1071
1109
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1072
1110
  src: noImg
@@ -1203,7 +1241,7 @@ function downloadExcel(data, fileName, isResUrl) {
1203
1241
  }
1204
1242
  save_link.click();
1205
1243
  }
1206
- var _formatter = function formatter(data, parentAuthority, parentName) {
1244
+ var formatter = function formatter(data, parentAuthority, parentName) {
1207
1245
  return data.map(function (item) {
1208
1246
  if (!item.name || !item.path) {
1209
1247
  return null;
@@ -1223,7 +1261,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1223
1261
  authority: item.authority || parentAuthority
1224
1262
  });
1225
1263
  if (item.routes) {
1226
- var children = _formatter(item.routes, item.authority, locale);
1264
+ var children = formatter(item.routes, item.authority, locale);
1227
1265
  // Reduce memory usage
1228
1266
  result.children = children;
1229
1267
  }
@@ -1233,7 +1271,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1233
1271
  return item;
1234
1272
  });
1235
1273
  };
1236
- var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1274
+ var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1237
1275
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1238
1276
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1239
1277
  if (backHistoryPath) {
@@ -1542,7 +1580,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1542
1580
  // sheepMap是表头字段中英文映射
1543
1581
  // sheetCount:表的数量,默认一张
1544
1582
  var resolveFile = /*#__PURE__*/function () {
1545
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1583
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1546
1584
  var config,
1547
1585
  data,
1548
1586
  _args = arguments;
@@ -1581,7 +1619,7 @@ var resolveFile = /*#__PURE__*/function () {
1581
1619
  }();
1582
1620
  //读取文件
1583
1621
  var readerXlsxToList = /*#__PURE__*/function () {
1584
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1622
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1585
1623
  var _ref5, callback, sheetMap, nowFile, data2, data;
1586
1624
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1587
1625
  while (1) switch (_context2.prev = _context2.next) {
@@ -1674,14 +1712,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1674
1712
  /**---------------------数据写入excel-------结束------------------------*/
1675
1713
 
1676
1714
  // 获取树平行结构
1677
- var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1715
+ var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1678
1716
  var childrenKey = chilKey || 'children';
1679
1717
  treeData.forEach(function (el) {
1680
1718
  var _el$childrenKey;
1681
1719
  result.push(el);
1682
1720
  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) {
1683
1721
  // 子级递归
1684
- _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1722
+ coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1685
1723
  }
1686
1724
  });
1687
1725
  return result;
@@ -1958,13 +1996,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1958
1996
  imgHtml.innerHTML = str;
1959
1997
  }
1960
1998
  // 测试使用 测试类型缩小 end
1961
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1999
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1962
2000
  className: "clomnsImg"
1963
2001
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1964
2002
  src: url,
1965
2003
  width: "16px",
1966
2004
  height: "16px"
1967
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2005
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1968
2006
  src: noImg
1969
2007
  }))));
1970
2008
  };
@@ -2026,7 +2064,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2026
2064
  }
2027
2065
  });
2028
2066
  };
2029
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2067
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2030
2068
  disabled: disabled,
2031
2069
  onChange: function onChange(e) {
2032
2070
  var v = e.target.value;
@@ -2036,7 +2074,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2036
2074
  width: 170
2037
2075
  },
2038
2076
  value: inputValue
2039
- }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2077
+ }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2040
2078
  disabled: disabled,
2041
2079
  onBlur: function onBlur(e) {
2042
2080
  var v = parseFloat(e.target.value);
@@ -2415,16 +2453,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2415
2453
  var handleExportBarCode = handleExport;
2416
2454
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2417
2455
  var routerMap = {};
2418
- var _flattenMenuData = function flattenMenuData(data) {
2456
+ var flattenMenuData = function flattenMenuData(data) {
2419
2457
  data.forEach(function (menuItem) {
2420
2458
  if (menuItem.children) {
2421
- _flattenMenuData(menuItem.children);
2459
+ flattenMenuData(menuItem.children);
2422
2460
  }
2423
2461
  // Reduce memory usage
2424
2462
  routerMap[menuItem.path] = menuItem;
2425
2463
  });
2426
2464
  };
2427
- _flattenMenuData(menuData);
2465
+ flattenMenuData(menuData);
2428
2466
  return routerMap;
2429
2467
  };
2430
2468
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2567,7 +2605,7 @@ var requestUtil = function requestUtil(_ref) {
2567
2605
  return request$1(url, parms).then(handleResponseData);
2568
2606
  };
2569
2607
  var handleResponseData = /*#__PURE__*/function () {
2570
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2608
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2571
2609
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2572
2610
  while (1) switch (_context.prev = _context.next) {
2573
2611
  case 0:
@@ -3245,7 +3283,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3245
3283
  style: {
3246
3284
  color: 'red'
3247
3285
  }
3248
- }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3286
+ }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3249
3287
  trigger: ['click'],
3250
3288
  overlay: this.menuList,
3251
3289
  placement: "bottomRight"
@@ -3920,7 +3958,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3920
3958
  placement: "bottomLeft"
3921
3959
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3922
3960
  title: /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement("span", null, "\u4F7F\u7528\u6307\u5357\uFF1A"), /*#__PURE__*/React$1.createElement("br", null), /*#__PURE__*/React$1.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$1.createElement("br", null), /*#__PURE__*/React$1.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$1.createElement("br", null), /*#__PURE__*/React$1.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"))
3923
- }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && (/*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3961
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null))), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3924
3962
  trigger: ['click'],
3925
3963
  overlay: this.menuList,
3926
3964
  placement: "bottomRight"
@@ -4092,14 +4130,16 @@ var makeUniqueValue = function makeUniqueValue() {
4092
4130
  return generateUnitKey;
4093
4131
  };
4094
4132
  // ------------------------------------------处理样式相关--开始----------------------------------------
4095
- var getFormRowInfo = function getFormRowInfo(list) {
4096
- var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
4097
- var lastRowColumns = (list.length + 1) % columnsPerRow; // 计算最后一行的实际列数
4098
- var emptySlots = lastRowColumns === 0 ? 0 : columnsPerRow - lastRowColumns; // 计算最后一行的空位数
4133
+ var getFormRowInfo = function getFormRowInfo(list, tableSearchColSpan) {
4134
+ var lastColumnsPerRow = tableSearchColSpan == 6 ? columnsPerRow : 3;
4135
+ var totalRows = Math.ceil(list.length / lastColumnsPerRow); // 计算总行数
4136
+ var lastRowColumns = (list.length + 1) % lastColumnsPerRow; // 计算最后一行的实际列数
4137
+ var emptySlots = lastRowColumns === 0 ? 0 : lastColumnsPerRow - lastRowColumns; // 计算最后一行的空位数
4099
4138
  var emptyArray = new Array(emptySlots).fill(null); // 生成长度为 emptySlots 的数组
4100
4139
  return {
4101
4140
  totalRows: totalRows,
4102
- emptyArray: emptyArray
4141
+ emptyArray: emptyArray,
4142
+ ColSpan: tableSearchColSpan !== null && tableSearchColSpan !== void 0 ? tableSearchColSpan : ColSpan
4103
4143
  };
4104
4144
  };
4105
4145
  var defaultVisibleFieldsCount = 7;
@@ -4439,7 +4479,7 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4439
4479
  destroyTooltipOnHide: true,
4440
4480
  placement: "topRight",
4441
4481
  autoAdjustOverflow: false,
4442
- title: (/*#__PURE__*/React$1.createElement("div", {
4482
+ title: ( /*#__PURE__*/React$1.createElement("div", {
4443
4483
  style: {
4444
4484
  margin: '6px 8px 0px'
4445
4485
  },
@@ -4741,10 +4781,10 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4741
4781
  setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
4742
4782
  });
4743
4783
  },
4744
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
4784
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
4745
4785
  size: "small",
4746
4786
  className: 'searchSelectSpin'
4747
- })) : (/*#__PURE__*/React$1.createElement("div", {
4787
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
4748
4788
  style: {
4749
4789
  textAlign: 'center'
4750
4790
  }
@@ -4976,7 +5016,7 @@ var PropertyGroup = function PropertyGroup(props) {
4976
5016
  title: item.name,
4977
5017
  className: "propertyGroup_checkbox_container"
4978
5018
  }, item.name));
4979
- }), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
5019
+ }), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
4980
5020
  style: {
4981
5021
  width: '50px',
4982
5022
  cursor: 'pointer',
@@ -4989,7 +5029,7 @@ var PropertyGroup = function PropertyGroup(props) {
4989
5029
  setShowNotCommon(!showNotCommon);
4990
5030
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
4991
5031
  }
4992
- }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
5032
+ }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
4993
5033
  };
4994
5034
  var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
4995
5035
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -5219,7 +5259,7 @@ var PropertySelector = function PropertySelector(_ref) {
5219
5259
  propertyData: item,
5220
5260
  handleProperyItemChange: handleProperyItemChange
5221
5261
  });
5222
- }))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5262
+ }))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5223
5263
  style: {
5224
5264
  width: '50px',
5225
5265
  cursor: 'pointer',
@@ -5229,7 +5269,54 @@ var PropertySelector = function PropertySelector(_ref) {
5229
5269
  onClick: function onClick() {
5230
5270
  return setShowNotCommon(!showNotCommon);
5231
5271
  }
5232
- }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5272
+ }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5273
+ };
5274
+
5275
+ var _excluded$4 = ["onChange", "value", "propertyCode", "name"];
5276
+ var ItemPropertySelector = function ItemPropertySelector(_ref) {
5277
+ var _onChange = _ref.onChange,
5278
+ value = _ref.value,
5279
+ propertyCode = _ref.propertyCode,
5280
+ name = _ref.name,
5281
+ restProps = _objectWithoutProperties(_ref, _excluded$4);
5282
+ var _useState = useState([]),
5283
+ _useState2 = _slicedToArray(_useState, 2),
5284
+ source = _useState2[0],
5285
+ setSource = _useState2[1];
5286
+ useEffect(function () {
5287
+ // FIXME: 目前只能通过固定属性编码先获取属性id,再通过属性id去查属性值 @林军
5288
+ if (propertyCode) {
5289
+ request$2({
5290
+ url: "/items/item/propertyValue/getPropertyValueNoPagerByCode?qp-propertyCode-eq=".concat(propertyCode, "&pageSize=5000"),
5291
+ method: 'GET',
5292
+ converter: function converter(_ref2) {
5293
+ var data = _ref2.data;
5294
+ var source = ((data === null || data === void 0 ? void 0 : data.items) || []).map(function (item) {
5295
+ return {
5296
+ text: item.value,
5297
+ value: item.value
5298
+ };
5299
+ });
5300
+ setSource(source);
5301
+ }
5302
+ });
5303
+ return;
5304
+ }
5305
+ }, [propertyCode]);
5306
+ return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, restProps), {}, {
5307
+ value: value,
5308
+ allowClear: true,
5309
+ style: {
5310
+ width: '100%'
5311
+ },
5312
+ onChange: function onChange(v) {
5313
+ _onChange(v);
5314
+ }
5315
+ }), source.map(function (res) {
5316
+ return /*#__PURE__*/React$1.createElement(Select.Option, {
5317
+ value: res.value
5318
+ }, res.text);
5319
+ }));
5233
5320
  };
5234
5321
 
5235
5322
  var Option$1 = Select.Option;
@@ -5926,15 +6013,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5926
6013
  return false;
5927
6014
  }
5928
6015
  };
5929
- var _getFormRowInfo = getFormRowInfo(list),
5930
- emptyArray = _getFormRowInfo.emptyArray;
6016
+ var _getFormRowInfo = getFormRowInfo(list, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan),
6017
+ emptyArray = _getFormRowInfo.emptyArray,
6018
+ ColSpan = _getFormRowInfo.ColSpan;
5931
6019
  var addKong = (emptyArray === null || emptyArray === void 0 ? void 0 : emptyArray.map(function (i) {
5932
6020
  return {
5933
6021
  type: 'kong'
5934
6022
  };
5935
6023
  })) || [];
5936
6024
  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) {
5937
- var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8, _i$field9;
6025
+ var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field10, _i$field11, _i$field12, _i$field14, _i$field15;
5938
6026
  if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
5939
6027
  span: ColSpan,
5940
6028
  key: i
@@ -5983,7 +6071,44 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5983
6071
  disabled: setDisabled(i.name)
5984
6072
  }))));
5985
6073
  }
5986
- 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') {
6074
+ 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') {
6075
+ var _i$initialValue, _i$field6;
6076
+ return /*#__PURE__*/React$1.createElement(Col, {
6077
+ span: ColSpan,
6078
+ key: i.name
6079
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
6080
+ name: i.name,
6081
+ label: i.label,
6082
+ key: i.name,
6083
+ initialValue: (_i$initialValue = i === null || i === void 0 ? void 0 : i.initialValue) !== null && _i$initialValue !== void 0 ? _i$initialValue : []
6084
+ }, /*#__PURE__*/React$1.createElement(DatePicker.RangePicker, _objectSpread2(_objectSpread2({
6085
+ style: {
6086
+ width: '100%'
6087
+ },
6088
+ placeholder: "\u8BF7\u9009\u62E9"
6089
+ }, i === null || i === void 0 ? void 0 : (_i$field6 = i.field) === null || _i$field6 === void 0 ? void 0 : _i$field6.props), {}, {
6090
+ disabled: setDisabled(i.name)
6091
+ }))));
6092
+ }
6093
+ 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') {
6094
+ var _i$field8;
6095
+ return /*#__PURE__*/React$1.createElement(Col, {
6096
+ span: ColSpan,
6097
+ key: i.name
6098
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
6099
+ name: i.name,
6100
+ label: i.label,
6101
+ key: i.name
6102
+ }, /*#__PURE__*/React$1.createElement(DatePicker, _objectSpread2(_objectSpread2({
6103
+ style: {
6104
+ width: '100%'
6105
+ },
6106
+ placeholder: "\u8BF7\u9009\u62E9"
6107
+ }, i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.props), {}, {
6108
+ disabled: setDisabled(i.name)
6109
+ }))));
6110
+ }
6111
+ 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') {
5987
6112
  return /*#__PURE__*/React$1.createElement(Col, {
5988
6113
  span: ColSpan,
5989
6114
  key: i.name
@@ -5995,7 +6120,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5995
6120
  disabled: setDisabled(i.name)
5996
6121
  }))));
5997
6122
  }
5998
- 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') {
6123
+ 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') {
5999
6124
  return /*#__PURE__*/React$1.createElement(Col, {
6000
6125
  span: ColSpan,
6001
6126
  key: i.name
@@ -6009,7 +6134,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6009
6134
  }
6010
6135
  })));
6011
6136
  }
6012
- if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
6137
+ if ((i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.type) === 'proppertySelector') {
6013
6138
  return /*#__PURE__*/React$1.createElement(Col, {
6014
6139
  span: ColSpan,
6015
6140
  key: i.name
@@ -6019,7 +6144,23 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6019
6144
  key: i.name
6020
6145
  }, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
6021
6146
  }
6022
- if ((i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.type) === 'multipleQuerySearchSelect') {
6147
+ 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') {
6148
+ var _i$field13;
6149
+ return /*#__PURE__*/React$1.createElement(Col, {
6150
+ span: ColSpan,
6151
+ key: i.name
6152
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
6153
+ name: i.name,
6154
+ label: i.label,
6155
+ key: i.name
6156
+ }, /*#__PURE__*/React$1.createElement(ItemPropertySelector, _objectSpread2({
6157
+ style: {
6158
+ width: '100%'
6159
+ },
6160
+ placeholder: "\u8BF7\u9009\u62E9"
6161
+ }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props))));
6162
+ }
6163
+ if ((i === null || i === void 0 ? void 0 : (_i$field14 = i.field) === null || _i$field14 === void 0 ? void 0 : _i$field14.type) === 'multipleQuerySearchSelect') {
6023
6164
  return /*#__PURE__*/React$1.createElement(Col, {
6024
6165
  span: ColSpan,
6025
6166
  key: i.name
@@ -6048,7 +6189,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6048
6189
  placeholder: "\u8BF7\u8F93\u5165",
6049
6190
  allowClear: true,
6050
6191
  maxLength: 100
6051
- }, i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.props), {}, {
6192
+ }, i === null || i === void 0 ? void 0 : (_i$field15 = i.field) === null || _i$field15 === void 0 ? void 0 : _i$field15.props), {}, {
6052
6193
  disabled: setDisabled(i.name)
6053
6194
  }))));
6054
6195
  });
@@ -6244,13 +6385,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6244
6385
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6245
6386
  return /*#__PURE__*/React$1.createElement("div", {
6246
6387
  className: 'search_select'
6247
- }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
6388
+ }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
6248
6389
  onClick: function onClick() {
6249
6390
  var _fieldComponent$props, _fieldComponent$props2;
6250
6391
  (_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);
6251
6392
  showModal();
6252
6393
  }
6253
- }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
6394
+ }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
6254
6395
  title: getShowStr({
6255
6396
  viewShowValueStr: viewShowValueStr,
6256
6397
  labelInValue: labelInValue,
@@ -6289,10 +6430,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6289
6430
  dropdownRender: function dropdownRender(menu) {
6290
6431
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
6291
6432
  },
6292
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
6433
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
6293
6434
  size: "small",
6294
6435
  className: 'searchSelectSpin'
6295
- })) : (/*#__PURE__*/React$1.createElement("div", {
6436
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
6296
6437
  style: {
6297
6438
  textAlign: 'center'
6298
6439
  }
@@ -6332,7 +6473,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6332
6473
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6333
6474
  filterTxt: searchValue
6334
6475
  }));
6335
- }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6476
+ }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6336
6477
  maskClosable: false,
6337
6478
  destroyOnClose: true,
6338
6479
  width: "calc(100% - 320px)",
@@ -6378,7 +6519,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6378
6519
  top: 0,
6379
6520
  right: 0
6380
6521
  }
6381
- }, hasMoreQueryFields(modalTableProps) && (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.isHorizontally) ? /*#__PURE__*/React$1.createElement("img", {
6522
+ }, hasMoreQueryFields(modalTableProps) ? /*#__PURE__*/React$1.createElement("img", {
6382
6523
  onClick: function onClick() {
6383
6524
  toggleCollapsed();
6384
6525
  },
@@ -6427,7 +6568,7 @@ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20enc
6427
6568
  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";
6428
6569
  styleInject(css_248z$9);
6429
6570
 
6430
- var _excluded$4 = ["className", "style"];
6571
+ var _excluded$5 = ["className", "style"];
6431
6572
  var Search = Input.Search;
6432
6573
  var DragHandle = SortableHandle(function () {
6433
6574
  return /*#__PURE__*/React$1.createElement("img", {
@@ -6779,7 +6920,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6779
6920
  _this.DraggableBodyRow = function (_ref2) {
6780
6921
  var className = _ref2.className,
6781
6922
  style = _ref2.style,
6782
- restProps = _objectWithoutProperties(_ref2, _excluded$4);
6923
+ restProps = _objectWithoutProperties(_ref2, _excluded$5);
6783
6924
  var sortDataSource = _this.state.sortDataSource;
6784
6925
  // function findIndex base on Table rowKey props and should always be a right array index
6785
6926
  var index = sortDataSource.findIndex(function (x) {
@@ -6929,7 +7070,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6929
7070
  style: {
6930
7071
  width: 525
6931
7072
  }
6932
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
7073
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
6933
7074
  checked: !dataSource.some(function (item) {
6934
7075
  if (item.hidden) return true;
6935
7076
  return false;
@@ -6967,13 +7108,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6967
7108
  _this2.onChange(e, item.title);
6968
7109
  }
6969
7110
  }, item.title);
6970
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
7111
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
6971
7112
  style: {
6972
7113
  width: '144px'
6973
7114
  }
6974
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
7115
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
6975
7116
  className: 'sort_table_column_all_empty'
6976
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
7117
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6977
7118
  className: 'sort_table_column_special'
6978
7119
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
6979
7120
  className: 'sort_table_column_all'
@@ -7162,7 +7303,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
7162
7303
  });
7163
7304
  };
7164
7305
  // 格式化树选择器数据源
7165
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7306
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7166
7307
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
7167
7308
  return {
7168
7309
  title: treeDataItem[resKeyValue[1]],
@@ -7172,7 +7313,7 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7172
7313
  isLeaf: !haveChildren,
7173
7314
  disabled: haveChildren,
7174
7315
  children: haveChildren ? treeDataItem.children.map(function (i) {
7175
- return _mapSearchTree(i, resKeyValue);
7316
+ return mapSearchTree(i, resKeyValue);
7176
7317
  }) : []
7177
7318
  };
7178
7319
  };
@@ -7181,7 +7322,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
7181
7322
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7182
7323
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7183
7324
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7184
- return _mapSearchTree(ites, resKeyValue);
7325
+ return mapSearchTree(ites, resKeyValue);
7185
7326
  }) || [];
7186
7327
  changeSearchForm[changePosition].field.props.treeData = formatData;
7187
7328
  };
@@ -7198,7 +7339,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
7198
7339
  });
7199
7340
  };
7200
7341
 
7201
- var _excluded$5 = ["onResize", "width"],
7342
+ var _excluded$6 = ["onResize", "width"],
7202
7343
  _excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
7203
7344
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
7204
7345
  return new Promise(function (resolve, reject) {
@@ -7218,7 +7359,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
7218
7359
  var ResizeableTitle = function ResizeableTitle(props) {
7219
7360
  var onResize = props.onResize,
7220
7361
  width = props.width,
7221
- restProps = _objectWithoutProperties(props, _excluded$5);
7362
+ restProps = _objectWithoutProperties(props, _excluded$6);
7222
7363
  if (!width) {
7223
7364
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
7224
7365
  }
@@ -7352,7 +7493,7 @@ var AddSelect = function AddSelect(props) {
7352
7493
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7353
7494
  // FIXME: 特殊业务逻辑
7354
7495
  var checkSelectChange = /*#__PURE__*/function () {
7355
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7496
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7356
7497
  var result;
7357
7498
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7358
7499
  while (1) switch (_context.prev = _context.next) {
@@ -7605,7 +7746,7 @@ var AddSelect = function AddSelect(props) {
7605
7746
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7606
7747
  value: text || null,
7607
7748
  onChange: function () {
7608
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7749
+ var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7609
7750
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7610
7751
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7611
7752
  while (1) switch (_context2.prev = _context2.next) {
@@ -8213,10 +8354,10 @@ var AddSelect = function AddSelect(props) {
8213
8354
  var newColumns = arr.map(function (col) {
8214
8355
  return _objectSpread2({}, col);
8215
8356
  });
8216
- var _handleIndex = function handleIndex(arr, indexArr) {
8357
+ var handleIndex = function handleIndex(arr, indexArr) {
8217
8358
  var i = indexArr.shift();
8218
8359
  if (indexArr.length > 0) {
8219
- _handleIndex(arr[i].children, indexArr);
8360
+ handleIndex(arr[i].children, indexArr);
8220
8361
  } else {
8221
8362
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8222
8363
  width: size.width
@@ -8224,7 +8365,7 @@ var AddSelect = function AddSelect(props) {
8224
8365
  handleAntdColumnsSpecialParams(arr[i]);
8225
8366
  }
8226
8367
  };
8227
- _handleIndex(newColumns, _toConsumableArray(index));
8368
+ handleIndex(newColumns, _toConsumableArray(index));
8228
8369
  callback(newColumns);
8229
8370
  };
8230
8371
  };
@@ -8234,13 +8375,13 @@ var AddSelect = function AddSelect(props) {
8234
8375
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
8235
8376
  setShowToChooseColumns(_toConsumableArray(newColumns));
8236
8377
  };
8237
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
8378
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
8238
8379
  arr.forEach(function (item, index) {
8239
8380
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8240
8381
  return i || i === 0;
8241
8382
  });
8242
8383
  if (noEmptyArray$1(item.children)) {
8243
- _handleColumns(item.children, indexArrInside);
8384
+ handleColumns(item.children, indexArrInside);
8244
8385
  } else {
8245
8386
  item.width = item.width || getItemDefaultWidth$2(item);
8246
8387
  item.onHeaderCell = function (column) {
@@ -8256,14 +8397,14 @@ var AddSelect = function AddSelect(props) {
8256
8397
  handleAntdColumnsSpecialParams(item);
8257
8398
  return _objectSpread2({}, item);
8258
8399
  });
8259
- _handleColumns(showToChooseCol, [], function (res) {
8400
+ handleColumns(showToChooseCol, [], function (res) {
8260
8401
  return setShowToChooseColumnsCallback(res);
8261
8402
  });
8262
8403
  var showSelectedCol = showColumns.map(function (item) {
8263
8404
  handleAntdColumnsSpecialParams(item);
8264
8405
  return _objectSpread2({}, item);
8265
8406
  });
8266
- _handleColumns(showSelectedCol, [], function (res) {
8407
+ handleColumns(showSelectedCol, [], function (res) {
8267
8408
  return setShowColumnsCallback(res);
8268
8409
  });
8269
8410
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8274,7 +8415,7 @@ var AddSelect = function AddSelect(props) {
8274
8415
  id: "add_select_div_".concat(uniqueValue)
8275
8416
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
8276
8417
  onClick: handleShowModal
8277
- }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
8418
+ }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
8278
8419
  width: '1200px',
8279
8420
  style: {
8280
8421
  top: 20
@@ -8450,7 +8591,7 @@ var AddSelect = function AddSelect(props) {
8450
8591
  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";
8451
8592
  styleInject(css_248z$a);
8452
8593
 
8453
- var _excluded$6 = ["onResize", "width"];
8594
+ var _excluded$7 = ["onResize", "width"];
8454
8595
  var _this = undefined;
8455
8596
  var InputElement = function InputElement(_ref) {
8456
8597
  var _record$packingUnitLi, _record$packingUnitLi2;
@@ -8948,7 +9089,7 @@ var InputElement = function InputElement(_ref) {
8948
9089
  var ResizeableTitle$1 = function ResizeableTitle(props) {
8949
9090
  var onResize = props.onResize,
8950
9091
  width = props.width,
8951
- restProps = _objectWithoutProperties(props, _excluded$6);
9092
+ restProps = _objectWithoutProperties(props, _excluded$7);
8952
9093
  if (!width) {
8953
9094
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
8954
9095
  }
@@ -9188,7 +9329,7 @@ var BillEntry = function BillEntry(_ref3) {
9188
9329
  });
9189
9330
  };
9190
9331
  var handleSubmit = /*#__PURE__*/function () {
9191
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9332
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9192
9333
  var canEntryObject, _canEntryObject$error, messageInfo;
9193
9334
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9194
9335
  while (1) switch (_context.prev = _context.next) {
@@ -9271,10 +9412,10 @@ var BillEntry = function BillEntry(_ref3) {
9271
9412
  var newColumns = arr.map(function (col) {
9272
9413
  return _objectSpread2({}, col);
9273
9414
  });
9274
- var _handleIndex = function handleIndex(arr, indexArr) {
9415
+ var handleIndex = function handleIndex(arr, indexArr) {
9275
9416
  var i = indexArr.shift();
9276
9417
  if (indexArr.length > 0) {
9277
- _handleIndex(arr[i].children, indexArr);
9418
+ handleIndex(arr[i].children, indexArr);
9278
9419
  } else {
9279
9420
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
9280
9421
  width: size.width
@@ -9282,17 +9423,17 @@ var BillEntry = function BillEntry(_ref3) {
9282
9423
  handleAntdColumnsSpecialParams(arr[i]);
9283
9424
  }
9284
9425
  };
9285
- _handleIndex(newColumns, _toConsumableArray(index));
9426
+ handleIndex(newColumns, _toConsumableArray(index));
9286
9427
  callback(newColumns);
9287
9428
  };
9288
9429
  };
9289
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
9430
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
9290
9431
  arr.forEach(function (item, index) {
9291
9432
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
9292
9433
  return i || i === 0;
9293
9434
  });
9294
9435
  if (noEmptyArray$1(item.children)) {
9295
- _handleColumns(item.children, indexArrInside);
9436
+ handleColumns(item.children, indexArrInside);
9296
9437
  } else {
9297
9438
  item.width = item.width || getItemDefaultWidth$2(item);
9298
9439
  item.onHeaderCell = function (column) {
@@ -9308,7 +9449,7 @@ var BillEntry = function BillEntry(_ref3) {
9308
9449
  handleAntdColumnsSpecialParams(item);
9309
9450
  return _objectSpread2({}, item);
9310
9451
  });
9311
- _handleColumns(showSelectedCol, [], function (res) {
9452
+ handleColumns(showSelectedCol, [], function (res) {
9312
9453
  return setShowColumnsCallback(res);
9313
9454
  });
9314
9455
  return /*#__PURE__*/React$1.createElement("div", {
@@ -9518,6 +9659,7 @@ var handleDefaultPrefixUrl = function handleDefaultPrefixUrl(type) {
9518
9659
  case 'spuCommodity':
9519
9660
  case 'skcCommodity':
9520
9661
  case 'brand':
9662
+ case 'spuCommodityWithProperty':
9521
9663
  result = '/items';
9522
9664
  break;
9523
9665
  case 'physicalWarehouse':
@@ -9623,7 +9765,7 @@ function commonFun(type, prefixUrl, parentProps) {
9623
9765
  });
9624
9766
  };
9625
9767
  // 格式化树选择器数据源
9626
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9768
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9627
9769
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9628
9770
  return {
9629
9771
  title: treeDataItem[resKeyValue[1]],
@@ -9633,7 +9775,7 @@ function commonFun(type, prefixUrl, parentProps) {
9633
9775
  isLeaf: !haveChildren,
9634
9776
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9635
9777
  children: haveChildren ? treeDataItem.children.map(function (i) {
9636
- return _mapSearchTree(i, resKeyValue, disabledJudge);
9778
+ return mapSearchTree(i, resKeyValue, disabledJudge);
9637
9779
  }) : []
9638
9780
  };
9639
9781
  };
@@ -9647,7 +9789,7 @@ function commonFun(type, prefixUrl, parentProps) {
9647
9789
  disabledJudge = false;
9648
9790
  }
9649
9791
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9650
- return _mapSearchTree(ites, resKeyValue, disabledJudge);
9792
+ return mapSearchTree(ites, resKeyValue, disabledJudge);
9651
9793
  }) || [];
9652
9794
  changeSearchForm[changePosition].field.props.treeData = formatData;
9653
9795
  };
@@ -10222,6 +10364,195 @@ function commonFun(type, prefixUrl, parentProps) {
10222
10364
  }]
10223
10365
  }, modalTableBusProps);
10224
10366
  }
10367
+ // 新库存商品选择器spu
10368
+ if (type === 'spuCommodityWithProperty') {
10369
+ selectProps = _objectSpread2({
10370
+ placeholder: '输入spu编码或名称',
10371
+ renderTableColumns: [{
10372
+ title: 'spu编码',
10373
+ dataIndex: 'itemCode'
10374
+ }, {
10375
+ title: 'spu名称',
10376
+ dataIndex: 'name'
10377
+ }]
10378
+ }, selectConfigProps);
10379
+ requestConfig = _objectSpread2({
10380
+ url: "/stock/item/doItemPageAll",
10381
+ method: 'POST',
10382
+ filter: 'qp-itemCode,name-orGroup,like',
10383
+ mappingTextField: 'name',
10384
+ mappingValueField: 'itemCode',
10385
+ otherParams: _objectSpread2({
10386
+ // 'qp-approveStatus-eq': 1, // 审核状态(0.待审批;1.审批通过;2.驳回;3.审批未通过)
10387
+ sorter: 'desc-id'
10388
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10389
+ sourceName: 'itemCode'
10390
+ }, requestConfigProp);
10391
+ tableSearchForm = [{
10392
+ name: 'qp-name-like',
10393
+ label: 'SPU名称'
10394
+ }, {
10395
+ name: 'qp-itemCode-like',
10396
+ label: 'SPU编码'
10397
+ }, {
10398
+ name: 'qp-brandId-in',
10399
+ type: 'select',
10400
+ label: '品牌',
10401
+ field: {
10402
+ type: 'select',
10403
+ props: {
10404
+ mode: 'multiple',
10405
+ notFoundContent: '暂无数据',
10406
+ allowClear: true,
10407
+ showSearch: true,
10408
+ showArrow: true,
10409
+ maxTagCount: 1,
10410
+ optionFilterProp: 'children',
10411
+ filterOption: function filterOption(input, option) {
10412
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10413
+ }
10414
+ }
10415
+ }
10416
+ }, {
10417
+ name: 'qp-categoryId-in',
10418
+ type: 'treeSelect',
10419
+ label: '类目',
10420
+ field: {
10421
+ type: 'treeSelect',
10422
+ props: {
10423
+ treeData: [],
10424
+ treeCheckable: true,
10425
+ showSearch: true,
10426
+ allowClear: true,
10427
+ showArrow: true,
10428
+ treeNodeFilterProp: 'title',
10429
+ treeDefaultExpandAll: true,
10430
+ maxTagCount: 1,
10431
+ placeholder: '请选择',
10432
+ style: {
10433
+ width: '100%'
10434
+ },
10435
+ dropdownStyle: {
10436
+ maxHeight: 400,
10437
+ maxWidth: 100,
10438
+ overflow: 'auto'
10439
+ }
10440
+ }
10441
+ }
10442
+ }, {
10443
+ name: 'qp-classId-in',
10444
+ type: 'select',
10445
+ label: '品类',
10446
+ field: {
10447
+ type: 'select',
10448
+ props: {
10449
+ mode: 'multiple',
10450
+ notFoundContent: '暂无数据',
10451
+ allowClear: true,
10452
+ showSearch: true,
10453
+ showArrow: true,
10454
+ maxTagCount: 1,
10455
+ optionFilterProp: 'children',
10456
+ filterOption: function filterOption(input, option) {
10457
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10458
+ }
10459
+ }
10460
+ }
10461
+ }, {
10462
+ name: 'qp-year-in',
10463
+ label: '年份',
10464
+ field: {
10465
+ type: 'itemPropertySelector',
10466
+ props: {
10467
+ propertyCode: 'SX0000114',
10468
+ mode: 'multiple'
10469
+ }
10470
+ }
10471
+ }, {
10472
+ name: 'qp-season-in',
10473
+ label: '季节',
10474
+ field: {
10475
+ type: 'itemPropertySelector',
10476
+ props: {
10477
+ propertyCode: 'SX0000070',
10478
+ mode: 'multiple'
10479
+ }
10480
+ }
10481
+ }, {
10482
+ name: 'qp-zzdlbm-in',
10483
+ label: '大类',
10484
+ field: {
10485
+ type: 'itemPropertySelector',
10486
+ props: {
10487
+ propertyCode: 'SX0000071',
10488
+ mode: 'multiple'
10489
+ }
10490
+ }
10491
+ }, {
10492
+ name: 'qp-zzzlbm-in',
10493
+ label: '中类',
10494
+ field: {
10495
+ type: 'itemPropertySelector',
10496
+ props: {
10497
+ propertyCode: 'SX0000072',
10498
+ mode: 'multiple'
10499
+ }
10500
+ }
10501
+ }, {
10502
+ name: 'qp-zzxlbm-in',
10503
+ label: '小类',
10504
+ field: {
10505
+ type: 'itemPropertySelector',
10506
+ props: {
10507
+ propertyCode: 'SX0000110',
10508
+ mode: 'multiple'
10509
+ }
10510
+ }
10511
+ }];
10512
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
10513
+ pageSize: 5000,
10514
+ currentPage: 1,
10515
+ 'ctl-withAuth': true
10516
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
10517
+ pageSize: 5000,
10518
+ currentPage: 1
10519
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/class/withProperty"), {
10520
+ pageSize: 5000,
10521
+ currentPage: 1
10522
+ })]).then(function (x) {
10523
+ formatSource(x, 0, 2, tableSearchForm, ['id', 'name']);
10524
+ formatTreeDataSource(x, 1, 3, tableSearchForm);
10525
+ formatSource(x, 2, 4, tableSearchForm, ['id', 'name']);
10526
+ });
10527
+ modalTableProps = _objectSpread2({
10528
+ modalTableTitle: '选择SPU',
10529
+ tableSearchForm: tableSearchForm,
10530
+ tableColumns: [{
10531
+ title: '序号',
10532
+ dataIndex: 'keyIndex',
10533
+ defaultSort: 0
10534
+ }, {
10535
+ title: 'SPU编码',
10536
+ dataIndex: 'itemCode',
10537
+ defaultSort: 1
10538
+ }, {
10539
+ title: 'SPU名称',
10540
+ dataIndex: 'name',
10541
+ defaultSort: 2
10542
+ }, {
10543
+ title: '品牌',
10544
+ dataIndex: 'brandName',
10545
+ defaultSort: 3
10546
+ }, {
10547
+ title: '类目',
10548
+ dataIndex: 'categoryText',
10549
+ defaultSort: 4
10550
+ }, {
10551
+ title: '品类',
10552
+ dataIndex: 'className'
10553
+ }]
10554
+ }, modalTableBusProps);
10555
+ }
10225
10556
  // 商品选择器skc
10226
10557
  if (type === 'skcCommodity') {
10227
10558
  selectProps = _objectSpread2({
@@ -13759,7 +14090,7 @@ var CommodityEntry = function CommodityEntry(props) {
13759
14090
  };
13760
14091
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
13761
14092
  onClick: handleShowModal
13762
- }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
14093
+ }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13763
14094
  onOk: handleOk,
13764
14095
  onCancel: handleCancel,
13765
14096
  destroyOnClose: true,
@@ -13823,7 +14154,7 @@ function getStorageVale(storageKeyString) {
13823
14154
  return "";
13824
14155
  }
13825
14156
 
13826
- 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"];
14157
+ 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"];
13827
14158
  var TreeSearchSelect = function TreeSearchSelect(props) {
13828
14159
  var _useState = useState([]),
13829
14160
  _useState2 = _slicedToArray(_useState, 2),
@@ -13865,7 +14196,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13865
14196
  } : _props$style,
13866
14197
  getTreeData = props.getTreeData,
13867
14198
  disabled = props.disabled,
13868
- restProps = _objectWithoutProperties(props, _excluded$7);
14199
+ restProps = _objectWithoutProperties(props, _excluded$8);
13869
14200
  var url = remoteSource.url,
13870
14201
  headers = remoteSource.headers,
13871
14202
  _remoteSource$paramsK = remoteSource.paramsKey,
@@ -13878,7 +14209,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13878
14209
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
13879
14210
  _remoteSource$special = remoteSource.specialBracket,
13880
14211
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
13881
- var _mapSearchTree = function mapSearchTree(treeDataItem) {
14212
+ var mapSearchTree = function mapSearchTree(treeDataItem) {
13882
14213
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
13883
14214
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
13884
14215
  return {
@@ -13890,7 +14221,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13890
14221
  isLeaf: !haveChildren,
13891
14222
  disabled: isDisabled(haveChildren, isRoot),
13892
14223
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
13893
- return _mapSearchTree(i);
14224
+ return mapSearchTree(i);
13894
14225
  }) : []
13895
14226
  };
13896
14227
  };
@@ -13908,8 +14239,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13908
14239
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13909
14240
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
13910
14241
  headers: headers
13911
- }).then(/*#__PURE__*/function () {
13912
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
14242
+ }).then( /*#__PURE__*/function () {
14243
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13913
14244
  var _ctx$form;
13914
14245
  var resData, coverData, data, dataList;
13915
14246
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13936,7 +14267,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13936
14267
  case 9:
13937
14268
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13938
14269
  coverData = dataList.length && dataList.map(function (ites) {
13939
- return _mapSearchTree(ites);
14270
+ return mapSearchTree(ites);
13940
14271
  }) || [];
13941
14272
  case 11:
13942
14273
  _context.next = 14;
@@ -13974,11 +14305,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13974
14305
  return _formatResult;
13975
14306
  }
13976
14307
  };
13977
- var _parallelData = function parallelData(data, result) {
14308
+ var parallelData = function parallelData(data, result) {
13978
14309
  data.forEach(function (i) {
13979
14310
  result.push(i);
13980
14311
  if (i[treeChildrenRoom]) {
13981
- _parallelData(i[treeChildrenRoom], result);
14312
+ parallelData(i[treeChildrenRoom], result);
13982
14313
  }
13983
14314
  });
13984
14315
  return result;
@@ -14018,7 +14349,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14018
14349
  var _ctx$form2;
14019
14350
  var handleData = formatData(data);
14020
14351
  // 获取选中树节点当条数据,并返回给调用业务
14021
- var parallelTreeData = _parallelData(treeData, []);
14352
+ var parallelTreeData = parallelData(treeData, []);
14022
14353
  var currentItem = getSelectItem(parallelTreeData, data);
14023
14354
  onChange(handleData, data, currentItem, parallelTreeData);
14024
14355
  onChangeName && onChangeName(dataName);
@@ -14061,7 +14392,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14061
14392
  var getShowStr = function getShowStr() {
14062
14393
  var isMultiple = multiple || treeCheckable;
14063
14394
  var kongValue = '无';
14064
- var parallelTreeData = _parallelData(treeData, []);
14395
+ var parallelTreeData = parallelData(treeData, []);
14065
14396
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
14066
14397
  if (isMultiple) {
14067
14398
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -14073,7 +14404,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14073
14404
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
14074
14405
  return /*#__PURE__*/React$1.createElement("div", {
14075
14406
  className: 'tree_search_select'
14076
- }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
14407
+ }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
14077
14408
  title: getShowStr(),
14078
14409
  style: {
14079
14410
  overflow: 'hidden',
@@ -14081,7 +14412,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14081
14412
  whiteSpace: 'nowrap'
14082
14413
  },
14083
14414
  className: 'search_select_show'
14084
- }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14415
+ }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14085
14416
  treeCheckable: treeCheckable,
14086
14417
  maxTagCount: maxTagCount,
14087
14418
  showSearch: showSearch,
@@ -14278,7 +14609,7 @@ var index$2 = (function (props) {
14278
14609
  } : {}
14279
14610
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
14280
14611
  className: 'status-label-operate'
14281
- }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
14612
+ }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
14282
14613
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
14283
14614
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
14284
14615
  style: {
@@ -14291,7 +14622,7 @@ var index$2 = (function (props) {
14291
14622
  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";
14292
14623
  styleInject(css_248z$c);
14293
14624
 
14294
- var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
14625
+ var _excluded$9 = ["children", "titleExtra", "title", "extra", "bordered"],
14295
14626
  _excluded2$3 = ["children"];
14296
14627
  var Field = function Field(_ref) {
14297
14628
  var children = _ref.children,
@@ -14299,7 +14630,7 @@ var Field = function Field(_ref) {
14299
14630
  title = _ref.title,
14300
14631
  extra = _ref.extra,
14301
14632
  bordered = _ref.bordered,
14302
- props = _objectWithoutProperties(_ref, _excluded$8);
14633
+ props = _objectWithoutProperties(_ref, _excluded$9);
14303
14634
  var _React$useState = React$1.useState(true),
14304
14635
  _React$useState2 = _slicedToArray(_React$useState, 2),
14305
14636
  fieldGroupVisible = _React$useState2[0],
@@ -14426,7 +14757,7 @@ var ExportIcon = function ExportIcon(_ref) {
14426
14757
  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";
14427
14758
  styleInject(css_248z$d);
14428
14759
 
14429
- var _excluded$9 = ["className", "style"];
14760
+ var _excluded$a = ["className", "style"];
14430
14761
  var Search$1 = Input.Search;
14431
14762
  var DragHandle$1 = SortableHandle(function () {
14432
14763
  return /*#__PURE__*/React$1.createElement("img", {
@@ -14844,7 +15175,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14844
15175
  _this.DraggableBodyRow = function (_ref2) {
14845
15176
  var className = _ref2.className,
14846
15177
  style = _ref2.style,
14847
- restProps = _objectWithoutProperties(_ref2, _excluded$9);
15178
+ restProps = _objectWithoutProperties(_ref2, _excluded$a);
14848
15179
  var sortDataSource = _this.state.sortDataSource;
14849
15180
  // function findIndex base on Table rowKey props and should always be a right array index
14850
15181
  var index = sortDataSource.findIndex(function (x) {
@@ -15059,7 +15390,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15059
15390
  style: {
15060
15391
  width: 525
15061
15392
  }
15062
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15393
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15063
15394
  checked: !dataSource.some(function (item) {
15064
15395
  if (item.hidden) return true;
15065
15396
  return false;
@@ -15097,13 +15428,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15097
15428
  _this2.onChange(e, item.title);
15098
15429
  }
15099
15430
  }, item.title);
15100
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15431
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15101
15432
  style: {
15102
15433
  width: '144px'
15103
15434
  }
15104
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15435
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15105
15436
  className: 'sort_table_column_all_empty'
15106
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15437
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15107
15438
  className: 'sort_table_column_special'
15108
15439
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15109
15440
  className: 'sort_table_column_all'
@@ -15198,7 +15529,7 @@ var TableSumComponent = (function (_ref) {
15198
15529
  }));
15199
15530
  });
15200
15531
 
15201
- var _excluded$a = ["onResize", "width"],
15532
+ var _excluded$b = ["onResize", "width"],
15202
15533
  _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15203
15534
  var Text = Typography.Text;
15204
15535
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
@@ -15282,10 +15613,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15282
15613
  var newColumns = _this.state.showColumns.map(function (col) {
15283
15614
  return _objectSpread2({}, col);
15284
15615
  });
15285
- var _handleIndex = function handleIndex(arr, indexArr) {
15616
+ var handleIndex = function handleIndex(arr, indexArr) {
15286
15617
  var i = indexArr.shift();
15287
15618
  if (indexArr.length > 0) {
15288
- _handleIndex(arr[i].children, indexArr);
15619
+ handleIndex(arr[i].children, indexArr);
15289
15620
  } else {
15290
15621
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15291
15622
  width: size.width
@@ -15293,7 +15624,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15293
15624
  handleBssulaColumnsSpecialParams(arr[i]);
15294
15625
  }
15295
15626
  };
15296
- _handleIndex(newColumns, _toConsumableArray(index));
15627
+ handleIndex(newColumns, _toConsumableArray(index));
15297
15628
  _this.setState({
15298
15629
  showColumns: _toConsumableArray(newColumns)
15299
15630
  });
@@ -15302,7 +15633,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15302
15633
  _this.ResizeableTitle = function (props) {
15303
15634
  var onResize = props.onResize,
15304
15635
  width = props.width,
15305
- restProps = _objectWithoutProperties(props, _excluded$a);
15636
+ restProps = _objectWithoutProperties(props, _excluded$b);
15306
15637
  var _useState = useState(width),
15307
15638
  _useState2 = _slicedToArray(_useState, 2),
15308
15639
  innerWidth = _useState2[0],
@@ -15334,7 +15665,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15334
15665
  };
15335
15666
  setIsResizing(true);
15336
15667
  document.addEventListener('mousemove', handleMouseMove);
15337
- document.addEventListener('mouseup', _handleMouseUp);
15668
+ document.addEventListener('mouseup', handleMouseUp);
15338
15669
  };
15339
15670
  var handleMouseMove = function handleMouseMove(e) {
15340
15671
  e.stopPropagation();
@@ -15350,9 +15681,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15350
15681
  dom.style.top = "".concat(e.clientY - 20, "px");
15351
15682
  }
15352
15683
  };
15353
- var _handleMouseUp = function handleMouseUp(e) {
15684
+ var handleMouseUp = function handleMouseUp(e) {
15354
15685
  document.removeEventListener('mousemove', handleMouseMove);
15355
- document.removeEventListener('mouseup', _handleMouseUp);
15686
+ document.removeEventListener('mouseup', handleMouseUp);
15356
15687
  setIsResizing(false);
15357
15688
  };
15358
15689
  var handleresize = function handleresize(e, data, title) {
@@ -15473,13 +15804,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15473
15804
  showSummary = summary;
15474
15805
  }
15475
15806
  }
15476
- var _handleColumns = function handleColumns(arr, indexArr) {
15807
+ var handleColumns = function handleColumns(arr, indexArr) {
15477
15808
  arr.forEach(function (item, index) {
15478
15809
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15479
15810
  return i || i === 0;
15480
15811
  });
15481
15812
  if (noEmptyArray$1(item.children)) {
15482
- _handleColumns(item.children, indexArrInside);
15813
+ handleColumns(item.children, indexArrInside);
15483
15814
  } else {
15484
15815
  item.width = item.width || getItemDefaultWidth$2(item);
15485
15816
  item.onHeaderCell = function (column) {
@@ -15495,7 +15826,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15495
15826
  handleBssulaColumnsSpecialParams(item);
15496
15827
  return _objectSpread2({}, item);
15497
15828
  });
15498
- _handleColumns(showCol, []);
15829
+ handleColumns(showCol, []);
15499
15830
  if (dynamicColumns.length) {
15500
15831
  showCol = this.handledynamicColumns(showCol);
15501
15832
  }
@@ -15536,14 +15867,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15536
15867
  cell: this.ResizeableTitle
15537
15868
  }
15538
15869
  }
15539
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15870
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15540
15871
  summary: summary
15541
15872
  })));
15542
15873
  }
15543
15874
  }]);
15544
15875
  }(React$1.Component);
15545
15876
 
15546
- var _excluded$b = ["onResize", "width"],
15877
+ var _excluded$c = ["onResize", "width"],
15547
15878
  _excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15548
15879
  var Text$1 = Typography.Text;
15549
15880
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
@@ -15633,10 +15964,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15633
15964
  var newColumns = _this.state.showColumns.map(function (col) {
15634
15965
  return _objectSpread2({}, col);
15635
15966
  });
15636
- var _handleIndex = function handleIndex(arr, indexArr) {
15967
+ var handleIndex = function handleIndex(arr, indexArr) {
15637
15968
  var i = indexArr.shift();
15638
15969
  if (indexArr.length > 0) {
15639
- _handleIndex(arr[i].children, indexArr);
15970
+ handleIndex(arr[i].children, indexArr);
15640
15971
  } else {
15641
15972
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15642
15973
  width: size.width
@@ -15644,7 +15975,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15644
15975
  handleAntdColumnsSpecialParams(arr[i]);
15645
15976
  }
15646
15977
  };
15647
- _handleIndex(newColumns, _toConsumableArray(index));
15978
+ handleIndex(newColumns, _toConsumableArray(index));
15648
15979
  _this.setState({
15649
15980
  showColumns: _toConsumableArray(newColumns)
15650
15981
  });
@@ -15653,7 +15984,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15653
15984
  _this.ResizeableTitle = function (props) {
15654
15985
  var onResize = props.onResize,
15655
15986
  width = props.width,
15656
- restProps = _objectWithoutProperties(props, _excluded$b);
15987
+ restProps = _objectWithoutProperties(props, _excluded$c);
15657
15988
  if (!width) {
15658
15989
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
15659
15990
  }
@@ -15720,13 +16051,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15720
16051
  showSummary = summary;
15721
16052
  }
15722
16053
  }
15723
- var _handleColumns = function handleColumns(arr, indexArr) {
16054
+ var handleColumns = function handleColumns(arr, indexArr) {
15724
16055
  arr.forEach(function (item, index) {
15725
16056
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15726
16057
  return i || i === 0;
15727
16058
  });
15728
16059
  if (noEmptyArray$1(item.children)) {
15729
- _handleColumns(item.children, indexArrInside);
16060
+ handleColumns(item.children, indexArrInside);
15730
16061
  } else {
15731
16062
  item.width = item.width || getItemDefaultWidth$2(item);
15732
16063
  item.onHeaderCell = function (column) {
@@ -15742,7 +16073,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15742
16073
  handleAntdColumnsSpecialParams(item);
15743
16074
  return _objectSpread2({}, item);
15744
16075
  });
15745
- _handleColumns(showCol, []);
16076
+ handleColumns(showCol, []);
15746
16077
  if (dynamicColumns.length) {
15747
16078
  showCol = this.handledynamicColumns(showCol);
15748
16079
  }
@@ -15782,7 +16113,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15782
16113
  cell: this.ResizeableTitle
15783
16114
  }
15784
16115
  }
15785
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
16116
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15786
16117
  summary: summary
15787
16118
  })));
15788
16119
  }
@@ -15842,20 +16173,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
15842
16173
  };
15843
16174
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
15844
16175
  var routerMap = {};
15845
- var _flattenMenuData2 = function flattenMenuData(data, parent) {
16176
+ var flattenMenuData = function flattenMenuData(data, parent) {
15846
16177
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
15847
16178
  data.forEach(function (menuItem) {
15848
16179
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
15849
16180
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
15850
16181
  });
15851
16182
  if (newMenuItem.children) {
15852
- _flattenMenuData2(newMenuItem.children, newMenuItem);
16183
+ flattenMenuData(newMenuItem.children, newMenuItem);
15853
16184
  }
15854
16185
  // Reduce memory usage
15855
16186
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
15856
16187
  });
15857
16188
  };
15858
- _flattenMenuData2(menuData, {});
16189
+ flattenMenuData(menuData, {});
15859
16190
  return routerMap;
15860
16191
  };
15861
16192
  // mode类型判断
@@ -15934,12 +16265,12 @@ var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D
15934
16265
  var css_248z$g = "";
15935
16266
  styleInject(css_248z$g);
15936
16267
 
15937
- var _excluded$c = ["message", "type"];
16268
+ var _excluded$d = ["message", "type"];
15938
16269
  var CommonAlert = (function (props) {
15939
16270
  var message = props.message,
15940
16271
  _props$type = props.type,
15941
16272
  type = _props$type === void 0 ? 'info' : _props$type,
15942
- reset = _objectWithoutProperties(props, _excluded$c);
16273
+ reset = _objectWithoutProperties(props, _excluded$d);
15943
16274
  return /*#__PURE__*/React$1.createElement("div", {
15944
16275
  style: {
15945
16276
  width: '100%',
@@ -15960,7 +16291,7 @@ var CommonAlert = (function (props) {
15960
16291
  }, reset)));
15961
16292
  });
15962
16293
 
15963
- var _excluded$d = ["children"];
16294
+ var _excluded$e = ["children"];
15964
16295
  var iconMap = {
15965
16296
  edit: /*#__PURE__*/React$1.createElement("img", {
15966
16297
  src: editIcon
@@ -15982,7 +16313,7 @@ var index$3 = (function (props) {
15982
16313
  _useState2 = _slicedToArray(_useState, 1),
15983
16314
  id = _useState2[0];
15984
16315
  var children = props.children,
15985
- restProps = _objectWithoutProperties(props, _excluded$d);
16316
+ restProps = _objectWithoutProperties(props, _excluded$e);
15986
16317
  return /*#__PURE__*/React$1.createElement("div", {
15987
16318
  id: id,
15988
16319
  className: 'detail_page_wrapper'
@@ -16181,7 +16512,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16181
16512
  display: 'flex',
16182
16513
  gap: '8px'
16183
16514
  }
16184
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
16515
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
16185
16516
  title: "\u53D6\u6D88\u5168\u5C4F"
16186
16517
  }, /*#__PURE__*/React$1.createElement("img", {
16187
16518
  onClick: function onClick() {
@@ -16189,7 +16520,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16189
16520
  },
16190
16521
  width: 24,
16191
16522
  src: scanning
16192
- }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
16523
+ }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
16193
16524
  title: "\u5168\u5C4F"
16194
16525
  }, /*#__PURE__*/React$1.createElement("img", {
16195
16526
  onClick: function onClick() {
@@ -16197,7 +16528,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16197
16528
  },
16198
16529
  width: 24,
16199
16530
  src: quanping
16200
- }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16531
+ }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16201
16532
  }, function (prevProps, nextProps) {
16202
16533
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
16203
16534
  return false;
@@ -16208,7 +16539,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16208
16539
  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";
16209
16540
  styleInject(css_248z$h);
16210
16541
 
16211
- var _excluded$e = ["children"];
16542
+ var _excluded$f = ["children"];
16212
16543
  var index$4 = (function (props) {
16213
16544
  var _useLocation = useLocation(),
16214
16545
  pathname = _useLocation.pathname;
@@ -16216,7 +16547,7 @@ var index$4 = (function (props) {
16216
16547
  _useState2 = _slicedToArray(_useState, 1),
16217
16548
  id = _useState2[0];
16218
16549
  var children = props.children,
16219
- restProps = _objectWithoutProperties(props, _excluded$e);
16550
+ restProps = _objectWithoutProperties(props, _excluded$f);
16220
16551
  return /*#__PURE__*/React$1.createElement("div", {
16221
16552
  id: id,
16222
16553
  className: 'home_page_wrapper'
@@ -16282,7 +16613,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16282
16613
  }, /*#__PURE__*/React$1.createElement("span", {
16283
16614
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
16284
16615
  }, item));
16285
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16616
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16286
16617
  }, function (prevProps, nextProps) {
16287
16618
  if (prevProps.title !== nextProps.title) {
16288
16619
  return false;
@@ -16293,7 +16624,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16293
16624
  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";
16294
16625
  styleInject(css_248z$i);
16295
16626
 
16296
- var _excluded$f = ["className", "style"];
16627
+ var _excluded$g = ["className", "style"];
16297
16628
  var DragHandle$2 = SortableHandle(function () {
16298
16629
  return /*#__PURE__*/React$1.createElement("img", {
16299
16630
  width: 25,
@@ -16731,7 +17062,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16731
17062
  _this.DraggableBodyRow = function (_ref2) {
16732
17063
  var className = _ref2.className,
16733
17064
  style = _ref2.style,
16734
- restProps = _objectWithoutProperties(_ref2, _excluded$f);
17065
+ restProps = _objectWithoutProperties(_ref2, _excluded$g);
16735
17066
  var sortDataSource = _this.state.sortDataSource;
16736
17067
  // function findIndex base on Table rowKey props and should always be a right array index
16737
17068
  var index = sortDataSource.findIndex(function (x) {
@@ -16922,7 +17253,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16922
17253
  });
16923
17254
  return /*#__PURE__*/React$1.createElement("div", {
16924
17255
  className: 'sort_table_wrapper'
16925
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17256
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16926
17257
  title: "\u5C55\u793A\u5217\u8BBE\u7F6E",
16927
17258
  wrapClassName: 'sort_table_wrapper',
16928
17259
  width: 810,
@@ -16973,7 +17304,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16973
17304
  width: 525,
16974
17305
  height: 24
16975
17306
  }
16976
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17307
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16977
17308
  checked: !dataSource.some(function (item) {
16978
17309
  if (item.hidden) return true;
16979
17310
  return false;
@@ -17027,13 +17358,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17027
17358
  _this2.onChange(e, item.title);
17028
17359
  }
17029
17360
  }, item.title);
17030
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
17361
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17031
17362
  style: {
17032
17363
  width: '144px'
17033
17364
  }
17034
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
17365
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17035
17366
  className: 'sort_table_column_all_empty'
17036
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17367
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17037
17368
  className: 'sort_table_column_special'
17038
17369
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
17039
17370
  className: 'sort_table_column_all'
@@ -17101,7 +17432,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17101
17432
  }]);
17102
17433
  }(React$1.Component);
17103
17434
 
17104
- var _excluded$g = ["className", "style"];
17435
+ var _excluded$h = ["className", "style"];
17105
17436
  var DragHandle$3 = SortableHandle(function () {
17106
17437
  return /*#__PURE__*/React$1.createElement("img", {
17107
17438
  width: 25,
@@ -17354,7 +17685,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17354
17685
  _this.DraggableBodyRow = function (_ref2) {
17355
17686
  var className = _ref2.className,
17356
17687
  style = _ref2.style,
17357
- restProps = _objectWithoutProperties(_ref2, _excluded$g);
17688
+ restProps = _objectWithoutProperties(_ref2, _excluded$h);
17358
17689
  var sortDataSource = _this.state.sortDataSource;
17359
17690
  var index = sortDataSource.findIndex(function (x) {
17360
17691
  return x.name === restProps['data-row-key'];
@@ -17507,7 +17838,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17507
17838
  });
17508
17839
  return /*#__PURE__*/React$1.createElement("div", {
17509
17840
  className: 'sort_table_wrapper'
17510
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17841
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17511
17842
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17512
17843
  wrapClassName: 'sort_table_wrapper',
17513
17844
  width: 820,
@@ -17552,7 +17883,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17552
17883
  style: {
17553
17884
  width: 525
17554
17885
  }
17555
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17886
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17556
17887
  checked: !dataSource.some(function (item) {
17557
17888
  if (item.hidden) return true;
17558
17889
  return false;
@@ -17588,11 +17919,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17588
17919
  _this2.onChange(e, item.name);
17589
17920
  }
17590
17921
  }, item.label);
17591
- }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
17922
+ }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17592
17923
  style: {
17593
17924
  width: '144px'
17594
17925
  }
17595
- })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
17926
+ })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17596
17927
  className: 'sort_table_column_all_empty'
17597
17928
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
17598
17929
  className: 'sort_table_content_wrapper'
@@ -17653,13 +17984,13 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17653
17984
  var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
17654
17985
  styleInject(css_248z$j);
17655
17986
 
17656
- var _excluded$h = ["onResize", "width"];
17987
+ var _excluded$i = ["onResize", "width"];
17657
17988
  var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
17658
17989
  var Text$2 = Typography.Text;
17659
17990
  var ResizeableTitle$2 = function ResizeableTitle(props) {
17660
17991
  var onResize = props.onResize,
17661
17992
  width = props.width,
17662
- restProps = _objectWithoutProperties(props, _excluded$h);
17993
+ restProps = _objectWithoutProperties(props, _excluded$i);
17663
17994
  var _useState = useState(width),
17664
17995
  _useState2 = _slicedToArray(_useState, 2),
17665
17996
  innerWidth = _useState2[0],
@@ -17691,7 +18022,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17691
18022
  };
17692
18023
  setIsResizing(true);
17693
18024
  document.addEventListener('mousemove', handleMouseMove);
17694
- document.addEventListener('mouseup', _handleMouseUp);
18025
+ document.addEventListener('mouseup', handleMouseUp);
17695
18026
  };
17696
18027
  var handleMouseMove = function handleMouseMove(e) {
17697
18028
  e.stopPropagation();
@@ -17707,9 +18038,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17707
18038
  dom.style.top = "".concat(e.clientY - 20, "px");
17708
18039
  }
17709
18040
  };
17710
- var _handleMouseUp = function handleMouseUp(e) {
18041
+ var handleMouseUp = function handleMouseUp(e) {
17711
18042
  document.removeEventListener('mousemove', handleMouseMove);
17712
- document.removeEventListener('mouseup', _handleMouseUp);
18043
+ document.removeEventListener('mouseup', handleMouseUp);
17713
18044
  setIsResizing(false);
17714
18045
  };
17715
18046
  var handleresize = function handleresize(e, data, title) {
@@ -18120,7 +18451,7 @@ var BsSulaQueryTable = (function (props) {
18120
18451
  actionsRender = actionsRender.concat([{
18121
18452
  type: 'text',
18122
18453
  props: {
18123
- children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
18454
+ children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
18124
18455
  request: {
18125
18456
  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),
18126
18457
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18366,7 +18697,7 @@ var BsSulaQueryTable = (function (props) {
18366
18697
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18367
18698
  bsTableCode: bsTableCode,
18368
18699
  onlyModal: true
18369
- }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React$1.createElement(SortableTable$1, {
18700
+ }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && ( /*#__PURE__*/React$1.createElement(SortableTable$1, {
18370
18701
  ref: exportTableRef,
18371
18702
  setShowColumns: setShowExportColumns,
18372
18703
  setInitialTableInfo: setInitialTableInfo,
@@ -18459,11 +18790,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18459
18790
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18460
18791
  var resultList = [];
18461
18792
  var newRouter = cloneDeep(router);
18462
- var _deep = function deep(router) {
18793
+ var deep = function deep(router) {
18463
18794
  if (router && Array.isArray(router)) {
18464
18795
  router.forEach(function (item) {
18465
18796
  if (item.children && Array.isArray(item.children)) {
18466
- _deep(item.children);
18797
+ deep(item.children);
18467
18798
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18468
18799
  return d === item.code;
18469
18800
  })) {
@@ -18477,10 +18808,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18477
18808
  resultList.push(_objectSpread2({}, router));
18478
18809
  }
18479
18810
  };
18480
- _deep(newRouter);
18811
+ deep(newRouter);
18481
18812
  callBack([].concat(resultList));
18482
18813
  };
18483
- var _setMenuTreeData = function setMenuTreeData(routesData) {
18814
+ var setMenuTreeData = function setMenuTreeData(routesData) {
18484
18815
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18485
18816
  var _loop = function _loop(i) {
18486
18817
  if (routesData[i].hideInMenu) {
@@ -18494,7 +18825,7 @@ var _setMenuTreeData = function setMenuTreeData(routesData) {
18494
18825
  return 0; // continue
18495
18826
  }
18496
18827
  if (routesData[i].children) {
18497
- _setMenuTreeData(routesData[i].children);
18828
+ setMenuTreeData(routesData[i].children);
18498
18829
  }
18499
18830
  },
18500
18831
  _ret;
@@ -18515,16 +18846,16 @@ var setLoginOutPath = function setLoginOutPath() {
18515
18846
  };
18516
18847
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18517
18848
  var routerMap = {};
18518
- var _flattenMenuData = function flattenMenuData(data) {
18849
+ var flattenMenuData = function flattenMenuData(data) {
18519
18850
  data.forEach(function (menuItem) {
18520
18851
  if (menuItem.children) {
18521
- _flattenMenuData(menuItem.children);
18852
+ flattenMenuData(menuItem.children);
18522
18853
  }
18523
18854
  // Reduce memory usage
18524
18855
  routerMap[menuItem.path] = menuItem;
18525
18856
  });
18526
18857
  };
18527
- _flattenMenuData(menuData);
18858
+ flattenMenuData(menuData);
18528
18859
  return routerMap;
18529
18860
  };
18530
18861
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -18670,7 +19001,7 @@ var DrawContent = function DrawContent(_ref) {
18670
19001
  sethomepageData(homepageDataList);
18671
19002
  setroutesData(routesDataList);
18672
19003
  }, []);
18673
- var _renderChildItem = function renderChildItem(child) {
19004
+ var renderChildItem = function renderChildItem(child) {
18674
19005
  if (!child.hideInMenu && child.children) {
18675
19006
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18676
19007
  style: {
@@ -18680,7 +19011,7 @@ var DrawContent = function DrawContent(_ref) {
18680
19011
  }, formatMessage({
18681
19012
  id: "".concat(child.locale)
18682
19013
  })), child.children.map(function (menuItem) {
18683
- return _renderChildItem(menuItem);
19014
+ return renderChildItem(menuItem);
18684
19015
  }));
18685
19016
  } else if (!child.hideInMenu && child.path) {
18686
19017
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18715,7 +19046,7 @@ var DrawContent = function DrawContent(_ref) {
18715
19046
  className: 'drawerWarp'
18716
19047
  }, homepageData && homepageData.filter(function (d) {
18717
19048
  return !d.hideInMenu;
18718
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
19049
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
18719
19050
  className: classNames('allFunsList', 'allFunsListWarp'),
18720
19051
  dataSource: homepageData,
18721
19052
  renderItem: function renderItem(child) {
@@ -18750,7 +19081,7 @@ var DrawContent = function DrawContent(_ref) {
18750
19081
  bordered: true,
18751
19082
  dataSource: item.children,
18752
19083
  renderItem: function renderItem(child) {
18753
- return _renderChildItem(child);
19084
+ return renderChildItem(child);
18754
19085
  }
18755
19086
  });
18756
19087
  })));
@@ -18810,7 +19141,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
18810
19141
  src: allfunc
18811
19142
  })), /*#__PURE__*/React$1.createElement("span", {
18812
19143
  className: 'btnSpan2'
18813
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
19144
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18814
19145
  style: {
18815
19146
  left: isDrawer ? 140 : 0,
18816
19147
  top: 50
@@ -18856,7 +19187,7 @@ function outLogin(_x) {
18856
19187
  return _outLogin.apply(this, arguments);
18857
19188
  }
18858
19189
  function _outLogin() {
18859
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19190
+ _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18860
19191
  var res;
18861
19192
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18862
19193
  while (1) switch (_context.prev = _context.next) {
@@ -18998,7 +19329,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18998
19329
  });
18999
19330
  };
19000
19331
  var loginOut = /*#__PURE__*/function () {
19001
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19332
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19002
19333
  var sessionId;
19003
19334
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19004
19335
  while (1) switch (_context.prev = _context.next) {
@@ -19102,7 +19433,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19102
19433
  marginRight: '0px'
19103
19434
  },
19104
19435
  src: './xialajiantou-new.svg'
19105
- }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19436
+ }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19106
19437
  };
19107
19438
 
19108
19439
  // -- 查询店铺 --
@@ -19110,7 +19441,7 @@ function getStoreByName(_x) {
19110
19441
  return _getStoreByName.apply(this, arguments);
19111
19442
  }
19112
19443
  function _getStoreByName() {
19113
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19444
+ _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19114
19445
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19115
19446
  while (1) switch (_context.prev = _context.next) {
19116
19447
  case 0:
@@ -19178,7 +19509,7 @@ var ChooseStore = function ChooseStore(props) {
19178
19509
  return _fetchUserList.apply(this, arguments);
19179
19510
  }
19180
19511
  function _fetchUserList() {
19181
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19512
+ _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19182
19513
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19183
19514
  while (1) switch (_context3.prev = _context3.next) {
19184
19515
  case 0:
@@ -19226,7 +19557,7 @@ var ChooseStore = function ChooseStore(props) {
19226
19557
  return debounce$1(loadOptions, debounceTimeout);
19227
19558
  }, [debounceTimeout, key]);
19228
19559
  var changeInput = /*#__PURE__*/function () {
19229
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19560
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19230
19561
  var res;
19231
19562
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19232
19563
  while (1) switch (_context.prev = _context.next) {
@@ -19248,7 +19579,7 @@ var ChooseStore = function ChooseStore(props) {
19248
19579
  };
19249
19580
  }();
19250
19581
  useEffect(function () {
19251
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19582
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19252
19583
  var res;
19253
19584
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19254
19585
  while (1) switch (_context2.prev = _context2.next) {
@@ -19413,7 +19744,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19413
19744
  var resultList = [];
19414
19745
  var newRouter = cloneDeep$1(router);
19415
19746
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19416
- var _deep = function deep(router) {
19747
+ var deep = function deep(router) {
19417
19748
  if (router && Array.isArray(router)) {
19418
19749
  router.forEach(function (item) {
19419
19750
  if (item.routes && Array.isArray(item.routes)) {
@@ -19423,7 +19754,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19423
19754
  d.nameEdit = true;
19424
19755
  }
19425
19756
  });
19426
- _deep(item.routes);
19757
+ deep(item.routes);
19427
19758
  } else if (!item.hideInMenu && (name ? formatMessage({
19428
19759
  id: "menu.".concat(item.name)
19429
19760
  }).indexOf(name) !== -1 : true)) {
@@ -19442,7 +19773,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19442
19773
  }));
19443
19774
  }
19444
19775
  };
19445
- _deep(newRouter);
19776
+ deep(newRouter);
19446
19777
  setroutesData([].concat(resultList));
19447
19778
  };
19448
19779
  var renderLineStyl = function renderLineStyl(name) {
@@ -19524,7 +19855,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19524
19855
  },
19525
19856
  title: item.fullPathName
19526
19857
  }, renderLineStyl(item.fullPathName));
19527
- }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
19858
+ }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
19528
19859
  employeeCode: employeeCode
19529
19860
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
19530
19861
  };
@@ -19539,7 +19870,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19539
19870
  var TreeNode = Tree.TreeNode;
19540
19871
  var Search$2 = Input.Search;
19541
19872
  var dataList = [];
19542
- var _generateList = function generateList(data) {
19873
+ var generateList = function generateList(data) {
19543
19874
  for (var i = 0; i < data.length; i++) {
19544
19875
  var node = data[i];
19545
19876
  var path = node.path,
@@ -19549,11 +19880,11 @@ var _generateList = function generateList(data) {
19549
19880
  name: name
19550
19881
  });
19551
19882
  if (node.children) {
19552
- _generateList(node.children);
19883
+ generateList(node.children);
19553
19884
  }
19554
19885
  }
19555
19886
  };
19556
- var _getParentKey = function getParentKey(path, tree) {
19887
+ var getParentKey = function getParentKey(path, tree) {
19557
19888
  var parentKey;
19558
19889
  for (var i = 0; i < tree.length; i++) {
19559
19890
  var node = tree[i];
@@ -19562,8 +19893,8 @@ var _getParentKey = function getParentKey(path, tree) {
19562
19893
  return item.path === path;
19563
19894
  })) {
19564
19895
  parentKey = node.path;
19565
- } else if (_getParentKey(path, node.children)) {
19566
- parentKey = _getParentKey(path, node.children);
19896
+ } else if (getParentKey(path, node.children)) {
19897
+ parentKey = getParentKey(path, node.children);
19567
19898
  }
19568
19899
  }
19569
19900
  }
@@ -19594,7 +19925,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19594
19925
  var treeData = _this.state.treeData;
19595
19926
  var expandedKeys = dataList.map(function (item) {
19596
19927
  if (item.name.indexOf(value) > -1) {
19597
- return _getParentKey(item.path, treeData);
19928
+ return getParentKey(item.path, treeData);
19598
19929
  }
19599
19930
  return null;
19600
19931
  }).filter(function (item, i, self) {
@@ -19608,22 +19939,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19608
19939
  };
19609
19940
  _this.getPathList = function (originData) {
19610
19941
  var pathList = [];
19611
- var _getList = function getList(data) {
19942
+ var getList = function getList(data) {
19612
19943
  if (Array.isArray(data)) {
19613
19944
  data.forEach(function (item) {
19614
19945
  pathList.push(item.path);
19615
19946
  if (item.children) {
19616
- _getList(item.children);
19947
+ getList(item.children);
19617
19948
  }
19618
19949
  });
19619
19950
  } else {
19620
19951
  pathList.push(data.path);
19621
19952
  if (data.children) {
19622
- _getList(data.children);
19953
+ getList(data.children);
19623
19954
  }
19624
19955
  }
19625
19956
  };
19626
- _getList(originData);
19957
+ getList(originData);
19627
19958
  return pathList;
19628
19959
  };
19629
19960
  _this.handleAdd2Menu = function (path) {
@@ -19632,18 +19963,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19632
19963
  customerMenuData = _this$props.customerMenuData,
19633
19964
  setCustomerMenuData = _this$props.setCustomerMenuData;
19634
19965
  var filterItem;
19635
- var _filterMenuItem = function filterMenuItem(menuData) {
19966
+ var filterMenuItem = function filterMenuItem(menuData) {
19636
19967
  menuData.forEach(function (item) {
19637
19968
  if (item.path === path) {
19638
19969
  filterItem = _objectSpread2({}, item);
19639
19970
  return;
19640
19971
  }
19641
19972
  if (item.children) {
19642
- _filterMenuItem(item.children);
19973
+ filterMenuItem(item.children);
19643
19974
  }
19644
19975
  });
19645
19976
  };
19646
- _filterMenuItem(treeData);
19977
+ filterMenuItem(treeData);
19647
19978
  var addPathList = _this.getPathList(filterItem);
19648
19979
  var oldPathList = _this.getPathList(customerMenuData);
19649
19980
  var isRepet = false;
@@ -19673,8 +20004,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19673
20004
  return item.path === '/';
19674
20005
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19675
20006
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19676
- _setMenuTreeData(routesData);
19677
- _generateList(routesData);
20007
+ setMenuTreeData(routesData);
20008
+ generateList(routesData);
19678
20009
  this.setState({
19679
20010
  treeData: routesData
19680
20011
  });
@@ -19688,16 +20019,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19688
20019
  expandedKeys = _this$state.expandedKeys,
19689
20020
  autoExpandParent = _this$state.autoExpandParent,
19690
20021
  treeData = _this$state.treeData;
19691
- var _loop = function loop(data) {
20022
+ var loop = function loop(data) {
19692
20023
  return data.map(function (item) {
19693
20024
  var index = item.name.indexOf(searchValue);
19694
20025
  var beforeStr = item.name.substr(0, index);
19695
20026
  var afterStr = item.name.substr(index + searchValue.length);
19696
- var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
20027
+ var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19697
20028
  style: {
19698
20029
  color: '#f50'
19699
20030
  }
19700
- }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
20031
+ }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
19701
20032
  if (item.children && item.children.length) {
19702
20033
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19703
20034
  path: item.path,
@@ -19719,7 +20050,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19719
20050
  width: 18,
19720
20051
  src: arrowRight
19721
20052
  }))))
19722
- }, _loop(item.children));
20053
+ }, loop(item.children));
19723
20054
  }
19724
20055
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19725
20056
  path: item.path,
@@ -19769,7 +20100,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19769
20100
  onExpand: this.onExpand,
19770
20101
  expandedKeys: expandedKeys,
19771
20102
  autoExpandParent: autoExpandParent
19772
- }, _loop(treeData))));
20103
+ }, loop(treeData))));
19773
20104
  }
19774
20105
  }]);
19775
20106
  }(React$1.Component);
@@ -19802,24 +20133,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19802
20133
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
19803
20134
  var dragObj;
19804
20135
  var finalDropItem;
19805
- var _loop = function loop(data, path, callback) {
20136
+ var loop = function loop(data, path, callback) {
19806
20137
  for (var i = 0; i < data.length; i++) {
19807
20138
  if (data[i].path === path) {
19808
20139
  return callback(data[i], i, data);
19809
20140
  }
19810
20141
  if (data[i].children) {
19811
- _loop(data[i].children, path, callback);
20142
+ loop(data[i].children, path, callback);
19812
20143
  }
19813
20144
  }
19814
20145
  };
19815
20146
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
19816
- _loop(data, dragKey, function (item, index, arr) {
20147
+ loop(data, dragKey, function (item, index, arr) {
19817
20148
  arr.splice(index, 1);
19818
20149
  dragObj = item;
19819
20150
  });
19820
20151
  if (!info.dropToGap) {
19821
20152
  // Drop on the content
19822
- _loop(data, dropKey, function (item) {
20153
+ loop(data, dropKey, function (item) {
19823
20154
  item.children = item.children || [];
19824
20155
  item.children.unshift(dragObj);
19825
20156
  finalDropItem = _objectSpread2({}, item);
@@ -19830,7 +20161,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19830
20161
  // Is expanded
19831
20162
  dropPosition === 1 // On the bottom gap
19832
20163
  ) {
19833
- _loop(data, dropKey, function (item) {
20164
+ loop(data, dropKey, function (item) {
19834
20165
  item.children = item.children || [];
19835
20166
  item.children.unshift(dragObj);
19836
20167
  finalDropItem = _objectSpread2({}, item);
@@ -19838,7 +20169,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19838
20169
  } else {
19839
20170
  var ar;
19840
20171
  var i;
19841
- _loop(data, dropKey, function (item, index, arr) {
20172
+ loop(data, dropKey, function (item, index, arr) {
19842
20173
  ar = arr;
19843
20174
  i = index;
19844
20175
  });
@@ -19877,17 +20208,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19877
20208
  title: '编辑名称',
19878
20209
  callBack: function callBack(newName) {
19879
20210
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19880
- var _editTreeDataName = function editTreeDataName(oldTreeData) {
20211
+ var editTreeDataName = function editTreeDataName(oldTreeData) {
19881
20212
  oldTreeData.forEach(function (treeItem) {
19882
20213
  if (treeItem.path === item.path) {
19883
20214
  treeItem.name = newName;
19884
20215
  }
19885
20216
  if (treeItem.children) {
19886
- _editTreeDataName(treeItem.children);
20217
+ editTreeDataName(treeItem.children);
19887
20218
  }
19888
20219
  });
19889
20220
  };
19890
- _editTreeDataName(oldTreeData);
20221
+ editTreeDataName(oldTreeData);
19891
20222
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19892
20223
  _this.setState({
19893
20224
  modalInfo: {
@@ -19932,7 +20263,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19932
20263
  title: '新增子目录',
19933
20264
  callBack: function callBack(newName) {
19934
20265
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19935
- var _addChildFolder = function addChildFolder(oldTreeData) {
20266
+ var addChildFolder = function addChildFolder(oldTreeData) {
19936
20267
  oldTreeData.forEach(function (treeItem) {
19937
20268
  if (treeItem.path === item.path) {
19938
20269
  treeItem.children ? treeItem.children.push({
@@ -19944,11 +20275,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19944
20275
  }];
19945
20276
  }
19946
20277
  if (treeItem.children) {
19947
- _addChildFolder(treeItem.children);
20278
+ addChildFolder(treeItem.children);
19948
20279
  }
19949
20280
  });
19950
20281
  };
19951
- _addChildFolder(oldTreeData);
20282
+ addChildFolder(oldTreeData);
19952
20283
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19953
20284
  _this.setState({
19954
20285
  modalInfo: {
@@ -20007,7 +20338,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20007
20338
  var _this$state = this.state,
20008
20339
  modalInfo = _this$state.modalInfo,
20009
20340
  checkedKeys = _this$state.checkedKeys;
20010
- var _loop2 = function loop(data) {
20341
+ var loop = function loop(data) {
20011
20342
  return data.map(function (item) {
20012
20343
  if (item.children && item.children.length) {
20013
20344
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -20024,7 +20355,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20024
20355
  e.stopPropagation();
20025
20356
  }
20026
20357
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
20027
- }, _loop2(item.children));
20358
+ }, loop(item.children));
20028
20359
  }
20029
20360
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
20030
20361
  path: item.path,
@@ -20103,7 +20434,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20103
20434
  children: 'children'
20104
20435
  },
20105
20436
  onDrop: this.onDrop
20106
- }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20437
+ }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20107
20438
  width: 600,
20108
20439
  bodyStyle: {
20109
20440
  paddingTop: '32px',
@@ -20216,7 +20547,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20216
20547
  pathname: item.path
20217
20548
  });
20218
20549
  };
20219
- var _getMenuDom = function getMenuDom(menuData) {
20550
+ var getMenuDom = function getMenuDom(menuData) {
20220
20551
  return menuData.map(function (item) {
20221
20552
  return /*#__PURE__*/React$1.createElement("div", {
20222
20553
  style: {
@@ -20231,7 +20562,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20231
20562
  fontWeight: item.children || !item.component ? 'bolder' : '400',
20232
20563
  paddingLeft: '4px'
20233
20564
  }
20234
- }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
20565
+ }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
20235
20566
  });
20236
20567
  };
20237
20568
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20257,7 +20588,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20257
20588
  style: {
20258
20589
  paddingLeft: '5px'
20259
20590
  }
20260
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
20591
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
20261
20592
  style: {
20262
20593
  left: isDrawer ? 140 : 0
20263
20594
  },
@@ -20278,7 +20609,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20278
20609
  visible: isDrawer
20279
20610
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
20280
20611
  className: 'menu_title_line'
20281
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20612
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20282
20613
  title: /*#__PURE__*/React$1.createElement("span", {
20283
20614
  style: {
20284
20615
  fontWeight: '600',
@@ -20352,7 +20683,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20352
20683
  return item.path === '/';
20353
20684
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20354
20685
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20355
- _setMenuTreeData(routesData);
20686
+ setMenuTreeData(routesData);
20356
20687
  routesData.forEach(function (item) {
20357
20688
  if (item.children) {
20358
20689
  routesDataList.push(item);
@@ -20382,7 +20713,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20382
20713
  setHeight(clientHeight - 190);
20383
20714
  setDrawHeight(clientHeight - 70);
20384
20715
  };
20385
- var _renderChildItem = function renderChildItem(child) {
20716
+ var renderChildItem = function renderChildItem(child) {
20386
20717
  if (!child.hideInMenu && child.children) {
20387
20718
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
20388
20719
  style: {
@@ -20392,7 +20723,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20392
20723
  }, formatMessage({
20393
20724
  id: "".concat(child.locale)
20394
20725
  })), child.children.map(function (menuItem) {
20395
- return _renderChildItem(menuItem);
20726
+ return renderChildItem(menuItem);
20396
20727
  }));
20397
20728
  } else if (!child.hideInMenu && child.path) {
20398
20729
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -20534,7 +20865,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20534
20865
  onMenuClick(e, item);
20535
20866
  }
20536
20867
  }, item.name);
20537
- }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
20868
+ }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
20538
20869
  className: 'search_menu_content'
20539
20870
  }, SearhData.map(function (item) {
20540
20871
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20543,7 +20874,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20543
20874
  },
20544
20875
  key: item.path
20545
20876
  }, item.name);
20546
- }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20877
+ }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20547
20878
  style: {
20548
20879
  height: "".concat(rightMenuHeight, "px"),
20549
20880
  overflowY: 'scroll',
@@ -20555,7 +20886,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20555
20886
  className: 'drawerWarp_right'
20556
20887
  }, homepageData && homepageData.filter(function (d) {
20557
20888
  return !d.hideInMenu;
20558
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
20889
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
20559
20890
  className: classNames('allFunsList', 'allFunsListWarp'),
20560
20891
  dataSource: homepageData,
20561
20892
  renderItem: function renderItem(child) {
@@ -20596,7 +20927,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20596
20927
  bordered: true,
20597
20928
  dataSource: item.children,
20598
20929
  renderItem: function renderItem(child) {
20599
- return _renderChildItem(child);
20930
+ return renderChildItem(child);
20600
20931
  }
20601
20932
  });
20602
20933
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -20736,7 +21067,7 @@ var NoFoundPage = function NoFoundPage(props) {
20736
21067
  }));
20737
21068
  };
20738
21069
 
20739
- var _excluded$i = ["route"];
21070
+ var _excluded$j = ["route"];
20740
21071
  var TabPane = Tabs.TabPane;
20741
21072
  var getId = function getId(str) {
20742
21073
  // 找到最后一个 / 的位置
@@ -20754,10 +21085,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20754
21085
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
20755
21086
  var menuKeys = [];
20756
21087
  var docsId = [];
20757
- var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
21088
+ var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20758
21089
  data.forEach(function (item) {
20759
21090
  if (item.children && item.children.length > 0) {
20760
- _getLimitedMenuKeys(item.children);
21091
+ getLimitedMenuKeys(item.children);
20761
21092
  } else {
20762
21093
  var originPath = item.path.replace(/^\/\w+\//, '/');
20763
21094
  menuKeys.push(originPath);
@@ -20768,7 +21099,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20768
21099
  });
20769
21100
  };
20770
21101
  try {
20771
- _getLimitedMenuKeys(limitedMenuData);
21102
+ getLimitedMenuKeys(limitedMenuData);
20772
21103
  } catch (e) {}
20773
21104
  return {
20774
21105
  menuKeys: menuKeys,
@@ -21002,10 +21333,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21002
21333
  return (node.path || '').includes('all-general-documents');
21003
21334
  };
21004
21335
  // 递归获取树列表
21005
- var _getTreeList = function getTreeList(data) {
21336
+ var getTreeList = function getTreeList(data) {
21006
21337
  data.forEach(function (node) {
21007
21338
  if (node.routes && node.routes.length > 0) {
21008
- _getTreeList(node.routes);
21339
+ getTreeList(node.routes);
21009
21340
  return;
21010
21341
  }
21011
21342
  // todo:暂时处理非wujie环境不做404管控
@@ -21036,7 +21367,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21036
21367
  }
21037
21368
  });
21038
21369
  };
21039
- _getTreeList(treeData);
21370
+ getTreeList(treeData);
21040
21371
  return treeList;
21041
21372
  };
21042
21373
  _this.getDictionarySource = function (dicCode) {
@@ -21665,7 +21996,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21665
21996
  updateState = _ref8.updateState;
21666
21997
  return /*#__PURE__*/React$1.createElement("div", {
21667
21998
  className: "tab_title_content"
21668
- }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
21999
+ }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
21669
22000
  info: item,
21670
22001
  operateFun: _this3.operateFun,
21671
22002
  listenRouterState: listenRouterState
@@ -21677,7 +22008,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21677
22008
  }); // 添加数据大屏
21678
22009
  var _this$props3 = this.props,
21679
22010
  route = _this$props3.route,
21680
- restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
22011
+ restPrpos = _objectWithoutProperties(_this$props3, _excluded$j);
21681
22012
  var exist = route.routes.find(function (route) {
21682
22013
  return route.path === '/homePage/data-show';
21683
22014
  });
@@ -21801,7 +22132,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21801
22132
  };
21802
22133
  }
21803
22134
  var OperationsSlot = {
21804
- left: (/*#__PURE__*/React$1.createElement("div", {
22135
+ left: ( /*#__PURE__*/React$1.createElement("div", {
21805
22136
  className: 'tab_left_operate'
21806
22137
  }, /*#__PURE__*/React$1.createElement("div", {
21807
22138
  onClick: function onClick() {
@@ -21817,7 +22148,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21817
22148
  _this3.setTabNavTransLate(-100);
21818
22149
  }
21819
22150
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
21820
- right: (/*#__PURE__*/React$1.createElement("div", {
22151
+ right: ( /*#__PURE__*/React$1.createElement("div", {
21821
22152
  style: {
21822
22153
  opacity: this.state.isSlider ? 1 : 0.5
21823
22154
  },
@@ -21915,7 +22246,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21915
22246
  onMouseLeave: function onMouseLeave() {
21916
22247
  _this3.setShowMenu(false);
21917
22248
  }
21918
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
22249
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21919
22250
  style: {
21920
22251
  position: 'absolute',
21921
22252
  top: '14px',
@@ -21934,7 +22265,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21934
22265
  postMenuData: function postMenuData(menus) {
21935
22266
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21936
22267
  },
21937
- links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
22268
+ links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
21938
22269
  ref: this.allFunc,
21939
22270
  itemPath: itemPath,
21940
22271
  handleClose: this.handleClose,
@@ -21952,7 +22283,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21952
22283
  },
21953
22284
  menu: {
21954
22285
  request: function () {
21955
- var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
22286
+ var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21956
22287
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21957
22288
  while (1) switch (_context.prev = _context.next) {
21958
22289
  case 0:
@@ -22087,7 +22418,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22087
22418
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
22088
22419
  timeFormat = _this$props4.timeFormat,
22089
22420
  transparentProps = _this$props4.transparentProps;
22090
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? (/*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
22421
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, item.isNotFound ? ( /*#__PURE__*/React$1.createElement(NoFoundPage, null)) : /*#__PURE__*/React$1.createElement(item.content, _objectSpread2(_objectSpread2(_objectSpread2({
22091
22422
  getDictionarySource: getDictionarySource,
22092
22423
  getDictionaryTextByValue: getDictionaryTextByValue,
22093
22424
  timeFormat: timeFormat
@@ -22111,12 +22442,12 @@ var index$5 = (function (props) {
22111
22442
  });
22112
22443
 
22113
22444
  // @ts-nocheck
22114
- var _getAllColumns = function getAllColumns(columns) {
22445
+ var getAllColumns = function getAllColumns(columns) {
22115
22446
  var result = [];
22116
22447
  columns.forEach(function (column) {
22117
22448
  if (column.children) {
22118
22449
  result.push(column);
22119
- result.push.apply(result, _getAllColumns(column.children));
22450
+ result.push.apply(result, getAllColumns(column.children));
22120
22451
  } else {
22121
22452
  result.push(column);
22122
22453
  }
@@ -22125,7 +22456,7 @@ var _getAllColumns = function getAllColumns(columns) {
22125
22456
  };
22126
22457
  var convertToRows = function convertToRows(originColumns) {
22127
22458
  var maxLevel = 1;
22128
- var _traverse = function traverse(column, parent) {
22459
+ var traverse = function traverse(column, parent) {
22129
22460
  if (parent) {
22130
22461
  column.level = parent.level + 1;
22131
22462
  if (maxLevel < column.level) {
@@ -22135,7 +22466,7 @@ var convertToRows = function convertToRows(originColumns) {
22135
22466
  if (column.children) {
22136
22467
  var colSpan = 0;
22137
22468
  column.children.forEach(function (subColumn) {
22138
- _traverse(subColumn, column);
22469
+ traverse(subColumn, column);
22139
22470
  colSpan += subColumn.colSpan;
22140
22471
  });
22141
22472
  column.colSpan = colSpan;
@@ -22145,13 +22476,13 @@ var convertToRows = function convertToRows(originColumns) {
22145
22476
  };
22146
22477
  originColumns.forEach(function (column) {
22147
22478
  column.level = 1;
22148
- _traverse(column);
22479
+ traverse(column);
22149
22480
  });
22150
22481
  var rows = [];
22151
22482
  for (var i = 0; i < maxLevel; i++) {
22152
22483
  rows.push([]);
22153
22484
  }
22154
- var allColumns = _getAllColumns(originColumns);
22485
+ var allColumns = getAllColumns(originColumns);
22155
22486
  allColumns.forEach(function (column) {
22156
22487
  if (!column.children) {
22157
22488
  column.rowSpan = maxLevel - column.level + 1;
@@ -22191,7 +22522,7 @@ var convertToRows = function convertToRows(originColumns) {
22191
22522
  };
22192
22523
  var headersToRows = function headersToRows(originColumns) {
22193
22524
  var maxLevel = 1;
22194
- var _traverse2 = function traverse(column, parent) {
22525
+ var traverse = function traverse(column, parent) {
22195
22526
  if (parent) {
22196
22527
  //计算当前元素属于第几个层级
22197
22528
  column.level = parent.level + 1;
@@ -22204,7 +22535,7 @@ var headersToRows = function headersToRows(originColumns) {
22204
22535
  var colSpan = 0;
22205
22536
  column.children.forEach(function (subColumn) {
22206
22537
  //进行递归
22207
- _traverse2(subColumn, column);
22538
+ traverse(subColumn, column);
22208
22539
  colSpan += subColumn.colSpan;
22209
22540
  });
22210
22541
  column.colSpan = colSpan;
@@ -22214,14 +22545,14 @@ var headersToRows = function headersToRows(originColumns) {
22214
22545
  };
22215
22546
  originColumns.forEach(function (column) {
22216
22547
  column.level = 1;
22217
- _traverse2(column);
22548
+ traverse(column);
22218
22549
  });
22219
22550
  var rows = [];
22220
22551
  var lastData = [];
22221
22552
  for (var i = 0; i < maxLevel; i++) {
22222
22553
  rows.push([]);
22223
22554
  }
22224
- var allColumns = _getAllColumns(originColumns);
22555
+ var allColumns = getAllColumns(originColumns);
22225
22556
  allColumns.forEach(function (column) {
22226
22557
  if (!column.children) {
22227
22558
  column.rowSpan = maxLevel - column.level + 1;
@@ -22650,10 +22981,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
22650
22981
  }))))));
22651
22982
  });
22652
22983
 
22653
- var _excluded$j = ["children"];
22984
+ var _excluded$k = ["children"];
22654
22985
  var Drawer = (function (props) {
22655
22986
  var children = props.children,
22656
- restProps = _objectWithoutProperties(props, _excluded$j);
22987
+ restProps = _objectWithoutProperties(props, _excluded$k);
22657
22988
  return /*#__PURE__*/React$1.createElement(Drawer$1, _objectSpread2({
22658
22989
  mask: true,
22659
22990
  closable: false,
@@ -28238,7 +28569,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
28238
28569
  }
28239
28570
  return lineStart <= highLightLine && lineEnd >= highLightLine;
28240
28571
  };
28241
- var _hasHighLightChildren = function hasHighLightChildren() {
28572
+ var hasHighLightChildren = function hasHighLightChildren() {
28242
28573
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
28243
28574
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
28244
28575
  var children = hightLightData.children,
@@ -28249,7 +28580,7 @@ var _hasHighLightChildren = function hasHighLightChildren() {
28249
28580
  lineEnd = _loc2[2];
28250
28581
  if (children) {
28251
28582
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
28252
- return _hasHighLightChildren(v, highLightLine);
28583
+ return hasHighLightChildren(v, highLightLine);
28253
28584
  });
28254
28585
  }
28255
28586
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -28261,7 +28592,7 @@ function createHighLightTreeData(treeData, highLightLine) {
28261
28592
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
28262
28593
  data.forEach(function (node) {
28263
28594
  if (!node) return;
28264
- node.toggled = _hasHighLightChildren(node, highLightLine);
28595
+ node.toggled = hasHighLightChildren(node, highLightLine);
28265
28596
  node.active = isHightLight(node, highLightLine);
28266
28597
  if (node.children) {
28267
28598
  if (node.active) {
@@ -29692,7 +30023,7 @@ var valueType = {
29692
30023
  };
29693
30024
 
29694
30025
  var getDynamicDict = /*#__PURE__*/function () {
29695
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
30026
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29696
30027
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29697
30028
  while (1) switch (_context.prev = _context.next) {
29698
30029
  case 0:
@@ -29760,7 +30091,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29760
30091
  value: false
29761
30092
  }];
29762
30093
  var ref = useRef();
29763
- useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30094
+ useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29764
30095
  var _ref$current, source;
29765
30096
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29766
30097
  while (1) switch (_context.prev = _context.next) {
@@ -29874,7 +30205,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29874
30205
  source: {
29875
30206
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
29876
30207
  type: function () {
29877
- var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30208
+ var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29878
30209
  var form, values, name, relates, source;
29879
30210
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29880
30211
  while (1) switch (_context2.prev = _context2.next) {
@@ -30354,7 +30685,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30354
30685
  source: {
30355
30686
  relates: ['choiceType', 'inputType'],
30356
30687
  type: function () {
30357
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30688
+ var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30358
30689
  var values, name, form, source;
30359
30690
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30360
30691
  while (1) switch (_context3.prev = _context3.next) {
@@ -30576,7 +30907,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30576
30907
  width: 900,
30577
30908
  maskClosable: false,
30578
30909
  onOk: function () {
30579
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30910
+ var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30580
30911
  var _ref$current4, _res$editableStatus;
30581
30912
  var res, _res$defaultValue;
30582
30913
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -30648,7 +30979,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30648
30979
  }()
30649
30980
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
30650
30981
  ref: ref
30651
- })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30982
+ })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30652
30983
  };
30653
30984
 
30654
30985
  // @ts-nocheck
@@ -31262,7 +31593,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31262
31593
  return setVisible(false);
31263
31594
  },
31264
31595
  className: 'customFieldsDrawer'
31265
- }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
31596
+ }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
31266
31597
  style: {
31267
31598
  display: 'flex'
31268
31599
  }
@@ -31271,13 +31602,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31271
31602
  flex: 1,
31272
31603
  width: 500
31273
31604
  }
31274
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31605
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31275
31606
  style: {
31276
31607
  padding: "10px 0",
31277
31608
  fontSize: "16px",
31278
31609
  fontWeight: "bolder"
31279
31610
  }
31280
- }, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
31611
+ }, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
31281
31612
  style: {
31282
31613
  flex: 1
31283
31614
  }
@@ -31286,7 +31617,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31286
31617
  onRun: onClickRun,
31287
31618
  value: jsonEditorVal,
31288
31619
  shallowHeight: height
31289
- })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
31620
+ })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
31290
31621
  defaultActiveKey: activeKey,
31291
31622
  onChange: function onChange(v) {
31292
31623
  return setActiveKey(v);
@@ -31303,13 +31634,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31303
31634
  flex: 1,
31304
31635
  width: 500
31305
31636
  }
31306
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31637
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31307
31638
  style: {
31308
31639
  padding: "10px 0",
31309
31640
  fontSize: "16px",
31310
31641
  fontWeight: "bolder"
31311
31642
  }
31312
- }, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
31643
+ }, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tableParams)))), /*#__PURE__*/React$1.createElement("div", {
31313
31644
  style: {
31314
31645
  flex: 1
31315
31646
  }
@@ -31331,13 +31662,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31331
31662
  flex: 1,
31332
31663
  width: 500
31333
31664
  }
31334
- }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
31665
+ }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
31335
31666
  style: {
31336
31667
  padding: "10px 0",
31337
31668
  fontSize: "16px",
31338
31669
  fontWeight: "bolder"
31339
31670
  }
31340
- }, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
31671
+ }, "\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$1.createElement(FieldsSettingsTable, _objectSpread2({}, tablesConfigParams[k.tableCode])))), /*#__PURE__*/React$1.createElement("div", {
31341
31672
  style: {
31342
31673
  flex: 1
31343
31674
  }
@@ -31432,7 +31763,7 @@ var formatListName = function formatListName(list, columns) {
31432
31763
  });
31433
31764
  };
31434
31765
 
31435
- var _excluded$k = ["sorter"];
31766
+ var _excluded$l = ["sorter"];
31436
31767
  /**
31437
31768
  * 删掉查询条件的qp- 和 -eq等
31438
31769
  * @param {object} data
@@ -31483,7 +31814,7 @@ function getMetaData(_x) {
31483
31814
 
31484
31815
  // 获取数据
31485
31816
  function _getMetaData() {
31486
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31817
+ _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31487
31818
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31488
31819
  while (1) switch (_context.prev = _context.next) {
31489
31820
  case 0:
@@ -31515,7 +31846,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
31515
31846
  var _requestConfig$method;
31516
31847
  var params = _ref.params;
31517
31848
  var sorter = params.sorter,
31518
- paramsTemp = _objectWithoutProperties(params, _excluded$k);
31849
+ paramsTemp = _objectWithoutProperties(params, _excluded$l);
31519
31850
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), _.omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
31520
31851
  currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
31521
31852
  });
@@ -31705,7 +32036,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31705
32036
  tableState = _useState4[0],
31706
32037
  setTableState = _useState4[1];
31707
32038
  var handleOpen = /*#__PURE__*/function () {
31708
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32039
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31709
32040
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
31710
32041
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
31711
32042
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -32024,7 +32355,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
32024
32355
  destroyOnClose: true
32025
32356
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
32026
32357
  ref: queryTableRef
32027
- }, 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$1.createElement(Row, {
32358
+ }, 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$1.createElement(Row, {
32028
32359
  justify: "center",
32029
32360
  style: {
32030
32361
  marginBottom: 30,
@@ -32140,7 +32471,7 @@ var CustomSelector = (function (props) {
32140
32471
  var _props$ctx7;
32141
32472
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
32142
32473
  }
32143
- })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
32474
+ })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
32144
32475
  type: "primary",
32145
32476
  style: {
32146
32477
  width: '30px',
@@ -32226,7 +32557,7 @@ var BsCascader = function BsCascader(_ref) {
32226
32557
  _useState2 = _slicedToArray(_useState, 2),
32227
32558
  handSource = _useState2[0],
32228
32559
  setHandSource = _useState2[1];
32229
- useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32560
+ useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32230
32561
  var resData, data;
32231
32562
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32232
32563
  while (1) switch (_context.prev = _context.next) {
@@ -32378,7 +32709,7 @@ function getRegularThresholdRange(_x) {
32378
32709
  return _getRegularThresholdRange.apply(this, arguments);
32379
32710
  }
32380
32711
  function _getRegularThresholdRange() {
32381
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32712
+ _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32382
32713
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32383
32714
  while (1) switch (_context.prev = _context.next) {
32384
32715
  case 0:
@@ -32532,7 +32863,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32532
32863
  };
32533
32864
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32534
32865
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32535
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32866
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32536
32867
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32537
32868
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32538
32869
  while (1) switch (_context.prev = _context.next) {
@@ -33489,7 +33820,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33489
33820
  isAll: true,
33490
33821
  needNameAndCode: true,
33491
33822
  notChangeOnSelect: true,
33492
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33823
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33493
33824
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33494
33825
  while (1) switch (_context2.prev = _context2.next) {
33495
33826
  case 0:
@@ -33538,7 +33869,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33538
33869
  isAll: true,
33539
33870
  needNameAndCode: true,
33540
33871
  notChangeOnSelect: true,
33541
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33872
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33542
33873
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33543
33874
  while (1) switch (_context3.prev = _context3.next) {
33544
33875
  case 0:
@@ -33589,7 +33920,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33589
33920
  isAll: true,
33590
33921
  needNameAndCode: true,
33591
33922
  notChangeOnSelect: true,
33592
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33923
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33593
33924
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33594
33925
  while (1) switch (_context4.prev = _context4.next) {
33595
33926
  case 0:
@@ -35567,7 +35898,7 @@ var App$1 = function App(_ref) {
35567
35898
  borderRadius: '5px',
35568
35899
  cursor: 'pointer'
35569
35900
  }
35570
- }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
35901
+ }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
35571
35902
  autoFocus: true,
35572
35903
  onClick: function onClick(e) {
35573
35904
  return e.stopPropagation();
@@ -35854,7 +36185,7 @@ function RenderCompItem(props) {
35854
36185
  dictData = _useState2[0],
35855
36186
  setDictData = _useState2[1];
35856
36187
  var getDictData = /*#__PURE__*/function () {
35857
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36188
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35858
36189
  var _data$map;
35859
36190
  var data;
35860
36191
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -35896,7 +36227,7 @@ function RenderCompItem(props) {
35896
36227
  var style2 = {
35897
36228
  width: '100px'
35898
36229
  };
35899
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && (/*#__PURE__*/React$1.createElement(Input, {
36230
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 21 && ( /*#__PURE__*/React$1.createElement(Input, {
35900
36231
  disabled: disabled,
35901
36232
  allowClear: true,
35902
36233
  onClear: function onClear() {
@@ -35907,7 +36238,7 @@ function RenderCompItem(props) {
35907
36238
  onBlur: function onBlur(e) {
35908
36239
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
35909
36240
  }
35910
- })) || 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$1.createElement(InputNumber, {
36241
+ })) || 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$1.createElement(InputNumber, {
35911
36242
  disabled: disabled,
35912
36243
  // max={Number.MAX_SAFE_INTEGER}
35913
36244
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -35920,7 +36251,7 @@ function RenderCompItem(props) {
35920
36251
  onChange: function onChange(value) {
35921
36252
  handleEdit(ites.code, value);
35922
36253
  }
35923
- })) || 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$1.createElement(DatePicker, {
36254
+ })) || 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$1.createElement(DatePicker, {
35924
36255
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
35925
36256
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
35926
36257
  disabled: disabled,
@@ -35930,7 +36261,7 @@ function RenderCompItem(props) {
35930
36261
  onChange: function onChange(value, dateString) {
35931
36262
  handleEdit(ites.code, dateString);
35932
36263
  }
35933
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && (/*#__PURE__*/React$1.createElement(RangePicker$1, {
36264
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 40 && ( /*#__PURE__*/React$1.createElement(RangePicker$1, {
35934
36265
  showTime: true,
35935
36266
  disabled: disabled,
35936
36267
  defaultValue: ites.defaultValue,
@@ -35939,7 +36270,7 @@ function RenderCompItem(props) {
35939
36270
  onChange: function onChange(value, timeString) {
35940
36271
  handleEdit(ites.code, timeString);
35941
36272
  }
35942
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && (/*#__PURE__*/React$1.createElement(Switch, {
36273
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 10 && (ites === null || ites === void 0 ? void 0 : ites.valueType) === 24 && ( /*#__PURE__*/React$1.createElement(Switch, {
35943
36274
  disabled: disabled,
35944
36275
  defaultChecked: !!ites.defaultValue,
35945
36276
  style: style2,
@@ -35947,7 +36278,7 @@ function RenderCompItem(props) {
35947
36278
  onChange: function onChange(value) {
35948
36279
  handleEdit(ites.code, value);
35949
36280
  }
35950
- })) || 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$1.createElement(Select, _objectSpread2(_objectSpread2({
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) === 10 && ( /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
35951
36282
  disabled: disabled,
35952
36283
  allowClear: true,
35953
36284
  showArrow: true
@@ -35965,7 +36296,7 @@ function RenderCompItem(props) {
35965
36296
  key: it,
35966
36297
  value: it
35967
36298
  }, ites.enumeration[it]);
35968
- }))) || 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$1.createElement(InnerSelect, {
36299
+ }))) || 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$1.createElement(InnerSelect, {
35969
36300
  disabled: disabled,
35970
36301
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
35971
36302
  defaultValue: ites.defaultValue,
@@ -35975,7 +36306,7 @@ function RenderCompItem(props) {
35975
36306
  handleEdit(ites.code, value);
35976
36307
  },
35977
36308
  dictionaryCode: ites.dictionaryCode
35978
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36309
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
35979
36310
  selectBusinessType: "physicalWarehouse",
35980
36311
  selectProps: _objectSpread2({
35981
36312
  style: styleCommon,
@@ -35997,7 +36328,7 @@ function RenderCompItem(props) {
35997
36328
  getPopupContainer: function getPopupContainer() {
35998
36329
  return document.body;
35999
36330
  }
36000
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36331
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36001
36332
  selectBusinessType: "realWarehouse",
36002
36333
  selectProps: _objectSpread2({
36003
36334
  style: styleCommon,
@@ -36019,7 +36350,7 @@ function RenderCompItem(props) {
36019
36350
  getPopupContainer: function getPopupContainer() {
36020
36351
  return document.body;
36021
36352
  }
36022
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36353
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36023
36354
  selectBusinessType: "virtualWarehouse",
36024
36355
  selectProps: _objectSpread2({
36025
36356
  style: styleCommon,
@@ -36041,7 +36372,7 @@ function RenderCompItem(props) {
36041
36372
  getPopupContainer: function getPopupContainer() {
36042
36373
  return document.body;
36043
36374
  }
36044
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36375
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36045
36376
  selectBusinessType: "channelWarehouse",
36046
36377
  selectProps: _objectSpread2({
36047
36378
  style: styleCommon,
@@ -36063,7 +36394,7 @@ function RenderCompItem(props) {
36063
36394
  getPopupContainer: function getPopupContainer() {
36064
36395
  return document.body;
36065
36396
  }
36066
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36397
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36067
36398
  selectBusinessType: "spuCommodity",
36068
36399
  selectProps: _objectSpread2({
36069
36400
  style: styleCommon,
@@ -36084,7 +36415,7 @@ function RenderCompItem(props) {
36084
36415
  getPopupContainer: function getPopupContainer() {
36085
36416
  return document.body;
36086
36417
  }
36087
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36418
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36088
36419
  selectBusinessType: "skuCommodity",
36089
36420
  selectProps: _objectSpread2({
36090
36421
  style: styleCommon,
@@ -36105,13 +36436,13 @@ function RenderCompItem(props) {
36105
36436
  getPopupContainer: function getPopupContainer() {
36106
36437
  return document.body;
36107
36438
  }
36108
- })) || 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$1.createElement(BsCascader, {
36439
+ })) || 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$1.createElement(BsCascader, {
36109
36440
  disabled: disabled,
36110
36441
  isAll: true,
36111
36442
  needNameAndCode: true,
36112
36443
  notChangeOnSelect: true,
36113
36444
  initRequestSource: function () {
36114
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36445
+ var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36115
36446
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
36116
36447
  while (1) switch (_context2.prev = _context2.next) {
36117
36448
  case 0:
@@ -36153,7 +36484,7 @@ function RenderCompItem(props) {
36153
36484
  getPopupContainer: function getPopupContainer() {
36154
36485
  return document.body;
36155
36486
  }
36156
- })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36487
+ })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36157
36488
  disabled: disabled,
36158
36489
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36159
36490
  businessType: "department",
@@ -36166,7 +36497,7 @@ function RenderCompItem(props) {
36166
36497
  getPopupContainer: function getPopupContainer() {
36167
36498
  return document.body;
36168
36499
  }
36169
- })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36500
+ })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36170
36501
  disabled: disabled,
36171
36502
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36172
36503
  businessType: "purchase-organization",
@@ -36179,7 +36510,7 @@ function RenderCompItem(props) {
36179
36510
  getPopupContainer: function getPopupContainer() {
36180
36511
  return document.body;
36181
36512
  }
36182
- })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36513
+ })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36183
36514
  disabled: disabled,
36184
36515
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36185
36516
  businessType: "sales-organization",
@@ -36192,7 +36523,7 @@ function RenderCompItem(props) {
36192
36523
  getPopupContainer: function getPopupContainer() {
36193
36524
  return document.body;
36194
36525
  }
36195
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36526
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36196
36527
  selectBusinessType: "supplier2",
36197
36528
  selectProps: _objectSpread2({
36198
36529
  style: styleCommon,
@@ -36213,7 +36544,7 @@ function RenderCompItem(props) {
36213
36544
  getPopupContainer: function getPopupContainer() {
36214
36545
  return document.body;
36215
36546
  }
36216
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36547
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36217
36548
  selectBusinessType: "customer2",
36218
36549
  selectProps: _objectSpread2({
36219
36550
  style: styleCommon,
@@ -36234,7 +36565,7 @@ function RenderCompItem(props) {
36234
36565
  getPopupContainer: function getPopupContainer() {
36235
36566
  return document.body;
36236
36567
  }
36237
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36568
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36238
36569
  selectBusinessType: "shopFile2",
36239
36570
  selectProps: _objectSpread2({
36240
36571
  style: styleCommon,
@@ -36255,7 +36586,7 @@ function RenderCompItem(props) {
36255
36586
  getPopupContainer: function getPopupContainer() {
36256
36587
  return document.body;
36257
36588
  }
36258
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36589
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36259
36590
  selectBusinessType: "employee2",
36260
36591
  selectProps: _objectSpread2({
36261
36592
  style: styleCommon,
@@ -36276,7 +36607,7 @@ function RenderCompItem(props) {
36276
36607
  getPopupContainer: function getPopupContainer() {
36277
36608
  return document.body;
36278
36609
  }
36279
- })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36610
+ })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36280
36611
  disabled: disabled,
36281
36612
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36282
36613
  businessType: "stock-organization",
@@ -36289,7 +36620,7 @@ function RenderCompItem(props) {
36289
36620
  getPopupContainer: function getPopupContainer() {
36290
36621
  return document.body;
36291
36622
  }
36292
- })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36623
+ })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36293
36624
  disabled: disabled,
36294
36625
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36295
36626
  businessType: "settle-organization",
@@ -36302,7 +36633,7 @@ function RenderCompItem(props) {
36302
36633
  getPopupContainer: function getPopupContainer() {
36303
36634
  return document.body;
36304
36635
  }
36305
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36636
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36306
36637
  selectBusinessType: "deliveryMode",
36307
36638
  selectProps: _objectSpread2({
36308
36639
  style: styleCommon,
@@ -36323,7 +36654,7 @@ function RenderCompItem(props) {
36323
36654
  getPopupContainer: function getPopupContainer() {
36324
36655
  return document.body;
36325
36656
  }
36326
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36657
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36327
36658
  selectBusinessType: "role",
36328
36659
  selectProps: _objectSpread2({
36329
36660
  style: styleCommon,
@@ -36344,7 +36675,7 @@ function RenderCompItem(props) {
36344
36675
  getPopupContainer: function getPopupContainer() {
36345
36676
  return document.body;
36346
36677
  }
36347
- })) || 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$1.createElement(BusinessSearchSelect$1, {
36678
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
36348
36679
  selectBusinessType: "brand",
36349
36680
  selectProps: _objectSpread2({
36350
36681
  style: styleCommon,
@@ -36365,7 +36696,7 @@ function RenderCompItem(props) {
36365
36696
  getPopupContainer: function getPopupContainer() {
36366
36697
  return document.body;
36367
36698
  }
36368
- })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36699
+ })) || 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$1.createElement(BusinessTreeSearchSelect$1, {
36369
36700
  disabled: disabled,
36370
36701
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36371
36702
  businessType: "background-category",
@@ -36378,7 +36709,7 @@ function RenderCompItem(props) {
36378
36709
  getPopupContainer: function getPopupContainer() {
36379
36710
  return document.body;
36380
36711
  }
36381
- })) || 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$1.createElement(CustomSelector, {
36712
+ })) || 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$1.createElement(CustomSelector, {
36382
36713
  selectProps: _objectSpread2(_objectSpread2({
36383
36714
  style: styleCommon,
36384
36715
  placeholder: '请选择'
@@ -36401,7 +36732,7 @@ function RenderCompItem(props) {
36401
36732
  onChange: function onChange(value) {
36402
36733
  handleEdit(ites.code, value);
36403
36734
  }
36404
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
36735
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
36405
36736
  style: {
36406
36737
  display: 'flex'
36407
36738
  }
@@ -36913,7 +37244,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36913
37244
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
36914
37245
  queryIdentifyType = 'dynamicDictCodeIdentify';
36915
37246
  }
36916
- var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
37247
+ var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
36917
37248
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
36918
37249
  var _i$key;
36919
37250
  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);
@@ -37840,13 +38171,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
37840
38171
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
37841
38172
  // 处理对象-设置了必填-规则实例保存时数据必填校验
37842
38173
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
37843
- var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
38174
+ var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37844
38175
  var requiredList = list.filter(function (c) {
37845
38176
  return c.required == 1;
37846
38177
  }) || []; // 获取对象属性为true的集合
37847
38178
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
37848
38179
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
37849
- 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];
38180
+ 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];
37850
38181
  (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) {
37851
38182
  if (requiredList.some(function (r) {
37852
38183
  return r.id === e.elementId;
@@ -38435,7 +38766,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38435
38766
  style: {
38436
38767
  float: 'right'
38437
38768
  }
38438
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38769
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38439
38770
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38440
38771
  ruleGroupInfo: {
38441
38772
  ruleGroupList: ruleGroupList,
@@ -38453,7 +38784,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38453
38784
  callBack: function callBack(newData) {
38454
38785
  upDateData(newData);
38455
38786
  }
38456
- }))) : (/*#__PURE__*/React$1.createElement("div", {
38787
+ }))) : ( /*#__PURE__*/React$1.createElement("div", {
38457
38788
  style: {
38458
38789
  padding: 20
38459
38790
  }
@@ -38683,14 +39014,14 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
38683
39014
  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";
38684
39015
  styleInject(css_248z$y);
38685
39016
 
38686
- var _excluded$l = ["titleExtra", "header", "showArrow"];
39017
+ var _excluded$m = ["titleExtra", "header", "showArrow"];
38687
39018
  var Panel = Collapse.Panel;
38688
39019
  var ExtendedPanel = function ExtendedPanel(_ref) {
38689
39020
  var titleExtra = _ref.titleExtra,
38690
39021
  header = _ref.header,
38691
39022
  _ref$showArrow = _ref.showArrow,
38692
39023
  showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
38693
- props = _objectWithoutProperties(_ref, _excluded$l);
39024
+ props = _objectWithoutProperties(_ref, _excluded$m);
38694
39025
  var renderHeader = function renderHeader() {
38695
39026
  return /*#__PURE__*/React$1.createElement(Space, {
38696
39027
  align: "center"
@@ -38714,11 +39045,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
38714
39045
  }), props.children);
38715
39046
  };
38716
39047
 
38717
- var _excluded$m = ["children", "bordered"];
39048
+ var _excluded$n = ["children", "bordered"];
38718
39049
  var ExtendedCollapse = function ExtendedCollapse(props) {
38719
39050
  var children = props.children,
38720
39051
  bordered = props.bordered,
38721
- restProps = _objectWithoutProperties(props, _excluded$m);
39052
+ restProps = _objectWithoutProperties(props, _excluded$n);
38722
39053
  return /*#__PURE__*/React$1.createElement("div", {
38723
39054
  className: classNames({
38724
39055
  'bs-collapse-wrap': true,
@@ -38828,4 +39159,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
38828
39159
  }, children));
38829
39160
  };
38830
39161
 
38831
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
39162
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };