@bit-sun/business-component 4.0.13-alpha.6 → 4.0.13-alpha.7

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.
package/dist/index.esm.js CHANGED
@@ -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,13 +415,181 @@ 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);
553
430
  }
554
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");
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.");
592
+ }
555
593
 
556
594
  var ENUM = {
557
595
  // 浏览器缓存信息
@@ -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"
@@ -4439,7 +4477,7 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4439
4477
  destroyTooltipOnHide: true,
4440
4478
  placement: "topRight",
4441
4479
  autoAdjustOverflow: false,
4442
- title: (/*#__PURE__*/React$1.createElement("div", {
4480
+ title: ( /*#__PURE__*/React$1.createElement("div", {
4443
4481
  style: {
4444
4482
  margin: '6px 8px 0px'
4445
4483
  },
@@ -4740,10 +4778,10 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4740
4778
  setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
4741
4779
  });
4742
4780
  },
4743
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
4781
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
4744
4782
  size: "small",
4745
4783
  className: 'searchSelectSpin'
4746
- })) : (/*#__PURE__*/React$1.createElement("div", {
4784
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
4747
4785
  style: {
4748
4786
  textAlign: 'center'
4749
4787
  }
@@ -4975,7 +5013,7 @@ var PropertyGroup = function PropertyGroup(props) {
4975
5013
  title: item.name,
4976
5014
  className: "propertyGroup_checkbox_container"
4977
5015
  }, item.name));
4978
- }), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
5016
+ }), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
4979
5017
  style: {
4980
5018
  width: '50px',
4981
5019
  cursor: 'pointer',
@@ -4988,7 +5026,7 @@ var PropertyGroup = function PropertyGroup(props) {
4988
5026
  setShowNotCommon(!showNotCommon);
4989
5027
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
4990
5028
  }
4991
- }, 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"))))));
5029
+ }, 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"))))));
4992
5030
  };
4993
5031
  var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
4994
5032
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -5218,7 +5256,7 @@ var PropertySelector = function PropertySelector(_ref) {
5218
5256
  propertyData: item,
5219
5257
  handleProperyItemChange: handleProperyItemChange
5220
5258
  });
5221
- }))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5259
+ }))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5222
5260
  style: {
5223
5261
  width: '50px',
5224
5262
  cursor: 'pointer',
@@ -5228,7 +5266,7 @@ var PropertySelector = function PropertySelector(_ref) {
5228
5266
  onClick: function onClick() {
5229
5267
  return setShowNotCommon(!showNotCommon);
5230
5268
  }
5231
- }, 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"))))))));
5269
+ }, 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"))))))));
5232
5270
  };
5233
5271
 
5234
5272
  var Option$1 = Select.Option;
@@ -6230,13 +6268,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6230
6268
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6231
6269
  return /*#__PURE__*/React$1.createElement("div", {
6232
6270
  className: 'search_select'
6233
- }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
6271
+ }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
6234
6272
  onClick: function onClick() {
6235
6273
  var _fieldComponent$props, _fieldComponent$props2;
6236
6274
  (_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);
6237
6275
  showModal();
6238
6276
  }
6239
- }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
6277
+ }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
6240
6278
  title: getShowStr({
6241
6279
  viewShowValueStr: viewShowValueStr,
6242
6280
  labelInValue: labelInValue,
@@ -6275,10 +6313,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6275
6313
  dropdownRender: function dropdownRender(menu) {
6276
6314
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
6277
6315
  },
6278
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
6316
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
6279
6317
  size: "small",
6280
6318
  className: 'searchSelectSpin'
6281
- })) : (/*#__PURE__*/React$1.createElement("div", {
6319
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
6282
6320
  style: {
6283
6321
  textAlign: 'center'
6284
6322
  }
@@ -6318,7 +6356,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6318
6356
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6319
6357
  filterTxt: searchValue
6320
6358
  }));
6321
- }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6359
+ }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6322
6360
  maskClosable: false,
6323
6361
  destroyOnClose: true,
6324
6362
  width: "80%",
@@ -6915,7 +6953,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6915
6953
  style: {
6916
6954
  width: 525
6917
6955
  }
6918
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
6956
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
6919
6957
  checked: !dataSource.some(function (item) {
6920
6958
  if (item.hidden) return true;
6921
6959
  return false;
@@ -6953,13 +6991,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6953
6991
  _this2.onChange(e, item.title);
6954
6992
  }
6955
6993
  }, item.title);
6956
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
6994
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
6957
6995
  style: {
6958
6996
  width: '144px'
6959
6997
  }
6960
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
6998
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
6961
6999
  className: 'sort_table_column_all_empty'
6962
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
7000
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6963
7001
  className: 'sort_table_column_special'
6964
7002
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
6965
7003
  className: 'sort_table_column_all'
@@ -7148,7 +7186,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
7148
7186
  });
7149
7187
  };
7150
7188
  // 格式化树选择器数据源
7151
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7189
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7152
7190
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
7153
7191
  return {
7154
7192
  title: treeDataItem[resKeyValue[1]],
@@ -7158,7 +7196,7 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7158
7196
  isLeaf: !haveChildren,
7159
7197
  disabled: haveChildren,
7160
7198
  children: haveChildren ? treeDataItem.children.map(function (i) {
7161
- return _mapSearchTree(i, resKeyValue);
7199
+ return mapSearchTree(i, resKeyValue);
7162
7200
  }) : []
7163
7201
  };
7164
7202
  };
@@ -7167,7 +7205,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
7167
7205
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7168
7206
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7169
7207
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7170
- return _mapSearchTree(ites, resKeyValue);
7208
+ return mapSearchTree(ites, resKeyValue);
7171
7209
  }) || [];
7172
7210
  changeSearchForm[changePosition].field.props.treeData = formatData;
7173
7211
  };
@@ -7338,7 +7376,7 @@ var AddSelect = function AddSelect(props) {
7338
7376
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7339
7377
  // FIXME: 特殊业务逻辑
7340
7378
  var checkSelectChange = /*#__PURE__*/function () {
7341
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7379
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7342
7380
  var result;
7343
7381
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7344
7382
  while (1) switch (_context.prev = _context.next) {
@@ -7591,7 +7629,7 @@ var AddSelect = function AddSelect(props) {
7591
7629
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7592
7630
  value: text || null,
7593
7631
  onChange: function () {
7594
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7632
+ var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7595
7633
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7596
7634
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7597
7635
  while (1) switch (_context2.prev = _context2.next) {
@@ -8199,10 +8237,10 @@ var AddSelect = function AddSelect(props) {
8199
8237
  var newColumns = arr.map(function (col) {
8200
8238
  return _objectSpread2({}, col);
8201
8239
  });
8202
- var _handleIndex = function handleIndex(arr, indexArr) {
8240
+ var handleIndex = function handleIndex(arr, indexArr) {
8203
8241
  var i = indexArr.shift();
8204
8242
  if (indexArr.length > 0) {
8205
- _handleIndex(arr[i].children, indexArr);
8243
+ handleIndex(arr[i].children, indexArr);
8206
8244
  } else {
8207
8245
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8208
8246
  width: size.width
@@ -8210,7 +8248,7 @@ var AddSelect = function AddSelect(props) {
8210
8248
  handleAntdColumnsSpecialParams(arr[i]);
8211
8249
  }
8212
8250
  };
8213
- _handleIndex(newColumns, _toConsumableArray(index));
8251
+ handleIndex(newColumns, _toConsumableArray(index));
8214
8252
  callback(newColumns);
8215
8253
  };
8216
8254
  };
@@ -8220,13 +8258,13 @@ var AddSelect = function AddSelect(props) {
8220
8258
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
8221
8259
  setShowToChooseColumns(_toConsumableArray(newColumns));
8222
8260
  };
8223
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
8261
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
8224
8262
  arr.forEach(function (item, index) {
8225
8263
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8226
8264
  return i || i === 0;
8227
8265
  });
8228
8266
  if (noEmptyArray$1(item.children)) {
8229
- _handleColumns(item.children, indexArrInside);
8267
+ handleColumns(item.children, indexArrInside);
8230
8268
  } else {
8231
8269
  item.width = item.width || getItemDefaultWidth$2(item);
8232
8270
  item.onHeaderCell = function (column) {
@@ -8242,14 +8280,14 @@ var AddSelect = function AddSelect(props) {
8242
8280
  handleAntdColumnsSpecialParams(item);
8243
8281
  return _objectSpread2({}, item);
8244
8282
  });
8245
- _handleColumns(showToChooseCol, [], function (res) {
8283
+ handleColumns(showToChooseCol, [], function (res) {
8246
8284
  return setShowToChooseColumnsCallback(res);
8247
8285
  });
8248
8286
  var showSelectedCol = showColumns.map(function (item) {
8249
8287
  handleAntdColumnsSpecialParams(item);
8250
8288
  return _objectSpread2({}, item);
8251
8289
  });
8252
- _handleColumns(showSelectedCol, [], function (res) {
8290
+ handleColumns(showSelectedCol, [], function (res) {
8253
8291
  return setShowColumnsCallback(res);
8254
8292
  });
8255
8293
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8260,7 +8298,7 @@ var AddSelect = function AddSelect(props) {
8260
8298
  id: "add_select_div_".concat(uniqueValue)
8261
8299
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
8262
8300
  onClick: handleShowModal
8263
- }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
8301
+ }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
8264
8302
  width: '1200px',
8265
8303
  style: {
8266
8304
  top: 20
@@ -9174,7 +9212,7 @@ var BillEntry = function BillEntry(_ref3) {
9174
9212
  });
9175
9213
  };
9176
9214
  var handleSubmit = /*#__PURE__*/function () {
9177
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9215
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9178
9216
  var canEntryObject, _canEntryObject$error, messageInfo;
9179
9217
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9180
9218
  while (1) switch (_context.prev = _context.next) {
@@ -9257,10 +9295,10 @@ var BillEntry = function BillEntry(_ref3) {
9257
9295
  var newColumns = arr.map(function (col) {
9258
9296
  return _objectSpread2({}, col);
9259
9297
  });
9260
- var _handleIndex = function handleIndex(arr, indexArr) {
9298
+ var handleIndex = function handleIndex(arr, indexArr) {
9261
9299
  var i = indexArr.shift();
9262
9300
  if (indexArr.length > 0) {
9263
- _handleIndex(arr[i].children, indexArr);
9301
+ handleIndex(arr[i].children, indexArr);
9264
9302
  } else {
9265
9303
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
9266
9304
  width: size.width
@@ -9268,17 +9306,17 @@ var BillEntry = function BillEntry(_ref3) {
9268
9306
  handleAntdColumnsSpecialParams(arr[i]);
9269
9307
  }
9270
9308
  };
9271
- _handleIndex(newColumns, _toConsumableArray(index));
9309
+ handleIndex(newColumns, _toConsumableArray(index));
9272
9310
  callback(newColumns);
9273
9311
  };
9274
9312
  };
9275
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
9313
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
9276
9314
  arr.forEach(function (item, index) {
9277
9315
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
9278
9316
  return i || i === 0;
9279
9317
  });
9280
9318
  if (noEmptyArray$1(item.children)) {
9281
- _handleColumns(item.children, indexArrInside);
9319
+ handleColumns(item.children, indexArrInside);
9282
9320
  } else {
9283
9321
  item.width = item.width || getItemDefaultWidth$2(item);
9284
9322
  item.onHeaderCell = function (column) {
@@ -9294,7 +9332,7 @@ var BillEntry = function BillEntry(_ref3) {
9294
9332
  handleAntdColumnsSpecialParams(item);
9295
9333
  return _objectSpread2({}, item);
9296
9334
  });
9297
- _handleColumns(showSelectedCol, [], function (res) {
9335
+ handleColumns(showSelectedCol, [], function (res) {
9298
9336
  return setShowColumnsCallback(res);
9299
9337
  });
9300
9338
  return /*#__PURE__*/React$1.createElement("div", {
@@ -9609,7 +9647,7 @@ function commonFun(type, prefixUrl, parentProps) {
9609
9647
  });
9610
9648
  };
9611
9649
  // 格式化树选择器数据源
9612
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9650
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9613
9651
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9614
9652
  return {
9615
9653
  title: treeDataItem[resKeyValue[1]],
@@ -9619,7 +9657,7 @@ function commonFun(type, prefixUrl, parentProps) {
9619
9657
  isLeaf: !haveChildren,
9620
9658
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9621
9659
  children: haveChildren ? treeDataItem.children.map(function (i) {
9622
- return _mapSearchTree(i, resKeyValue, disabledJudge);
9660
+ return mapSearchTree(i, resKeyValue, disabledJudge);
9623
9661
  }) : []
9624
9662
  };
9625
9663
  };
@@ -9633,7 +9671,7 @@ function commonFun(type, prefixUrl, parentProps) {
9633
9671
  disabledJudge = false;
9634
9672
  }
9635
9673
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9636
- return _mapSearchTree(ites, resKeyValue, disabledJudge);
9674
+ return mapSearchTree(ites, resKeyValue, disabledJudge);
9637
9675
  }) || [];
9638
9676
  changeSearchForm[changePosition].field.props.treeData = formatData;
9639
9677
  };
@@ -13743,7 +13781,7 @@ var CommodityEntry = function CommodityEntry(props) {
13743
13781
  };
13744
13782
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
13745
13783
  onClick: handleShowModal
13746
- }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13784
+ }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13747
13785
  onOk: handleOk,
13748
13786
  onCancel: handleCancel,
13749
13787
  destroyOnClose: true,
@@ -13862,7 +13900,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13862
13900
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
13863
13901
  _remoteSource$special = remoteSource.specialBracket,
13864
13902
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
13865
- var _mapSearchTree = function mapSearchTree(treeDataItem) {
13903
+ var mapSearchTree = function mapSearchTree(treeDataItem) {
13866
13904
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
13867
13905
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
13868
13906
  return {
@@ -13874,7 +13912,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13874
13912
  isLeaf: !haveChildren,
13875
13913
  disabled: isDisabled(haveChildren, isRoot),
13876
13914
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
13877
- return _mapSearchTree(i);
13915
+ return mapSearchTree(i);
13878
13916
  }) : []
13879
13917
  };
13880
13918
  };
@@ -13892,8 +13930,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13892
13930
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13893
13931
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
13894
13932
  headers: headers
13895
- }).then(/*#__PURE__*/function () {
13896
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13933
+ }).then( /*#__PURE__*/function () {
13934
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13897
13935
  var _ctx$form;
13898
13936
  var resData, coverData, data, dataList;
13899
13937
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13920,7 +13958,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13920
13958
  case 9:
13921
13959
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13922
13960
  coverData = dataList.length && dataList.map(function (ites) {
13923
- return _mapSearchTree(ites);
13961
+ return mapSearchTree(ites);
13924
13962
  }) || [];
13925
13963
  case 11:
13926
13964
  _context.next = 14;
@@ -13958,11 +13996,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13958
13996
  return _formatResult;
13959
13997
  }
13960
13998
  };
13961
- var _parallelData = function parallelData(data, result) {
13999
+ var parallelData = function parallelData(data, result) {
13962
14000
  data.forEach(function (i) {
13963
14001
  result.push(i);
13964
14002
  if (i[treeChildrenRoom]) {
13965
- _parallelData(i[treeChildrenRoom], result);
14003
+ parallelData(i[treeChildrenRoom], result);
13966
14004
  }
13967
14005
  });
13968
14006
  return result;
@@ -14002,7 +14040,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14002
14040
  var _ctx$form2;
14003
14041
  var handleData = formatData(data);
14004
14042
  // 获取选中树节点当条数据,并返回给调用业务
14005
- var parallelTreeData = _parallelData(treeData, []);
14043
+ var parallelTreeData = parallelData(treeData, []);
14006
14044
  var currentItem = getSelectItem(parallelTreeData, data);
14007
14045
  onChange(handleData, data, currentItem, parallelTreeData);
14008
14046
  onChangeName && onChangeName(dataName);
@@ -14045,7 +14083,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14045
14083
  var getShowStr = function getShowStr() {
14046
14084
  var isMultiple = multiple || treeCheckable;
14047
14085
  var kongValue = '无';
14048
- var parallelTreeData = _parallelData(treeData, []);
14086
+ var parallelTreeData = parallelData(treeData, []);
14049
14087
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
14050
14088
  if (isMultiple) {
14051
14089
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -14057,7 +14095,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14057
14095
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
14058
14096
  return /*#__PURE__*/React$1.createElement("div", {
14059
14097
  className: 'tree_search_select'
14060
- }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
14098
+ }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
14061
14099
  title: getShowStr(),
14062
14100
  style: {
14063
14101
  overflow: 'hidden',
@@ -14065,7 +14103,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14065
14103
  whiteSpace: 'nowrap'
14066
14104
  },
14067
14105
  className: 'search_select_show'
14068
- }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14106
+ }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14069
14107
  treeCheckable: treeCheckable,
14070
14108
  maxTagCount: maxTagCount,
14071
14109
  showSearch: showSearch,
@@ -14262,7 +14300,7 @@ var index$2 = (function (props) {
14262
14300
  } : {}
14263
14301
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
14264
14302
  className: 'status-label-operate'
14265
- }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
14303
+ }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
14266
14304
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
14267
14305
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
14268
14306
  style: {
@@ -15043,7 +15081,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15043
15081
  style: {
15044
15082
  width: 525
15045
15083
  }
15046
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15084
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15047
15085
  checked: !dataSource.some(function (item) {
15048
15086
  if (item.hidden) return true;
15049
15087
  return false;
@@ -15081,13 +15119,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15081
15119
  _this2.onChange(e, item.title);
15082
15120
  }
15083
15121
  }, item.title);
15084
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15122
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15085
15123
  style: {
15086
15124
  width: '144px'
15087
15125
  }
15088
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15126
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15089
15127
  className: 'sort_table_column_all_empty'
15090
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15128
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15091
15129
  className: 'sort_table_column_special'
15092
15130
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15093
15131
  className: 'sort_table_column_all'
@@ -15266,10 +15304,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15266
15304
  var newColumns = _this.state.showColumns.map(function (col) {
15267
15305
  return _objectSpread2({}, col);
15268
15306
  });
15269
- var _handleIndex = function handleIndex(arr, indexArr) {
15307
+ var handleIndex = function handleIndex(arr, indexArr) {
15270
15308
  var i = indexArr.shift();
15271
15309
  if (indexArr.length > 0) {
15272
- _handleIndex(arr[i].children, indexArr);
15310
+ handleIndex(arr[i].children, indexArr);
15273
15311
  } else {
15274
15312
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15275
15313
  width: size.width
@@ -15277,7 +15315,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15277
15315
  handleBssulaColumnsSpecialParams(arr[i]);
15278
15316
  }
15279
15317
  };
15280
- _handleIndex(newColumns, _toConsumableArray(index));
15318
+ handleIndex(newColumns, _toConsumableArray(index));
15281
15319
  _this.setState({
15282
15320
  showColumns: _toConsumableArray(newColumns)
15283
15321
  });
@@ -15318,7 +15356,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15318
15356
  };
15319
15357
  setIsResizing(true);
15320
15358
  document.addEventListener('mousemove', handleMouseMove);
15321
- document.addEventListener('mouseup', _handleMouseUp);
15359
+ document.addEventListener('mouseup', handleMouseUp);
15322
15360
  };
15323
15361
  var handleMouseMove = function handleMouseMove(e) {
15324
15362
  e.stopPropagation();
@@ -15334,9 +15372,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15334
15372
  dom.style.top = "".concat(e.clientY - 20, "px");
15335
15373
  }
15336
15374
  };
15337
- var _handleMouseUp = function handleMouseUp(e) {
15375
+ var handleMouseUp = function handleMouseUp(e) {
15338
15376
  document.removeEventListener('mousemove', handleMouseMove);
15339
- document.removeEventListener('mouseup', _handleMouseUp);
15377
+ document.removeEventListener('mouseup', handleMouseUp);
15340
15378
  setIsResizing(false);
15341
15379
  };
15342
15380
  var handleresize = function handleresize(e, data, title) {
@@ -15457,13 +15495,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15457
15495
  showSummary = summary;
15458
15496
  }
15459
15497
  }
15460
- var _handleColumns = function handleColumns(arr, indexArr) {
15498
+ var handleColumns = function handleColumns(arr, indexArr) {
15461
15499
  arr.forEach(function (item, index) {
15462
15500
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15463
15501
  return i || i === 0;
15464
15502
  });
15465
15503
  if (noEmptyArray$1(item.children)) {
15466
- _handleColumns(item.children, indexArrInside);
15504
+ handleColumns(item.children, indexArrInside);
15467
15505
  } else {
15468
15506
  item.width = item.width || getItemDefaultWidth$2(item);
15469
15507
  item.onHeaderCell = function (column) {
@@ -15479,7 +15517,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15479
15517
  handleBssulaColumnsSpecialParams(item);
15480
15518
  return _objectSpread2({}, item);
15481
15519
  });
15482
- _handleColumns(showCol, []);
15520
+ handleColumns(showCol, []);
15483
15521
  if (dynamicColumns.length) {
15484
15522
  showCol = this.handledynamicColumns(showCol);
15485
15523
  }
@@ -15520,7 +15558,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15520
15558
  cell: this.ResizeableTitle
15521
15559
  }
15522
15560
  }
15523
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15561
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15524
15562
  summary: summary
15525
15563
  })));
15526
15564
  }
@@ -15617,10 +15655,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15617
15655
  var newColumns = _this.state.showColumns.map(function (col) {
15618
15656
  return _objectSpread2({}, col);
15619
15657
  });
15620
- var _handleIndex = function handleIndex(arr, indexArr) {
15658
+ var handleIndex = function handleIndex(arr, indexArr) {
15621
15659
  var i = indexArr.shift();
15622
15660
  if (indexArr.length > 0) {
15623
- _handleIndex(arr[i].children, indexArr);
15661
+ handleIndex(arr[i].children, indexArr);
15624
15662
  } else {
15625
15663
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15626
15664
  width: size.width
@@ -15628,7 +15666,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15628
15666
  handleAntdColumnsSpecialParams(arr[i]);
15629
15667
  }
15630
15668
  };
15631
- _handleIndex(newColumns, _toConsumableArray(index));
15669
+ handleIndex(newColumns, _toConsumableArray(index));
15632
15670
  _this.setState({
15633
15671
  showColumns: _toConsumableArray(newColumns)
15634
15672
  });
@@ -15704,13 +15742,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15704
15742
  showSummary = summary;
15705
15743
  }
15706
15744
  }
15707
- var _handleColumns = function handleColumns(arr, indexArr) {
15745
+ var handleColumns = function handleColumns(arr, indexArr) {
15708
15746
  arr.forEach(function (item, index) {
15709
15747
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15710
15748
  return i || i === 0;
15711
15749
  });
15712
15750
  if (noEmptyArray$1(item.children)) {
15713
- _handleColumns(item.children, indexArrInside);
15751
+ handleColumns(item.children, indexArrInside);
15714
15752
  } else {
15715
15753
  item.width = item.width || getItemDefaultWidth$2(item);
15716
15754
  item.onHeaderCell = function (column) {
@@ -15726,7 +15764,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15726
15764
  handleAntdColumnsSpecialParams(item);
15727
15765
  return _objectSpread2({}, item);
15728
15766
  });
15729
- _handleColumns(showCol, []);
15767
+ handleColumns(showCol, []);
15730
15768
  if (dynamicColumns.length) {
15731
15769
  showCol = this.handledynamicColumns(showCol);
15732
15770
  }
@@ -15766,7 +15804,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15766
15804
  cell: this.ResizeableTitle
15767
15805
  }
15768
15806
  }
15769
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15807
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15770
15808
  summary: summary
15771
15809
  })));
15772
15810
  }
@@ -15826,20 +15864,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
15826
15864
  };
15827
15865
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
15828
15866
  var routerMap = {};
15829
- var _flattenMenuData2 = function flattenMenuData(data, parent) {
15867
+ var flattenMenuData = function flattenMenuData(data, parent) {
15830
15868
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
15831
15869
  data.forEach(function (menuItem) {
15832
15870
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
15833
15871
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
15834
15872
  });
15835
15873
  if (newMenuItem.children) {
15836
- _flattenMenuData2(newMenuItem.children, newMenuItem);
15874
+ flattenMenuData(newMenuItem.children, newMenuItem);
15837
15875
  }
15838
15876
  // Reduce memory usage
15839
15877
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
15840
15878
  });
15841
15879
  };
15842
- _flattenMenuData2(menuData, {});
15880
+ flattenMenuData(menuData, {});
15843
15881
  return routerMap;
15844
15882
  };
15845
15883
  // mode类型判断
@@ -16165,7 +16203,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16165
16203
  display: 'flex',
16166
16204
  gap: '8px'
16167
16205
  }
16168
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
16206
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
16169
16207
  title: "\u53D6\u6D88\u5168\u5C4F"
16170
16208
  }, /*#__PURE__*/React$1.createElement("img", {
16171
16209
  onClick: function onClick() {
@@ -16173,7 +16211,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16173
16211
  },
16174
16212
  width: 24,
16175
16213
  src: scanning
16176
- }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
16214
+ }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
16177
16215
  title: "\u5168\u5C4F"
16178
16216
  }, /*#__PURE__*/React$1.createElement("img", {
16179
16217
  onClick: function onClick() {
@@ -16181,7 +16219,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16181
16219
  },
16182
16220
  width: 24,
16183
16221
  src: quanping
16184
- }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16222
+ }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16185
16223
  }, function (prevProps, nextProps) {
16186
16224
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
16187
16225
  return false;
@@ -16266,7 +16304,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16266
16304
  }, /*#__PURE__*/React$1.createElement("span", {
16267
16305
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
16268
16306
  }, item));
16269
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16307
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16270
16308
  }, function (prevProps, nextProps) {
16271
16309
  if (prevProps.title !== nextProps.title) {
16272
16310
  return false;
@@ -16906,8 +16944,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16906
16944
  });
16907
16945
  return /*#__PURE__*/React$1.createElement("div", {
16908
16946
  className: 'sort_table_wrapper'
16909
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
16910
- title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
16947
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16948
+ title: "\u5C55\u793A\u5217\u8BBE\u7F6E",
16911
16949
  wrapClassName: 'sort_table_wrapper',
16912
16950
  width: 810,
16913
16951
  visible: visible,
@@ -16944,7 +16982,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16944
16982
  className: 'sort_table_column_wrapper'
16945
16983
  }, /*#__PURE__*/React$1.createElement("span", {
16946
16984
  className: 'sort_table_column_count'
16947
- }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u4F7F\u7528\u7684\u7B5B\u9009\u6761\u4EF6")), /*#__PURE__*/React$1.createElement("div", {
16985
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u5C55\u793A\u7684\u8868\u683C\u5217")), /*#__PURE__*/React$1.createElement("div", {
16948
16986
  className: 'sort_table_column'
16949
16987
  }, /*#__PURE__*/React$1.createElement(Input, {
16950
16988
  prefix: /*#__PURE__*/React$1.createElement(SearchOutlined, {
@@ -16957,7 +16995,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16957
16995
  width: 525,
16958
16996
  height: 24
16959
16997
  }
16960
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16998
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16961
16999
  checked: !dataSource.some(function (item) {
16962
17000
  if (item.hidden) return true;
16963
17001
  return false;
@@ -17011,13 +17049,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17011
17049
  _this2.onChange(e, item.title);
17012
17050
  }
17013
17051
  }, item.title);
17014
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
17052
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17015
17053
  style: {
17016
17054
  width: '144px'
17017
17055
  }
17018
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
17056
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17019
17057
  className: 'sort_table_column_all_empty'
17020
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17058
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17021
17059
  className: 'sort_table_column_special'
17022
17060
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
17023
17061
  className: 'sort_table_column_all'
@@ -17039,7 +17077,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17039
17077
  className: 'sort_table_content_wrapper'
17040
17078
  }, /*#__PURE__*/React$1.createElement("span", {
17041
17079
  className: 'sort_table_content_count'
17042
- }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u641C\u7D22\u6761\u4EF6\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
17080
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u5C55\u793A\u5217\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
17043
17081
  className: 'sort_table_content'
17044
17082
  }, /*#__PURE__*/React$1.createElement("span", {
17045
17083
  style: {
@@ -17491,7 +17529,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17491
17529
  });
17492
17530
  return /*#__PURE__*/React$1.createElement("div", {
17493
17531
  className: 'sort_table_wrapper'
17494
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17532
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17495
17533
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17496
17534
  wrapClassName: 'sort_table_wrapper',
17497
17535
  width: 820,
@@ -17536,7 +17574,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17536
17574
  style: {
17537
17575
  width: 525
17538
17576
  }
17539
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17577
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17540
17578
  checked: !dataSource.some(function (item) {
17541
17579
  if (item.hidden) return true;
17542
17580
  return false;
@@ -17572,11 +17610,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17572
17610
  _this2.onChange(e, item.name);
17573
17611
  }
17574
17612
  }, item.label);
17575
- }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
17613
+ }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17576
17614
  style: {
17577
17615
  width: '144px'
17578
17616
  }
17579
- })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
17617
+ })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17580
17618
  className: 'sort_table_column_all_empty'
17581
17619
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
17582
17620
  className: 'sort_table_content_wrapper'
@@ -17675,7 +17713,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17675
17713
  };
17676
17714
  setIsResizing(true);
17677
17715
  document.addEventListener('mousemove', handleMouseMove);
17678
- document.addEventListener('mouseup', _handleMouseUp);
17716
+ document.addEventListener('mouseup', handleMouseUp);
17679
17717
  };
17680
17718
  var handleMouseMove = function handleMouseMove(e) {
17681
17719
  e.stopPropagation();
@@ -17691,9 +17729,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17691
17729
  dom.style.top = "".concat(e.clientY - 20, "px");
17692
17730
  }
17693
17731
  };
17694
- var _handleMouseUp = function handleMouseUp(e) {
17732
+ var handleMouseUp = function handleMouseUp(e) {
17695
17733
  document.removeEventListener('mousemove', handleMouseMove);
17696
- document.removeEventListener('mouseup', _handleMouseUp);
17734
+ document.removeEventListener('mouseup', handleMouseUp);
17697
17735
  setIsResizing(false);
17698
17736
  };
17699
17737
  var handleresize = function handleresize(e, data, title) {
@@ -18104,7 +18142,7 @@ var BsSulaQueryTable = (function (props) {
18104
18142
  actionsRender = actionsRender.concat([{
18105
18143
  type: 'text',
18106
18144
  props: {
18107
- children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
18145
+ children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
18108
18146
  request: {
18109
18147
  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),
18110
18148
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18350,7 +18388,7 @@ var BsSulaQueryTable = (function (props) {
18350
18388
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18351
18389
  bsTableCode: bsTableCode,
18352
18390
  onlyModal: true
18353
- }), (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, {
18391
+ }), (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, {
18354
18392
  ref: exportTableRef,
18355
18393
  setShowColumns: setShowExportColumns,
18356
18394
  setInitialTableInfo: setInitialTableInfo,
@@ -18443,11 +18481,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18443
18481
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18444
18482
  var resultList = [];
18445
18483
  var newRouter = cloneDeep(router);
18446
- var _deep = function deep(router) {
18484
+ var deep = function deep(router) {
18447
18485
  if (router && Array.isArray(router)) {
18448
18486
  router.forEach(function (item) {
18449
18487
  if (item.children && Array.isArray(item.children)) {
18450
- _deep(item.children);
18488
+ deep(item.children);
18451
18489
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18452
18490
  return d === item.code;
18453
18491
  })) {
@@ -18461,10 +18499,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18461
18499
  resultList.push(_objectSpread2({}, router));
18462
18500
  }
18463
18501
  };
18464
- _deep(newRouter);
18502
+ deep(newRouter);
18465
18503
  callBack([].concat(resultList));
18466
18504
  };
18467
- var _setMenuTreeData = function setMenuTreeData(routesData) {
18505
+ var setMenuTreeData = function setMenuTreeData(routesData) {
18468
18506
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18469
18507
  var _loop = function _loop(i) {
18470
18508
  if (routesData[i].hideInMenu) {
@@ -18478,7 +18516,7 @@ var _setMenuTreeData = function setMenuTreeData(routesData) {
18478
18516
  return 0; // continue
18479
18517
  }
18480
18518
  if (routesData[i].children) {
18481
- _setMenuTreeData(routesData[i].children);
18519
+ setMenuTreeData(routesData[i].children);
18482
18520
  }
18483
18521
  },
18484
18522
  _ret;
@@ -18499,16 +18537,16 @@ var setLoginOutPath = function setLoginOutPath() {
18499
18537
  };
18500
18538
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18501
18539
  var routerMap = {};
18502
- var _flattenMenuData = function flattenMenuData(data) {
18540
+ var flattenMenuData = function flattenMenuData(data) {
18503
18541
  data.forEach(function (menuItem) {
18504
18542
  if (menuItem.children) {
18505
- _flattenMenuData(menuItem.children);
18543
+ flattenMenuData(menuItem.children);
18506
18544
  }
18507
18545
  // Reduce memory usage
18508
18546
  routerMap[menuItem.path] = menuItem;
18509
18547
  });
18510
18548
  };
18511
- _flattenMenuData(menuData);
18549
+ flattenMenuData(menuData);
18512
18550
  return routerMap;
18513
18551
  };
18514
18552
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -18654,7 +18692,7 @@ var DrawContent = function DrawContent(_ref) {
18654
18692
  sethomepageData(homepageDataList);
18655
18693
  setroutesData(routesDataList);
18656
18694
  }, []);
18657
- var _renderChildItem = function renderChildItem(child) {
18695
+ var renderChildItem = function renderChildItem(child) {
18658
18696
  if (!child.hideInMenu && child.children) {
18659
18697
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18660
18698
  style: {
@@ -18664,7 +18702,7 @@ var DrawContent = function DrawContent(_ref) {
18664
18702
  }, formatMessage({
18665
18703
  id: "".concat(child.locale)
18666
18704
  })), child.children.map(function (menuItem) {
18667
- return _renderChildItem(menuItem);
18705
+ return renderChildItem(menuItem);
18668
18706
  }));
18669
18707
  } else if (!child.hideInMenu && child.path) {
18670
18708
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18699,7 +18737,7 @@ var DrawContent = function DrawContent(_ref) {
18699
18737
  className: 'drawerWarp'
18700
18738
  }, homepageData && homepageData.filter(function (d) {
18701
18739
  return !d.hideInMenu;
18702
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
18740
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
18703
18741
  className: classNames('allFunsList', 'allFunsListWarp'),
18704
18742
  dataSource: homepageData,
18705
18743
  renderItem: function renderItem(child) {
@@ -18734,7 +18772,7 @@ var DrawContent = function DrawContent(_ref) {
18734
18772
  bordered: true,
18735
18773
  dataSource: item.children,
18736
18774
  renderItem: function renderItem(child) {
18737
- return _renderChildItem(child);
18775
+ return renderChildItem(child);
18738
18776
  }
18739
18777
  });
18740
18778
  })));
@@ -18794,7 +18832,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
18794
18832
  src: allfunc
18795
18833
  })), /*#__PURE__*/React$1.createElement("span", {
18796
18834
  className: 'btnSpan2'
18797
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
18835
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18798
18836
  style: {
18799
18837
  left: isDrawer ? 140 : 0,
18800
18838
  top: 50
@@ -18840,7 +18878,7 @@ function outLogin(_x) {
18840
18878
  return _outLogin.apply(this, arguments);
18841
18879
  }
18842
18880
  function _outLogin() {
18843
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18881
+ _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18844
18882
  var res;
18845
18883
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18846
18884
  while (1) switch (_context.prev = _context.next) {
@@ -18982,7 +19020,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18982
19020
  });
18983
19021
  };
18984
19022
  var loginOut = /*#__PURE__*/function () {
18985
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19023
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18986
19024
  var sessionId;
18987
19025
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18988
19026
  while (1) switch (_context.prev = _context.next) {
@@ -19086,7 +19124,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19086
19124
  marginRight: '0px'
19087
19125
  },
19088
19126
  src: './xialajiantou-new.svg'
19089
- }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19127
+ }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19090
19128
  };
19091
19129
 
19092
19130
  // -- 查询店铺 --
@@ -19094,7 +19132,7 @@ function getStoreByName(_x) {
19094
19132
  return _getStoreByName.apply(this, arguments);
19095
19133
  }
19096
19134
  function _getStoreByName() {
19097
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19135
+ _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19098
19136
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19099
19137
  while (1) switch (_context.prev = _context.next) {
19100
19138
  case 0:
@@ -19162,7 +19200,7 @@ var ChooseStore = function ChooseStore(props) {
19162
19200
  return _fetchUserList.apply(this, arguments);
19163
19201
  }
19164
19202
  function _fetchUserList() {
19165
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19203
+ _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19166
19204
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19167
19205
  while (1) switch (_context3.prev = _context3.next) {
19168
19206
  case 0:
@@ -19210,7 +19248,7 @@ var ChooseStore = function ChooseStore(props) {
19210
19248
  return debounce$1(loadOptions, debounceTimeout);
19211
19249
  }, [debounceTimeout, key]);
19212
19250
  var changeInput = /*#__PURE__*/function () {
19213
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19251
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19214
19252
  var res;
19215
19253
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19216
19254
  while (1) switch (_context.prev = _context.next) {
@@ -19232,7 +19270,7 @@ var ChooseStore = function ChooseStore(props) {
19232
19270
  };
19233
19271
  }();
19234
19272
  useEffect(function () {
19235
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19273
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19236
19274
  var res;
19237
19275
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19238
19276
  while (1) switch (_context2.prev = _context2.next) {
@@ -19397,7 +19435,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19397
19435
  var resultList = [];
19398
19436
  var newRouter = cloneDeep$1(router);
19399
19437
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19400
- var _deep = function deep(router) {
19438
+ var deep = function deep(router) {
19401
19439
  if (router && Array.isArray(router)) {
19402
19440
  router.forEach(function (item) {
19403
19441
  if (item.routes && Array.isArray(item.routes)) {
@@ -19407,7 +19445,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19407
19445
  d.nameEdit = true;
19408
19446
  }
19409
19447
  });
19410
- _deep(item.routes);
19448
+ deep(item.routes);
19411
19449
  } else if (!item.hideInMenu && (name ? formatMessage({
19412
19450
  id: "menu.".concat(item.name)
19413
19451
  }).indexOf(name) !== -1 : true)) {
@@ -19426,7 +19464,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19426
19464
  }));
19427
19465
  }
19428
19466
  };
19429
- _deep(newRouter);
19467
+ deep(newRouter);
19430
19468
  setroutesData([].concat(resultList));
19431
19469
  };
19432
19470
  var renderLineStyl = function renderLineStyl(name) {
@@ -19508,7 +19546,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19508
19546
  },
19509
19547
  title: item.fullPathName
19510
19548
  }, renderLineStyl(item.fullPathName));
19511
- }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
19549
+ }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
19512
19550
  employeeCode: employeeCode
19513
19551
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
19514
19552
  };
@@ -19523,7 +19561,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19523
19561
  var TreeNode = Tree.TreeNode;
19524
19562
  var Search$2 = Input.Search;
19525
19563
  var dataList = [];
19526
- var _generateList = function generateList(data) {
19564
+ var generateList = function generateList(data) {
19527
19565
  for (var i = 0; i < data.length; i++) {
19528
19566
  var node = data[i];
19529
19567
  var path = node.path,
@@ -19533,11 +19571,11 @@ var _generateList = function generateList(data) {
19533
19571
  name: name
19534
19572
  });
19535
19573
  if (node.children) {
19536
- _generateList(node.children);
19574
+ generateList(node.children);
19537
19575
  }
19538
19576
  }
19539
19577
  };
19540
- var _getParentKey = function getParentKey(path, tree) {
19578
+ var getParentKey = function getParentKey(path, tree) {
19541
19579
  var parentKey;
19542
19580
  for (var i = 0; i < tree.length; i++) {
19543
19581
  var node = tree[i];
@@ -19546,8 +19584,8 @@ var _getParentKey = function getParentKey(path, tree) {
19546
19584
  return item.path === path;
19547
19585
  })) {
19548
19586
  parentKey = node.path;
19549
- } else if (_getParentKey(path, node.children)) {
19550
- parentKey = _getParentKey(path, node.children);
19587
+ } else if (getParentKey(path, node.children)) {
19588
+ parentKey = getParentKey(path, node.children);
19551
19589
  }
19552
19590
  }
19553
19591
  }
@@ -19578,7 +19616,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19578
19616
  var treeData = _this.state.treeData;
19579
19617
  var expandedKeys = dataList.map(function (item) {
19580
19618
  if (item.name.indexOf(value) > -1) {
19581
- return _getParentKey(item.path, treeData);
19619
+ return getParentKey(item.path, treeData);
19582
19620
  }
19583
19621
  return null;
19584
19622
  }).filter(function (item, i, self) {
@@ -19592,22 +19630,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19592
19630
  };
19593
19631
  _this.getPathList = function (originData) {
19594
19632
  var pathList = [];
19595
- var _getList = function getList(data) {
19633
+ var getList = function getList(data) {
19596
19634
  if (Array.isArray(data)) {
19597
19635
  data.forEach(function (item) {
19598
19636
  pathList.push(item.path);
19599
19637
  if (item.children) {
19600
- _getList(item.children);
19638
+ getList(item.children);
19601
19639
  }
19602
19640
  });
19603
19641
  } else {
19604
19642
  pathList.push(data.path);
19605
19643
  if (data.children) {
19606
- _getList(data.children);
19644
+ getList(data.children);
19607
19645
  }
19608
19646
  }
19609
19647
  };
19610
- _getList(originData);
19648
+ getList(originData);
19611
19649
  return pathList;
19612
19650
  };
19613
19651
  _this.handleAdd2Menu = function (path) {
@@ -19616,18 +19654,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19616
19654
  customerMenuData = _this$props.customerMenuData,
19617
19655
  setCustomerMenuData = _this$props.setCustomerMenuData;
19618
19656
  var filterItem;
19619
- var _filterMenuItem = function filterMenuItem(menuData) {
19657
+ var filterMenuItem = function filterMenuItem(menuData) {
19620
19658
  menuData.forEach(function (item) {
19621
19659
  if (item.path === path) {
19622
19660
  filterItem = _objectSpread2({}, item);
19623
19661
  return;
19624
19662
  }
19625
19663
  if (item.children) {
19626
- _filterMenuItem(item.children);
19664
+ filterMenuItem(item.children);
19627
19665
  }
19628
19666
  });
19629
19667
  };
19630
- _filterMenuItem(treeData);
19668
+ filterMenuItem(treeData);
19631
19669
  var addPathList = _this.getPathList(filterItem);
19632
19670
  var oldPathList = _this.getPathList(customerMenuData);
19633
19671
  var isRepet = false;
@@ -19657,8 +19695,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19657
19695
  return item.path === '/';
19658
19696
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19659
19697
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19660
- _setMenuTreeData(routesData);
19661
- _generateList(routesData);
19698
+ setMenuTreeData(routesData);
19699
+ generateList(routesData);
19662
19700
  this.setState({
19663
19701
  treeData: routesData
19664
19702
  });
@@ -19672,16 +19710,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19672
19710
  expandedKeys = _this$state.expandedKeys,
19673
19711
  autoExpandParent = _this$state.autoExpandParent,
19674
19712
  treeData = _this$state.treeData;
19675
- var _loop = function loop(data) {
19713
+ var loop = function loop(data) {
19676
19714
  return data.map(function (item) {
19677
19715
  var index = item.name.indexOf(searchValue);
19678
19716
  var beforeStr = item.name.substr(0, index);
19679
19717
  var afterStr = item.name.substr(index + searchValue.length);
19680
- var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19718
+ var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19681
19719
  style: {
19682
19720
  color: '#f50'
19683
19721
  }
19684
- }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
19722
+ }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
19685
19723
  if (item.children && item.children.length) {
19686
19724
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19687
19725
  path: item.path,
@@ -19703,7 +19741,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19703
19741
  width: 18,
19704
19742
  src: arrowRight
19705
19743
  }))))
19706
- }, _loop(item.children));
19744
+ }, loop(item.children));
19707
19745
  }
19708
19746
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19709
19747
  path: item.path,
@@ -19753,7 +19791,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19753
19791
  onExpand: this.onExpand,
19754
19792
  expandedKeys: expandedKeys,
19755
19793
  autoExpandParent: autoExpandParent
19756
- }, _loop(treeData))));
19794
+ }, loop(treeData))));
19757
19795
  }
19758
19796
  }]);
19759
19797
  }(React$1.Component);
@@ -19786,24 +19824,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19786
19824
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
19787
19825
  var dragObj;
19788
19826
  var finalDropItem;
19789
- var _loop = function loop(data, path, callback) {
19827
+ var loop = function loop(data, path, callback) {
19790
19828
  for (var i = 0; i < data.length; i++) {
19791
19829
  if (data[i].path === path) {
19792
19830
  return callback(data[i], i, data);
19793
19831
  }
19794
19832
  if (data[i].children) {
19795
- _loop(data[i].children, path, callback);
19833
+ loop(data[i].children, path, callback);
19796
19834
  }
19797
19835
  }
19798
19836
  };
19799
19837
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
19800
- _loop(data, dragKey, function (item, index, arr) {
19838
+ loop(data, dragKey, function (item, index, arr) {
19801
19839
  arr.splice(index, 1);
19802
19840
  dragObj = item;
19803
19841
  });
19804
19842
  if (!info.dropToGap) {
19805
19843
  // Drop on the content
19806
- _loop(data, dropKey, function (item) {
19844
+ loop(data, dropKey, function (item) {
19807
19845
  item.children = item.children || [];
19808
19846
  item.children.unshift(dragObj);
19809
19847
  finalDropItem = _objectSpread2({}, item);
@@ -19814,7 +19852,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19814
19852
  // Is expanded
19815
19853
  dropPosition === 1 // On the bottom gap
19816
19854
  ) {
19817
- _loop(data, dropKey, function (item) {
19855
+ loop(data, dropKey, function (item) {
19818
19856
  item.children = item.children || [];
19819
19857
  item.children.unshift(dragObj);
19820
19858
  finalDropItem = _objectSpread2({}, item);
@@ -19822,7 +19860,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19822
19860
  } else {
19823
19861
  var ar;
19824
19862
  var i;
19825
- _loop(data, dropKey, function (item, index, arr) {
19863
+ loop(data, dropKey, function (item, index, arr) {
19826
19864
  ar = arr;
19827
19865
  i = index;
19828
19866
  });
@@ -19861,17 +19899,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19861
19899
  title: '编辑名称',
19862
19900
  callBack: function callBack(newName) {
19863
19901
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19864
- var _editTreeDataName = function editTreeDataName(oldTreeData) {
19902
+ var editTreeDataName = function editTreeDataName(oldTreeData) {
19865
19903
  oldTreeData.forEach(function (treeItem) {
19866
19904
  if (treeItem.path === item.path) {
19867
19905
  treeItem.name = newName;
19868
19906
  }
19869
19907
  if (treeItem.children) {
19870
- _editTreeDataName(treeItem.children);
19908
+ editTreeDataName(treeItem.children);
19871
19909
  }
19872
19910
  });
19873
19911
  };
19874
- _editTreeDataName(oldTreeData);
19912
+ editTreeDataName(oldTreeData);
19875
19913
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19876
19914
  _this.setState({
19877
19915
  modalInfo: {
@@ -19916,7 +19954,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19916
19954
  title: '新增子目录',
19917
19955
  callBack: function callBack(newName) {
19918
19956
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19919
- var _addChildFolder = function addChildFolder(oldTreeData) {
19957
+ var addChildFolder = function addChildFolder(oldTreeData) {
19920
19958
  oldTreeData.forEach(function (treeItem) {
19921
19959
  if (treeItem.path === item.path) {
19922
19960
  treeItem.children ? treeItem.children.push({
@@ -19928,11 +19966,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19928
19966
  }];
19929
19967
  }
19930
19968
  if (treeItem.children) {
19931
- _addChildFolder(treeItem.children);
19969
+ addChildFolder(treeItem.children);
19932
19970
  }
19933
19971
  });
19934
19972
  };
19935
- _addChildFolder(oldTreeData);
19973
+ addChildFolder(oldTreeData);
19936
19974
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19937
19975
  _this.setState({
19938
19976
  modalInfo: {
@@ -19991,7 +20029,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19991
20029
  var _this$state = this.state,
19992
20030
  modalInfo = _this$state.modalInfo,
19993
20031
  checkedKeys = _this$state.checkedKeys;
19994
- var _loop2 = function loop(data) {
20032
+ var loop = function loop(data) {
19995
20033
  return data.map(function (item) {
19996
20034
  if (item.children && item.children.length) {
19997
20035
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -20008,7 +20046,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20008
20046
  e.stopPropagation();
20009
20047
  }
20010
20048
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
20011
- }, _loop2(item.children));
20049
+ }, loop(item.children));
20012
20050
  }
20013
20051
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
20014
20052
  path: item.path,
@@ -20087,7 +20125,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20087
20125
  children: 'children'
20088
20126
  },
20089
20127
  onDrop: this.onDrop
20090
- }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20128
+ }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20091
20129
  width: 600,
20092
20130
  bodyStyle: {
20093
20131
  paddingTop: '32px',
@@ -20200,7 +20238,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20200
20238
  pathname: item.path
20201
20239
  });
20202
20240
  };
20203
- var _getMenuDom = function getMenuDom(menuData) {
20241
+ var getMenuDom = function getMenuDom(menuData) {
20204
20242
  return menuData.map(function (item) {
20205
20243
  return /*#__PURE__*/React$1.createElement("div", {
20206
20244
  style: {
@@ -20215,7 +20253,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20215
20253
  fontWeight: item.children || !item.component ? 'bolder' : '400',
20216
20254
  paddingLeft: '4px'
20217
20255
  }
20218
- }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
20256
+ }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
20219
20257
  });
20220
20258
  };
20221
20259
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20241,7 +20279,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20241
20279
  style: {
20242
20280
  paddingLeft: '5px'
20243
20281
  }
20244
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
20282
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
20245
20283
  style: {
20246
20284
  left: isDrawer ? 140 : 0
20247
20285
  },
@@ -20262,7 +20300,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20262
20300
  visible: isDrawer
20263
20301
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
20264
20302
  className: 'menu_title_line'
20265
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20303
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20266
20304
  title: /*#__PURE__*/React$1.createElement("span", {
20267
20305
  style: {
20268
20306
  fontWeight: '600',
@@ -20336,7 +20374,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20336
20374
  return item.path === '/';
20337
20375
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20338
20376
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20339
- _setMenuTreeData(routesData);
20377
+ setMenuTreeData(routesData);
20340
20378
  routesData.forEach(function (item) {
20341
20379
  if (item.children) {
20342
20380
  routesDataList.push(item);
@@ -20366,7 +20404,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20366
20404
  setHeight(clientHeight - 190);
20367
20405
  setDrawHeight(clientHeight - 70);
20368
20406
  };
20369
- var _renderChildItem = function renderChildItem(child) {
20407
+ var renderChildItem = function renderChildItem(child) {
20370
20408
  if (!child.hideInMenu && child.children) {
20371
20409
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
20372
20410
  style: {
@@ -20376,7 +20414,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20376
20414
  }, formatMessage({
20377
20415
  id: "".concat(child.locale)
20378
20416
  })), child.children.map(function (menuItem) {
20379
- return _renderChildItem(menuItem);
20417
+ return renderChildItem(menuItem);
20380
20418
  }));
20381
20419
  } else if (!child.hideInMenu && child.path) {
20382
20420
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -20518,7 +20556,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20518
20556
  onMenuClick(e, item);
20519
20557
  }
20520
20558
  }, item.name);
20521
- }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
20559
+ }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
20522
20560
  className: 'search_menu_content'
20523
20561
  }, SearhData.map(function (item) {
20524
20562
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20527,7 +20565,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20527
20565
  },
20528
20566
  key: item.path
20529
20567
  }, item.name);
20530
- }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20568
+ }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20531
20569
  style: {
20532
20570
  height: "".concat(rightMenuHeight, "px"),
20533
20571
  overflowY: 'scroll',
@@ -20539,7 +20577,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20539
20577
  className: 'drawerWarp_right'
20540
20578
  }, homepageData && homepageData.filter(function (d) {
20541
20579
  return !d.hideInMenu;
20542
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
20580
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
20543
20581
  className: classNames('allFunsList', 'allFunsListWarp'),
20544
20582
  dataSource: homepageData,
20545
20583
  renderItem: function renderItem(child) {
@@ -20580,7 +20618,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20580
20618
  bordered: true,
20581
20619
  dataSource: item.children,
20582
20620
  renderItem: function renderItem(child) {
20583
- return _renderChildItem(child);
20621
+ return renderChildItem(child);
20584
20622
  }
20585
20623
  });
20586
20624
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -20738,10 +20776,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20738
20776
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
20739
20777
  var menuKeys = [];
20740
20778
  var docsId = [];
20741
- var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20779
+ var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20742
20780
  data.forEach(function (item) {
20743
20781
  if (item.children && item.children.length > 0) {
20744
- _getLimitedMenuKeys(item.children);
20782
+ getLimitedMenuKeys(item.children);
20745
20783
  } else {
20746
20784
  var originPath = item.path.replace(/^\/\w+\//, '/');
20747
20785
  menuKeys.push(originPath);
@@ -20752,7 +20790,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20752
20790
  });
20753
20791
  };
20754
20792
  try {
20755
- _getLimitedMenuKeys(limitedMenuData);
20793
+ getLimitedMenuKeys(limitedMenuData);
20756
20794
  } catch (e) {}
20757
20795
  return {
20758
20796
  menuKeys: menuKeys,
@@ -20986,10 +21024,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20986
21024
  return (node.path || '').includes('all-general-documents');
20987
21025
  };
20988
21026
  // 递归获取树列表
20989
- var _getTreeList = function getTreeList(data) {
21027
+ var getTreeList = function getTreeList(data) {
20990
21028
  data.forEach(function (node) {
20991
21029
  if (node.routes && node.routes.length > 0) {
20992
- _getTreeList(node.routes);
21030
+ getTreeList(node.routes);
20993
21031
  return;
20994
21032
  }
20995
21033
  // todo:暂时处理非wujie环境不做404管控
@@ -21020,7 +21058,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21020
21058
  }
21021
21059
  });
21022
21060
  };
21023
- _getTreeList(treeData);
21061
+ getTreeList(treeData);
21024
21062
  return treeList;
21025
21063
  };
21026
21064
  _this.getDictionarySource = function (dicCode) {
@@ -21649,7 +21687,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21649
21687
  updateState = _ref8.updateState;
21650
21688
  return /*#__PURE__*/React$1.createElement("div", {
21651
21689
  className: "tab_title_content"
21652
- }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
21690
+ }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
21653
21691
  info: item,
21654
21692
  operateFun: _this3.operateFun,
21655
21693
  listenRouterState: listenRouterState
@@ -21785,7 +21823,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21785
21823
  };
21786
21824
  }
21787
21825
  var OperationsSlot = {
21788
- left: (/*#__PURE__*/React$1.createElement("div", {
21826
+ left: ( /*#__PURE__*/React$1.createElement("div", {
21789
21827
  className: 'tab_left_operate'
21790
21828
  }, /*#__PURE__*/React$1.createElement("div", {
21791
21829
  onClick: function onClick() {
@@ -21801,7 +21839,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21801
21839
  _this3.setTabNavTransLate(-100);
21802
21840
  }
21803
21841
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
21804
- right: (/*#__PURE__*/React$1.createElement("div", {
21842
+ right: ( /*#__PURE__*/React$1.createElement("div", {
21805
21843
  style: {
21806
21844
  opacity: this.state.isSlider ? 1 : 0.5
21807
21845
  },
@@ -21899,7 +21937,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21899
21937
  onMouseLeave: function onMouseLeave() {
21900
21938
  _this3.setShowMenu(false);
21901
21939
  }
21902
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21940
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21903
21941
  style: {
21904
21942
  position: 'absolute',
21905
21943
  top: '14px',
@@ -21918,7 +21956,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21918
21956
  postMenuData: function postMenuData(menus) {
21919
21957
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21920
21958
  },
21921
- links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
21959
+ links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
21922
21960
  ref: this.allFunc,
21923
21961
  itemPath: itemPath,
21924
21962
  handleClose: this.handleClose,
@@ -21936,7 +21974,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21936
21974
  },
21937
21975
  menu: {
21938
21976
  request: function () {
21939
- var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21977
+ var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21940
21978
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21941
21979
  while (1) switch (_context.prev = _context.next) {
21942
21980
  case 0:
@@ -22071,7 +22109,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22071
22109
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
22072
22110
  timeFormat = _this$props4.timeFormat,
22073
22111
  transparentProps = _this$props4.transparentProps;
22074
- 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({
22112
+ 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({
22075
22113
  getDictionarySource: getDictionarySource,
22076
22114
  getDictionaryTextByValue: getDictionaryTextByValue,
22077
22115
  timeFormat: timeFormat
@@ -22095,12 +22133,12 @@ var index$5 = (function (props) {
22095
22133
  });
22096
22134
 
22097
22135
  // @ts-nocheck
22098
- var _getAllColumns = function getAllColumns(columns) {
22136
+ var getAllColumns = function getAllColumns(columns) {
22099
22137
  var result = [];
22100
22138
  columns.forEach(function (column) {
22101
22139
  if (column.children) {
22102
22140
  result.push(column);
22103
- result.push.apply(result, _getAllColumns(column.children));
22141
+ result.push.apply(result, getAllColumns(column.children));
22104
22142
  } else {
22105
22143
  result.push(column);
22106
22144
  }
@@ -22109,7 +22147,7 @@ var _getAllColumns = function getAllColumns(columns) {
22109
22147
  };
22110
22148
  var convertToRows = function convertToRows(originColumns) {
22111
22149
  var maxLevel = 1;
22112
- var _traverse = function traverse(column, parent) {
22150
+ var traverse = function traverse(column, parent) {
22113
22151
  if (parent) {
22114
22152
  column.level = parent.level + 1;
22115
22153
  if (maxLevel < column.level) {
@@ -22119,7 +22157,7 @@ var convertToRows = function convertToRows(originColumns) {
22119
22157
  if (column.children) {
22120
22158
  var colSpan = 0;
22121
22159
  column.children.forEach(function (subColumn) {
22122
- _traverse(subColumn, column);
22160
+ traverse(subColumn, column);
22123
22161
  colSpan += subColumn.colSpan;
22124
22162
  });
22125
22163
  column.colSpan = colSpan;
@@ -22129,13 +22167,13 @@ var convertToRows = function convertToRows(originColumns) {
22129
22167
  };
22130
22168
  originColumns.forEach(function (column) {
22131
22169
  column.level = 1;
22132
- _traverse(column);
22170
+ traverse(column);
22133
22171
  });
22134
22172
  var rows = [];
22135
22173
  for (var i = 0; i < maxLevel; i++) {
22136
22174
  rows.push([]);
22137
22175
  }
22138
- var allColumns = _getAllColumns(originColumns);
22176
+ var allColumns = getAllColumns(originColumns);
22139
22177
  allColumns.forEach(function (column) {
22140
22178
  if (!column.children) {
22141
22179
  column.rowSpan = maxLevel - column.level + 1;
@@ -22175,7 +22213,7 @@ var convertToRows = function convertToRows(originColumns) {
22175
22213
  };
22176
22214
  var headersToRows = function headersToRows(originColumns) {
22177
22215
  var maxLevel = 1;
22178
- var _traverse2 = function traverse(column, parent) {
22216
+ var traverse = function traverse(column, parent) {
22179
22217
  if (parent) {
22180
22218
  //计算当前元素属于第几个层级
22181
22219
  column.level = parent.level + 1;
@@ -22188,7 +22226,7 @@ var headersToRows = function headersToRows(originColumns) {
22188
22226
  var colSpan = 0;
22189
22227
  column.children.forEach(function (subColumn) {
22190
22228
  //进行递归
22191
- _traverse2(subColumn, column);
22229
+ traverse(subColumn, column);
22192
22230
  colSpan += subColumn.colSpan;
22193
22231
  });
22194
22232
  column.colSpan = colSpan;
@@ -22198,14 +22236,14 @@ var headersToRows = function headersToRows(originColumns) {
22198
22236
  };
22199
22237
  originColumns.forEach(function (column) {
22200
22238
  column.level = 1;
22201
- _traverse2(column);
22239
+ traverse(column);
22202
22240
  });
22203
22241
  var rows = [];
22204
22242
  var lastData = [];
22205
22243
  for (var i = 0; i < maxLevel; i++) {
22206
22244
  rows.push([]);
22207
22245
  }
22208
- var allColumns = _getAllColumns(originColumns);
22246
+ var allColumns = getAllColumns(originColumns);
22209
22247
  allColumns.forEach(function (column) {
22210
22248
  if (!column.children) {
22211
22249
  column.rowSpan = maxLevel - column.level + 1;
@@ -28222,7 +28260,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
28222
28260
  }
28223
28261
  return lineStart <= highLightLine && lineEnd >= highLightLine;
28224
28262
  };
28225
- var _hasHighLightChildren = function hasHighLightChildren() {
28263
+ var hasHighLightChildren = function hasHighLightChildren() {
28226
28264
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
28227
28265
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
28228
28266
  var children = hightLightData.children,
@@ -28233,7 +28271,7 @@ var _hasHighLightChildren = function hasHighLightChildren() {
28233
28271
  lineEnd = _loc2[2];
28234
28272
  if (children) {
28235
28273
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
28236
- return _hasHighLightChildren(v, highLightLine);
28274
+ return hasHighLightChildren(v, highLightLine);
28237
28275
  });
28238
28276
  }
28239
28277
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -28245,7 +28283,7 @@ function createHighLightTreeData(treeData, highLightLine) {
28245
28283
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
28246
28284
  data.forEach(function (node) {
28247
28285
  if (!node) return;
28248
- node.toggled = _hasHighLightChildren(node, highLightLine);
28286
+ node.toggled = hasHighLightChildren(node, highLightLine);
28249
28287
  node.active = isHightLight(node, highLightLine);
28250
28288
  if (node.children) {
28251
28289
  if (node.active) {
@@ -29676,7 +29714,7 @@ var valueType = {
29676
29714
  };
29677
29715
 
29678
29716
  var getDynamicDict = /*#__PURE__*/function () {
29679
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29717
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29680
29718
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29681
29719
  while (1) switch (_context.prev = _context.next) {
29682
29720
  case 0:
@@ -29744,7 +29782,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29744
29782
  value: false
29745
29783
  }];
29746
29784
  var ref = useRef();
29747
- useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29785
+ useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29748
29786
  var _ref$current, source;
29749
29787
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29750
29788
  while (1) switch (_context.prev = _context.next) {
@@ -29858,7 +29896,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29858
29896
  source: {
29859
29897
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
29860
29898
  type: function () {
29861
- var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29899
+ var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29862
29900
  var form, values, name, relates, source;
29863
29901
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29864
29902
  while (1) switch (_context2.prev = _context2.next) {
@@ -30338,7 +30376,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30338
30376
  source: {
30339
30377
  relates: ['choiceType', 'inputType'],
30340
30378
  type: function () {
30341
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30379
+ var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30342
30380
  var values, name, form, source;
30343
30381
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30344
30382
  while (1) switch (_context3.prev = _context3.next) {
@@ -30560,7 +30598,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30560
30598
  width: 900,
30561
30599
  maskClosable: false,
30562
30600
  onOk: function () {
30563
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30601
+ var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30564
30602
  var _ref$current4, _res$editableStatus;
30565
30603
  var res, _res$defaultValue;
30566
30604
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -30632,7 +30670,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30632
30670
  }()
30633
30671
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
30634
30672
  ref: ref
30635
- })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30673
+ })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30636
30674
  };
30637
30675
 
30638
30676
  // @ts-nocheck
@@ -31246,7 +31284,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31246
31284
  return setVisible(false);
31247
31285
  },
31248
31286
  className: 'customFieldsDrawer'
31249
- }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
31287
+ }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
31250
31288
  style: {
31251
31289
  display: 'flex'
31252
31290
  }
@@ -31255,13 +31293,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31255
31293
  flex: 1,
31256
31294
  width: 500
31257
31295
  }
31258
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31296
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31259
31297
  style: {
31260
31298
  padding: "10px 0",
31261
31299
  fontSize: "16px",
31262
31300
  fontWeight: "bolder"
31263
31301
  }
31264
- }, "\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", {
31302
+ }, "\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", {
31265
31303
  style: {
31266
31304
  flex: 1
31267
31305
  }
@@ -31270,7 +31308,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31270
31308
  onRun: onClickRun,
31271
31309
  value: jsonEditorVal,
31272
31310
  shallowHeight: height
31273
- })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
31311
+ })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
31274
31312
  defaultActiveKey: activeKey,
31275
31313
  onChange: function onChange(v) {
31276
31314
  return setActiveKey(v);
@@ -31287,13 +31325,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31287
31325
  flex: 1,
31288
31326
  width: 500
31289
31327
  }
31290
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31328
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31291
31329
  style: {
31292
31330
  padding: "10px 0",
31293
31331
  fontSize: "16px",
31294
31332
  fontWeight: "bolder"
31295
31333
  }
31296
- }, "\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", {
31334
+ }, "\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", {
31297
31335
  style: {
31298
31336
  flex: 1
31299
31337
  }
@@ -31315,13 +31353,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31315
31353
  flex: 1,
31316
31354
  width: 500
31317
31355
  }
31318
- }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
31356
+ }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
31319
31357
  style: {
31320
31358
  padding: "10px 0",
31321
31359
  fontSize: "16px",
31322
31360
  fontWeight: "bolder"
31323
31361
  }
31324
- }, "\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", {
31362
+ }, "\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", {
31325
31363
  style: {
31326
31364
  flex: 1
31327
31365
  }
@@ -31467,7 +31505,7 @@ function getMetaData(_x) {
31467
31505
 
31468
31506
  // 获取数据
31469
31507
  function _getMetaData() {
31470
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31508
+ _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31471
31509
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31472
31510
  while (1) switch (_context.prev = _context.next) {
31473
31511
  case 0:
@@ -31689,7 +31727,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31689
31727
  tableState = _useState4[0],
31690
31728
  setTableState = _useState4[1];
31691
31729
  var handleOpen = /*#__PURE__*/function () {
31692
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31730
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31693
31731
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
31694
31732
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
31695
31733
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -32008,7 +32046,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
32008
32046
  destroyOnClose: true
32009
32047
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
32010
32048
  ref: queryTableRef
32011
- }, 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, {
32049
+ }, 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, {
32012
32050
  justify: "center",
32013
32051
  style: {
32014
32052
  marginBottom: 30,
@@ -32124,7 +32162,7 @@ var CustomSelector = (function (props) {
32124
32162
  var _props$ctx7;
32125
32163
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
32126
32164
  }
32127
- })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
32165
+ })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
32128
32166
  type: "primary",
32129
32167
  style: {
32130
32168
  width: '30px',
@@ -32210,7 +32248,7 @@ var BsCascader = function BsCascader(_ref) {
32210
32248
  _useState2 = _slicedToArray(_useState, 2),
32211
32249
  handSource = _useState2[0],
32212
32250
  setHandSource = _useState2[1];
32213
- useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32251
+ useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32214
32252
  var resData, data;
32215
32253
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32216
32254
  while (1) switch (_context.prev = _context.next) {
@@ -32362,7 +32400,7 @@ function getRegularThresholdRange(_x) {
32362
32400
  return _getRegularThresholdRange.apply(this, arguments);
32363
32401
  }
32364
32402
  function _getRegularThresholdRange() {
32365
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32403
+ _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32366
32404
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32367
32405
  while (1) switch (_context.prev = _context.next) {
32368
32406
  case 0:
@@ -32516,7 +32554,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32516
32554
  };
32517
32555
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32518
32556
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32519
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32557
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32520
32558
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32521
32559
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32522
32560
  while (1) switch (_context.prev = _context.next) {
@@ -33473,7 +33511,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33473
33511
  isAll: true,
33474
33512
  needNameAndCode: true,
33475
33513
  notChangeOnSelect: true,
33476
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33514
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33477
33515
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33478
33516
  while (1) switch (_context2.prev = _context2.next) {
33479
33517
  case 0:
@@ -33522,7 +33560,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33522
33560
  isAll: true,
33523
33561
  needNameAndCode: true,
33524
33562
  notChangeOnSelect: true,
33525
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33563
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33526
33564
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33527
33565
  while (1) switch (_context3.prev = _context3.next) {
33528
33566
  case 0:
@@ -33573,7 +33611,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33573
33611
  isAll: true,
33574
33612
  needNameAndCode: true,
33575
33613
  notChangeOnSelect: true,
33576
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33614
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33577
33615
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33578
33616
  while (1) switch (_context4.prev = _context4.next) {
33579
33617
  case 0:
@@ -35551,7 +35589,7 @@ var App$1 = function App(_ref) {
35551
35589
  borderRadius: '5px',
35552
35590
  cursor: 'pointer'
35553
35591
  }
35554
- }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
35592
+ }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
35555
35593
  autoFocus: true,
35556
35594
  onClick: function onClick(e) {
35557
35595
  return e.stopPropagation();
@@ -35838,7 +35876,7 @@ function RenderCompItem(props) {
35838
35876
  dictData = _useState2[0],
35839
35877
  setDictData = _useState2[1];
35840
35878
  var getDictData = /*#__PURE__*/function () {
35841
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35879
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35842
35880
  var _data$map;
35843
35881
  var data;
35844
35882
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -35880,7 +35918,7 @@ function RenderCompItem(props) {
35880
35918
  var style2 = {
35881
35919
  width: '100px'
35882
35920
  };
35883
- 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, {
35921
+ 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, {
35884
35922
  disabled: disabled,
35885
35923
  allowClear: true,
35886
35924
  onClear: function onClear() {
@@ -35891,7 +35929,7 @@ function RenderCompItem(props) {
35891
35929
  onBlur: function onBlur(e) {
35892
35930
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
35893
35931
  }
35894
- })) || 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, {
35932
+ })) || 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, {
35895
35933
  disabled: disabled,
35896
35934
  // max={Number.MAX_SAFE_INTEGER}
35897
35935
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -35904,7 +35942,7 @@ function RenderCompItem(props) {
35904
35942
  onChange: function onChange(value) {
35905
35943
  handleEdit(ites.code, value);
35906
35944
  }
35907
- })) || 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, {
35945
+ })) || 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, {
35908
35946
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
35909
35947
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
35910
35948
  disabled: disabled,
@@ -35914,7 +35952,7 @@ function RenderCompItem(props) {
35914
35952
  onChange: function onChange(value, dateString) {
35915
35953
  handleEdit(ites.code, dateString);
35916
35954
  }
35917
- })) || 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, {
35955
+ })) || 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, {
35918
35956
  showTime: true,
35919
35957
  disabled: disabled,
35920
35958
  defaultValue: ites.defaultValue,
@@ -35923,7 +35961,7 @@ function RenderCompItem(props) {
35923
35961
  onChange: function onChange(value, timeString) {
35924
35962
  handleEdit(ites.code, timeString);
35925
35963
  }
35926
- })) || 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, {
35964
+ })) || 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, {
35927
35965
  disabled: disabled,
35928
35966
  defaultChecked: !!ites.defaultValue,
35929
35967
  style: style2,
@@ -35931,7 +35969,7 @@ function RenderCompItem(props) {
35931
35969
  onChange: function onChange(value) {
35932
35970
  handleEdit(ites.code, value);
35933
35971
  }
35934
- })) || 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({
35972
+ })) || 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({
35935
35973
  disabled: disabled,
35936
35974
  allowClear: true,
35937
35975
  showArrow: true
@@ -35949,7 +35987,7 @@ function RenderCompItem(props) {
35949
35987
  key: it,
35950
35988
  value: it
35951
35989
  }, ites.enumeration[it]);
35952
- }))) || 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, {
35990
+ }))) || 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, {
35953
35991
  disabled: disabled,
35954
35992
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
35955
35993
  defaultValue: ites.defaultValue,
@@ -35959,7 +35997,7 @@ function RenderCompItem(props) {
35959
35997
  handleEdit(ites.code, value);
35960
35998
  },
35961
35999
  dictionaryCode: ites.dictionaryCode
35962
- })) || 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, {
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) === 110 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35963
36001
  selectBusinessType: "physicalWarehouse",
35964
36002
  selectProps: _objectSpread2({
35965
36003
  style: styleCommon,
@@ -35981,7 +36019,7 @@ function RenderCompItem(props) {
35981
36019
  getPopupContainer: function getPopupContainer() {
35982
36020
  return document.body;
35983
36021
  }
35984
- })) || 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, {
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) === 120 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35985
36023
  selectBusinessType: "realWarehouse",
35986
36024
  selectProps: _objectSpread2({
35987
36025
  style: styleCommon,
@@ -36003,7 +36041,7 @@ function RenderCompItem(props) {
36003
36041
  getPopupContainer: function getPopupContainer() {
36004
36042
  return document.body;
36005
36043
  }
36006
- })) || 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, {
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) === 130 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
36007
36045
  selectBusinessType: "virtualWarehouse",
36008
36046
  selectProps: _objectSpread2({
36009
36047
  style: styleCommon,
@@ -36025,7 +36063,7 @@ function RenderCompItem(props) {
36025
36063
  getPopupContainer: function getPopupContainer() {
36026
36064
  return document.body;
36027
36065
  }
36028
- })) || 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, {
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) === 140 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
36029
36067
  selectBusinessType: "channelWarehouse",
36030
36068
  selectProps: _objectSpread2({
36031
36069
  style: styleCommon,
@@ -36047,7 +36085,7 @@ function RenderCompItem(props) {
36047
36085
  getPopupContainer: function getPopupContainer() {
36048
36086
  return document.body;
36049
36087
  }
36050
- })) || 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, {
36088
+ })) || 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, {
36051
36089
  selectBusinessType: "spuCommodity",
36052
36090
  selectProps: _objectSpread2({
36053
36091
  style: styleCommon,
@@ -36068,7 +36106,7 @@ function RenderCompItem(props) {
36068
36106
  getPopupContainer: function getPopupContainer() {
36069
36107
  return document.body;
36070
36108
  }
36071
- })) || 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, {
36109
+ })) || 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, {
36072
36110
  selectBusinessType: "skuCommodity",
36073
36111
  selectProps: _objectSpread2({
36074
36112
  style: styleCommon,
@@ -36089,13 +36127,13 @@ function RenderCompItem(props) {
36089
36127
  getPopupContainer: function getPopupContainer() {
36090
36128
  return document.body;
36091
36129
  }
36092
- })) || 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, {
36130
+ })) || 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, {
36093
36131
  disabled: disabled,
36094
36132
  isAll: true,
36095
36133
  needNameAndCode: true,
36096
36134
  notChangeOnSelect: true,
36097
36135
  initRequestSource: function () {
36098
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36136
+ var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36099
36137
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
36100
36138
  while (1) switch (_context2.prev = _context2.next) {
36101
36139
  case 0:
@@ -36137,7 +36175,7 @@ function RenderCompItem(props) {
36137
36175
  getPopupContainer: function getPopupContainer() {
36138
36176
  return document.body;
36139
36177
  }
36140
- })) || 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, {
36178
+ })) || 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, {
36141
36179
  disabled: disabled,
36142
36180
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36143
36181
  businessType: "department",
@@ -36150,7 +36188,7 @@ function RenderCompItem(props) {
36150
36188
  getPopupContainer: function getPopupContainer() {
36151
36189
  return document.body;
36152
36190
  }
36153
- })) || 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, {
36191
+ })) || 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, {
36154
36192
  disabled: disabled,
36155
36193
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36156
36194
  businessType: "purchase-organization",
@@ -36163,7 +36201,7 @@ function RenderCompItem(props) {
36163
36201
  getPopupContainer: function getPopupContainer() {
36164
36202
  return document.body;
36165
36203
  }
36166
- })) || 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, {
36204
+ })) || 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, {
36167
36205
  disabled: disabled,
36168
36206
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36169
36207
  businessType: "sales-organization",
@@ -36176,7 +36214,7 @@ function RenderCompItem(props) {
36176
36214
  getPopupContainer: function getPopupContainer() {
36177
36215
  return document.body;
36178
36216
  }
36179
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 240 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
36217
+ })) || 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, {
36180
36218
  selectBusinessType: "supplier2",
36181
36219
  selectProps: _objectSpread2({
36182
36220
  style: styleCommon,
@@ -36197,7 +36235,7 @@ function RenderCompItem(props) {
36197
36235
  getPopupContainer: function getPopupContainer() {
36198
36236
  return document.body;
36199
36237
  }
36200
- })) || 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, {
36238
+ })) || 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, {
36201
36239
  selectBusinessType: "customer2",
36202
36240
  selectProps: _objectSpread2({
36203
36241
  style: styleCommon,
@@ -36218,7 +36256,7 @@ function RenderCompItem(props) {
36218
36256
  getPopupContainer: function getPopupContainer() {
36219
36257
  return document.body;
36220
36258
  }
36221
- })) || 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, {
36259
+ })) || 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, {
36222
36260
  selectBusinessType: "shopFile2",
36223
36261
  selectProps: _objectSpread2({
36224
36262
  style: styleCommon,
@@ -36239,7 +36277,7 @@ function RenderCompItem(props) {
36239
36277
  getPopupContainer: function getPopupContainer() {
36240
36278
  return document.body;
36241
36279
  }
36242
- })) || 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, {
36280
+ })) || 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, {
36243
36281
  selectBusinessType: "employee2",
36244
36282
  selectProps: _objectSpread2({
36245
36283
  style: styleCommon,
@@ -36260,7 +36298,7 @@ function RenderCompItem(props) {
36260
36298
  getPopupContainer: function getPopupContainer() {
36261
36299
  return document.body;
36262
36300
  }
36263
- })) || 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, {
36301
+ })) || 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, {
36264
36302
  disabled: disabled,
36265
36303
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36266
36304
  businessType: "stock-organization",
@@ -36273,7 +36311,7 @@ function RenderCompItem(props) {
36273
36311
  getPopupContainer: function getPopupContainer() {
36274
36312
  return document.body;
36275
36313
  }
36276
- })) || 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, {
36314
+ })) || 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, {
36277
36315
  disabled: disabled,
36278
36316
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36279
36317
  businessType: "settle-organization",
@@ -36286,7 +36324,7 @@ function RenderCompItem(props) {
36286
36324
  getPopupContainer: function getPopupContainer() {
36287
36325
  return document.body;
36288
36326
  }
36289
- })) || 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, {
36327
+ })) || 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, {
36290
36328
  selectBusinessType: "deliveryMode",
36291
36329
  selectProps: _objectSpread2({
36292
36330
  style: styleCommon,
@@ -36307,7 +36345,7 @@ function RenderCompItem(props) {
36307
36345
  getPopupContainer: function getPopupContainer() {
36308
36346
  return document.body;
36309
36347
  }
36310
- })) || 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, {
36348
+ })) || 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, {
36311
36349
  selectBusinessType: "role",
36312
36350
  selectProps: _objectSpread2({
36313
36351
  style: styleCommon,
@@ -36328,7 +36366,7 @@ function RenderCompItem(props) {
36328
36366
  getPopupContainer: function getPopupContainer() {
36329
36367
  return document.body;
36330
36368
  }
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) === 410 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
36369
+ })) || 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, {
36332
36370
  selectBusinessType: "brand",
36333
36371
  selectProps: _objectSpread2({
36334
36372
  style: styleCommon,
@@ -36349,7 +36387,7 @@ function RenderCompItem(props) {
36349
36387
  getPopupContainer: function getPopupContainer() {
36350
36388
  return document.body;
36351
36389
  }
36352
- })) || 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, {
36390
+ })) || 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, {
36353
36391
  disabled: disabled,
36354
36392
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36355
36393
  businessType: "background-category",
@@ -36362,7 +36400,7 @@ function RenderCompItem(props) {
36362
36400
  getPopupContainer: function getPopupContainer() {
36363
36401
  return document.body;
36364
36402
  }
36365
- })) || 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, {
36403
+ })) || 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, {
36366
36404
  selectProps: _objectSpread2(_objectSpread2({
36367
36405
  style: styleCommon,
36368
36406
  placeholder: '请选择'
@@ -36385,7 +36423,7 @@ function RenderCompItem(props) {
36385
36423
  onChange: function onChange(value) {
36386
36424
  handleEdit(ites.code, value);
36387
36425
  }
36388
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
36426
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
36389
36427
  style: {
36390
36428
  display: 'flex'
36391
36429
  }
@@ -36897,7 +36935,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36897
36935
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
36898
36936
  queryIdentifyType = 'dynamicDictCodeIdentify';
36899
36937
  }
36900
- var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
36938
+ var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
36901
36939
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
36902
36940
  var _i$key;
36903
36941
  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);
@@ -37824,13 +37862,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
37824
37862
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
37825
37863
  // 处理对象-设置了必填-规则实例保存时数据必填校验
37826
37864
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
37827
- var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37865
+ var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37828
37866
  var requiredList = list.filter(function (c) {
37829
37867
  return c.required == 1;
37830
37868
  }) || []; // 获取对象属性为true的集合
37831
37869
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
37832
37870
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
37833
- 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];
37871
+ 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];
37834
37872
  (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) {
37835
37873
  if (requiredList.some(function (r) {
37836
37874
  return r.id === e.elementId;
@@ -38419,7 +38457,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38419
38457
  style: {
38420
38458
  float: 'right'
38421
38459
  }
38422
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38460
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38423
38461
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38424
38462
  ruleGroupInfo: {
38425
38463
  ruleGroupList: ruleGroupList,
@@ -38437,7 +38475,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38437
38475
  callBack: function callBack(newData) {
38438
38476
  upDateData(newData);
38439
38477
  }
38440
- }))) : (/*#__PURE__*/React$1.createElement("div", {
38478
+ }))) : ( /*#__PURE__*/React$1.createElement("div", {
38441
38479
  style: {
38442
38480
  padding: 20
38443
38481
  }
@@ -38812,4 +38850,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
38812
38850
  }, children));
38813
38851
  };
38814
38852
 
38815
- 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 };
38853
+ 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 };