@bit-sun/business-component 4.0.2-alpha.0 → 4.0.3

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
@@ -31,9 +31,88 @@ import { parse as parse$1 } from '@babel/parser';
31
31
  import { visit } from 'ast-types';
32
32
  import isArray$1 from 'lodash/isArray';
33
33
 
34
+ function _arrayLikeToArray(r, a) {
35
+ (null == a || a > r.length) && (a = r.length);
36
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
37
+ return n;
38
+ }
39
+ function _arrayWithHoles(r) {
40
+ if (Array.isArray(r)) return r;
41
+ }
42
+ function _arrayWithoutHoles(r) {
43
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
44
+ }
45
+ function _assertThisInitialized(e) {
46
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
47
+ return e;
48
+ }
49
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
50
+ try {
51
+ var i = n[a](c),
52
+ u = i.value;
53
+ } catch (n) {
54
+ return void e(n);
55
+ }
56
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
57
+ }
58
+ function _asyncToGenerator(n) {
59
+ return function () {
60
+ var t = this,
61
+ e = arguments;
62
+ return new Promise(function (r, o) {
63
+ var a = n.apply(t, e);
64
+ function _next(n) {
65
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
66
+ }
67
+ function _throw(n) {
68
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
69
+ }
70
+ _next(void 0);
71
+ });
72
+ };
73
+ }
34
74
  function _callSuper(t, o, e) {
35
75
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
36
76
  }
77
+ function _classCallCheck(a, n) {
78
+ if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
79
+ }
80
+ function _defineProperties(e, r) {
81
+ for (var t = 0; t < r.length; t++) {
82
+ var o = r[t];
83
+ o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
84
+ }
85
+ }
86
+ function _createClass(e, r, t) {
87
+ return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
88
+ writable: !1
89
+ }), e;
90
+ }
91
+ function _defineProperty(e, r, t) {
92
+ return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
93
+ value: t,
94
+ enumerable: !0,
95
+ configurable: !0,
96
+ writable: !0
97
+ }) : e[r] = t, e;
98
+ }
99
+ function _getPrototypeOf(t) {
100
+ return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
101
+ return t.__proto__ || Object.getPrototypeOf(t);
102
+ }, _getPrototypeOf(t);
103
+ }
104
+ function _inherits(t, e) {
105
+ if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
106
+ t.prototype = Object.create(e && e.prototype, {
107
+ constructor: {
108
+ value: t,
109
+ writable: !0,
110
+ configurable: !0
111
+ }
112
+ }), Object.defineProperty(t, "prototype", {
113
+ writable: !1
114
+ }), e && _setPrototypeOf(t, e);
115
+ }
37
116
  function _isNativeReflectConstruct() {
38
117
  try {
39
118
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -42,6 +121,9 @@ function _isNativeReflectConstruct() {
42
121
  return !!t;
43
122
  })();
44
123
  }
124
+ function _iterableToArray(r) {
125
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
126
+ }
45
127
  function _iterableToArrayLimit(r, l) {
46
128
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
47
129
  if (null != t) {
@@ -69,6 +151,15 @@ function _iterableToArrayLimit(r, l) {
69
151
  return a;
70
152
  }
71
153
  }
154
+ function _nonIterableRest() {
155
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
156
+ }
157
+ function _nonIterableSpread() {
158
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
159
+ }
160
+ function _objectDestructuringEmpty(t) {
161
+ if (null == t) throw new TypeError("Cannot destructure " + t);
162
+ }
72
163
  function ownKeys(e, r) {
73
164
  var t = Object.keys(e);
74
165
  if (Object.getOwnPropertySymbols) {
@@ -90,6 +181,31 @@ function _objectSpread2(e) {
90
181
  }
91
182
  return e;
92
183
  }
184
+ function _objectWithoutProperties(e, t) {
185
+ if (null == e) return {};
186
+ var o,
187
+ r,
188
+ i = _objectWithoutPropertiesLoose(e, t);
189
+ if (Object.getOwnPropertySymbols) {
190
+ var s = Object.getOwnPropertySymbols(e);
191
+ for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
192
+ }
193
+ return i;
194
+ }
195
+ function _objectWithoutPropertiesLoose(r, e) {
196
+ if (null == r) return {};
197
+ var t = {};
198
+ for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
199
+ if (e.includes(n)) continue;
200
+ t[n] = r[n];
201
+ }
202
+ return t;
203
+ }
204
+ function _possibleConstructorReturn(t, e) {
205
+ if (e && ("object" == typeof e || "function" == typeof e)) return e;
206
+ if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
207
+ return _assertThisInitialized(t);
208
+ }
93
209
  function _regeneratorRuntime() {
94
210
  _regeneratorRuntime = function () {
95
211
  return e;
@@ -391,6 +507,20 @@ function _regeneratorRuntime() {
391
507
  }
392
508
  }, e;
393
509
  }
510
+ function _setPrototypeOf(t, e) {
511
+ return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
512
+ return t.__proto__ = e, t;
513
+ }, _setPrototypeOf(t, e);
514
+ }
515
+ function _slicedToArray(r, e) {
516
+ return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
517
+ }
518
+ function _toArray(r) {
519
+ return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
520
+ }
521
+ function _toConsumableArray(r) {
522
+ return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
523
+ }
394
524
  function _toPrimitive(t, r) {
395
525
  if ("object" != typeof t || !t) return t;
396
526
  var e = t[Symbol.toPrimitive];
@@ -414,180 +544,12 @@ function _typeof(o) {
414
544
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
415
545
  }, _typeof(o);
416
546
  }
417
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
418
- try {
419
- var info = gen[key](arg);
420
- var value = info.value;
421
- } catch (error) {
422
- reject(error);
423
- return;
424
- }
425
- if (info.done) {
426
- resolve(value);
427
- } else {
428
- Promise.resolve(value).then(_next, _throw);
429
- }
430
- }
431
- function _asyncToGenerator(fn) {
432
- return function () {
433
- var self = this,
434
- args = arguments;
435
- return new Promise(function (resolve, reject) {
436
- var gen = fn.apply(self, args);
437
- function _next(value) {
438
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
439
- }
440
- function _throw(err) {
441
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
442
- }
443
- _next(undefined);
444
- });
445
- };
446
- }
447
- function _classCallCheck(instance, Constructor) {
448
- if (!(instance instanceof Constructor)) {
449
- throw new TypeError("Cannot call a class as a function");
450
- }
451
- }
452
- function _defineProperties(target, props) {
453
- for (var i = 0; i < props.length; i++) {
454
- var descriptor = props[i];
455
- descriptor.enumerable = descriptor.enumerable || false;
456
- descriptor.configurable = true;
457
- if ("value" in descriptor) descriptor.writable = true;
458
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
459
- }
460
- }
461
- function _createClass(Constructor, protoProps, staticProps) {
462
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
463
- if (staticProps) _defineProperties(Constructor, staticProps);
464
- Object.defineProperty(Constructor, "prototype", {
465
- writable: false
466
- });
467
- return Constructor;
468
- }
469
- function _defineProperty(obj, key, value) {
470
- key = _toPropertyKey(key);
471
- if (key in obj) {
472
- Object.defineProperty(obj, key, {
473
- value: value,
474
- enumerable: true,
475
- configurable: true,
476
- writable: true
477
- });
478
- } else {
479
- obj[key] = value;
480
- }
481
- return obj;
482
- }
483
- function _inherits(subClass, superClass) {
484
- if (typeof superClass !== "function" && superClass !== null) {
485
- throw new TypeError("Super expression must either be null or a function");
547
+ function _unsupportedIterableToArray(r, a) {
548
+ if (r) {
549
+ if ("string" == typeof r) return _arrayLikeToArray(r, a);
550
+ var t = {}.toString.call(r).slice(8, -1);
551
+ 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;
486
552
  }
487
- subClass.prototype = Object.create(superClass && superClass.prototype, {
488
- constructor: {
489
- value: subClass,
490
- writable: true,
491
- configurable: true
492
- }
493
- });
494
- Object.defineProperty(subClass, "prototype", {
495
- writable: false
496
- });
497
- if (superClass) _setPrototypeOf(subClass, superClass);
498
- }
499
- function _getPrototypeOf(o) {
500
- _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) {
501
- return o.__proto__ || Object.getPrototypeOf(o);
502
- };
503
- return _getPrototypeOf(o);
504
- }
505
- function _setPrototypeOf(o, p) {
506
- _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) {
507
- o.__proto__ = p;
508
- return o;
509
- };
510
- return _setPrototypeOf(o, p);
511
- }
512
- function _objectDestructuringEmpty(obj) {
513
- if (obj == null) throw new TypeError("Cannot destructure " + obj);
514
- }
515
- function _objectWithoutPropertiesLoose(source, excluded) {
516
- if (source == null) return {};
517
- var target = {};
518
- for (var key in source) {
519
- if (Object.prototype.hasOwnProperty.call(source, key)) {
520
- if (excluded.indexOf(key) >= 0) continue;
521
- target[key] = source[key];
522
- }
523
- }
524
- return target;
525
- }
526
- function _objectWithoutProperties(source, excluded) {
527
- if (source == null) return {};
528
- var target = _objectWithoutPropertiesLoose(source, excluded);
529
- var key, i;
530
- if (Object.getOwnPropertySymbols) {
531
- var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
532
- for (i = 0; i < sourceSymbolKeys.length; i++) {
533
- key = sourceSymbolKeys[i];
534
- if (excluded.indexOf(key) >= 0) continue;
535
- if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
536
- target[key] = source[key];
537
- }
538
- }
539
- return target;
540
- }
541
- function _assertThisInitialized(self) {
542
- if (self === void 0) {
543
- throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
544
- }
545
- return self;
546
- }
547
- function _possibleConstructorReturn(self, call) {
548
- if (call && (typeof call === "object" || typeof call === "function")) {
549
- return call;
550
- } else if (call !== void 0) {
551
- throw new TypeError("Derived constructors may only return object or undefined");
552
- }
553
- return _assertThisInitialized(self);
554
- }
555
- function _slicedToArray(arr, i) {
556
- return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
557
- }
558
- function _toArray(arr) {
559
- return _arrayWithHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableRest();
560
- }
561
- function _toConsumableArray(arr) {
562
- return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
563
- }
564
- function _arrayWithoutHoles(arr) {
565
- if (Array.isArray(arr)) return _arrayLikeToArray(arr);
566
- }
567
- function _arrayWithHoles(arr) {
568
- if (Array.isArray(arr)) return arr;
569
- }
570
- function _iterableToArray(iter) {
571
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
572
- }
573
- function _unsupportedIterableToArray(o, minLen) {
574
- if (!o) return;
575
- if (typeof o === "string") return _arrayLikeToArray(o, minLen);
576
- var n = Object.prototype.toString.call(o).slice(8, -1);
577
- if (n === "Object" && o.constructor) n = o.constructor.name;
578
- if (n === "Map" || n === "Set") return Array.from(o);
579
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
580
- }
581
- function _arrayLikeToArray(arr, len) {
582
- if (len == null || len > arr.length) len = arr.length;
583
- for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
584
- return arr2;
585
- }
586
- function _nonIterableSpread() {
587
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
588
- }
589
- function _nonIterableRest() {
590
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
591
553
  }
592
554
 
593
555
  var ENUM = {
@@ -1040,9 +1002,8 @@ var handleTextLineFeed = function handleTextLineFeed(text) {
1040
1002
  style: {
1041
1003
  width: width ? width + 'px' : '130px',
1042
1004
  display: 'inline-block',
1043
- position: 'relative',
1044
1005
  whiteSpace: 'pre-line',
1045
- top: '5px'
1006
+ verticalAlign: 'middle'
1046
1007
  }
1047
1008
  }, text || '-'));
1048
1009
  };
@@ -1058,8 +1019,7 @@ var handleTextOverflow = function handleTextOverflow(text) {
1058
1019
  textOverflow: 'ellipsis',
1059
1020
  overflow: 'hidden',
1060
1021
  whiteSpace: 'nowrap',
1061
- position: 'relative',
1062
- top: '5px'
1022
+ verticalAlign: 'middle'
1063
1023
  }
1064
1024
  }, text || '-'));
1065
1025
  };
@@ -1085,13 +1045,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1085
1045
  imgHtml.innerHTML = str;
1086
1046
  }
1087
1047
  // 测试使用 测试类型缩小 end
1088
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1048
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1089
1049
  className: "clomnsImg"
1090
1050
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1091
1051
  src: url,
1092
1052
  width: "28px",
1093
1053
  height: "28px"
1094
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1054
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1095
1055
  className: "clomnsImg2"
1096
1056
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1097
1057
  src: noImg
@@ -1230,7 +1190,7 @@ function downloadExcel(data, fileName, isResUrl) {
1230
1190
  }
1231
1191
  save_link.click();
1232
1192
  }
1233
- var formatter = function formatter(data, parentAuthority, parentName) {
1193
+ var _formatter = function formatter(data, parentAuthority, parentName) {
1234
1194
  return data.map(function (item) {
1235
1195
  if (!item.name || !item.path) {
1236
1196
  return null;
@@ -1250,7 +1210,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1250
1210
  authority: item.authority || parentAuthority
1251
1211
  });
1252
1212
  if (item.routes) {
1253
- var children = formatter(item.routes, item.authority, locale);
1213
+ var children = _formatter(item.routes, item.authority, locale);
1254
1214
  // Reduce memory usage
1255
1215
  result.children = children;
1256
1216
  }
@@ -1260,7 +1220,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1260
1220
  return item;
1261
1221
  });
1262
1222
  };
1263
- var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1223
+ var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1264
1224
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1265
1225
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1266
1226
  if (backHistoryPath) {
@@ -1566,7 +1526,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1566
1526
  // sheepMap是表头字段中英文映射
1567
1527
  // sheetCount:表的数量,默认一张
1568
1528
  var resolveFile = /*#__PURE__*/function () {
1569
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1529
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1570
1530
  var config,
1571
1531
  data,
1572
1532
  _args = arguments;
@@ -1605,7 +1565,7 @@ var resolveFile = /*#__PURE__*/function () {
1605
1565
  }();
1606
1566
  //读取文件
1607
1567
  var readerXlsxToList = /*#__PURE__*/function () {
1608
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1568
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1609
1569
  var _ref5, callback, sheetMap, nowFile, data2, data;
1610
1570
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1611
1571
  while (1) switch (_context2.prev = _context2.next) {
@@ -1697,6 +1657,20 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1697
1657
  };
1698
1658
  /**---------------------数据写入excel-------结束------------------------*/
1699
1659
 
1660
+ // 获取树平行结构
1661
+ var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1662
+ var childrenKey = chilKey || 'children';
1663
+ treeData.forEach(function (el) {
1664
+ var _el$childrenKey;
1665
+ result.push(el);
1666
+ 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) {
1667
+ // 子级递归
1668
+ _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1669
+ }
1670
+ });
1671
+ return result;
1672
+ };
1673
+
1700
1674
  var FORMAT_TIME_STR = 'YYYY-MM-DD HH:mm:ss';
1701
1675
  var FORMAT_DAY_STR = 'YYYY-MM-DD';
1702
1676
  var FUNCTION_GET = 'GET';
@@ -1866,8 +1840,7 @@ var handleTextOverflow$1 = function handleTextOverflow(text) {
1866
1840
  textOverflow: 'ellipsis',
1867
1841
  overflow: 'hidden',
1868
1842
  whiteSpace: 'nowrap',
1869
- position: 'relative',
1870
- top: '5px'
1843
+ verticalAlign: 'middle'
1871
1844
  }
1872
1845
  }, text || '--'));
1873
1846
  };
@@ -1879,9 +1852,8 @@ var handleTextLineFeed$1 = function handleTextLineFeed(text) {
1879
1852
  style: {
1880
1853
  width: width ? width + 'px' : '130px',
1881
1854
  display: 'inline-block',
1882
- position: 'relative',
1883
1855
  whiteSpace: 'pre-line',
1884
- top: '5px'
1856
+ verticalAlign: 'middle'
1885
1857
  }
1886
1858
  }, text || '--'));
1887
1859
  };
@@ -1900,8 +1872,7 @@ var handleTextBreakSpaces = function handleTextBreakSpaces(text) {
1900
1872
  textOverflow: 'ellipsis',
1901
1873
  overflow: 'hidden',
1902
1874
  whiteSpace: 'break-spaces',
1903
- position: 'relative',
1904
- top: '5px'
1875
+ verticalAlign: 'middle'
1905
1876
  }
1906
1877
  }, text || '--'));
1907
1878
  };
@@ -1971,13 +1942,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1971
1942
  imgHtml.innerHTML = str;
1972
1943
  }
1973
1944
  // 测试使用 测试类型缩小 end
1974
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1945
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1975
1946
  className: "clomnsImg"
1976
1947
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1977
1948
  src: url,
1978
1949
  width: "44px",
1979
1950
  height: "44px"
1980
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1951
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1981
1952
  src: noImg
1982
1953
  }))));
1983
1954
  };
@@ -2039,7 +2010,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2039
2010
  }
2040
2011
  });
2041
2012
  };
2042
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2013
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2043
2014
  disabled: disabled,
2044
2015
  onChange: function onChange(e) {
2045
2016
  var v = e.target.value;
@@ -2049,7 +2020,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2049
2020
  width: 170
2050
2021
  },
2051
2022
  value: inputValue
2052
- }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2023
+ }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2053
2024
  disabled: disabled,
2054
2025
  onBlur: function onBlur(e) {
2055
2026
  var v = parseFloat(e.target.value);
@@ -2428,16 +2399,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2428
2399
  var handleExportBarCode = handleExport;
2429
2400
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2430
2401
  var routerMap = {};
2431
- var flattenMenuData = function flattenMenuData(data) {
2402
+ var _flattenMenuData = function flattenMenuData(data) {
2432
2403
  data.forEach(function (menuItem) {
2433
2404
  if (menuItem.children) {
2434
- flattenMenuData(menuItem.children);
2405
+ _flattenMenuData(menuItem.children);
2435
2406
  }
2436
2407
  // Reduce memory usage
2437
2408
  routerMap[menuItem.path] = menuItem;
2438
2409
  });
2439
2410
  };
2440
- flattenMenuData(menuData);
2411
+ _flattenMenuData(menuData);
2441
2412
  return routerMap;
2442
2413
  };
2443
2414
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2580,7 +2551,7 @@ var requestUtil = function requestUtil(_ref) {
2580
2551
  return request$1(url, parms).then(handleResponseData);
2581
2552
  };
2582
2553
  var handleResponseData = /*#__PURE__*/function () {
2583
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2554
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2584
2555
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2585
2556
  while (1) switch (_context.prev = _context.next) {
2586
2557
  case 0:
@@ -3254,7 +3225,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3254
3225
  placement: "bottomLeft"
3255
3226
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3256
3227
  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"))
3257
- }, /*#__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, {
3228
+ }, /*#__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, {
3258
3229
  trigger: ['click'],
3259
3230
  overlay: this.menuList,
3260
3231
  placement: "bottomRight"
@@ -3929,7 +3900,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3929
3900
  placement: "bottomLeft"
3930
3901
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3931
3902
  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"))
3932
- }, /*#__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, {
3903
+ }, /*#__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, {
3933
3904
  trigger: ['click'],
3934
3905
  overlay: this.menuList,
3935
3906
  placement: "bottomRight"
@@ -4990,13 +4961,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4990
4961
  var isShouldShowStr = props.disabled && ctx;
4991
4962
  return /*#__PURE__*/React$1.createElement("div", {
4992
4963
  className: 'search_select'
4993
- }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
4964
+ }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
4994
4965
  onClick: function onClick() {
4995
4966
  var _fieldComponent$props, _fieldComponent$props2;
4996
4967
  (_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);
4997
4968
  showModal();
4998
4969
  }
4999
- }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
4970
+ }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
5000
4971
  title: getShowStr(),
5001
4972
  style: {
5002
4973
  overflow: 'hidden',
@@ -5035,10 +5006,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5035
5006
  }
5036
5007
  }), menu);
5037
5008
  },
5038
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
5009
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
5039
5010
  size: "small",
5040
5011
  className: 'searchSelectSpin'
5041
- })) : ( /*#__PURE__*/React$1.createElement("div", {
5012
+ })) : (/*#__PURE__*/React$1.createElement("div", {
5042
5013
  style: {
5043
5014
  textAlign: 'center'
5044
5015
  }
@@ -5069,14 +5040,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5069
5040
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
5070
5041
  filterTxt: searchValue
5071
5042
  }));
5072
- })), needModalTable && ( /*#__PURE__*/React$1.createElement(Button, {
5043
+ })), needModalTable && (/*#__PURE__*/React$1.createElement(Button, {
5073
5044
  style: {
5074
5045
  width: '30px',
5075
5046
  padding: '2px'
5076
5047
  },
5077
5048
  onClick: showModal,
5078
5049
  type: "primary"
5079
- }, /*#__PURE__*/React$1.createElement(SearchOutlined, null)))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5050
+ }, /*#__PURE__*/React$1.createElement(SearchOutlined, null)))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5080
5051
  width: "80%",
5081
5052
  title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
5082
5053
  visible: isModalVisible,
@@ -5132,7 +5103,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5132
5103
  }
5133
5104
  }, "\u641C\u7D22\u7ED3\u679C\u5171", /*#__PURE__*/React$1.createElement("span", {
5134
5105
  style: themeColor
5135
- }, (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total) || 0), "\u9879", selectMode ? ( /*#__PURE__*/React$1.createElement("span", null, "\uFF0C \u672C\u6B21\u5DF2\u9009", /*#__PURE__*/React$1.createElement("span", {
5106
+ }, (tablePagination === null || tablePagination === void 0 ? void 0 : tablePagination.total) || 0), "\u9879", selectMode ? (/*#__PURE__*/React$1.createElement("span", null, "\uFF0C \u672C\u6B21\u5DF2\u9009", /*#__PURE__*/React$1.createElement("span", {
5136
5107
  style: themeColor
5137
5108
  }, (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0), "\u9879")) : ''), /*#__PURE__*/React$1.createElement("div", {
5138
5109
  style: {
@@ -5157,7 +5128,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5157
5128
  }
5158
5129
  };
5159
5130
  }
5160
- }), selectMode && !(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.isHiddenCheckAll) ? ( /*#__PURE__*/React$1.createElement("div", {
5131
+ }), selectMode && !(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.isHiddenCheckAll) ? (/*#__PURE__*/React$1.createElement("div", {
5161
5132
  className: 'select_list_selectAll'
5162
5133
  }, /*#__PURE__*/React$1.createElement(Checkbox, {
5163
5134
  indeterminate: indeterminate,
@@ -5689,7 +5660,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5689
5660
  style: {
5690
5661
  width: 540
5691
5662
  }
5692
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
5663
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
5693
5664
  checked: !dataSource.some(function (item) {
5694
5665
  if (item.hidden) return true;
5695
5666
  return false;
@@ -5727,13 +5698,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5727
5698
  _this2.onChange(e, item.title);
5728
5699
  }
5729
5700
  }, item.title);
5730
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
5701
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
5731
5702
  style: {
5732
5703
  width: '144px'
5733
5704
  }
5734
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
5705
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
5735
5706
  className: 'sort_table_column_all_empty'
5736
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5707
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5737
5708
  className: 'sort_table_column_special'
5738
5709
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
5739
5710
  className: 'sort_table_column_all'
@@ -5922,7 +5893,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
5922
5893
  });
5923
5894
  };
5924
5895
  // 格式化树选择器数据源
5925
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
5896
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
5926
5897
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
5927
5898
  return {
5928
5899
  title: treeDataItem[resKeyValue[1]],
@@ -5932,7 +5903,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
5932
5903
  isLeaf: !haveChildren,
5933
5904
  disabled: haveChildren,
5934
5905
  children: haveChildren ? treeDataItem.children.map(function (i) {
5935
- return mapSearchTree(i, resKeyValue);
5906
+ return _mapSearchTree(i, resKeyValue);
5936
5907
  }) : []
5937
5908
  };
5938
5909
  };
@@ -5941,7 +5912,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
5941
5912
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
5942
5913
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
5943
5914
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
5944
- return mapSearchTree(ites, resKeyValue);
5915
+ return _mapSearchTree(ites, resKeyValue);
5945
5916
  }) || [];
5946
5917
  changeSearchForm[changePosition].field.props.treeData = formatData;
5947
5918
  };
@@ -6112,7 +6083,7 @@ var AddSelect = function AddSelect(props) {
6112
6083
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
6113
6084
  // FIXME: 特殊业务逻辑
6114
6085
  var checkSelectChange = /*#__PURE__*/function () {
6115
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6086
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6116
6087
  var result;
6117
6088
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6118
6089
  while (1) switch (_context.prev = _context.next) {
@@ -6365,7 +6336,7 @@ var AddSelect = function AddSelect(props) {
6365
6336
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
6366
6337
  value: text || null,
6367
6338
  onChange: function () {
6368
- var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6339
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6369
6340
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
6370
6341
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
6371
6342
  while (1) switch (_context2.prev = _context2.next) {
@@ -6973,10 +6944,10 @@ var AddSelect = function AddSelect(props) {
6973
6944
  var newColumns = arr.map(function (col) {
6974
6945
  return _objectSpread2({}, col);
6975
6946
  });
6976
- var handleIndex = function handleIndex(arr, indexArr) {
6947
+ var _handleIndex = function handleIndex(arr, indexArr) {
6977
6948
  var i = indexArr.shift();
6978
6949
  if (indexArr.length > 0) {
6979
- handleIndex(arr[i].children, indexArr);
6950
+ _handleIndex(arr[i].children, indexArr);
6980
6951
  } else {
6981
6952
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
6982
6953
  width: size.width
@@ -6984,7 +6955,7 @@ var AddSelect = function AddSelect(props) {
6984
6955
  handleAntdColumnsSpecialParams(arr[i]);
6985
6956
  }
6986
6957
  };
6987
- handleIndex(newColumns, _toConsumableArray(index));
6958
+ _handleIndex(newColumns, _toConsumableArray(index));
6988
6959
  callback(newColumns);
6989
6960
  };
6990
6961
  };
@@ -6994,13 +6965,13 @@ var AddSelect = function AddSelect(props) {
6994
6965
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
6995
6966
  setShowToChooseColumns(_toConsumableArray(newColumns));
6996
6967
  };
6997
- var handleColumns = function handleColumns(arr, indexArr, callback) {
6968
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
6998
6969
  arr.forEach(function (item, index) {
6999
6970
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
7000
6971
  return i || i === 0;
7001
6972
  });
7002
6973
  if (noEmptyArray$1(item.children)) {
7003
- handleColumns(item.children, indexArrInside);
6974
+ _handleColumns(item.children, indexArrInside);
7004
6975
  } else {
7005
6976
  item.width = item.width || getItemDefaultWidth$2(item);
7006
6977
  item.onHeaderCell = function (column) {
@@ -7016,14 +6987,14 @@ var AddSelect = function AddSelect(props) {
7016
6987
  handleAntdColumnsSpecialParams(item);
7017
6988
  return _objectSpread2({}, item);
7018
6989
  });
7019
- handleColumns(showToChooseCol, [], function (res) {
6990
+ _handleColumns(showToChooseCol, [], function (res) {
7020
6991
  return setShowToChooseColumnsCallback(res);
7021
6992
  });
7022
6993
  var showSelectedCol = showColumns.map(function (item) {
7023
6994
  handleAntdColumnsSpecialParams(item);
7024
6995
  return _objectSpread2({}, item);
7025
6996
  });
7026
- handleColumns(showSelectedCol, [], function (res) {
6997
+ _handleColumns(showSelectedCol, [], function (res) {
7027
6998
  return setShowColumnsCallback(res);
7028
6999
  });
7029
7000
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -7034,7 +7005,7 @@ var AddSelect = function AddSelect(props) {
7034
7005
  id: "add_select_div_".concat(uniqueValue)
7035
7006
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
7036
7007
  onClick: handleShowModal
7037
- }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
7008
+ }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
7038
7009
  width: '1200px',
7039
7010
  style: {
7040
7011
  top: 20
@@ -7948,7 +7919,7 @@ var BillEntry = function BillEntry(_ref3) {
7948
7919
  });
7949
7920
  };
7950
7921
  var handleSubmit = /*#__PURE__*/function () {
7951
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
7922
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
7952
7923
  var canEntryObject, _canEntryObject$error, messageInfo;
7953
7924
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7954
7925
  while (1) switch (_context.prev = _context.next) {
@@ -8031,10 +8002,10 @@ var BillEntry = function BillEntry(_ref3) {
8031
8002
  var newColumns = arr.map(function (col) {
8032
8003
  return _objectSpread2({}, col);
8033
8004
  });
8034
- var handleIndex = function handleIndex(arr, indexArr) {
8005
+ var _handleIndex = function handleIndex(arr, indexArr) {
8035
8006
  var i = indexArr.shift();
8036
8007
  if (indexArr.length > 0) {
8037
- handleIndex(arr[i].children, indexArr);
8008
+ _handleIndex(arr[i].children, indexArr);
8038
8009
  } else {
8039
8010
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8040
8011
  width: size.width
@@ -8042,17 +8013,17 @@ var BillEntry = function BillEntry(_ref3) {
8042
8013
  handleAntdColumnsSpecialParams(arr[i]);
8043
8014
  }
8044
8015
  };
8045
- handleIndex(newColumns, _toConsumableArray(index));
8016
+ _handleIndex(newColumns, _toConsumableArray(index));
8046
8017
  callback(newColumns);
8047
8018
  };
8048
8019
  };
8049
- var handleColumns = function handleColumns(arr, indexArr, callback) {
8020
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
8050
8021
  arr.forEach(function (item, index) {
8051
8022
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8052
8023
  return i || i === 0;
8053
8024
  });
8054
8025
  if (noEmptyArray$1(item.children)) {
8055
- handleColumns(item.children, indexArrInside);
8026
+ _handleColumns(item.children, indexArrInside);
8056
8027
  } else {
8057
8028
  item.width = item.width || getItemDefaultWidth$2(item);
8058
8029
  item.onHeaderCell = function (column) {
@@ -8068,7 +8039,7 @@ var BillEntry = function BillEntry(_ref3) {
8068
8039
  handleAntdColumnsSpecialParams(item);
8069
8040
  return _objectSpread2({}, item);
8070
8041
  });
8071
- handleColumns(showSelectedCol, [], function (res) {
8042
+ _handleColumns(showSelectedCol, [], function (res) {
8072
8043
  return setShowColumnsCallback(res);
8073
8044
  });
8074
8045
  return /*#__PURE__*/React$1.createElement("div", {
@@ -8269,6 +8240,7 @@ var handleDefaultPrefixUrl = function handleDefaultPrefixUrl(type) {
8269
8240
  case 'supplier2':
8270
8241
  case 'customer2':
8271
8242
  case 'shopFile2':
8243
+ case 'platCompany':
8272
8244
  result = '/channel-manage';
8273
8245
  break;
8274
8246
  case 'skuCommodity':
@@ -8366,7 +8338,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
8366
8338
  });
8367
8339
  };
8368
8340
  // 格式化树选择器数据源
8369
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8341
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8370
8342
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
8371
8343
  return {
8372
8344
  title: treeDataItem[resKeyValue[1]],
@@ -8376,7 +8348,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
8376
8348
  isLeaf: !haveChildren,
8377
8349
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
8378
8350
  children: haveChildren ? treeDataItem.children.map(function (i) {
8379
- return mapSearchTree(i, resKeyValue, disabledJudge);
8351
+ return _mapSearchTree(i, resKeyValue, disabledJudge);
8380
8352
  }) : []
8381
8353
  };
8382
8354
  };
@@ -8390,7 +8362,7 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
8390
8362
  disabledJudge = false;
8391
8363
  }
8392
8364
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
8393
- return mapSearchTree(ites, resKeyValue, disabledJudge);
8365
+ return _mapSearchTree(ites, resKeyValue, disabledJudge);
8394
8366
  }) || [];
8395
8367
  changeSearchForm[changePosition].field.props.treeData = formatData;
8396
8368
  };
@@ -9950,6 +9922,21 @@ function commonFun(type, prefixUrl, requestConfigProp, modalTableBusProps, hidde
9950
9922
  }, requestConfigProp);
9951
9923
  needModalTable = false;
9952
9924
  }
9925
+ // 新-法人公司选择器(无弹窗)
9926
+ if (type === 'platCompany') {
9927
+ requestConfig = _objectSpread2({
9928
+ url: "".concat(prefixUrl.selectPrefix, "/platCompany"),
9929
+ filter: 'qp-name,socialCreditCode-orGroup,like',
9930
+ mappingTextField: 'name',
9931
+ mappingTextShowKeyField: 'socialCreditCode',
9932
+ mappingValueField: 'socialCreditCode',
9933
+ otherParams: {
9934
+ sorter: 'desc-id'
9935
+ },
9936
+ sourceName: 'platCompany'
9937
+ }, requestConfigProp);
9938
+ needModalTable = false;
9939
+ }
9953
9940
  // 员工选择器
9954
9941
  if (type === 'employee') {
9955
9942
  requestConfig = _objectSpread2({
@@ -11971,7 +11958,7 @@ var CommodityEntry = function CommodityEntry(props) {
11971
11958
  };
11972
11959
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
11973
11960
  onClick: handleShowModal
11974
- }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
11961
+ }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
11975
11962
  onOk: handleOk,
11976
11963
  onCancel: handleCancel,
11977
11964
  destroyOnClose: true,
@@ -12090,7 +12077,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12090
12077
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
12091
12078
  _remoteSource$special = remoteSource.specialBracket,
12092
12079
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
12093
- var mapSearchTree = function mapSearchTree(treeDataItem) {
12080
+ var _mapSearchTree = function mapSearchTree(treeDataItem) {
12094
12081
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
12095
12082
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
12096
12083
  return {
@@ -12102,7 +12089,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12102
12089
  isLeaf: !haveChildren,
12103
12090
  disabled: isDisabled(haveChildren, isRoot),
12104
12091
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
12105
- return mapSearchTree(i);
12092
+ return _mapSearchTree(i);
12106
12093
  }) : []
12107
12094
  };
12108
12095
  };
@@ -12120,8 +12107,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12120
12107
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
12121
12108
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
12122
12109
  headers: headers
12123
- }).then( /*#__PURE__*/function () {
12124
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
12110
+ }).then(/*#__PURE__*/function () {
12111
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
12125
12112
  var _ctx$form;
12126
12113
  var resData, coverData, data, dataList;
12127
12114
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -12148,7 +12135,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12148
12135
  case 9:
12149
12136
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
12150
12137
  coverData = dataList.length && dataList.map(function (ites) {
12151
- return mapSearchTree(ites);
12138
+ return _mapSearchTree(ites);
12152
12139
  }) || [];
12153
12140
  case 11:
12154
12141
  _context.next = 14;
@@ -12186,11 +12173,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12186
12173
  return _formatResult;
12187
12174
  }
12188
12175
  };
12189
- var parallelData = function parallelData(data, result) {
12176
+ var _parallelData = function parallelData(data, result) {
12190
12177
  data.forEach(function (i) {
12191
12178
  result.push(i);
12192
12179
  if (i[treeChildrenRoom]) {
12193
- parallelData(i[treeChildrenRoom], result);
12180
+ _parallelData(i[treeChildrenRoom], result);
12194
12181
  }
12195
12182
  });
12196
12183
  return result;
@@ -12230,7 +12217,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12230
12217
  var _ctx$form2;
12231
12218
  var handleData = formatData(data);
12232
12219
  // 获取选中树节点当条数据,并返回给调用业务
12233
- var parallelTreeData = parallelData(treeData, []);
12220
+ var parallelTreeData = _parallelData(treeData, []);
12234
12221
  var currentItem = getSelectItem(parallelTreeData, data);
12235
12222
  onChange(handleData, data, currentItem, parallelTreeData);
12236
12223
  onChangeName && onChangeName(dataName);
@@ -12273,7 +12260,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12273
12260
  var getShowStr = function getShowStr() {
12274
12261
  var isMultiple = multiple || treeCheckable;
12275
12262
  var kongValue = '无';
12276
- var parallelTreeData = parallelData(treeData, []);
12263
+ var parallelTreeData = _parallelData(treeData, []);
12277
12264
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
12278
12265
  if (isMultiple) {
12279
12266
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -12285,7 +12272,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12285
12272
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
12286
12273
  return /*#__PURE__*/React$1.createElement("div", {
12287
12274
  className: 'tree_search_select'
12288
- }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
12275
+ }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
12289
12276
  title: getShowStr(),
12290
12277
  style: {
12291
12278
  overflow: 'hidden',
@@ -12293,7 +12280,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12293
12280
  whiteSpace: 'nowrap'
12294
12281
  },
12295
12282
  className: 'search_select_show'
12296
- }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
12283
+ }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
12297
12284
  treeCheckable: treeCheckable,
12298
12285
  maxTagCount: maxTagCount,
12299
12286
  showSearch: showSearch,
@@ -12491,7 +12478,7 @@ var index$2 = (function (props) {
12491
12478
  height: '40px',
12492
12479
  lineHeight: '40px'
12493
12480
  } : {}
12494
- }, item.text), item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
12481
+ }, item.text), item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
12495
12482
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
12496
12483
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
12497
12484
  style: {
@@ -13272,7 +13259,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13272
13259
  style: {
13273
13260
  width: 540
13274
13261
  }
13275
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
13262
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
13276
13263
  checked: !dataSource.some(function (item) {
13277
13264
  if (item.hidden) return true;
13278
13265
  return false;
@@ -13310,13 +13297,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13310
13297
  _this2.onChange(e, item.title);
13311
13298
  }
13312
13299
  }, item.title);
13313
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
13300
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
13314
13301
  style: {
13315
13302
  width: '144px'
13316
13303
  }
13317
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
13304
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
13318
13305
  className: 'sort_table_column_all_empty'
13319
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
13306
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
13320
13307
  className: 'sort_table_column_special'
13321
13308
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
13322
13309
  className: 'sort_table_column_all'
@@ -13469,10 +13456,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13469
13456
  var newColumns = _this.state.showColumns.map(function (col) {
13470
13457
  return _objectSpread2({}, col);
13471
13458
  });
13472
- var handleIndex = function handleIndex(arr, indexArr) {
13459
+ var _handleIndex = function handleIndex(arr, indexArr) {
13473
13460
  var i = indexArr.shift();
13474
13461
  if (indexArr.length > 0) {
13475
- handleIndex(arr[i].children, indexArr);
13462
+ _handleIndex(arr[i].children, indexArr);
13476
13463
  } else {
13477
13464
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
13478
13465
  width: size.width
@@ -13480,7 +13467,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13480
13467
  handleBssulaColumnsSpecialParams(arr[i]);
13481
13468
  }
13482
13469
  };
13483
- handleIndex(newColumns, _toConsumableArray(index));
13470
+ _handleIndex(newColumns, _toConsumableArray(index));
13484
13471
  _this.setState({
13485
13472
  showColumns: _toConsumableArray(newColumns)
13486
13473
  });
@@ -13559,13 +13546,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13559
13546
  showSummary = summary;
13560
13547
  }
13561
13548
  }
13562
- var handleColumns = function handleColumns(arr, indexArr) {
13549
+ var _handleColumns = function handleColumns(arr, indexArr) {
13563
13550
  arr.forEach(function (item, index) {
13564
13551
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
13565
13552
  return i || i === 0;
13566
13553
  });
13567
13554
  if (noEmptyArray$1(item.children)) {
13568
- handleColumns(item.children, indexArrInside);
13555
+ _handleColumns(item.children, indexArrInside);
13569
13556
  } else {
13570
13557
  item.width = item.width || getItemDefaultWidth$2(item);
13571
13558
  item.onHeaderCell = function (column) {
@@ -13581,7 +13568,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
13581
13568
  handleBssulaColumnsSpecialParams(item);
13582
13569
  return _objectSpread2({}, item);
13583
13570
  });
13584
- handleColumns(showCol, []);
13571
+ _handleColumns(showCol, []);
13585
13572
  if (dynamicColumns.length) {
13586
13573
  showCol = this.handledynamicColumns(showCol);
13587
13574
  }
@@ -13713,10 +13700,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13713
13700
  var newColumns = _this.state.showColumns.map(function (col) {
13714
13701
  return _objectSpread2({}, col);
13715
13702
  });
13716
- var handleIndex = function handleIndex(arr, indexArr) {
13703
+ var _handleIndex = function handleIndex(arr, indexArr) {
13717
13704
  var i = indexArr.shift();
13718
13705
  if (indexArr.length > 0) {
13719
- handleIndex(arr[i].children, indexArr);
13706
+ _handleIndex(arr[i].children, indexArr);
13720
13707
  } else {
13721
13708
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
13722
13709
  width: size.width
@@ -13724,7 +13711,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13724
13711
  handleAntdColumnsSpecialParams(arr[i]);
13725
13712
  }
13726
13713
  };
13727
- handleIndex(newColumns, _toConsumableArray(index));
13714
+ _handleIndex(newColumns, _toConsumableArray(index));
13728
13715
  _this.setState({
13729
13716
  showColumns: _toConsumableArray(newColumns)
13730
13717
  });
@@ -13800,13 +13787,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13800
13787
  showSummary = summary;
13801
13788
  }
13802
13789
  }
13803
- var handleColumns = function handleColumns(arr, indexArr) {
13790
+ var _handleColumns = function handleColumns(arr, indexArr) {
13804
13791
  arr.forEach(function (item, index) {
13805
13792
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
13806
13793
  return i || i === 0;
13807
13794
  });
13808
13795
  if (noEmptyArray$1(item.children)) {
13809
- handleColumns(item.children, indexArrInside);
13796
+ _handleColumns(item.children, indexArrInside);
13810
13797
  } else {
13811
13798
  item.width = item.width || getItemDefaultWidth$2(item);
13812
13799
  item.onHeaderCell = function (column) {
@@ -13822,7 +13809,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
13822
13809
  handleAntdColumnsSpecialParams(item);
13823
13810
  return _objectSpread2({}, item);
13824
13811
  });
13825
- handleColumns(showCol, []);
13812
+ _handleColumns(showCol, []);
13826
13813
  if (dynamicColumns.length) {
13827
13814
  showCol = this.handledynamicColumns(showCol);
13828
13815
  }
@@ -13916,20 +13903,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
13916
13903
  };
13917
13904
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
13918
13905
  var routerMap = {};
13919
- var flattenMenuData = function flattenMenuData(data, parent) {
13906
+ var _flattenMenuData2 = function flattenMenuData(data, parent) {
13920
13907
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
13921
13908
  data.forEach(function (menuItem) {
13922
13909
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
13923
13910
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
13924
13911
  });
13925
13912
  if (newMenuItem.children) {
13926
- flattenMenuData(newMenuItem.children, newMenuItem);
13913
+ _flattenMenuData2(newMenuItem.children, newMenuItem);
13927
13914
  }
13928
13915
  // Reduce memory usage
13929
13916
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
13930
13917
  });
13931
13918
  };
13932
- flattenMenuData(menuData, {});
13919
+ _flattenMenuData2(menuData, {});
13933
13920
  return routerMap;
13934
13921
  };
13935
13922
  // mode类型判断
@@ -13990,7 +13977,7 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
13990
13977
  return undefined;
13991
13978
  };
13992
13979
 
13993
- var css_248z$c = ".detail_page_head {\n padding: 8px 0;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n background-color: #FFF;\n}\n.back_home_img_content {\n display: inline-block;\n height: 24px;\n width: 24px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 16px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #8bc7ff;\n border: 1px solid #8bc7ff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
13980
+ var css_248z$c = ".detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n background-color: #FFF;\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #8bc7ff;\n border: 1px solid #8bc7ff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 32px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
13994
13981
  styleInject(css_248z$c);
13995
13982
 
13996
13983
  var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -14215,15 +14202,17 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14215
14202
  onClick: function onClick() {
14216
14203
  go2BackAndClose(backHistoryPath);
14217
14204
  }
14218
- }, /*#__PURE__*/React$1.createElement(ArrowLeftOutlined, null)), /*#__PURE__*/React$1.createElement("div", {
14205
+ }, /*#__PURE__*/React$1.createElement(ArrowLeftOutlined, {
14206
+ style: {
14207
+ fontSize: '8px'
14208
+ }
14209
+ })), /*#__PURE__*/React$1.createElement("div", {
14219
14210
  className: 'detail_page_title_box'
14220
- }, /*#__PURE__*/React$1.createElement("div", {
14221
- className: 'detail_page_title'
14222
- }, pageTitle), /*#__PURE__*/React$1.createElement(Breadcrumb, null, breadcrumbArr.map(function (item) {
14211
+ }, /*#__PURE__*/React$1.createElement(Breadcrumb, null, breadcrumbArr.map(function (item, index) {
14223
14212
  return /*#__PURE__*/React$1.createElement(Breadcrumb.Item, {
14224
14213
  key: item
14225
14214
  }, /*#__PURE__*/React$1.createElement("span", {
14226
- className: "bread_name"
14215
+ className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
14227
14216
  }, item));
14228
14217
  }))), /*#__PURE__*/React$1.createElement("div", {
14229
14218
  className: 'detail_page_btns',
@@ -14232,23 +14221,23 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14232
14221
  display: 'flex',
14233
14222
  gap: '8px'
14234
14223
  }
14235
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
14224
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
14236
14225
  title: "\u53D6\u6D88\u5168\u5C4F"
14237
14226
  }, /*#__PURE__*/React$1.createElement("img", {
14238
14227
  onClick: function onClick() {
14239
14228
  ShowFullScreen();
14240
14229
  },
14241
- width: 32,
14230
+ width: 24,
14242
14231
  src: scanning
14243
- }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
14232
+ }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
14244
14233
  title: "\u5168\u5C4F"
14245
14234
  }, /*#__PURE__*/React$1.createElement("img", {
14246
14235
  onClick: function onClick() {
14247
14236
  ShowFullScreen();
14248
14237
  },
14249
- width: 32,
14238
+ width: 24,
14250
14239
  src: quanping
14251
- }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
14240
+ }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
14252
14241
  }, function (prevProps, nextProps) {
14253
14242
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
14254
14243
  return false;
@@ -14256,7 +14245,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14256
14245
  return true;
14257
14246
  });
14258
14247
 
14259
- var css_248z$e = ".home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 10px 20px;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n}\n.home_page_head .home_page_title {\n height: 20px;\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n flex-grow: 1;\n padding-right: 10px;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8A8F8D;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n";
14248
+ var css_248z$e = ".home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
14260
14249
  styleInject(css_248z$e);
14261
14250
 
14262
14251
  var _excluded$d = ["children"];
@@ -14325,15 +14314,13 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14325
14314
  className: 'home_page_head'
14326
14315
  }, /*#__PURE__*/React$1.createElement("div", {
14327
14316
  className: 'home_page_title_wrapper'
14328
- }, /*#__PURE__*/React$1.createElement("div", {
14329
- className: 'home_page_title'
14330
- }, pageTitle), /*#__PURE__*/React$1.createElement(Breadcrumb, null, breadcrumbArr.map(function (item) {
14317
+ }, /*#__PURE__*/React$1.createElement(Breadcrumb, null, breadcrumbArr.map(function (item, index) {
14331
14318
  return /*#__PURE__*/React$1.createElement(Breadcrumb.Item, {
14332
14319
  key: item
14333
14320
  }, /*#__PURE__*/React$1.createElement("span", {
14334
- className: "bread_name"
14321
+ className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
14335
14322
  }, item));
14336
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
14323
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
14337
14324
  }, function (prevProps, nextProps) {
14338
14325
  if (prevProps.title !== nextProps.title) {
14339
14326
  return false;
@@ -14973,7 +14960,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
14973
14960
  });
14974
14961
  return /*#__PURE__*/React$1.createElement("div", {
14975
14962
  className: 'sort_table_wrapper'
14976
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
14963
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
14977
14964
  title: "\u8BBE\u7F6E\u8868\u5934\u5185\u5BB9",
14978
14965
  wrapClassName: 'sort_table_wrapper',
14979
14966
  width: 820,
@@ -15023,7 +15010,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15023
15010
  style: {
15024
15011
  width: 540
15025
15012
  }
15026
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15013
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15027
15014
  checked: !dataSource.some(function (item) {
15028
15015
  if (item.hidden) return true;
15029
15016
  return false;
@@ -15077,13 +15064,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15077
15064
  _this2.onChange(e, item.title);
15078
15065
  }
15079
15066
  }, item.title);
15080
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15067
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15081
15068
  style: {
15082
15069
  width: '144px'
15083
15070
  }
15084
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15071
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15085
15072
  className: 'sort_table_column_all_empty'
15086
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15073
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15087
15074
  className: 'sort_table_column_special'
15088
15075
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15089
15076
  className: 'sort_table_column_all'
@@ -15524,7 +15511,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15524
15511
  });
15525
15512
  return /*#__PURE__*/React$1.createElement("div", {
15526
15513
  className: 'sort_table_wrapper'
15527
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
15514
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
15528
15515
  title: "\u8BBE\u7F6E\u641C\u7D22\u9879\u5185\u5BB9",
15529
15516
  wrapClassName: 'sort_table_wrapper',
15530
15517
  width: 820,
@@ -15569,7 +15556,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15569
15556
  style: {
15570
15557
  width: 540
15571
15558
  }
15572
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15559
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15573
15560
  checked: !dataSource.some(function (item) {
15574
15561
  if (item.hidden) return true;
15575
15562
  return false;
@@ -15605,11 +15592,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15605
15592
  _this2.onChange(e, item.label);
15606
15593
  }
15607
15594
  }, item.label);
15608
- }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15595
+ }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
15609
15596
  style: {
15610
15597
  width: '144px'
15611
15598
  }
15612
- })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15599
+ })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
15613
15600
  className: 'sort_table_column_all_empty'
15614
15601
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
15615
15602
  className: 'sort_table_content_wrapper'
@@ -16036,7 +16023,7 @@ var BsSulaQueryTable = (function (props) {
16036
16023
  actionsRender = actionsRender.concat([{
16037
16024
  type: 'text',
16038
16025
  props: {
16039
- children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
16026
+ children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
16040
16027
  request: {
16041
16028
  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),
16042
16029
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -16051,7 +16038,7 @@ var BsSulaQueryTable = (function (props) {
16051
16038
  actionsRender = actionsRender.concat([{
16052
16039
  type: 'text',
16053
16040
  props: {
16054
- children: ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
16041
+ children: (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
16055
16042
  title: "\u53D6\u6D88\u5168\u5C4F"
16056
16043
  }, /*#__PURE__*/React$1.createElement("img", {
16057
16044
  onClick: function onClick() {
@@ -16059,7 +16046,7 @@ var BsSulaQueryTable = (function (props) {
16059
16046
  },
16060
16047
  width: 32,
16061
16048
  src: scanning
16062
- }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
16049
+ }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
16063
16050
  title: "\u5168\u5C4F"
16064
16051
  }, /*#__PURE__*/React$1.createElement("img", {
16065
16052
  onClick: function onClick() {
@@ -16072,7 +16059,7 @@ var BsSulaQueryTable = (function (props) {
16072
16059
  }, {
16073
16060
  type: 'text',
16074
16061
  props: {
16075
- children: ( /*#__PURE__*/React$1.createElement("span", {
16062
+ children: (/*#__PURE__*/React$1.createElement("span", {
16076
16063
  className: "ant-dropdown-link"
16077
16064
  }, /*#__PURE__*/React$1.createElement(Dropdown, {
16078
16065
  overlay: /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, /*#__PURE__*/React$1.createElement("div", {
@@ -16081,13 +16068,13 @@ var BsSulaQueryTable = (function (props) {
16081
16068
  fontSize: 14,
16082
16069
  textAlign: 'center'
16083
16070
  }
16084
- }, "\u5217\u8BBE\u7F6E")), !(value === null || value === void 0 ? void 0 : (_value$searchConfig = value.searchConfig) === null || _value$searchConfig === void 0 ? void 0 : _value$searchConfig.isHidden) && ( /*#__PURE__*/React$1.createElement(Menu.Item, null, /*#__PURE__*/React$1.createElement(SearchItemTable, {
16071
+ }, "\u5217\u8BBE\u7F6E")), !(value === null || value === void 0 ? void 0 : (_value$searchConfig = value.searchConfig) === null || _value$searchConfig === void 0 ? void 0 : _value$searchConfig.isHidden) && (/*#__PURE__*/React$1.createElement(Menu.Item, null, /*#__PURE__*/React$1.createElement(SearchItemTable, {
16085
16072
  ref: searchTableRef,
16086
16073
  setShowSearchFields: setShowSearchFields,
16087
16074
  showSearchFields: showSearchFields,
16088
16075
  datasource: (value === null || value === void 0 ? void 0 : value.fields) || [],
16089
16076
  bsTableCode: bsTableCode
16090
- }))), (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(Menu.Item, null, /*#__PURE__*/React$1.createElement("div", {
16077
+ }))), (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(Menu.Item, null, /*#__PURE__*/React$1.createElement("div", {
16091
16078
  onClick: exportTableRef === null || exportTableRef === void 0 ? void 0 : (_exportTableRef$curre = exportTableRef.current) === null || _exportTableRef$curre === void 0 ? void 0 : _exportTableRef$curre.showModal,
16092
16079
  style: {
16093
16080
  fontSize: 14,
@@ -16264,7 +16251,7 @@ var BsSulaQueryTable = (function (props) {
16264
16251
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
16265
16252
  bsTableCode: bsTableCode,
16266
16253
  onlyModal: true
16267
- }), (value === null || value === void 0 ? void 0 : (_value$exportConfig7 = value.exportConfig) === null || _value$exportConfig7 === void 0 ? void 0 : _value$exportConfig7.settingColumns) && ( /*#__PURE__*/React$1.createElement(SortableTable$1, {
16254
+ }), (value === null || value === void 0 ? void 0 : (_value$exportConfig7 = value.exportConfig) === null || _value$exportConfig7 === void 0 ? void 0 : _value$exportConfig7.settingColumns) && (/*#__PURE__*/React$1.createElement(SortableTable$1, {
16268
16255
  ref: exportTableRef,
16269
16256
  setShowColumns: setShowExportColumns,
16270
16257
  setInitialTableInfo: setInitialTableInfo,
@@ -16357,11 +16344,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
16357
16344
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
16358
16345
  var resultList = [];
16359
16346
  var newRouter = cloneDeep(router);
16360
- var deep = function deep(router) {
16347
+ var _deep = function deep(router) {
16361
16348
  if (router && Array.isArray(router)) {
16362
16349
  router.forEach(function (item) {
16363
16350
  if (item.children && Array.isArray(item.children)) {
16364
- deep(item.children);
16351
+ _deep(item.children);
16365
16352
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
16366
16353
  return d === item.code;
16367
16354
  })) {
@@ -16375,10 +16362,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
16375
16362
  resultList.push(_objectSpread2({}, router));
16376
16363
  }
16377
16364
  };
16378
- deep(newRouter);
16365
+ _deep(newRouter);
16379
16366
  callBack([].concat(resultList));
16380
16367
  };
16381
- var setMenuTreeData = function setMenuTreeData(routesData) {
16368
+ var _setMenuTreeData = function setMenuTreeData(routesData) {
16382
16369
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
16383
16370
  var _loop = function _loop(i) {
16384
16371
  if (routesData[i].hideInMenu) {
@@ -16392,7 +16379,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
16392
16379
  return 0; // continue
16393
16380
  }
16394
16381
  if (routesData[i].children) {
16395
- setMenuTreeData(routesData[i].children);
16382
+ _setMenuTreeData(routesData[i].children);
16396
16383
  }
16397
16384
  },
16398
16385
  _ret;
@@ -16413,16 +16400,16 @@ var setLoginOutPath = function setLoginOutPath() {
16413
16400
  };
16414
16401
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
16415
16402
  var routerMap = {};
16416
- var flattenMenuData = function flattenMenuData(data) {
16403
+ var _flattenMenuData = function flattenMenuData(data) {
16417
16404
  data.forEach(function (menuItem) {
16418
16405
  if (menuItem.children) {
16419
- flattenMenuData(menuItem.children);
16406
+ _flattenMenuData(menuItem.children);
16420
16407
  }
16421
16408
  // Reduce memory usage
16422
16409
  routerMap[menuItem.path] = menuItem;
16423
16410
  });
16424
16411
  };
16425
- flattenMenuData(menuData);
16412
+ _flattenMenuData(menuData);
16426
16413
  return routerMap;
16427
16414
  };
16428
16415
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -16568,7 +16555,7 @@ var DrawContent = function DrawContent(_ref) {
16568
16555
  sethomepageData(homepageDataList);
16569
16556
  setroutesData(routesDataList);
16570
16557
  }, []);
16571
- var renderChildItem = function renderChildItem(child) {
16558
+ var _renderChildItem = function renderChildItem(child) {
16572
16559
  if (!child.hideInMenu && child.children) {
16573
16560
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
16574
16561
  style: {
@@ -16578,7 +16565,7 @@ var DrawContent = function DrawContent(_ref) {
16578
16565
  }, formatMessage({
16579
16566
  id: "".concat(child.locale)
16580
16567
  })), child.children.map(function (menuItem) {
16581
- return renderChildItem(menuItem);
16568
+ return _renderChildItem(menuItem);
16582
16569
  }));
16583
16570
  } else if (!child.hideInMenu && child.path) {
16584
16571
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -16613,7 +16600,7 @@ var DrawContent = function DrawContent(_ref) {
16613
16600
  className: 'drawerWarp'
16614
16601
  }, homepageData && homepageData.filter(function (d) {
16615
16602
  return !d.hideInMenu;
16616
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
16603
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
16617
16604
  className: classNames('allFunsList', 'allFunsListWarp'),
16618
16605
  dataSource: homepageData,
16619
16606
  renderItem: function renderItem(child) {
@@ -16648,7 +16635,7 @@ var DrawContent = function DrawContent(_ref) {
16648
16635
  bordered: true,
16649
16636
  dataSource: item.children,
16650
16637
  renderItem: function renderItem(child) {
16651
- return renderChildItem(child);
16638
+ return _renderChildItem(child);
16652
16639
  }
16653
16640
  });
16654
16641
  })));
@@ -16708,7 +16695,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
16708
16695
  src: allfunc
16709
16696
  })), /*#__PURE__*/React$1.createElement("span", {
16710
16697
  className: 'btnSpan2'
16711
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
16698
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
16712
16699
  style: {
16713
16700
  left: isDrawer ? 140 : 0,
16714
16701
  top: 50
@@ -16754,7 +16741,7 @@ function outLogin(_x) {
16754
16741
  return _outLogin.apply(this, arguments);
16755
16742
  }
16756
16743
  function _outLogin() {
16757
- _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
16744
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
16758
16745
  var res;
16759
16746
  return _regeneratorRuntime().wrap(function _callee$(_context) {
16760
16747
  while (1) switch (_context.prev = _context.next) {
@@ -16896,7 +16883,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
16896
16883
  });
16897
16884
  };
16898
16885
  var loginOut = /*#__PURE__*/function () {
16899
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
16886
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
16900
16887
  var sessionId;
16901
16888
  return _regeneratorRuntime().wrap(function _callee$(_context) {
16902
16889
  while (1) switch (_context.prev = _context.next) {
@@ -17000,7 +16987,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
17000
16987
  marginRight: '0px'
17001
16988
  },
17002
16989
  src: './xialajiantou-new.svg'
17003
- }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
16990
+ }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
17004
16991
  };
17005
16992
 
17006
16993
  // -- 查询店铺 --
@@ -17008,7 +16995,7 @@ function getStoreByName(_x) {
17008
16995
  return _getStoreByName.apply(this, arguments);
17009
16996
  }
17010
16997
  function _getStoreByName() {
17011
- _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
16998
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17012
16999
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17013
17000
  while (1) switch (_context.prev = _context.next) {
17014
17001
  case 0:
@@ -17076,7 +17063,7 @@ var ChooseStore = function ChooseStore(props) {
17076
17063
  return _fetchUserList.apply(this, arguments);
17077
17064
  }
17078
17065
  function _fetchUserList() {
17079
- _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
17066
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
17080
17067
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
17081
17068
  while (1) switch (_context3.prev = _context3.next) {
17082
17069
  case 0:
@@ -17124,7 +17111,7 @@ var ChooseStore = function ChooseStore(props) {
17124
17111
  return debounce$1(loadOptions, debounceTimeout);
17125
17112
  }, [debounceTimeout, key]);
17126
17113
  var changeInput = /*#__PURE__*/function () {
17127
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
17114
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
17128
17115
  var res;
17129
17116
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17130
17117
  while (1) switch (_context.prev = _context.next) {
@@ -17146,7 +17133,7 @@ var ChooseStore = function ChooseStore(props) {
17146
17133
  };
17147
17134
  }();
17148
17135
  useEffect(function () {
17149
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
17136
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
17150
17137
  var res;
17151
17138
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
17152
17139
  while (1) switch (_context2.prev = _context2.next) {
@@ -17311,7 +17298,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17311
17298
  var resultList = [];
17312
17299
  var newRouter = cloneDeep$1(router);
17313
17300
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
17314
- var deep = function deep(router) {
17301
+ var _deep = function deep(router) {
17315
17302
  if (router && Array.isArray(router)) {
17316
17303
  router.forEach(function (item) {
17317
17304
  if (item.routes && Array.isArray(item.routes)) {
@@ -17321,7 +17308,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17321
17308
  d.nameEdit = true;
17322
17309
  }
17323
17310
  });
17324
- deep(item.routes);
17311
+ _deep(item.routes);
17325
17312
  } else if (!item.hideInMenu && (name ? formatMessage({
17326
17313
  id: "menu.".concat(item.name)
17327
17314
  }).indexOf(name) !== -1 : true)) {
@@ -17340,7 +17327,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17340
17327
  }));
17341
17328
  }
17342
17329
  };
17343
- deep(newRouter);
17330
+ _deep(newRouter);
17344
17331
  setroutesData([].concat(resultList));
17345
17332
  };
17346
17333
  var renderLineStyl = function renderLineStyl(name) {
@@ -17422,7 +17409,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17422
17409
  },
17423
17410
  title: item.fullPathName
17424
17411
  }, renderLineStyl(item.fullPathName));
17425
- }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
17412
+ }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
17426
17413
  employeeCode: employeeCode
17427
17414
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
17428
17415
  };
@@ -17437,7 +17424,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
17437
17424
  var TreeNode = Tree.TreeNode;
17438
17425
  var Search$2 = Input.Search;
17439
17426
  var dataList = [];
17440
- var generateList = function generateList(data) {
17427
+ var _generateList = function generateList(data) {
17441
17428
  for (var i = 0; i < data.length; i++) {
17442
17429
  var node = data[i];
17443
17430
  var path = node.path,
@@ -17447,11 +17434,11 @@ var generateList = function generateList(data) {
17447
17434
  name: name
17448
17435
  });
17449
17436
  if (node.children) {
17450
- generateList(node.children);
17437
+ _generateList(node.children);
17451
17438
  }
17452
17439
  }
17453
17440
  };
17454
- var getParentKey = function getParentKey(path, tree) {
17441
+ var _getParentKey = function getParentKey(path, tree) {
17455
17442
  var parentKey;
17456
17443
  for (var i = 0; i < tree.length; i++) {
17457
17444
  var node = tree[i];
@@ -17460,8 +17447,8 @@ var getParentKey = function getParentKey(path, tree) {
17460
17447
  return item.path === path;
17461
17448
  })) {
17462
17449
  parentKey = node.path;
17463
- } else if (getParentKey(path, node.children)) {
17464
- parentKey = getParentKey(path, node.children);
17450
+ } else if (_getParentKey(path, node.children)) {
17451
+ parentKey = _getParentKey(path, node.children);
17465
17452
  }
17466
17453
  }
17467
17454
  }
@@ -17492,7 +17479,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17492
17479
  var treeData = _this.state.treeData;
17493
17480
  var expandedKeys = dataList.map(function (item) {
17494
17481
  if (item.name.indexOf(value) > -1) {
17495
- return getParentKey(item.path, treeData);
17482
+ return _getParentKey(item.path, treeData);
17496
17483
  }
17497
17484
  return null;
17498
17485
  }).filter(function (item, i, self) {
@@ -17506,22 +17493,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17506
17493
  };
17507
17494
  _this.getPathList = function (originData) {
17508
17495
  var pathList = [];
17509
- var getList = function getList(data) {
17496
+ var _getList = function getList(data) {
17510
17497
  if (Array.isArray(data)) {
17511
17498
  data.forEach(function (item) {
17512
17499
  pathList.push(item.path);
17513
17500
  if (item.children) {
17514
- getList(item.children);
17501
+ _getList(item.children);
17515
17502
  }
17516
17503
  });
17517
17504
  } else {
17518
17505
  pathList.push(data.path);
17519
17506
  if (data.children) {
17520
- getList(data.children);
17507
+ _getList(data.children);
17521
17508
  }
17522
17509
  }
17523
17510
  };
17524
- getList(originData);
17511
+ _getList(originData);
17525
17512
  return pathList;
17526
17513
  };
17527
17514
  _this.handleAdd2Menu = function (path) {
@@ -17530,18 +17517,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17530
17517
  customerMenuData = _this$props.customerMenuData,
17531
17518
  setCustomerMenuData = _this$props.setCustomerMenuData;
17532
17519
  var filterItem;
17533
- var filterMenuItem = function filterMenuItem(menuData) {
17520
+ var _filterMenuItem = function filterMenuItem(menuData) {
17534
17521
  menuData.forEach(function (item) {
17535
17522
  if (item.path === path) {
17536
17523
  filterItem = _objectSpread2({}, item);
17537
17524
  return;
17538
17525
  }
17539
17526
  if (item.children) {
17540
- filterMenuItem(item.children);
17527
+ _filterMenuItem(item.children);
17541
17528
  }
17542
17529
  });
17543
17530
  };
17544
- filterMenuItem(treeData);
17531
+ _filterMenuItem(treeData);
17545
17532
  var addPathList = _this.getPathList(filterItem);
17546
17533
  var oldPathList = _this.getPathList(customerMenuData);
17547
17534
  var isRepet = false;
@@ -17571,8 +17558,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17571
17558
  return item.path === '/';
17572
17559
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
17573
17560
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
17574
- setMenuTreeData(routesData);
17575
- generateList(routesData);
17561
+ _setMenuTreeData(routesData);
17562
+ _generateList(routesData);
17576
17563
  this.setState({
17577
17564
  treeData: routesData
17578
17565
  });
@@ -17586,16 +17573,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17586
17573
  expandedKeys = _this$state.expandedKeys,
17587
17574
  autoExpandParent = _this$state.autoExpandParent,
17588
17575
  treeData = _this$state.treeData;
17589
- var loop = function loop(data) {
17576
+ var _loop = function loop(data) {
17590
17577
  return data.map(function (item) {
17591
17578
  var index = item.name.indexOf(searchValue);
17592
17579
  var beforeStr = item.name.substr(0, index);
17593
17580
  var afterStr = item.name.substr(index + searchValue.length);
17594
- var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
17581
+ var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
17595
17582
  style: {
17596
17583
  color: '#f50'
17597
17584
  }
17598
- }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
17585
+ }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
17599
17586
  if (item.children && item.children.length) {
17600
17587
  return /*#__PURE__*/React$1.createElement(TreeNode, {
17601
17588
  path: item.path,
@@ -17617,7 +17604,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17617
17604
  width: 18,
17618
17605
  src: arrowRight
17619
17606
  }))))
17620
- }, loop(item.children));
17607
+ }, _loop(item.children));
17621
17608
  }
17622
17609
  return /*#__PURE__*/React$1.createElement(TreeNode, {
17623
17610
  path: item.path,
@@ -17667,7 +17654,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
17667
17654
  onExpand: this.onExpand,
17668
17655
  expandedKeys: expandedKeys,
17669
17656
  autoExpandParent: autoExpandParent
17670
- }, loop(treeData))));
17657
+ }, _loop(treeData))));
17671
17658
  }
17672
17659
  }]);
17673
17660
  }(React$1.Component);
@@ -17700,24 +17687,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17700
17687
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
17701
17688
  var dragObj;
17702
17689
  var finalDropItem;
17703
- var loop = function loop(data, path, callback) {
17690
+ var _loop = function loop(data, path, callback) {
17704
17691
  for (var i = 0; i < data.length; i++) {
17705
17692
  if (data[i].path === path) {
17706
17693
  return callback(data[i], i, data);
17707
17694
  }
17708
17695
  if (data[i].children) {
17709
- loop(data[i].children, path, callback);
17696
+ _loop(data[i].children, path, callback);
17710
17697
  }
17711
17698
  }
17712
17699
  };
17713
17700
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
17714
- loop(data, dragKey, function (item, index, arr) {
17701
+ _loop(data, dragKey, function (item, index, arr) {
17715
17702
  arr.splice(index, 1);
17716
17703
  dragObj = item;
17717
17704
  });
17718
17705
  if (!info.dropToGap) {
17719
17706
  // Drop on the content
17720
- loop(data, dropKey, function (item) {
17707
+ _loop(data, dropKey, function (item) {
17721
17708
  item.children = item.children || [];
17722
17709
  item.children.unshift(dragObj);
17723
17710
  finalDropItem = _objectSpread2({}, item);
@@ -17728,7 +17715,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17728
17715
  // Is expanded
17729
17716
  dropPosition === 1 // On the bottom gap
17730
17717
  ) {
17731
- loop(data, dropKey, function (item) {
17718
+ _loop(data, dropKey, function (item) {
17732
17719
  item.children = item.children || [];
17733
17720
  item.children.unshift(dragObj);
17734
17721
  finalDropItem = _objectSpread2({}, item);
@@ -17736,7 +17723,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17736
17723
  } else {
17737
17724
  var ar;
17738
17725
  var i;
17739
- loop(data, dropKey, function (item, index, arr) {
17726
+ _loop(data, dropKey, function (item, index, arr) {
17740
17727
  ar = arr;
17741
17728
  i = index;
17742
17729
  });
@@ -17775,17 +17762,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17775
17762
  title: '编辑名称',
17776
17763
  callBack: function callBack(newName) {
17777
17764
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
17778
- var editTreeDataName = function editTreeDataName(oldTreeData) {
17765
+ var _editTreeDataName = function editTreeDataName(oldTreeData) {
17779
17766
  oldTreeData.forEach(function (treeItem) {
17780
17767
  if (treeItem.path === item.path) {
17781
17768
  treeItem.name = newName;
17782
17769
  }
17783
17770
  if (treeItem.children) {
17784
- editTreeDataName(treeItem.children);
17771
+ _editTreeDataName(treeItem.children);
17785
17772
  }
17786
17773
  });
17787
17774
  };
17788
- editTreeDataName(oldTreeData);
17775
+ _editTreeDataName(oldTreeData);
17789
17776
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
17790
17777
  _this.setState({
17791
17778
  modalInfo: {
@@ -17830,7 +17817,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17830
17817
  title: '新增子目录',
17831
17818
  callBack: function callBack(newName) {
17832
17819
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
17833
- var addChildFolder = function addChildFolder(oldTreeData) {
17820
+ var _addChildFolder = function addChildFolder(oldTreeData) {
17834
17821
  oldTreeData.forEach(function (treeItem) {
17835
17822
  if (treeItem.path === item.path) {
17836
17823
  treeItem.children ? treeItem.children.push({
@@ -17842,11 +17829,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17842
17829
  }];
17843
17830
  }
17844
17831
  if (treeItem.children) {
17845
- addChildFolder(treeItem.children);
17832
+ _addChildFolder(treeItem.children);
17846
17833
  }
17847
17834
  });
17848
17835
  };
17849
- addChildFolder(oldTreeData);
17836
+ _addChildFolder(oldTreeData);
17850
17837
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
17851
17838
  _this.setState({
17852
17839
  modalInfo: {
@@ -17905,7 +17892,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17905
17892
  var _this$state = this.state,
17906
17893
  modalInfo = _this$state.modalInfo,
17907
17894
  checkedKeys = _this$state.checkedKeys;
17908
- var loop = function loop(data) {
17895
+ var _loop2 = function loop(data) {
17909
17896
  return data.map(function (item) {
17910
17897
  if (item.children && item.children.length) {
17911
17898
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -17922,7 +17909,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
17922
17909
  e.stopPropagation();
17923
17910
  }
17924
17911
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
17925
- }, loop(item.children));
17912
+ }, _loop2(item.children));
17926
17913
  }
17927
17914
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
17928
17915
  path: item.path,
@@ -18001,7 +17988,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18001
17988
  children: 'children'
18002
17989
  },
18003
17990
  onDrop: this.onDrop
18004
- }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
17991
+ }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
18005
17992
  width: 600,
18006
17993
  bodyStyle: {
18007
17994
  paddingTop: '32px',
@@ -18114,7 +18101,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18114
18101
  pathname: item.path
18115
18102
  });
18116
18103
  };
18117
- var getMenuDom = function getMenuDom(menuData) {
18104
+ var _getMenuDom = function getMenuDom(menuData) {
18118
18105
  return menuData.map(function (item) {
18119
18106
  return /*#__PURE__*/React$1.createElement("div", {
18120
18107
  style: {
@@ -18129,7 +18116,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18129
18116
  fontWeight: item.children || !item.component ? 'bolder' : '400',
18130
18117
  paddingLeft: '4px'
18131
18118
  }
18132
- }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
18119
+ }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
18133
18120
  });
18134
18121
  };
18135
18122
  return /*#__PURE__*/React$1.createElement("div", {
@@ -18155,7 +18142,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18155
18142
  style: {
18156
18143
  paddingLeft: '5px'
18157
18144
  }
18158
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18145
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
18159
18146
  style: {
18160
18147
  left: isDrawer ? 140 : 0
18161
18148
  },
@@ -18176,7 +18163,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18176
18163
  visible: isDrawer
18177
18164
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
18178
18165
  className: 'menu_title_line'
18179
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
18166
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
18180
18167
  title: /*#__PURE__*/React$1.createElement("span", {
18181
18168
  style: {
18182
18169
  fontWeight: '600',
@@ -18250,7 +18237,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18250
18237
  return item.path === '/';
18251
18238
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
18252
18239
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
18253
- setMenuTreeData(routesData);
18240
+ _setMenuTreeData(routesData);
18254
18241
  routesData.forEach(function (item) {
18255
18242
  if (item.children) {
18256
18243
  routesDataList.push(item);
@@ -18280,7 +18267,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18280
18267
  setHeight(clientHeight - 190);
18281
18268
  setDrawHeight(clientHeight - 70);
18282
18269
  };
18283
- var renderChildItem = function renderChildItem(child) {
18270
+ var _renderChildItem = function renderChildItem(child) {
18284
18271
  if (!child.hideInMenu && child.children) {
18285
18272
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18286
18273
  style: {
@@ -18290,7 +18277,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18290
18277
  }, formatMessage({
18291
18278
  id: "".concat(child.locale)
18292
18279
  })), child.children.map(function (menuItem) {
18293
- return renderChildItem(menuItem);
18280
+ return _renderChildItem(menuItem);
18294
18281
  }));
18295
18282
  } else if (!child.hideInMenu && child.path) {
18296
18283
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18432,7 +18419,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18432
18419
  onMenuClick(e, item);
18433
18420
  }
18434
18421
  }, item.name);
18435
- }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
18422
+ }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
18436
18423
  className: 'search_menu_content'
18437
18424
  }, SearhData.map(function (item) {
18438
18425
  return /*#__PURE__*/React$1.createElement("div", {
@@ -18441,7 +18428,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18441
18428
  },
18442
18429
  key: item.path
18443
18430
  }, item.name);
18444
- }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
18431
+ }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
18445
18432
  style: {
18446
18433
  height: "".concat(rightMenuHeight, "px"),
18447
18434
  overflowY: 'scroll',
@@ -18453,7 +18440,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18453
18440
  className: 'drawerWarp_right'
18454
18441
  }, homepageData && homepageData.filter(function (d) {
18455
18442
  return !d.hideInMenu;
18456
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
18443
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
18457
18444
  className: classNames('allFunsList', 'allFunsListWarp'),
18458
18445
  dataSource: homepageData,
18459
18446
  renderItem: function renderItem(child) {
@@ -18494,7 +18481,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18494
18481
  bordered: true,
18495
18482
  dataSource: item.children,
18496
18483
  renderItem: function renderItem(child) {
18497
- return renderChildItem(child);
18484
+ return _renderChildItem(child);
18498
18485
  }
18499
18486
  });
18500
18487
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -18652,10 +18639,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
18652
18639
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
18653
18640
  var menuKeys = [];
18654
18641
  var docsId = [];
18655
- var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
18642
+ var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
18656
18643
  data.forEach(function (item) {
18657
18644
  if (item.children && item.children.length > 0) {
18658
- getLimitedMenuKeys(item.children);
18645
+ _getLimitedMenuKeys(item.children);
18659
18646
  } else {
18660
18647
  var originPath = item.path.replace(/^\/\w+\//, '/');
18661
18648
  menuKeys.push(originPath);
@@ -18666,7 +18653,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
18666
18653
  });
18667
18654
  };
18668
18655
  try {
18669
- getLimitedMenuKeys(limitedMenuData);
18656
+ _getLimitedMenuKeys(limitedMenuData);
18670
18657
  } catch (e) {}
18671
18658
  return {
18672
18659
  menuKeys: menuKeys,
@@ -18900,10 +18887,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
18900
18887
  return (node.path || '').includes('all-general-documents');
18901
18888
  };
18902
18889
  // 递归获取树列表
18903
- var getTreeList = function getTreeList(data) {
18890
+ var _getTreeList = function getTreeList(data) {
18904
18891
  data.forEach(function (node) {
18905
18892
  if (node.routes && node.routes.length > 0) {
18906
- getTreeList(node.routes);
18893
+ _getTreeList(node.routes);
18907
18894
  return;
18908
18895
  }
18909
18896
  // todo:暂时处理非wujie环境不做404管控
@@ -18934,7 +18921,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
18934
18921
  }
18935
18922
  });
18936
18923
  };
18937
- getTreeList(treeData);
18924
+ _getTreeList(treeData);
18938
18925
  return treeList;
18939
18926
  };
18940
18927
  _this.getDictionarySource = function (dicCode) {
@@ -19551,7 +19538,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19551
19538
  updateState = _ref8.updateState;
19552
19539
  return /*#__PURE__*/React$1.createElement("div", {
19553
19540
  className: "tab_title_content"
19554
- }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
19541
+ }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
19555
19542
  info: item,
19556
19543
  operateFun: _this3.operateFun,
19557
19544
  listenRouterState: listenRouterState
@@ -19687,7 +19674,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19687
19674
  };
19688
19675
  }
19689
19676
  var OperationsSlot = {
19690
- left: ( /*#__PURE__*/React$1.createElement("div", {
19677
+ left: (/*#__PURE__*/React$1.createElement("div", {
19691
19678
  className: 'tab_left_operate'
19692
19679
  }, /*#__PURE__*/React$1.createElement("div", {
19693
19680
  onClick: function onClick() {
@@ -19703,7 +19690,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19703
19690
  _this3.setTabNavTransLate(-100);
19704
19691
  }
19705
19692
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
19706
- right: ( /*#__PURE__*/React$1.createElement("div", {
19693
+ right: (/*#__PURE__*/React$1.createElement("div", {
19707
19694
  style: {
19708
19695
  opacity: this.state.isSlider ? 1 : 0.5
19709
19696
  },
@@ -19801,7 +19788,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19801
19788
  onMouseLeave: function onMouseLeave() {
19802
19789
  _this3.setShowMenu(false);
19803
19790
  }
19804
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
19791
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
19805
19792
  style: {
19806
19793
  position: 'absolute',
19807
19794
  top: '14px',
@@ -19820,7 +19807,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19820
19807
  postMenuData: function postMenuData(menus) {
19821
19808
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
19822
19809
  },
19823
- links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
19810
+ links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
19824
19811
  ref: this.allFunc,
19825
19812
  itemPath: itemPath,
19826
19813
  handleClose: this.handleClose,
@@ -19838,7 +19825,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19838
19825
  },
19839
19826
  menu: {
19840
19827
  request: function () {
19841
- var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19828
+ var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19842
19829
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19843
19830
  while (1) switch (_context.prev = _context.next) {
19844
19831
  case 0:
@@ -19969,7 +19956,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
19969
19956
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
19970
19957
  timeFormat = _this$props4.timeFormat,
19971
19958
  transparentProps = _this$props4.transparentProps;
19972
- 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({
19959
+ 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({
19973
19960
  getDictionarySource: getDictionarySource,
19974
19961
  getDictionaryTextByValue: getDictionaryTextByValue,
19975
19962
  timeFormat: timeFormat
@@ -19993,12 +19980,12 @@ var index$5 = (function (props) {
19993
19980
  });
19994
19981
 
19995
19982
  // @ts-nocheck
19996
- var getAllColumns = function getAllColumns(columns) {
19983
+ var _getAllColumns = function getAllColumns(columns) {
19997
19984
  var result = [];
19998
19985
  columns.forEach(function (column) {
19999
19986
  if (column.children) {
20000
19987
  result.push(column);
20001
- result.push.apply(result, getAllColumns(column.children));
19988
+ result.push.apply(result, _getAllColumns(column.children));
20002
19989
  } else {
20003
19990
  result.push(column);
20004
19991
  }
@@ -20007,7 +19994,7 @@ var getAllColumns = function getAllColumns(columns) {
20007
19994
  };
20008
19995
  var convertToRows = function convertToRows(originColumns) {
20009
19996
  var maxLevel = 1;
20010
- var traverse = function traverse(column, parent) {
19997
+ var _traverse = function traverse(column, parent) {
20011
19998
  if (parent) {
20012
19999
  column.level = parent.level + 1;
20013
20000
  if (maxLevel < column.level) {
@@ -20017,7 +20004,7 @@ var convertToRows = function convertToRows(originColumns) {
20017
20004
  if (column.children) {
20018
20005
  var colSpan = 0;
20019
20006
  column.children.forEach(function (subColumn) {
20020
- traverse(subColumn, column);
20007
+ _traverse(subColumn, column);
20021
20008
  colSpan += subColumn.colSpan;
20022
20009
  });
20023
20010
  column.colSpan = colSpan;
@@ -20027,13 +20014,13 @@ var convertToRows = function convertToRows(originColumns) {
20027
20014
  };
20028
20015
  originColumns.forEach(function (column) {
20029
20016
  column.level = 1;
20030
- traverse(column);
20017
+ _traverse(column);
20031
20018
  });
20032
20019
  var rows = [];
20033
20020
  for (var i = 0; i < maxLevel; i++) {
20034
20021
  rows.push([]);
20035
20022
  }
20036
- var allColumns = getAllColumns(originColumns);
20023
+ var allColumns = _getAllColumns(originColumns);
20037
20024
  allColumns.forEach(function (column) {
20038
20025
  if (!column.children) {
20039
20026
  column.rowSpan = maxLevel - column.level + 1;
@@ -20073,7 +20060,7 @@ var convertToRows = function convertToRows(originColumns) {
20073
20060
  };
20074
20061
  var headersToRows = function headersToRows(originColumns) {
20075
20062
  var maxLevel = 1;
20076
- var traverse = function traverse(column, parent) {
20063
+ var _traverse2 = function traverse(column, parent) {
20077
20064
  if (parent) {
20078
20065
  //计算当前元素属于第几个层级
20079
20066
  column.level = parent.level + 1;
@@ -20086,7 +20073,7 @@ var headersToRows = function headersToRows(originColumns) {
20086
20073
  var colSpan = 0;
20087
20074
  column.children.forEach(function (subColumn) {
20088
20075
  //进行递归
20089
- traverse(subColumn, column);
20076
+ _traverse2(subColumn, column);
20090
20077
  colSpan += subColumn.colSpan;
20091
20078
  });
20092
20079
  column.colSpan = colSpan;
@@ -20096,14 +20083,14 @@ var headersToRows = function headersToRows(originColumns) {
20096
20083
  };
20097
20084
  originColumns.forEach(function (column) {
20098
20085
  column.level = 1;
20099
- traverse(column);
20086
+ _traverse2(column);
20100
20087
  });
20101
20088
  var rows = [];
20102
20089
  var lastData = [];
20103
20090
  for (var i = 0; i < maxLevel; i++) {
20104
20091
  rows.push([]);
20105
20092
  }
20106
- var allColumns = getAllColumns(originColumns);
20093
+ var allColumns = _getAllColumns(originColumns);
20107
20094
  allColumns.forEach(function (column) {
20108
20095
  if (!column.children) {
20109
20096
  column.rowSpan = maxLevel - column.level + 1;
@@ -26120,7 +26107,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
26120
26107
  }
26121
26108
  return lineStart <= highLightLine && lineEnd >= highLightLine;
26122
26109
  };
26123
- var hasHighLightChildren = function hasHighLightChildren() {
26110
+ var _hasHighLightChildren = function hasHighLightChildren() {
26124
26111
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
26125
26112
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
26126
26113
  var children = hightLightData.children,
@@ -26131,7 +26118,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
26131
26118
  lineEnd = _loc2[2];
26132
26119
  if (children) {
26133
26120
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
26134
- return hasHighLightChildren(v, highLightLine);
26121
+ return _hasHighLightChildren(v, highLightLine);
26135
26122
  });
26136
26123
  }
26137
26124
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -26143,7 +26130,7 @@ function createHighLightTreeData(treeData, highLightLine) {
26143
26130
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
26144
26131
  data.forEach(function (node) {
26145
26132
  if (!node) return;
26146
- node.toggled = hasHighLightChildren(node, highLightLine);
26133
+ node.toggled = _hasHighLightChildren(node, highLightLine);
26147
26134
  node.active = isHightLight(node, highLightLine);
26148
26135
  if (node.children) {
26149
26136
  if (node.active) {
@@ -27574,7 +27561,7 @@ var valueType = {
27574
27561
  };
27575
27562
 
27576
27563
  var getDynamicDict = /*#__PURE__*/function () {
27577
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
27564
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
27578
27565
  return _regeneratorRuntime().wrap(function _callee$(_context) {
27579
27566
  while (1) switch (_context.prev = _context.next) {
27580
27567
  case 0:
@@ -27642,7 +27629,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
27642
27629
  value: false
27643
27630
  }];
27644
27631
  var ref = useRef();
27645
- useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
27632
+ useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
27646
27633
  var _ref$current, source;
27647
27634
  return _regeneratorRuntime().wrap(function _callee$(_context) {
27648
27635
  while (1) switch (_context.prev = _context.next) {
@@ -27756,7 +27743,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
27756
27743
  source: {
27757
27744
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
27758
27745
  type: function () {
27759
- var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
27746
+ var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
27760
27747
  var form, values, name, relates, source;
27761
27748
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
27762
27749
  while (1) switch (_context2.prev = _context2.next) {
@@ -28236,7 +28223,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28236
28223
  source: {
28237
28224
  relates: ['choiceType', 'inputType'],
28238
28225
  type: function () {
28239
- var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
28226
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
28240
28227
  var values, name, form, source;
28241
28228
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
28242
28229
  while (1) switch (_context3.prev = _context3.next) {
@@ -28458,7 +28445,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28458
28445
  width: 900,
28459
28446
  maskClosable: false,
28460
28447
  onOk: function () {
28461
- var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
28448
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
28462
28449
  var _ref$current4, _res$editableStatus;
28463
28450
  var res, _res$defaultValue;
28464
28451
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -28530,7 +28517,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28530
28517
  }()
28531
28518
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
28532
28519
  ref: ref
28533
- })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
28520
+ })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
28534
28521
  };
28535
28522
 
28536
28523
  // @ts-nocheck
@@ -29144,7 +29131,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29144
29131
  return setVisible(false);
29145
29132
  },
29146
29133
  className: 'customFieldsDrawer'
29147
- }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
29134
+ }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
29148
29135
  style: {
29149
29136
  display: 'flex'
29150
29137
  }
@@ -29153,13 +29140,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29153
29140
  flex: 1,
29154
29141
  width: 500
29155
29142
  }
29156
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
29143
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
29157
29144
  style: {
29158
29145
  padding: "10px 0",
29159
29146
  fontSize: "16px",
29160
29147
  fontWeight: "bolder"
29161
29148
  }
29162
- }, "\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", {
29149
+ }, "\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", {
29163
29150
  style: {
29164
29151
  flex: 1
29165
29152
  }
@@ -29168,7 +29155,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29168
29155
  onRun: onClickRun,
29169
29156
  value: jsonEditorVal,
29170
29157
  shallowHeight: height
29171
- })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
29158
+ })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
29172
29159
  defaultActiveKey: activeKey,
29173
29160
  onChange: function onChange(v) {
29174
29161
  return setActiveKey(v);
@@ -29185,13 +29172,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29185
29172
  flex: 1,
29186
29173
  width: 500
29187
29174
  }
29188
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
29175
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
29189
29176
  style: {
29190
29177
  padding: "10px 0",
29191
29178
  fontSize: "16px",
29192
29179
  fontWeight: "bolder"
29193
29180
  }
29194
- }, "\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", {
29181
+ }, "\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", {
29195
29182
  style: {
29196
29183
  flex: 1
29197
29184
  }
@@ -29213,13 +29200,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29213
29200
  flex: 1,
29214
29201
  width: 500
29215
29202
  }
29216
- }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
29203
+ }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
29217
29204
  style: {
29218
29205
  padding: "10px 0",
29219
29206
  fontSize: "16px",
29220
29207
  fontWeight: "bolder"
29221
29208
  }
29222
- }, "\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", {
29209
+ }, "\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", {
29223
29210
  style: {
29224
29211
  flex: 1
29225
29212
  }
@@ -29365,7 +29352,7 @@ function getMetaData(_x) {
29365
29352
 
29366
29353
  // 获取数据
29367
29354
  function _getMetaData() {
29368
- _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
29355
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
29369
29356
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29370
29357
  while (1) switch (_context.prev = _context.next) {
29371
29358
  case 0:
@@ -29587,7 +29574,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
29587
29574
  tableState = _useState4[0],
29588
29575
  setTableState = _useState4[1];
29589
29576
  var handleOpen = /*#__PURE__*/function () {
29590
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29577
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29591
29578
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
29592
29579
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
29593
29580
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -29906,7 +29893,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
29906
29893
  destroyOnClose: true
29907
29894
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
29908
29895
  ref: queryTableRef
29909
- }, 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, {
29896
+ }, 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, {
29910
29897
  justify: "center",
29911
29898
  style: {
29912
29899
  marginBottom: 30,
@@ -30022,7 +30009,7 @@ var CustomSelector = (function (props) {
30022
30009
  var _props$ctx7;
30023
30010
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
30024
30011
  }
30025
- })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
30012
+ })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
30026
30013
  type: "primary",
30027
30014
  style: {
30028
30015
  width: '30px',
@@ -30108,7 +30095,7 @@ var BsCascader = function BsCascader(_ref) {
30108
30095
  _useState2 = _slicedToArray(_useState, 2),
30109
30096
  handSource = _useState2[0],
30110
30097
  setHandSource = _useState2[1];
30111
- useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30098
+ useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30112
30099
  var resData, data;
30113
30100
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30114
30101
  while (1) switch (_context.prev = _context.next) {
@@ -30260,7 +30247,7 @@ function getRegularThresholdRange(_x) {
30260
30247
  return _getRegularThresholdRange.apply(this, arguments);
30261
30248
  }
30262
30249
  function _getRegularThresholdRange() {
30263
- _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
30250
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
30264
30251
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30265
30252
  while (1) switch (_context.prev = _context.next) {
30266
30253
  case 0:
@@ -30414,7 +30401,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
30414
30401
  };
30415
30402
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
30416
30403
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
30417
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
30404
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
30418
30405
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
30419
30406
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30420
30407
  while (1) switch (_context.prev = _context.next) {
@@ -31359,7 +31346,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
31359
31346
  isAll: true,
31360
31347
  needNameAndCode: true,
31361
31348
  notChangeOnSelect: true,
31362
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
31349
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
31363
31350
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
31364
31351
  while (1) switch (_context2.prev = _context2.next) {
31365
31352
  case 0:
@@ -31408,7 +31395,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
31408
31395
  isAll: true,
31409
31396
  needNameAndCode: true,
31410
31397
  notChangeOnSelect: true,
31411
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
31398
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
31412
31399
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
31413
31400
  while (1) switch (_context3.prev = _context3.next) {
31414
31401
  case 0:
@@ -31459,7 +31446,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
31459
31446
  isAll: true,
31460
31447
  needNameAndCode: true,
31461
31448
  notChangeOnSelect: true,
31462
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
31449
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
31463
31450
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
31464
31451
  while (1) switch (_context4.prev = _context4.next) {
31465
31452
  case 0:
@@ -33423,7 +33410,7 @@ var App$1 = function App(_ref) {
33423
33410
  borderRadius: '5px',
33424
33411
  cursor: 'pointer'
33425
33412
  }
33426
- }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
33413
+ }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
33427
33414
  autoFocus: true,
33428
33415
  onClick: function onClick(e) {
33429
33416
  return e.stopPropagation();
@@ -33710,7 +33697,7 @@ function RenderCompItem(props) {
33710
33697
  dictData = _useState2[0],
33711
33698
  setDictData = _useState2[1];
33712
33699
  var getDictData = /*#__PURE__*/function () {
33713
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
33700
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
33714
33701
  var _data$map;
33715
33702
  var data;
33716
33703
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -33752,7 +33739,7 @@ function RenderCompItem(props) {
33752
33739
  var style2 = {
33753
33740
  width: '100px'
33754
33741
  };
33755
- 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, {
33742
+ 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, {
33756
33743
  disabled: disabled,
33757
33744
  allowClear: true,
33758
33745
  onClear: function onClear() {
@@ -33763,7 +33750,7 @@ function RenderCompItem(props) {
33763
33750
  onBlur: function onBlur(e) {
33764
33751
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
33765
33752
  }
33766
- })) || 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, {
33753
+ })) || 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, {
33767
33754
  disabled: disabled,
33768
33755
  max: Number.MAX_SAFE_INTEGER,
33769
33756
  min: (ites === null || ites === void 0 ? void 0 : ites.valueType) === 23 ? 0 : Number.MIN_SAFE_INTEGER,
@@ -33774,7 +33761,7 @@ function RenderCompItem(props) {
33774
33761
  onChange: function onChange(value) {
33775
33762
  handleEdit(ites.code, value);
33776
33763
  }
33777
- })) || 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, {
33764
+ })) || 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, {
33778
33765
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
33779
33766
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
33780
33767
  disabled: disabled,
@@ -33784,7 +33771,7 @@ function RenderCompItem(props) {
33784
33771
  onChange: function onChange(value, dateString) {
33785
33772
  handleEdit(ites.code, dateString);
33786
33773
  }
33787
- })) || 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, {
33774
+ })) || 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, {
33788
33775
  showTime: true,
33789
33776
  disabled: disabled,
33790
33777
  defaultValue: ites.defaultValue,
@@ -33793,7 +33780,7 @@ function RenderCompItem(props) {
33793
33780
  onChange: function onChange(value, timeString) {
33794
33781
  handleEdit(ites.code, timeString);
33795
33782
  }
33796
- })) || 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, {
33783
+ })) || 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, {
33797
33784
  disabled: disabled,
33798
33785
  defaultChecked: !!ites.defaultValue,
33799
33786
  style: style2,
@@ -33801,7 +33788,7 @@ function RenderCompItem(props) {
33801
33788
  onChange: function onChange(value) {
33802
33789
  handleEdit(ites.code, value);
33803
33790
  }
33804
- })) || 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({
33791
+ })) || 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({
33805
33792
  disabled: disabled,
33806
33793
  allowClear: true,
33807
33794
  showArrow: true
@@ -33819,7 +33806,7 @@ function RenderCompItem(props) {
33819
33806
  key: it,
33820
33807
  value: it
33821
33808
  }, ites.enumeration[it]);
33822
- }))) || 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, {
33809
+ }))) || 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, {
33823
33810
  disabled: disabled,
33824
33811
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
33825
33812
  defaultValue: ites.defaultValue,
@@ -33829,7 +33816,7 @@ function RenderCompItem(props) {
33829
33816
  handleEdit(ites.code, value);
33830
33817
  },
33831
33818
  dictionaryCode: ites.dictionaryCode
33832
- })) || 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, {
33819
+ })) || 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, {
33833
33820
  selectBusinessType: "physicalWarehouse",
33834
33821
  selectProps: _objectSpread2({
33835
33822
  style: styleCommon,
@@ -33851,7 +33838,7 @@ function RenderCompItem(props) {
33851
33838
  getPopupContainer: function getPopupContainer() {
33852
33839
  return document.body;
33853
33840
  }
33854
- })) || 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, {
33841
+ })) || 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, {
33855
33842
  selectBusinessType: "realWarehouse",
33856
33843
  selectProps: _objectSpread2({
33857
33844
  style: styleCommon,
@@ -33873,7 +33860,7 @@ function RenderCompItem(props) {
33873
33860
  getPopupContainer: function getPopupContainer() {
33874
33861
  return document.body;
33875
33862
  }
33876
- })) || 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, {
33863
+ })) || 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, {
33877
33864
  selectBusinessType: "virtualWarehouse",
33878
33865
  selectProps: _objectSpread2({
33879
33866
  style: styleCommon,
@@ -33895,7 +33882,7 @@ function RenderCompItem(props) {
33895
33882
  getPopupContainer: function getPopupContainer() {
33896
33883
  return document.body;
33897
33884
  }
33898
- })) || 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, {
33885
+ })) || 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, {
33899
33886
  selectBusinessType: "channelWarehouse",
33900
33887
  selectProps: _objectSpread2({
33901
33888
  style: styleCommon,
@@ -33917,7 +33904,7 @@ function RenderCompItem(props) {
33917
33904
  getPopupContainer: function getPopupContainer() {
33918
33905
  return document.body;
33919
33906
  }
33920
- })) || 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, {
33907
+ })) || 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, {
33921
33908
  selectBusinessType: "spuCommodity",
33922
33909
  selectProps: _objectSpread2({
33923
33910
  style: styleCommon,
@@ -33938,7 +33925,7 @@ function RenderCompItem(props) {
33938
33925
  getPopupContainer: function getPopupContainer() {
33939
33926
  return document.body;
33940
33927
  }
33941
- })) || 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, {
33928
+ })) || 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, {
33942
33929
  selectBusinessType: "skuCommodity",
33943
33930
  selectProps: _objectSpread2({
33944
33931
  style: styleCommon,
@@ -33959,13 +33946,13 @@ function RenderCompItem(props) {
33959
33946
  getPopupContainer: function getPopupContainer() {
33960
33947
  return document.body;
33961
33948
  }
33962
- })) || 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, {
33949
+ })) || 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, {
33963
33950
  disabled: disabled,
33964
33951
  isAll: true,
33965
33952
  needNameAndCode: true,
33966
33953
  notChangeOnSelect: true,
33967
33954
  initRequestSource: function () {
33968
- var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33955
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33969
33956
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33970
33957
  while (1) switch (_context2.prev = _context2.next) {
33971
33958
  case 0:
@@ -34007,7 +33994,7 @@ function RenderCompItem(props) {
34007
33994
  getPopupContainer: function getPopupContainer() {
34008
33995
  return document.body;
34009
33996
  }
34010
- })) || 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, {
33997
+ })) || 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, {
34011
33998
  disabled: disabled,
34012
33999
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34013
34000
  businessType: "department",
@@ -34020,7 +34007,7 @@ function RenderCompItem(props) {
34020
34007
  getPopupContainer: function getPopupContainer() {
34021
34008
  return document.body;
34022
34009
  }
34023
- })) || 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, {
34010
+ })) || 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, {
34024
34011
  disabled: disabled,
34025
34012
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34026
34013
  businessType: "purchase-organization",
@@ -34033,7 +34020,7 @@ function RenderCompItem(props) {
34033
34020
  getPopupContainer: function getPopupContainer() {
34034
34021
  return document.body;
34035
34022
  }
34036
- })) || 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, {
34023
+ })) || 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, {
34037
34024
  disabled: disabled,
34038
34025
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34039
34026
  businessType: "sales-organization",
@@ -34046,7 +34033,7 @@ function RenderCompItem(props) {
34046
34033
  getPopupContainer: function getPopupContainer() {
34047
34034
  return document.body;
34048
34035
  }
34049
- })) || 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, {
34036
+ })) || 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, {
34050
34037
  selectBusinessType: "supplier2",
34051
34038
  selectProps: _objectSpread2({
34052
34039
  style: styleCommon,
@@ -34067,7 +34054,7 @@ function RenderCompItem(props) {
34067
34054
  getPopupContainer: function getPopupContainer() {
34068
34055
  return document.body;
34069
34056
  }
34070
- })) || 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, {
34057
+ })) || 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, {
34071
34058
  selectBusinessType: "customer2",
34072
34059
  selectProps: _objectSpread2({
34073
34060
  style: styleCommon,
@@ -34088,7 +34075,7 @@ function RenderCompItem(props) {
34088
34075
  getPopupContainer: function getPopupContainer() {
34089
34076
  return document.body;
34090
34077
  }
34091
- })) || 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, {
34078
+ })) || 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, {
34092
34079
  selectBusinessType: "shopFile2",
34093
34080
  selectProps: _objectSpread2({
34094
34081
  style: styleCommon,
@@ -34109,7 +34096,7 @@ function RenderCompItem(props) {
34109
34096
  getPopupContainer: function getPopupContainer() {
34110
34097
  return document.body;
34111
34098
  }
34112
- })) || 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, {
34099
+ })) || 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, {
34113
34100
  selectBusinessType: "employee2",
34114
34101
  selectProps: _objectSpread2({
34115
34102
  style: styleCommon,
@@ -34130,7 +34117,7 @@ function RenderCompItem(props) {
34130
34117
  getPopupContainer: function getPopupContainer() {
34131
34118
  return document.body;
34132
34119
  }
34133
- })) || 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, {
34120
+ })) || 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, {
34134
34121
  disabled: disabled,
34135
34122
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34136
34123
  businessType: "stock-organization",
@@ -34143,7 +34130,7 @@ function RenderCompItem(props) {
34143
34130
  getPopupContainer: function getPopupContainer() {
34144
34131
  return document.body;
34145
34132
  }
34146
- })) || 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, {
34133
+ })) || 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, {
34147
34134
  disabled: disabled,
34148
34135
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34149
34136
  businessType: "settle-organization",
@@ -34156,7 +34143,7 @@ function RenderCompItem(props) {
34156
34143
  getPopupContainer: function getPopupContainer() {
34157
34144
  return document.body;
34158
34145
  }
34159
- })) || 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, {
34146
+ })) || 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, {
34160
34147
  selectBusinessType: "deliveryMode",
34161
34148
  selectProps: _objectSpread2({
34162
34149
  style: styleCommon,
@@ -34177,7 +34164,7 @@ function RenderCompItem(props) {
34177
34164
  getPopupContainer: function getPopupContainer() {
34178
34165
  return document.body;
34179
34166
  }
34180
- })) || 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, {
34167
+ })) || 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, {
34181
34168
  selectBusinessType: "role",
34182
34169
  selectProps: _objectSpread2({
34183
34170
  style: styleCommon,
@@ -34198,7 +34185,7 @@ function RenderCompItem(props) {
34198
34185
  getPopupContainer: function getPopupContainer() {
34199
34186
  return document.body;
34200
34187
  }
34201
- })) || 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, {
34188
+ })) || 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, {
34202
34189
  selectBusinessType: "brand",
34203
34190
  selectProps: _objectSpread2({
34204
34191
  style: styleCommon,
@@ -34219,7 +34206,7 @@ function RenderCompItem(props) {
34219
34206
  getPopupContainer: function getPopupContainer() {
34220
34207
  return document.body;
34221
34208
  }
34222
- })) || 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, {
34209
+ })) || 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, {
34223
34210
  disabled: disabled,
34224
34211
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34225
34212
  businessType: "background-category",
@@ -34232,7 +34219,7 @@ function RenderCompItem(props) {
34232
34219
  getPopupContainer: function getPopupContainer() {
34233
34220
  return document.body;
34234
34221
  }
34235
- })) || 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, {
34222
+ })) || 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, {
34236
34223
  selectProps: _objectSpread2(_objectSpread2({
34237
34224
  style: styleCommon,
34238
34225
  placeholder: '请选择'
@@ -34255,7 +34242,7 @@ function RenderCompItem(props) {
34255
34242
  onChange: function onChange(value) {
34256
34243
  handleEdit(ites.code, value);
34257
34244
  }
34258
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
34245
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
34259
34246
  style: {
34260
34247
  display: 'flex'
34261
34248
  }
@@ -34690,17 +34677,6 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
34690
34677
  callBack(ruleClassData);
34691
34678
  });
34692
34679
  };
34693
- // 树结构 转化成 平行树 (递归函数)
34694
- _this.coverToParallel = function (treeData, result) {
34695
- treeData.forEach(function (el) {
34696
- result.push(el);
34697
- if (el.children && el.children.length > 0) {
34698
- // 子级递归
34699
- _this.coverToParallel(el.children, result);
34700
- }
34701
- });
34702
- return result;
34703
- };
34704
34680
  _this.renderRuleItem = function (itemDetail, parentDetail, floorIndex, classDataIndex, relateDatas) {
34705
34681
  var _itemDetail$subExpres, _itemDetail$params, _itemDetail$params$;
34706
34682
  var ruleTreeData = _this.state.ruleTreeData;
@@ -34727,7 +34703,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
34727
34703
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
34728
34704
  queryIdentifyType = 'dynamicDictCodeIdentify';
34729
34705
  }
34730
- var parallelTreeData = _this.coverToParallel(ruleTreeData, []) || [];
34706
+ var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
34731
34707
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
34732
34708
  var _i$key;
34733
34709
  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);
@@ -35507,56 +35483,6 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
35507
35483
  var css_248z$u = ".goBack_btn_content {\n position: relative;\n overflow: auto;\n}\n.goBack_btn_content .goback_btn {\n float: right;\n}\n.base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 14px 10px 10px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 1200px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n align-items: center;\n justify-content: space-around;\n width: calc(100% - 600px);\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex;\n align-items: center;\n width: 50px;\n height: 30px;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n";
35508
35484
  styleInject(css_248z$u);
35509
35485
 
35510
- // expression规则集合
35511
- //{
35512
- // complex,
35513
- // dataTypeCode,
35514
- // elementId,
35515
- // elementName,
35516
- // metaObjectCode,
35517
- // operationCode,
35518
- // operationType,
35519
- // paramNames: [],
35520
- // params: [],
35521
- // propertyPath,
35522
- // subExpression: [
35523
- // complex,
35524
- // dataTypeCode,
35525
- // elementId,
35526
- // elementName,
35527
- // metaObjectCode,
35528
- // operationCode,
35529
- // operationType,
35530
- // paramNames: [],
35531
- // params: [],
35532
- // propertyPath,
35533
- // subExpression: [.....] // 继续嵌套
35534
- // ]
35535
- // }
35536
- // result 执行返回值/执行动作
35537
- //{
35538
- // "return": {
35539
- // "enable": true,
35540
- // "value": "ticketId"
35541
- // },
35542
- // "execute": [
35543
- // {
35544
- // "priority": 1,
35545
- // "code": "functionCode",
35546
- // "properties": {
35547
- // "${logisticsNum}": "dasdadasdadas"
35548
- // }
35549
- // },
35550
- // {
35551
- // "priority": 2,
35552
- // "code": "",
35553
- // "properties": {
35554
- // "${detailList.skuCode}": "ccxcx",
35555
- // "${logisticsNum}": "cxcxcx"
35556
- // }
35557
- // }
35558
- // ]
35559
- // }
35560
35486
  var formatOperationList = function formatOperationList(data) {
35561
35487
  var _result$find;
35562
35488
  var result = data || [];
@@ -35698,9 +35624,39 @@ var isNoEmpty = function isNoEmpty(data) {
35698
35624
  return Array.isArray(data) && data.length > 0 || !(data == null || data == undefined || String(data).trim() == '');
35699
35625
  };
35700
35626
  // 校验必填数据
35701
- var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActionData, ruleReturnConfig) {
35627
+ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActionData, ruleReturnConfig, isInstance, regularDataList) {
35702
35628
  var checkResult = false; // 默认通过校验
35703
35629
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
35630
+ // 处理对象-设置了必填-规则实例保存时数据必填校验
35631
+ if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
35632
+ var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
35633
+ var requiredList = list.filter(function (c) {
35634
+ return c.required == 1;
35635
+ }) || []; // 获取对象属性为true的集合
35636
+ (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
35637
+ var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
35638
+ 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];
35639
+ (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) {
35640
+ if (requiredList.some(function (r) {
35641
+ return r.id === e.elementId;
35642
+ })) {
35643
+ var _e$params, _e$params2;
35644
+ var isComplete = !!(e === null || e === void 0 ? void 0 : (_e$params = e.params) === null || _e$params === void 0 ? void 0 : _e$params.length) && isNoEmpty(e === null || e === void 0 ? void 0 : (_e$params2 = e.params) === null || _e$params2 === void 0 ? void 0 : _e$params2[0]);
35645
+ if (!isComplete) {
35646
+ checkResult = true;
35647
+ // 如果 e.elementName 不存在于 checkInfo 中,则添加
35648
+ if (Array.isArray(checkInfo) && e && typeof e.elementName === 'string') {
35649
+ var checkText = "\u89C4\u5219".concat(index + 1, ": \u5B58\u5728\u5BF9\u8C61\u3010").concat(e.elementName, "\u3011\u4FE1\u606F\u586B\u5199\u4E0D\u5B8C\u6574");
35650
+ var checkInfoSet = new Set(checkInfo);
35651
+ if (!checkInfoSet.has(checkText)) {
35652
+ checkInfo.push(checkText);
35653
+ }
35654
+ }
35655
+ }
35656
+ }
35657
+ }));
35658
+ });
35659
+ }
35704
35660
  // 校验返回值必填数据(兼容新/老数据: 配置对象为新数据/旧数据、规则返回值配置为老/新数据。组合一共是四种情况)
35705
35661
  if (((ruleReturnConfig === null || ruleReturnConfig === void 0 ? void 0 : ruleReturnConfig.required) || Array.isArray(ruleReturnConfig) && (ruleReturnConfig === null || ruleReturnConfig === void 0 ? void 0 : ruleReturnConfig.length)) && saveData.length) {
35706
35662
  var checkKey = 'code';
@@ -36152,7 +36108,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
36152
36108
  message$1.warning('请至少配置一个规则!');
36153
36109
  return Promise.reject();
36154
36110
  }
36155
- var actionRequiredCheckObject = handleRuleRequireCheck(ruleResultList, ruleTypeData, ruleReturnConfig);
36111
+ var actionRequiredCheckObject = handleRuleRequireCheck(ruleResultList, ruleTypeData, ruleReturnConfig, type == 'instance', regularDataList);
36156
36112
  if (actionRequiredCheckObject === null || actionRequiredCheckObject === void 0 ? void 0 : actionRequiredCheckObject.checkResult) {
36157
36113
  var modal = Modal.warning({
36158
36114
  title: '保存校验提示',
@@ -36163,7 +36119,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
36163
36119
  setTimeout(function () {
36164
36120
  modal.destroy();
36165
36121
  }, 10000);
36166
- return;
36122
+ return Promise.reject();
36167
36123
  }
36168
36124
  // setLoading(true);
36169
36125
  // 兼容没有规则组的情况
@@ -36244,7 +36200,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
36244
36200
  style: {
36245
36201
  float: 'right'
36246
36202
  }
36247
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
36203
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
36248
36204
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
36249
36205
  ruleGroupInfo: {
36250
36206
  ruleGroupList: ruleGroupList,
@@ -36262,7 +36218,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
36262
36218
  callBack: function callBack(newData) {
36263
36219
  upDateData(newData);
36264
36220
  }
36265
- }))) : ( /*#__PURE__*/React$1.createElement("div", {
36221
+ }))) : (/*#__PURE__*/React$1.createElement("div", {
36266
36222
  style: {
36267
36223
  padding: 20
36268
36224
  }
@@ -36638,4 +36594,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
36638
36594
  }, children));
36639
36595
  };
36640
36596
 
36641
- 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, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, 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 };
36597
+ 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, QueryMutipleInput, 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 };