@bit-sun/business-component 4.0.13-alpha.1 → 4.0.13-alpha.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
@@ -11,7 +11,6 @@ import moment$1 from 'moment';
11
11
  import { EyeOutlined, DeleteOutlined, EditOutlined, CopyOutlined, CloseSquareOutlined, WarningOutlined, SendOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, UnorderedListOutlined, DashOutlined, CaretUpOutlined, CaretDownOutlined, SearchOutlined, CloseCircleOutlined, DownCircleFilled, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, CaretLeftOutlined, SettingOutlined, BulbOutlined, PlayCircleOutlined, SaveOutlined, FullscreenExitOutlined, MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons';
12
12
  import { request as request$2, Table as Table$1, QueryTable, Form as Form$1 } from 'bssula';
13
13
  import 'qs';
14
- import { renderToString as renderToString$1 } from 'react-dom/server';
15
14
  import { utils, writeFile, read } from 'xlsx';
16
15
  import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
17
16
  import { useDebounceFn, useSize, useMount } from 'ahooks';
@@ -32,88 +31,9 @@ import { parse as parse$1 } from '@babel/parser';
32
31
  import { visit } from 'ast-types';
33
32
  import isArray$1 from 'lodash/isArray';
34
33
 
35
- function _arrayLikeToArray(r, a) {
36
- (null == a || a > r.length) && (a = r.length);
37
- for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
38
- return n;
39
- }
40
- function _arrayWithHoles(r) {
41
- if (Array.isArray(r)) return r;
42
- }
43
- function _arrayWithoutHoles(r) {
44
- if (Array.isArray(r)) return _arrayLikeToArray(r);
45
- }
46
- function _assertThisInitialized(e) {
47
- if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
48
- return e;
49
- }
50
- function asyncGeneratorStep(n, t, e, r, o, a, c) {
51
- try {
52
- var i = n[a](c),
53
- u = i.value;
54
- } catch (n) {
55
- return void e(n);
56
- }
57
- i.done ? t(u) : Promise.resolve(u).then(r, o);
58
- }
59
- function _asyncToGenerator(n) {
60
- return function () {
61
- var t = this,
62
- e = arguments;
63
- return new Promise(function (r, o) {
64
- var a = n.apply(t, e);
65
- function _next(n) {
66
- asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
67
- }
68
- function _throw(n) {
69
- asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
70
- }
71
- _next(void 0);
72
- });
73
- };
74
- }
75
34
  function _callSuper(t, o, e) {
76
35
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
77
36
  }
78
- function _classCallCheck(a, n) {
79
- if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
80
- }
81
- function _defineProperties(e, r) {
82
- for (var t = 0; t < r.length; t++) {
83
- var o = r[t];
84
- o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
85
- }
86
- }
87
- function _createClass(e, r, t) {
88
- return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
89
- writable: !1
90
- }), e;
91
- }
92
- function _defineProperty(e, r, t) {
93
- return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
94
- value: t,
95
- enumerable: !0,
96
- configurable: !0,
97
- writable: !0
98
- }) : e[r] = t, e;
99
- }
100
- function _getPrototypeOf(t) {
101
- return _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function (t) {
102
- return t.__proto__ || Object.getPrototypeOf(t);
103
- }, _getPrototypeOf(t);
104
- }
105
- function _inherits(t, e) {
106
- if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function");
107
- t.prototype = Object.create(e && e.prototype, {
108
- constructor: {
109
- value: t,
110
- writable: !0,
111
- configurable: !0
112
- }
113
- }), Object.defineProperty(t, "prototype", {
114
- writable: !1
115
- }), e && _setPrototypeOf(t, e);
116
- }
117
37
  function _isNativeReflectConstruct() {
118
38
  try {
119
39
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -122,9 +42,6 @@ function _isNativeReflectConstruct() {
122
42
  return !!t;
123
43
  })();
124
44
  }
125
- function _iterableToArray(r) {
126
- if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
127
- }
128
45
  function _iterableToArrayLimit(r, l) {
129
46
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
130
47
  if (null != t) {
@@ -152,15 +69,6 @@ function _iterableToArrayLimit(r, l) {
152
69
  return a;
153
70
  }
154
71
  }
155
- function _nonIterableRest() {
156
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
157
- }
158
- function _nonIterableSpread() {
159
- throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
160
- }
161
- function _objectDestructuringEmpty(t) {
162
- if (null == t) throw new TypeError("Cannot destructure " + t);
163
- }
164
72
  function ownKeys(e, r) {
165
73
  var t = Object.keys(e);
166
74
  if (Object.getOwnPropertySymbols) {
@@ -182,31 +90,6 @@ function _objectSpread2(e) {
182
90
  }
183
91
  return e;
184
92
  }
185
- function _objectWithoutProperties(e, t) {
186
- if (null == e) return {};
187
- var o,
188
- r,
189
- i = _objectWithoutPropertiesLoose(e, t);
190
- if (Object.getOwnPropertySymbols) {
191
- var s = Object.getOwnPropertySymbols(e);
192
- for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]);
193
- }
194
- return i;
195
- }
196
- function _objectWithoutPropertiesLoose(r, e) {
197
- if (null == r) return {};
198
- var t = {};
199
- for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
200
- if (e.includes(n)) continue;
201
- t[n] = r[n];
202
- }
203
- return t;
204
- }
205
- function _possibleConstructorReturn(t, e) {
206
- if (e && ("object" == typeof e || "function" == typeof e)) return e;
207
- if (void 0 !== e) throw new TypeError("Derived constructors may only return object or undefined");
208
- return _assertThisInitialized(t);
209
- }
210
93
  function _regeneratorRuntime() {
211
94
  _regeneratorRuntime = function () {
212
95
  return e;
@@ -508,20 +391,6 @@ function _regeneratorRuntime() {
508
391
  }
509
392
  }, e;
510
393
  }
511
- function _setPrototypeOf(t, e) {
512
- return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
513
- return t.__proto__ = e, t;
514
- }, _setPrototypeOf(t, e);
515
- }
516
- function _slicedToArray(r, e) {
517
- return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest();
518
- }
519
- function _toArray(r) {
520
- return _arrayWithHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableRest();
521
- }
522
- function _toConsumableArray(r) {
523
- return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
524
- }
525
394
  function _toPrimitive(t, r) {
526
395
  if ("object" != typeof t || !t) return t;
527
396
  var e = t[Symbol.toPrimitive];
@@ -545,13 +414,181 @@ function _typeof(o) {
545
414
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
546
415
  }, _typeof(o);
547
416
  }
548
- function _unsupportedIterableToArray(r, a) {
549
- if (r) {
550
- if ("string" == typeof r) return _arrayLikeToArray(r, a);
551
- var t = {}.toString.call(r).slice(8, -1);
552
- return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
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);
553
459
  }
554
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");
486
+ }
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
+ }
555
592
 
556
593
  var ENUM = {
557
594
  // 浏览器缓存信息
@@ -1060,13 +1097,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1060
1097
  imgHtml.innerHTML = str;
1061
1098
  }
1062
1099
  // 测试使用 测试类型缩小 end
1063
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1100
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1064
1101
  className: "clomnsImg"
1065
1102
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1066
1103
  src: url,
1067
1104
  width: "16px",
1068
1105
  height: "16px"
1069
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1106
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1070
1107
  className: "clomnsImg2"
1071
1108
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1072
1109
  src: noImg
@@ -1188,7 +1225,7 @@ var authFn = function authFn(code) {
1188
1225
  };
1189
1226
  // 可以将普通字符串 或者tsx 转换成字符串
1190
1227
  var renderToString = function renderToString(render) {
1191
- return typeof render === 'string' ? render : renderToString$1(render);
1228
+ return render;
1192
1229
  };
1193
1230
 
1194
1231
  function downloadExcel(data, fileName, isResUrl) {
@@ -1202,7 +1239,7 @@ function downloadExcel(data, fileName, isResUrl) {
1202
1239
  }
1203
1240
  save_link.click();
1204
1241
  }
1205
- var _formatter = function formatter(data, parentAuthority, parentName) {
1242
+ var formatter = function formatter(data, parentAuthority, parentName) {
1206
1243
  return data.map(function (item) {
1207
1244
  if (!item.name || !item.path) {
1208
1245
  return null;
@@ -1222,7 +1259,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1222
1259
  authority: item.authority || parentAuthority
1223
1260
  });
1224
1261
  if (item.routes) {
1225
- var children = _formatter(item.routes, item.authority, locale);
1262
+ var children = formatter(item.routes, item.authority, locale);
1226
1263
  // Reduce memory usage
1227
1264
  result.children = children;
1228
1265
  }
@@ -1232,7 +1269,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1232
1269
  return item;
1233
1270
  });
1234
1271
  };
1235
- var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1272
+ var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1236
1273
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1237
1274
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1238
1275
  if (backHistoryPath) {
@@ -1541,7 +1578,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1541
1578
  // sheepMap是表头字段中英文映射
1542
1579
  // sheetCount:表的数量,默认一张
1543
1580
  var resolveFile = /*#__PURE__*/function () {
1544
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1581
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1545
1582
  var config,
1546
1583
  data,
1547
1584
  _args = arguments;
@@ -1580,7 +1617,7 @@ var resolveFile = /*#__PURE__*/function () {
1580
1617
  }();
1581
1618
  //读取文件
1582
1619
  var readerXlsxToList = /*#__PURE__*/function () {
1583
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1620
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1584
1621
  var _ref5, callback, sheetMap, nowFile, data2, data;
1585
1622
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1586
1623
  while (1) switch (_context2.prev = _context2.next) {
@@ -1673,14 +1710,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1673
1710
  /**---------------------数据写入excel-------结束------------------------*/
1674
1711
 
1675
1712
  // 获取树平行结构
1676
- var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1713
+ var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1677
1714
  var childrenKey = chilKey || 'children';
1678
1715
  treeData.forEach(function (el) {
1679
1716
  var _el$childrenKey;
1680
1717
  result.push(el);
1681
1718
  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) {
1682
1719
  // 子级递归
1683
- _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1720
+ coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1684
1721
  }
1685
1722
  });
1686
1723
  return result;
@@ -1957,13 +1994,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1957
1994
  imgHtml.innerHTML = str;
1958
1995
  }
1959
1996
  // 测试使用 测试类型缩小 end
1960
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1997
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1961
1998
  className: "clomnsImg"
1962
1999
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1963
2000
  src: url,
1964
2001
  width: "16px",
1965
2002
  height: "16px"
1966
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2003
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1967
2004
  src: noImg
1968
2005
  }))));
1969
2006
  };
@@ -2025,7 +2062,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2025
2062
  }
2026
2063
  });
2027
2064
  };
2028
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2065
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2029
2066
  disabled: disabled,
2030
2067
  onChange: function onChange(e) {
2031
2068
  var v = e.target.value;
@@ -2035,7 +2072,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2035
2072
  width: 170
2036
2073
  },
2037
2074
  value: inputValue
2038
- }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2075
+ }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2039
2076
  disabled: disabled,
2040
2077
  onBlur: function onBlur(e) {
2041
2078
  var v = parseFloat(e.target.value);
@@ -2414,16 +2451,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2414
2451
  var handleExportBarCode = handleExport;
2415
2452
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2416
2453
  var routerMap = {};
2417
- var _flattenMenuData = function flattenMenuData(data) {
2454
+ var flattenMenuData = function flattenMenuData(data) {
2418
2455
  data.forEach(function (menuItem) {
2419
2456
  if (menuItem.children) {
2420
- _flattenMenuData(menuItem.children);
2457
+ flattenMenuData(menuItem.children);
2421
2458
  }
2422
2459
  // Reduce memory usage
2423
2460
  routerMap[menuItem.path] = menuItem;
2424
2461
  });
2425
2462
  };
2426
- _flattenMenuData(menuData);
2463
+ flattenMenuData(menuData);
2427
2464
  return routerMap;
2428
2465
  };
2429
2466
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2566,7 +2603,7 @@ var requestUtil = function requestUtil(_ref) {
2566
2603
  return request$1(url, parms).then(handleResponseData);
2567
2604
  };
2568
2605
  var handleResponseData = /*#__PURE__*/function () {
2569
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2606
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2570
2607
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2571
2608
  while (1) switch (_context.prev = _context.next) {
2572
2609
  case 0:
@@ -3240,7 +3277,11 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3240
3277
  placement: "bottomLeft"
3241
3278
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3242
3279
  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"))
3243
- }, /*#__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, {
3280
+ }, /*#__PURE__*/React$1.createElement(ExclamationCircleOutlined, null)), /*#__PURE__*/React$1.createElement("div", {
3281
+ style: {
3282
+ color: 'red'
3283
+ }
3284
+ }, "\uFF08\u9F20\u6807\u79FB\u5165\u611F\u53F9\u53F7\u56FE\u6807\u67E5\u770B\u5BFC\u5165\u4F7F\u7528\u8BF4\u660E\uFF09")), /*#__PURE__*/React$1.createElement(Space, null, !notExcelImport && ( /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165"))), /*#__PURE__*/React$1.createElement(Dropdown, {
3244
3285
  trigger: ['click'],
3245
3286
  overlay: this.menuList,
3246
3287
  placement: "bottomRight"
@@ -3915,7 +3956,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3915
3956
  placement: "bottomLeft"
3916
3957
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3917
3958
  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"))
3918
- }, /*#__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, {
3959
+ }, /*#__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, {
3919
3960
  trigger: ['click'],
3920
3961
  overlay: this.menuList,
3921
3962
  placement: "bottomRight"
@@ -4430,12 +4471,11 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4430
4471
  onChange(newValue);
4431
4472
  };
4432
4473
  return /*#__PURE__*/React$1.createElement(Tooltip, {
4433
- open: true,
4434
4474
  overlayClassName: 'searchSelectMaxTagToolTip',
4435
4475
  destroyTooltipOnHide: true,
4436
4476
  placement: "topRight",
4437
4477
  autoAdjustOverflow: false,
4438
- title: (/*#__PURE__*/React$1.createElement("div", {
4478
+ title: ( /*#__PURE__*/React$1.createElement("div", {
4439
4479
  style: {
4440
4480
  margin: '6px 8px 0px'
4441
4481
  },
@@ -4537,10 +4577,8 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4537
4577
  uniqueValue = _useState16[0],
4538
4578
  setUniqueValue = _useState16[1];
4539
4579
  useEffect(function () {
4540
- if (value) {
4541
- setPopValue(value);
4542
- onValueChange(value);
4543
- }
4580
+ setPopValue(value);
4581
+ onValueChange(value);
4544
4582
  }, [value]);
4545
4583
  useEffect(function () {
4546
4584
  setUniqueValue(makeUniqueValue());
@@ -4561,7 +4599,6 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4561
4599
  var formatValue = (_ToCDB = ToCDB$1(v)) === null || _ToCDB === void 0 ? void 0 : (_ToCDB$split = _ToCDB.split(/[/\n/\s,;]/)) === null || _ToCDB$split === void 0 ? void 0 : (_ToCDB$split$filter = _ToCDB$split.filter(function (item) {
4562
4600
  return item;
4563
4601
  })) === null || _ToCDB$split$filter === void 0 ? void 0 : _ToCDB$split$filter.join(',');
4564
- console.log(formatValue, '1111formatValue');
4565
4602
  setValue(formatValue);
4566
4603
  };
4567
4604
  var handleCancel = function handleCancel() {
@@ -4669,10 +4706,10 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4669
4706
  setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
4670
4707
  });
4671
4708
  },
4672
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
4709
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
4673
4710
  size: "small",
4674
4711
  className: 'searchSelectSpin'
4675
- })) : (/*#__PURE__*/React$1.createElement("div", {
4712
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
4676
4713
  style: {
4677
4714
  textAlign: 'center'
4678
4715
  }
@@ -4904,7 +4941,7 @@ var PropertyGroup = function PropertyGroup(props) {
4904
4941
  title: item.name,
4905
4942
  className: "propertyGroup_checkbox_container"
4906
4943
  }, item.name));
4907
- }), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
4944
+ }), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
4908
4945
  style: {
4909
4946
  width: '50px',
4910
4947
  cursor: 'pointer',
@@ -4917,7 +4954,7 @@ var PropertyGroup = function PropertyGroup(props) {
4917
4954
  setShowNotCommon(!showNotCommon);
4918
4955
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
4919
4956
  }
4920
- }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
4957
+ }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))));
4921
4958
  };
4922
4959
  var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
4923
4960
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -5147,7 +5184,7 @@ var PropertySelector = function PropertySelector(_ref) {
5147
5184
  propertyData: item,
5148
5185
  handleProperyItemChange: handleProperyItemChange
5149
5186
  });
5150
- }))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5187
+ }))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5151
5188
  style: {
5152
5189
  width: '50px',
5153
5190
  cursor: 'pointer',
@@ -5157,7 +5194,7 @@ var PropertySelector = function PropertySelector(_ref) {
5157
5194
  onClick: function onClick() {
5158
5195
  return setShowNotCommon(!showNotCommon);
5159
5196
  }
5160
- }, showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && (/*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5197
+ }, showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretUpOutlined, null), "\u6536\u8D77")), !showNotCommon && ( /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(CaretDownOutlined, null), "\u5C55\u5F00"))))))));
5161
5198
  };
5162
5199
 
5163
5200
  var Option$1 = Select.Option;
@@ -6176,13 +6213,13 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6176
6213
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6177
6214
  return /*#__PURE__*/React$1.createElement("div", {
6178
6215
  className: 'search_select'
6179
- }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
6216
+ }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
6180
6217
  onClick: function onClick() {
6181
6218
  var _fieldComponent$props, _fieldComponent$props2;
6182
6219
  (_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);
6183
6220
  showModal();
6184
6221
  }
6185
- }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
6222
+ }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
6186
6223
  title: getShowStr(),
6187
6224
  style: {
6188
6225
  overflow: 'hidden',
@@ -6209,10 +6246,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6209
6246
  dropdownRender: function dropdownRender(menu) {
6210
6247
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
6211
6248
  },
6212
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
6249
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
6213
6250
  size: "small",
6214
6251
  className: 'searchSelectSpin'
6215
- })) : (/*#__PURE__*/React$1.createElement("div", {
6252
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
6216
6253
  style: {
6217
6254
  textAlign: 'center'
6218
6255
  }
@@ -6252,7 +6289,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6252
6289
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6253
6290
  filterTxt: searchValue
6254
6291
  }));
6255
- }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6292
+ }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6256
6293
  maskClosable: false,
6257
6294
  destroyOnClose: true,
6258
6295
  width: "80%",
@@ -6849,7 +6886,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6849
6886
  style: {
6850
6887
  width: 525
6851
6888
  }
6852
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
6889
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
6853
6890
  checked: !dataSource.some(function (item) {
6854
6891
  if (item.hidden) return true;
6855
6892
  return false;
@@ -6887,13 +6924,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6887
6924
  _this2.onChange(e, item.title);
6888
6925
  }
6889
6926
  }, item.title);
6890
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
6927
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
6891
6928
  style: {
6892
6929
  width: '144px'
6893
6930
  }
6894
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
6931
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
6895
6932
  className: 'sort_table_column_all_empty'
6896
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6933
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6897
6934
  className: 'sort_table_column_special'
6898
6935
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
6899
6936
  className: 'sort_table_column_all'
@@ -7082,7 +7119,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
7082
7119
  });
7083
7120
  };
7084
7121
  // 格式化树选择器数据源
7085
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7122
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7086
7123
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
7087
7124
  return {
7088
7125
  title: treeDataItem[resKeyValue[1]],
@@ -7092,7 +7129,7 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7092
7129
  isLeaf: !haveChildren,
7093
7130
  disabled: haveChildren,
7094
7131
  children: haveChildren ? treeDataItem.children.map(function (i) {
7095
- return _mapSearchTree(i, resKeyValue);
7132
+ return mapSearchTree(i, resKeyValue);
7096
7133
  }) : []
7097
7134
  };
7098
7135
  };
@@ -7101,7 +7138,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
7101
7138
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7102
7139
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7103
7140
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7104
- return _mapSearchTree(ites, resKeyValue);
7141
+ return mapSearchTree(ites, resKeyValue);
7105
7142
  }) || [];
7106
7143
  changeSearchForm[changePosition].field.props.treeData = formatData;
7107
7144
  };
@@ -7272,7 +7309,7 @@ var AddSelect = function AddSelect(props) {
7272
7309
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7273
7310
  // FIXME: 特殊业务逻辑
7274
7311
  var checkSelectChange = /*#__PURE__*/function () {
7275
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7312
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7276
7313
  var result;
7277
7314
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7278
7315
  while (1) switch (_context.prev = _context.next) {
@@ -7525,7 +7562,7 @@ var AddSelect = function AddSelect(props) {
7525
7562
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7526
7563
  value: text || null,
7527
7564
  onChange: function () {
7528
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7565
+ var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7529
7566
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7530
7567
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7531
7568
  while (1) switch (_context2.prev = _context2.next) {
@@ -8133,10 +8170,10 @@ var AddSelect = function AddSelect(props) {
8133
8170
  var newColumns = arr.map(function (col) {
8134
8171
  return _objectSpread2({}, col);
8135
8172
  });
8136
- var _handleIndex = function handleIndex(arr, indexArr) {
8173
+ var handleIndex = function handleIndex(arr, indexArr) {
8137
8174
  var i = indexArr.shift();
8138
8175
  if (indexArr.length > 0) {
8139
- _handleIndex(arr[i].children, indexArr);
8176
+ handleIndex(arr[i].children, indexArr);
8140
8177
  } else {
8141
8178
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8142
8179
  width: size.width
@@ -8144,7 +8181,7 @@ var AddSelect = function AddSelect(props) {
8144
8181
  handleAntdColumnsSpecialParams(arr[i]);
8145
8182
  }
8146
8183
  };
8147
- _handleIndex(newColumns, _toConsumableArray(index));
8184
+ handleIndex(newColumns, _toConsumableArray(index));
8148
8185
  callback(newColumns);
8149
8186
  };
8150
8187
  };
@@ -8154,13 +8191,13 @@ var AddSelect = function AddSelect(props) {
8154
8191
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
8155
8192
  setShowToChooseColumns(_toConsumableArray(newColumns));
8156
8193
  };
8157
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
8194
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
8158
8195
  arr.forEach(function (item, index) {
8159
8196
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8160
8197
  return i || i === 0;
8161
8198
  });
8162
8199
  if (noEmptyArray$1(item.children)) {
8163
- _handleColumns(item.children, indexArrInside);
8200
+ handleColumns(item.children, indexArrInside);
8164
8201
  } else {
8165
8202
  item.width = item.width || getItemDefaultWidth$2(item);
8166
8203
  item.onHeaderCell = function (column) {
@@ -8176,14 +8213,14 @@ var AddSelect = function AddSelect(props) {
8176
8213
  handleAntdColumnsSpecialParams(item);
8177
8214
  return _objectSpread2({}, item);
8178
8215
  });
8179
- _handleColumns(showToChooseCol, [], function (res) {
8216
+ handleColumns(showToChooseCol, [], function (res) {
8180
8217
  return setShowToChooseColumnsCallback(res);
8181
8218
  });
8182
8219
  var showSelectedCol = showColumns.map(function (item) {
8183
8220
  handleAntdColumnsSpecialParams(item);
8184
8221
  return _objectSpread2({}, item);
8185
8222
  });
8186
- _handleColumns(showSelectedCol, [], function (res) {
8223
+ handleColumns(showSelectedCol, [], function (res) {
8187
8224
  return setShowColumnsCallback(res);
8188
8225
  });
8189
8226
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8194,7 +8231,7 @@ var AddSelect = function AddSelect(props) {
8194
8231
  id: "add_select_div_".concat(uniqueValue)
8195
8232
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
8196
8233
  onClick: handleShowModal
8197
- }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
8234
+ }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
8198
8235
  width: '1200px',
8199
8236
  style: {
8200
8237
  top: 20
@@ -9108,7 +9145,7 @@ var BillEntry = function BillEntry(_ref3) {
9108
9145
  });
9109
9146
  };
9110
9147
  var handleSubmit = /*#__PURE__*/function () {
9111
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9148
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9112
9149
  var canEntryObject, _canEntryObject$error, messageInfo;
9113
9150
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9114
9151
  while (1) switch (_context.prev = _context.next) {
@@ -9191,10 +9228,10 @@ var BillEntry = function BillEntry(_ref3) {
9191
9228
  var newColumns = arr.map(function (col) {
9192
9229
  return _objectSpread2({}, col);
9193
9230
  });
9194
- var _handleIndex = function handleIndex(arr, indexArr) {
9231
+ var handleIndex = function handleIndex(arr, indexArr) {
9195
9232
  var i = indexArr.shift();
9196
9233
  if (indexArr.length > 0) {
9197
- _handleIndex(arr[i].children, indexArr);
9234
+ handleIndex(arr[i].children, indexArr);
9198
9235
  } else {
9199
9236
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
9200
9237
  width: size.width
@@ -9202,17 +9239,17 @@ var BillEntry = function BillEntry(_ref3) {
9202
9239
  handleAntdColumnsSpecialParams(arr[i]);
9203
9240
  }
9204
9241
  };
9205
- _handleIndex(newColumns, _toConsumableArray(index));
9242
+ handleIndex(newColumns, _toConsumableArray(index));
9206
9243
  callback(newColumns);
9207
9244
  };
9208
9245
  };
9209
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
9246
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
9210
9247
  arr.forEach(function (item, index) {
9211
9248
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
9212
9249
  return i || i === 0;
9213
9250
  });
9214
9251
  if (noEmptyArray$1(item.children)) {
9215
- _handleColumns(item.children, indexArrInside);
9252
+ handleColumns(item.children, indexArrInside);
9216
9253
  } else {
9217
9254
  item.width = item.width || getItemDefaultWidth$2(item);
9218
9255
  item.onHeaderCell = function (column) {
@@ -9228,7 +9265,7 @@ var BillEntry = function BillEntry(_ref3) {
9228
9265
  handleAntdColumnsSpecialParams(item);
9229
9266
  return _objectSpread2({}, item);
9230
9267
  });
9231
- _handleColumns(showSelectedCol, [], function (res) {
9268
+ handleColumns(showSelectedCol, [], function (res) {
9232
9269
  return setShowColumnsCallback(res);
9233
9270
  });
9234
9271
  return /*#__PURE__*/React$1.createElement("div", {
@@ -9543,7 +9580,7 @@ function commonFun(type, prefixUrl, parentProps) {
9543
9580
  });
9544
9581
  };
9545
9582
  // 格式化树选择器数据源
9546
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9583
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9547
9584
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9548
9585
  return {
9549
9586
  title: treeDataItem[resKeyValue[1]],
@@ -9553,7 +9590,7 @@ function commonFun(type, prefixUrl, parentProps) {
9553
9590
  isLeaf: !haveChildren,
9554
9591
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9555
9592
  children: haveChildren ? treeDataItem.children.map(function (i) {
9556
- return _mapSearchTree(i, resKeyValue, disabledJudge);
9593
+ return mapSearchTree(i, resKeyValue, disabledJudge);
9557
9594
  }) : []
9558
9595
  };
9559
9596
  };
@@ -9567,7 +9604,7 @@ function commonFun(type, prefixUrl, parentProps) {
9567
9604
  disabledJudge = false;
9568
9605
  }
9569
9606
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9570
- return _mapSearchTree(ites, resKeyValue, disabledJudge);
9607
+ return mapSearchTree(ites, resKeyValue, disabledJudge);
9571
9608
  }) || [];
9572
9609
  changeSearchForm[changePosition].field.props.treeData = formatData;
9573
9610
  };
@@ -9834,16 +9871,19 @@ function commonFun(type, prefixUrl, parentProps) {
9834
9871
  type: 'multipleQuerySearchSelect',
9835
9872
  props: {
9836
9873
  selectProps: {
9837
- mode: "multiple"
9874
+ mode: "multiple",
9875
+ placeholder: '请输入SKU编码查询'
9838
9876
  },
9839
9877
  requestConfig: {
9840
9878
  url: '/items/sku//listNoPage/Simple',
9841
- filter: 'qp-name-like',
9842
- // filter: 'qp-itemCode,name-orGroup,like',
9879
+ filter: 'qp-skuCode,name-orGroup,like',
9843
9880
  mappingTextField: 'name',
9844
9881
  mappingValueField: 'skuCode',
9845
9882
  sourceName: 'qp-skuCode-in',
9846
- specialBracket: true
9883
+ specialBracket: true,
9884
+ otherParams: {
9885
+ 'ownOrgSign': getCurrentTargetBgId()
9886
+ } // 默认参数
9847
9887
  }
9848
9888
  }
9849
9889
  }
@@ -9856,10 +9896,12 @@ function commonFun(type, prefixUrl, parentProps) {
9856
9896
  field: {
9857
9897
  type: 'multipleQuerySearchSelect',
9858
9898
  props: {
9899
+ selectProps: {
9900
+ placeholder: '请输入SPU编码查询'
9901
+ },
9859
9902
  requestConfig: {
9860
9903
  url: '/items/item/listNoPage/Simple',
9861
- filter: 'qp-name-like',
9862
- // filter: 'qp-skuCode,name-orGroup,like',
9904
+ filter: 'qp-itemCode,name-orGroup,like',
9863
9905
  mappingTextField: 'name',
9864
9906
  mappingValueField: 'itemCode',
9865
9907
  sourceName: 'qp-itemCode-in',
@@ -13667,7 +13709,7 @@ var CommodityEntry = function CommodityEntry(props) {
13667
13709
  };
13668
13710
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
13669
13711
  onClick: handleShowModal
13670
- }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13712
+ }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13671
13713
  onOk: handleOk,
13672
13714
  onCancel: handleCancel,
13673
13715
  destroyOnClose: true,
@@ -13786,7 +13828,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13786
13828
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
13787
13829
  _remoteSource$special = remoteSource.specialBracket,
13788
13830
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
13789
- var _mapSearchTree = function mapSearchTree(treeDataItem) {
13831
+ var mapSearchTree = function mapSearchTree(treeDataItem) {
13790
13832
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
13791
13833
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
13792
13834
  return {
@@ -13798,7 +13840,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13798
13840
  isLeaf: !haveChildren,
13799
13841
  disabled: isDisabled(haveChildren, isRoot),
13800
13842
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
13801
- return _mapSearchTree(i);
13843
+ return mapSearchTree(i);
13802
13844
  }) : []
13803
13845
  };
13804
13846
  };
@@ -13816,8 +13858,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13816
13858
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13817
13859
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
13818
13860
  headers: headers
13819
- }).then(/*#__PURE__*/function () {
13820
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13861
+ }).then( /*#__PURE__*/function () {
13862
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13821
13863
  var _ctx$form;
13822
13864
  var resData, coverData, data, dataList;
13823
13865
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13844,7 +13886,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13844
13886
  case 9:
13845
13887
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13846
13888
  coverData = dataList.length && dataList.map(function (ites) {
13847
- return _mapSearchTree(ites);
13889
+ return mapSearchTree(ites);
13848
13890
  }) || [];
13849
13891
  case 11:
13850
13892
  _context.next = 14;
@@ -13882,11 +13924,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13882
13924
  return _formatResult;
13883
13925
  }
13884
13926
  };
13885
- var _parallelData = function parallelData(data, result) {
13927
+ var parallelData = function parallelData(data, result) {
13886
13928
  data.forEach(function (i) {
13887
13929
  result.push(i);
13888
13930
  if (i[treeChildrenRoom]) {
13889
- _parallelData(i[treeChildrenRoom], result);
13931
+ parallelData(i[treeChildrenRoom], result);
13890
13932
  }
13891
13933
  });
13892
13934
  return result;
@@ -13926,7 +13968,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13926
13968
  var _ctx$form2;
13927
13969
  var handleData = formatData(data);
13928
13970
  // 获取选中树节点当条数据,并返回给调用业务
13929
- var parallelTreeData = _parallelData(treeData, []);
13971
+ var parallelTreeData = parallelData(treeData, []);
13930
13972
  var currentItem = getSelectItem(parallelTreeData, data);
13931
13973
  onChange(handleData, data, currentItem, parallelTreeData);
13932
13974
  onChangeName && onChangeName(dataName);
@@ -13969,7 +14011,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13969
14011
  var getShowStr = function getShowStr() {
13970
14012
  var isMultiple = multiple || treeCheckable;
13971
14013
  var kongValue = '无';
13972
- var parallelTreeData = _parallelData(treeData, []);
14014
+ var parallelTreeData = parallelData(treeData, []);
13973
14015
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
13974
14016
  if (isMultiple) {
13975
14017
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -13981,7 +14023,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13981
14023
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
13982
14024
  return /*#__PURE__*/React$1.createElement("div", {
13983
14025
  className: 'tree_search_select'
13984
- }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
14026
+ }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
13985
14027
  title: getShowStr(),
13986
14028
  style: {
13987
14029
  overflow: 'hidden',
@@ -13989,7 +14031,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13989
14031
  whiteSpace: 'nowrap'
13990
14032
  },
13991
14033
  className: 'search_select_show'
13992
- }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14034
+ }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13993
14035
  treeCheckable: treeCheckable,
13994
14036
  maxTagCount: maxTagCount,
13995
14037
  showSearch: showSearch,
@@ -14186,7 +14228,7 @@ var index$2 = (function (props) {
14186
14228
  } : {}
14187
14229
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
14188
14230
  className: 'status-label-operate'
14189
- }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
14231
+ }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
14190
14232
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
14191
14233
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
14192
14234
  style: {
@@ -14967,7 +15009,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14967
15009
  style: {
14968
15010
  width: 525
14969
15011
  }
14970
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15012
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
14971
15013
  checked: !dataSource.some(function (item) {
14972
15014
  if (item.hidden) return true;
14973
15015
  return false;
@@ -15005,13 +15047,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15005
15047
  _this2.onChange(e, item.title);
15006
15048
  }
15007
15049
  }, item.title);
15008
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15050
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15009
15051
  style: {
15010
15052
  width: '144px'
15011
15053
  }
15012
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15054
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15013
15055
  className: 'sort_table_column_all_empty'
15014
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15056
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15015
15057
  className: 'sort_table_column_special'
15016
15058
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15017
15059
  className: 'sort_table_column_all'
@@ -15190,10 +15232,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15190
15232
  var newColumns = _this.state.showColumns.map(function (col) {
15191
15233
  return _objectSpread2({}, col);
15192
15234
  });
15193
- var _handleIndex = function handleIndex(arr, indexArr) {
15235
+ var handleIndex = function handleIndex(arr, indexArr) {
15194
15236
  var i = indexArr.shift();
15195
15237
  if (indexArr.length > 0) {
15196
- _handleIndex(arr[i].children, indexArr);
15238
+ handleIndex(arr[i].children, indexArr);
15197
15239
  } else {
15198
15240
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15199
15241
  width: size.width
@@ -15201,7 +15243,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15201
15243
  handleBssulaColumnsSpecialParams(arr[i]);
15202
15244
  }
15203
15245
  };
15204
- _handleIndex(newColumns, _toConsumableArray(index));
15246
+ handleIndex(newColumns, _toConsumableArray(index));
15205
15247
  _this.setState({
15206
15248
  showColumns: _toConsumableArray(newColumns)
15207
15249
  });
@@ -15242,7 +15284,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15242
15284
  };
15243
15285
  setIsResizing(true);
15244
15286
  document.addEventListener('mousemove', handleMouseMove);
15245
- document.addEventListener('mouseup', _handleMouseUp);
15287
+ document.addEventListener('mouseup', handleMouseUp);
15246
15288
  };
15247
15289
  var handleMouseMove = function handleMouseMove(e) {
15248
15290
  e.stopPropagation();
@@ -15258,9 +15300,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15258
15300
  dom.style.top = "".concat(e.clientY - 20, "px");
15259
15301
  }
15260
15302
  };
15261
- var _handleMouseUp = function handleMouseUp(e) {
15303
+ var handleMouseUp = function handleMouseUp(e) {
15262
15304
  document.removeEventListener('mousemove', handleMouseMove);
15263
- document.removeEventListener('mouseup', _handleMouseUp);
15305
+ document.removeEventListener('mouseup', handleMouseUp);
15264
15306
  setIsResizing(false);
15265
15307
  };
15266
15308
  var handleresize = function handleresize(e, data, title) {
@@ -15381,13 +15423,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15381
15423
  showSummary = summary;
15382
15424
  }
15383
15425
  }
15384
- var _handleColumns = function handleColumns(arr, indexArr) {
15426
+ var handleColumns = function handleColumns(arr, indexArr) {
15385
15427
  arr.forEach(function (item, index) {
15386
15428
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15387
15429
  return i || i === 0;
15388
15430
  });
15389
15431
  if (noEmptyArray$1(item.children)) {
15390
- _handleColumns(item.children, indexArrInside);
15432
+ handleColumns(item.children, indexArrInside);
15391
15433
  } else {
15392
15434
  item.width = item.width || getItemDefaultWidth$2(item);
15393
15435
  item.onHeaderCell = function (column) {
@@ -15403,7 +15445,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15403
15445
  handleBssulaColumnsSpecialParams(item);
15404
15446
  return _objectSpread2({}, item);
15405
15447
  });
15406
- _handleColumns(showCol, []);
15448
+ handleColumns(showCol, []);
15407
15449
  if (dynamicColumns.length) {
15408
15450
  showCol = this.handledynamicColumns(showCol);
15409
15451
  }
@@ -15444,7 +15486,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15444
15486
  cell: this.ResizeableTitle
15445
15487
  }
15446
15488
  }
15447
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15489
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15448
15490
  summary: summary
15449
15491
  })));
15450
15492
  }
@@ -15541,10 +15583,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15541
15583
  var newColumns = _this.state.showColumns.map(function (col) {
15542
15584
  return _objectSpread2({}, col);
15543
15585
  });
15544
- var _handleIndex = function handleIndex(arr, indexArr) {
15586
+ var handleIndex = function handleIndex(arr, indexArr) {
15545
15587
  var i = indexArr.shift();
15546
15588
  if (indexArr.length > 0) {
15547
- _handleIndex(arr[i].children, indexArr);
15589
+ handleIndex(arr[i].children, indexArr);
15548
15590
  } else {
15549
15591
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15550
15592
  width: size.width
@@ -15552,7 +15594,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15552
15594
  handleAntdColumnsSpecialParams(arr[i]);
15553
15595
  }
15554
15596
  };
15555
- _handleIndex(newColumns, _toConsumableArray(index));
15597
+ handleIndex(newColumns, _toConsumableArray(index));
15556
15598
  _this.setState({
15557
15599
  showColumns: _toConsumableArray(newColumns)
15558
15600
  });
@@ -15628,13 +15670,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15628
15670
  showSummary = summary;
15629
15671
  }
15630
15672
  }
15631
- var _handleColumns = function handleColumns(arr, indexArr) {
15673
+ var handleColumns = function handleColumns(arr, indexArr) {
15632
15674
  arr.forEach(function (item, index) {
15633
15675
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15634
15676
  return i || i === 0;
15635
15677
  });
15636
15678
  if (noEmptyArray$1(item.children)) {
15637
- _handleColumns(item.children, indexArrInside);
15679
+ handleColumns(item.children, indexArrInside);
15638
15680
  } else {
15639
15681
  item.width = item.width || getItemDefaultWidth$2(item);
15640
15682
  item.onHeaderCell = function (column) {
@@ -15650,7 +15692,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15650
15692
  handleAntdColumnsSpecialParams(item);
15651
15693
  return _objectSpread2({}, item);
15652
15694
  });
15653
- _handleColumns(showCol, []);
15695
+ handleColumns(showCol, []);
15654
15696
  if (dynamicColumns.length) {
15655
15697
  showCol = this.handledynamicColumns(showCol);
15656
15698
  }
@@ -15690,7 +15732,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15690
15732
  cell: this.ResizeableTitle
15691
15733
  }
15692
15734
  }
15693
- }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15735
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15694
15736
  summary: summary
15695
15737
  })));
15696
15738
  }
@@ -15750,20 +15792,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
15750
15792
  };
15751
15793
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
15752
15794
  var routerMap = {};
15753
- var _flattenMenuData2 = function flattenMenuData(data, parent) {
15795
+ var flattenMenuData = function flattenMenuData(data, parent) {
15754
15796
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
15755
15797
  data.forEach(function (menuItem) {
15756
15798
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
15757
15799
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
15758
15800
  });
15759
15801
  if (newMenuItem.children) {
15760
- _flattenMenuData2(newMenuItem.children, newMenuItem);
15802
+ flattenMenuData(newMenuItem.children, newMenuItem);
15761
15803
  }
15762
15804
  // Reduce memory usage
15763
15805
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
15764
15806
  });
15765
15807
  };
15766
- _flattenMenuData2(menuData, {});
15808
+ flattenMenuData(menuData, {});
15767
15809
  return routerMap;
15768
15810
  };
15769
15811
  // mode类型判断
@@ -16089,7 +16131,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16089
16131
  display: 'flex',
16090
16132
  gap: '8px'
16091
16133
  }
16092
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
16134
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
16093
16135
  title: "\u53D6\u6D88\u5168\u5C4F"
16094
16136
  }, /*#__PURE__*/React$1.createElement("img", {
16095
16137
  onClick: function onClick() {
@@ -16097,7 +16139,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16097
16139
  },
16098
16140
  width: 24,
16099
16141
  src: scanning
16100
- }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
16142
+ }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
16101
16143
  title: "\u5168\u5C4F"
16102
16144
  }, /*#__PURE__*/React$1.createElement("img", {
16103
16145
  onClick: function onClick() {
@@ -16105,7 +16147,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16105
16147
  },
16106
16148
  width: 24,
16107
16149
  src: quanping
16108
- }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16150
+ }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16109
16151
  }, function (prevProps, nextProps) {
16110
16152
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
16111
16153
  return false;
@@ -16190,7 +16232,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16190
16232
  }, /*#__PURE__*/React$1.createElement("span", {
16191
16233
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
16192
16234
  }, item));
16193
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16235
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16194
16236
  }, function (prevProps, nextProps) {
16195
16237
  if (prevProps.title !== nextProps.title) {
16196
16238
  return false;
@@ -16830,7 +16872,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16830
16872
  });
16831
16873
  return /*#__PURE__*/React$1.createElement("div", {
16832
16874
  className: 'sort_table_wrapper'
16833
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
16875
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16834
16876
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
16835
16877
  wrapClassName: 'sort_table_wrapper',
16836
16878
  width: 810,
@@ -16881,7 +16923,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16881
16923
  width: 525,
16882
16924
  height: 24
16883
16925
  }
16884
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16926
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16885
16927
  checked: !dataSource.some(function (item) {
16886
16928
  if (item.hidden) return true;
16887
16929
  return false;
@@ -16935,13 +16977,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16935
16977
  _this2.onChange(e, item.title);
16936
16978
  }
16937
16979
  }, item.title);
16938
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
16980
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
16939
16981
  style: {
16940
16982
  width: '144px'
16941
16983
  }
16942
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
16984
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
16943
16985
  className: 'sort_table_column_all_empty'
16944
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16986
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16945
16987
  className: 'sort_table_column_special'
16946
16988
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
16947
16989
  className: 'sort_table_column_all'
@@ -17415,7 +17457,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17415
17457
  });
17416
17458
  return /*#__PURE__*/React$1.createElement("div", {
17417
17459
  className: 'sort_table_wrapper'
17418
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17460
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17419
17461
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17420
17462
  wrapClassName: 'sort_table_wrapper',
17421
17463
  width: 820,
@@ -17460,7 +17502,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17460
17502
  style: {
17461
17503
  width: 525
17462
17504
  }
17463
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17505
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17464
17506
  checked: !dataSource.some(function (item) {
17465
17507
  if (item.hidden) return true;
17466
17508
  return false;
@@ -17496,11 +17538,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17496
17538
  _this2.onChange(e, item.name);
17497
17539
  }
17498
17540
  }, item.label);
17499
- }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
17541
+ }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17500
17542
  style: {
17501
17543
  width: '144px'
17502
17544
  }
17503
- })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
17545
+ })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17504
17546
  className: 'sort_table_column_all_empty'
17505
17547
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
17506
17548
  className: 'sort_table_content_wrapper'
@@ -17599,7 +17641,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17599
17641
  };
17600
17642
  setIsResizing(true);
17601
17643
  document.addEventListener('mousemove', handleMouseMove);
17602
- document.addEventListener('mouseup', _handleMouseUp);
17644
+ document.addEventListener('mouseup', handleMouseUp);
17603
17645
  };
17604
17646
  var handleMouseMove = function handleMouseMove(e) {
17605
17647
  e.stopPropagation();
@@ -17615,9 +17657,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17615
17657
  dom.style.top = "".concat(e.clientY - 20, "px");
17616
17658
  }
17617
17659
  };
17618
- var _handleMouseUp = function handleMouseUp(e) {
17660
+ var handleMouseUp = function handleMouseUp(e) {
17619
17661
  document.removeEventListener('mousemove', handleMouseMove);
17620
- document.removeEventListener('mouseup', _handleMouseUp);
17662
+ document.removeEventListener('mouseup', handleMouseUp);
17621
17663
  setIsResizing(false);
17622
17664
  };
17623
17665
  var handleresize = function handleresize(e, data, title) {
@@ -18028,7 +18070,7 @@ var BsSulaQueryTable = (function (props) {
18028
18070
  actionsRender = actionsRender.concat([{
18029
18071
  type: 'text',
18030
18072
  props: {
18031
- children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
18073
+ children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
18032
18074
  request: {
18033
18075
  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),
18034
18076
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18274,7 +18316,7 @@ var BsSulaQueryTable = (function (props) {
18274
18316
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18275
18317
  bsTableCode: bsTableCode,
18276
18318
  onlyModal: true
18277
- }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && (/*#__PURE__*/React$1.createElement(SortableTable$1, {
18319
+ }), (value === null || value === void 0 ? void 0 : (_value$exportConfig6 = value.exportConfig) === null || _value$exportConfig6 === void 0 ? void 0 : _value$exportConfig6.settingColumns) && ( /*#__PURE__*/React$1.createElement(SortableTable$1, {
18278
18320
  ref: exportTableRef,
18279
18321
  setShowColumns: setShowExportColumns,
18280
18322
  setInitialTableInfo: setInitialTableInfo,
@@ -18367,11 +18409,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18367
18409
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18368
18410
  var resultList = [];
18369
18411
  var newRouter = cloneDeep(router);
18370
- var _deep = function deep(router) {
18412
+ var deep = function deep(router) {
18371
18413
  if (router && Array.isArray(router)) {
18372
18414
  router.forEach(function (item) {
18373
18415
  if (item.children && Array.isArray(item.children)) {
18374
- _deep(item.children);
18416
+ deep(item.children);
18375
18417
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18376
18418
  return d === item.code;
18377
18419
  })) {
@@ -18385,10 +18427,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18385
18427
  resultList.push(_objectSpread2({}, router));
18386
18428
  }
18387
18429
  };
18388
- _deep(newRouter);
18430
+ deep(newRouter);
18389
18431
  callBack([].concat(resultList));
18390
18432
  };
18391
- var _setMenuTreeData = function setMenuTreeData(routesData) {
18433
+ var setMenuTreeData = function setMenuTreeData(routesData) {
18392
18434
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18393
18435
  var _loop = function _loop(i) {
18394
18436
  if (routesData[i].hideInMenu) {
@@ -18402,7 +18444,7 @@ var _setMenuTreeData = function setMenuTreeData(routesData) {
18402
18444
  return 0; // continue
18403
18445
  }
18404
18446
  if (routesData[i].children) {
18405
- _setMenuTreeData(routesData[i].children);
18447
+ setMenuTreeData(routesData[i].children);
18406
18448
  }
18407
18449
  },
18408
18450
  _ret;
@@ -18423,16 +18465,16 @@ var setLoginOutPath = function setLoginOutPath() {
18423
18465
  };
18424
18466
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18425
18467
  var routerMap = {};
18426
- var _flattenMenuData = function flattenMenuData(data) {
18468
+ var flattenMenuData = function flattenMenuData(data) {
18427
18469
  data.forEach(function (menuItem) {
18428
18470
  if (menuItem.children) {
18429
- _flattenMenuData(menuItem.children);
18471
+ flattenMenuData(menuItem.children);
18430
18472
  }
18431
18473
  // Reduce memory usage
18432
18474
  routerMap[menuItem.path] = menuItem;
18433
18475
  });
18434
18476
  };
18435
- _flattenMenuData(menuData);
18477
+ flattenMenuData(menuData);
18436
18478
  return routerMap;
18437
18479
  };
18438
18480
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -18578,7 +18620,7 @@ var DrawContent = function DrawContent(_ref) {
18578
18620
  sethomepageData(homepageDataList);
18579
18621
  setroutesData(routesDataList);
18580
18622
  }, []);
18581
- var _renderChildItem = function renderChildItem(child) {
18623
+ var renderChildItem = function renderChildItem(child) {
18582
18624
  if (!child.hideInMenu && child.children) {
18583
18625
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18584
18626
  style: {
@@ -18588,7 +18630,7 @@ var DrawContent = function DrawContent(_ref) {
18588
18630
  }, formatMessage({
18589
18631
  id: "".concat(child.locale)
18590
18632
  })), child.children.map(function (menuItem) {
18591
- return _renderChildItem(menuItem);
18633
+ return renderChildItem(menuItem);
18592
18634
  }));
18593
18635
  } else if (!child.hideInMenu && child.path) {
18594
18636
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18623,7 +18665,7 @@ var DrawContent = function DrawContent(_ref) {
18623
18665
  className: 'drawerWarp'
18624
18666
  }, homepageData && homepageData.filter(function (d) {
18625
18667
  return !d.hideInMenu;
18626
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
18668
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
18627
18669
  className: classNames('allFunsList', 'allFunsListWarp'),
18628
18670
  dataSource: homepageData,
18629
18671
  renderItem: function renderItem(child) {
@@ -18658,7 +18700,7 @@ var DrawContent = function DrawContent(_ref) {
18658
18700
  bordered: true,
18659
18701
  dataSource: item.children,
18660
18702
  renderItem: function renderItem(child) {
18661
- return _renderChildItem(child);
18703
+ return renderChildItem(child);
18662
18704
  }
18663
18705
  });
18664
18706
  })));
@@ -18718,7 +18760,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
18718
18760
  src: allfunc
18719
18761
  })), /*#__PURE__*/React$1.createElement("span", {
18720
18762
  className: 'btnSpan2'
18721
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
18763
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18722
18764
  style: {
18723
18765
  left: isDrawer ? 140 : 0,
18724
18766
  top: 50
@@ -18764,7 +18806,7 @@ function outLogin(_x) {
18764
18806
  return _outLogin.apply(this, arguments);
18765
18807
  }
18766
18808
  function _outLogin() {
18767
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18809
+ _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18768
18810
  var res;
18769
18811
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18770
18812
  while (1) switch (_context.prev = _context.next) {
@@ -18906,7 +18948,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18906
18948
  });
18907
18949
  };
18908
18950
  var loginOut = /*#__PURE__*/function () {
18909
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18951
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18910
18952
  var sessionId;
18911
18953
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18912
18954
  while (1) switch (_context.prev = _context.next) {
@@ -19010,7 +19052,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19010
19052
  marginRight: '0px'
19011
19053
  },
19012
19054
  src: './xialajiantou-new.svg'
19013
- }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19055
+ }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19014
19056
  };
19015
19057
 
19016
19058
  // -- 查询店铺 --
@@ -19018,7 +19060,7 @@ function getStoreByName(_x) {
19018
19060
  return _getStoreByName.apply(this, arguments);
19019
19061
  }
19020
19062
  function _getStoreByName() {
19021
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19063
+ _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19022
19064
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19023
19065
  while (1) switch (_context.prev = _context.next) {
19024
19066
  case 0:
@@ -19086,7 +19128,7 @@ var ChooseStore = function ChooseStore(props) {
19086
19128
  return _fetchUserList.apply(this, arguments);
19087
19129
  }
19088
19130
  function _fetchUserList() {
19089
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19131
+ _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19090
19132
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19091
19133
  while (1) switch (_context3.prev = _context3.next) {
19092
19134
  case 0:
@@ -19134,7 +19176,7 @@ var ChooseStore = function ChooseStore(props) {
19134
19176
  return debounce$1(loadOptions, debounceTimeout);
19135
19177
  }, [debounceTimeout, key]);
19136
19178
  var changeInput = /*#__PURE__*/function () {
19137
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19179
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19138
19180
  var res;
19139
19181
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19140
19182
  while (1) switch (_context.prev = _context.next) {
@@ -19156,7 +19198,7 @@ var ChooseStore = function ChooseStore(props) {
19156
19198
  };
19157
19199
  }();
19158
19200
  useEffect(function () {
19159
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19201
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19160
19202
  var res;
19161
19203
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19162
19204
  while (1) switch (_context2.prev = _context2.next) {
@@ -19321,7 +19363,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19321
19363
  var resultList = [];
19322
19364
  var newRouter = cloneDeep$1(router);
19323
19365
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19324
- var _deep = function deep(router) {
19366
+ var deep = function deep(router) {
19325
19367
  if (router && Array.isArray(router)) {
19326
19368
  router.forEach(function (item) {
19327
19369
  if (item.routes && Array.isArray(item.routes)) {
@@ -19331,7 +19373,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19331
19373
  d.nameEdit = true;
19332
19374
  }
19333
19375
  });
19334
- _deep(item.routes);
19376
+ deep(item.routes);
19335
19377
  } else if (!item.hideInMenu && (name ? formatMessage({
19336
19378
  id: "menu.".concat(item.name)
19337
19379
  }).indexOf(name) !== -1 : true)) {
@@ -19350,7 +19392,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19350
19392
  }));
19351
19393
  }
19352
19394
  };
19353
- _deep(newRouter);
19395
+ deep(newRouter);
19354
19396
  setroutesData([].concat(resultList));
19355
19397
  };
19356
19398
  var renderLineStyl = function renderLineStyl(name) {
@@ -19432,7 +19474,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19432
19474
  },
19433
19475
  title: item.fullPathName
19434
19476
  }, renderLineStyl(item.fullPathName));
19435
- }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
19477
+ }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
19436
19478
  employeeCode: employeeCode
19437
19479
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
19438
19480
  };
@@ -19447,7 +19489,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19447
19489
  var TreeNode = Tree.TreeNode;
19448
19490
  var Search$2 = Input.Search;
19449
19491
  var dataList = [];
19450
- var _generateList = function generateList(data) {
19492
+ var generateList = function generateList(data) {
19451
19493
  for (var i = 0; i < data.length; i++) {
19452
19494
  var node = data[i];
19453
19495
  var path = node.path,
@@ -19457,11 +19499,11 @@ var _generateList = function generateList(data) {
19457
19499
  name: name
19458
19500
  });
19459
19501
  if (node.children) {
19460
- _generateList(node.children);
19502
+ generateList(node.children);
19461
19503
  }
19462
19504
  }
19463
19505
  };
19464
- var _getParentKey = function getParentKey(path, tree) {
19506
+ var getParentKey = function getParentKey(path, tree) {
19465
19507
  var parentKey;
19466
19508
  for (var i = 0; i < tree.length; i++) {
19467
19509
  var node = tree[i];
@@ -19470,8 +19512,8 @@ var _getParentKey = function getParentKey(path, tree) {
19470
19512
  return item.path === path;
19471
19513
  })) {
19472
19514
  parentKey = node.path;
19473
- } else if (_getParentKey(path, node.children)) {
19474
- parentKey = _getParentKey(path, node.children);
19515
+ } else if (getParentKey(path, node.children)) {
19516
+ parentKey = getParentKey(path, node.children);
19475
19517
  }
19476
19518
  }
19477
19519
  }
@@ -19502,7 +19544,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19502
19544
  var treeData = _this.state.treeData;
19503
19545
  var expandedKeys = dataList.map(function (item) {
19504
19546
  if (item.name.indexOf(value) > -1) {
19505
- return _getParentKey(item.path, treeData);
19547
+ return getParentKey(item.path, treeData);
19506
19548
  }
19507
19549
  return null;
19508
19550
  }).filter(function (item, i, self) {
@@ -19516,22 +19558,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19516
19558
  };
19517
19559
  _this.getPathList = function (originData) {
19518
19560
  var pathList = [];
19519
- var _getList = function getList(data) {
19561
+ var getList = function getList(data) {
19520
19562
  if (Array.isArray(data)) {
19521
19563
  data.forEach(function (item) {
19522
19564
  pathList.push(item.path);
19523
19565
  if (item.children) {
19524
- _getList(item.children);
19566
+ getList(item.children);
19525
19567
  }
19526
19568
  });
19527
19569
  } else {
19528
19570
  pathList.push(data.path);
19529
19571
  if (data.children) {
19530
- _getList(data.children);
19572
+ getList(data.children);
19531
19573
  }
19532
19574
  }
19533
19575
  };
19534
- _getList(originData);
19576
+ getList(originData);
19535
19577
  return pathList;
19536
19578
  };
19537
19579
  _this.handleAdd2Menu = function (path) {
@@ -19540,18 +19582,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19540
19582
  customerMenuData = _this$props.customerMenuData,
19541
19583
  setCustomerMenuData = _this$props.setCustomerMenuData;
19542
19584
  var filterItem;
19543
- var _filterMenuItem = function filterMenuItem(menuData) {
19585
+ var filterMenuItem = function filterMenuItem(menuData) {
19544
19586
  menuData.forEach(function (item) {
19545
19587
  if (item.path === path) {
19546
19588
  filterItem = _objectSpread2({}, item);
19547
19589
  return;
19548
19590
  }
19549
19591
  if (item.children) {
19550
- _filterMenuItem(item.children);
19592
+ filterMenuItem(item.children);
19551
19593
  }
19552
19594
  });
19553
19595
  };
19554
- _filterMenuItem(treeData);
19596
+ filterMenuItem(treeData);
19555
19597
  var addPathList = _this.getPathList(filterItem);
19556
19598
  var oldPathList = _this.getPathList(customerMenuData);
19557
19599
  var isRepet = false;
@@ -19581,8 +19623,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19581
19623
  return item.path === '/';
19582
19624
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19583
19625
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19584
- _setMenuTreeData(routesData);
19585
- _generateList(routesData);
19626
+ setMenuTreeData(routesData);
19627
+ generateList(routesData);
19586
19628
  this.setState({
19587
19629
  treeData: routesData
19588
19630
  });
@@ -19596,16 +19638,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19596
19638
  expandedKeys = _this$state.expandedKeys,
19597
19639
  autoExpandParent = _this$state.autoExpandParent,
19598
19640
  treeData = _this$state.treeData;
19599
- var _loop = function loop(data) {
19641
+ var loop = function loop(data) {
19600
19642
  return data.map(function (item) {
19601
19643
  var index = item.name.indexOf(searchValue);
19602
19644
  var beforeStr = item.name.substr(0, index);
19603
19645
  var afterStr = item.name.substr(index + searchValue.length);
19604
- var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19646
+ var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19605
19647
  style: {
19606
19648
  color: '#f50'
19607
19649
  }
19608
- }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
19650
+ }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
19609
19651
  if (item.children && item.children.length) {
19610
19652
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19611
19653
  path: item.path,
@@ -19627,7 +19669,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19627
19669
  width: 18,
19628
19670
  src: arrowRight
19629
19671
  }))))
19630
- }, _loop(item.children));
19672
+ }, loop(item.children));
19631
19673
  }
19632
19674
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19633
19675
  path: item.path,
@@ -19677,7 +19719,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19677
19719
  onExpand: this.onExpand,
19678
19720
  expandedKeys: expandedKeys,
19679
19721
  autoExpandParent: autoExpandParent
19680
- }, _loop(treeData))));
19722
+ }, loop(treeData))));
19681
19723
  }
19682
19724
  }]);
19683
19725
  }(React$1.Component);
@@ -19710,24 +19752,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19710
19752
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
19711
19753
  var dragObj;
19712
19754
  var finalDropItem;
19713
- var _loop = function loop(data, path, callback) {
19755
+ var loop = function loop(data, path, callback) {
19714
19756
  for (var i = 0; i < data.length; i++) {
19715
19757
  if (data[i].path === path) {
19716
19758
  return callback(data[i], i, data);
19717
19759
  }
19718
19760
  if (data[i].children) {
19719
- _loop(data[i].children, path, callback);
19761
+ loop(data[i].children, path, callback);
19720
19762
  }
19721
19763
  }
19722
19764
  };
19723
19765
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
19724
- _loop(data, dragKey, function (item, index, arr) {
19766
+ loop(data, dragKey, function (item, index, arr) {
19725
19767
  arr.splice(index, 1);
19726
19768
  dragObj = item;
19727
19769
  });
19728
19770
  if (!info.dropToGap) {
19729
19771
  // Drop on the content
19730
- _loop(data, dropKey, function (item) {
19772
+ loop(data, dropKey, function (item) {
19731
19773
  item.children = item.children || [];
19732
19774
  item.children.unshift(dragObj);
19733
19775
  finalDropItem = _objectSpread2({}, item);
@@ -19738,7 +19780,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19738
19780
  // Is expanded
19739
19781
  dropPosition === 1 // On the bottom gap
19740
19782
  ) {
19741
- _loop(data, dropKey, function (item) {
19783
+ loop(data, dropKey, function (item) {
19742
19784
  item.children = item.children || [];
19743
19785
  item.children.unshift(dragObj);
19744
19786
  finalDropItem = _objectSpread2({}, item);
@@ -19746,7 +19788,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19746
19788
  } else {
19747
19789
  var ar;
19748
19790
  var i;
19749
- _loop(data, dropKey, function (item, index, arr) {
19791
+ loop(data, dropKey, function (item, index, arr) {
19750
19792
  ar = arr;
19751
19793
  i = index;
19752
19794
  });
@@ -19785,17 +19827,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19785
19827
  title: '编辑名称',
19786
19828
  callBack: function callBack(newName) {
19787
19829
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19788
- var _editTreeDataName = function editTreeDataName(oldTreeData) {
19830
+ var editTreeDataName = function editTreeDataName(oldTreeData) {
19789
19831
  oldTreeData.forEach(function (treeItem) {
19790
19832
  if (treeItem.path === item.path) {
19791
19833
  treeItem.name = newName;
19792
19834
  }
19793
19835
  if (treeItem.children) {
19794
- _editTreeDataName(treeItem.children);
19836
+ editTreeDataName(treeItem.children);
19795
19837
  }
19796
19838
  });
19797
19839
  };
19798
- _editTreeDataName(oldTreeData);
19840
+ editTreeDataName(oldTreeData);
19799
19841
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19800
19842
  _this.setState({
19801
19843
  modalInfo: {
@@ -19840,7 +19882,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19840
19882
  title: '新增子目录',
19841
19883
  callBack: function callBack(newName) {
19842
19884
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19843
- var _addChildFolder = function addChildFolder(oldTreeData) {
19885
+ var addChildFolder = function addChildFolder(oldTreeData) {
19844
19886
  oldTreeData.forEach(function (treeItem) {
19845
19887
  if (treeItem.path === item.path) {
19846
19888
  treeItem.children ? treeItem.children.push({
@@ -19852,11 +19894,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19852
19894
  }];
19853
19895
  }
19854
19896
  if (treeItem.children) {
19855
- _addChildFolder(treeItem.children);
19897
+ addChildFolder(treeItem.children);
19856
19898
  }
19857
19899
  });
19858
19900
  };
19859
- _addChildFolder(oldTreeData);
19901
+ addChildFolder(oldTreeData);
19860
19902
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19861
19903
  _this.setState({
19862
19904
  modalInfo: {
@@ -19915,7 +19957,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19915
19957
  var _this$state = this.state,
19916
19958
  modalInfo = _this$state.modalInfo,
19917
19959
  checkedKeys = _this$state.checkedKeys;
19918
- var _loop2 = function loop(data) {
19960
+ var loop = function loop(data) {
19919
19961
  return data.map(function (item) {
19920
19962
  if (item.children && item.children.length) {
19921
19963
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -19932,7 +19974,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19932
19974
  e.stopPropagation();
19933
19975
  }
19934
19976
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
19935
- }, _loop2(item.children));
19977
+ }, loop(item.children));
19936
19978
  }
19937
19979
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
19938
19980
  path: item.path,
@@ -20011,7 +20053,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20011
20053
  children: 'children'
20012
20054
  },
20013
20055
  onDrop: this.onDrop
20014
- }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20056
+ }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20015
20057
  width: 600,
20016
20058
  bodyStyle: {
20017
20059
  paddingTop: '32px',
@@ -20124,7 +20166,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20124
20166
  pathname: item.path
20125
20167
  });
20126
20168
  };
20127
- var _getMenuDom = function getMenuDom(menuData) {
20169
+ var getMenuDom = function getMenuDom(menuData) {
20128
20170
  return menuData.map(function (item) {
20129
20171
  return /*#__PURE__*/React$1.createElement("div", {
20130
20172
  style: {
@@ -20139,7 +20181,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20139
20181
  fontWeight: item.children || !item.component ? 'bolder' : '400',
20140
20182
  paddingLeft: '4px'
20141
20183
  }
20142
- }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
20184
+ }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
20143
20185
  });
20144
20186
  };
20145
20187
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20165,7 +20207,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20165
20207
  style: {
20166
20208
  paddingLeft: '5px'
20167
20209
  }
20168
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
20210
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
20169
20211
  style: {
20170
20212
  left: isDrawer ? 140 : 0
20171
20213
  },
@@ -20186,7 +20228,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20186
20228
  visible: isDrawer
20187
20229
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
20188
20230
  className: 'menu_title_line'
20189
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20231
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20190
20232
  title: /*#__PURE__*/React$1.createElement("span", {
20191
20233
  style: {
20192
20234
  fontWeight: '600',
@@ -20260,7 +20302,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20260
20302
  return item.path === '/';
20261
20303
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20262
20304
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20263
- _setMenuTreeData(routesData);
20305
+ setMenuTreeData(routesData);
20264
20306
  routesData.forEach(function (item) {
20265
20307
  if (item.children) {
20266
20308
  routesDataList.push(item);
@@ -20290,7 +20332,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20290
20332
  setHeight(clientHeight - 190);
20291
20333
  setDrawHeight(clientHeight - 70);
20292
20334
  };
20293
- var _renderChildItem = function renderChildItem(child) {
20335
+ var renderChildItem = function renderChildItem(child) {
20294
20336
  if (!child.hideInMenu && child.children) {
20295
20337
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
20296
20338
  style: {
@@ -20300,7 +20342,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20300
20342
  }, formatMessage({
20301
20343
  id: "".concat(child.locale)
20302
20344
  })), child.children.map(function (menuItem) {
20303
- return _renderChildItem(menuItem);
20345
+ return renderChildItem(menuItem);
20304
20346
  }));
20305
20347
  } else if (!child.hideInMenu && child.path) {
20306
20348
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -20442,7 +20484,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20442
20484
  onMenuClick(e, item);
20443
20485
  }
20444
20486
  }, item.name);
20445
- }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
20487
+ }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
20446
20488
  className: 'search_menu_content'
20447
20489
  }, SearhData.map(function (item) {
20448
20490
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20451,7 +20493,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20451
20493
  },
20452
20494
  key: item.path
20453
20495
  }, item.name);
20454
- }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20496
+ }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20455
20497
  style: {
20456
20498
  height: "".concat(rightMenuHeight, "px"),
20457
20499
  overflowY: 'scroll',
@@ -20463,7 +20505,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20463
20505
  className: 'drawerWarp_right'
20464
20506
  }, homepageData && homepageData.filter(function (d) {
20465
20507
  return !d.hideInMenu;
20466
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
20508
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
20467
20509
  className: classNames('allFunsList', 'allFunsListWarp'),
20468
20510
  dataSource: homepageData,
20469
20511
  renderItem: function renderItem(child) {
@@ -20504,7 +20546,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20504
20546
  bordered: true,
20505
20547
  dataSource: item.children,
20506
20548
  renderItem: function renderItem(child) {
20507
- return _renderChildItem(child);
20549
+ return renderChildItem(child);
20508
20550
  }
20509
20551
  });
20510
20552
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -20662,10 +20704,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20662
20704
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
20663
20705
  var menuKeys = [];
20664
20706
  var docsId = [];
20665
- var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20707
+ var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20666
20708
  data.forEach(function (item) {
20667
20709
  if (item.children && item.children.length > 0) {
20668
- _getLimitedMenuKeys(item.children);
20710
+ getLimitedMenuKeys(item.children);
20669
20711
  } else {
20670
20712
  var originPath = item.path.replace(/^\/\w+\//, '/');
20671
20713
  menuKeys.push(originPath);
@@ -20676,7 +20718,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20676
20718
  });
20677
20719
  };
20678
20720
  try {
20679
- _getLimitedMenuKeys(limitedMenuData);
20721
+ getLimitedMenuKeys(limitedMenuData);
20680
20722
  } catch (e) {}
20681
20723
  return {
20682
20724
  menuKeys: menuKeys,
@@ -20910,10 +20952,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20910
20952
  return (node.path || '').includes('all-general-documents');
20911
20953
  };
20912
20954
  // 递归获取树列表
20913
- var _getTreeList = function getTreeList(data) {
20955
+ var getTreeList = function getTreeList(data) {
20914
20956
  data.forEach(function (node) {
20915
20957
  if (node.routes && node.routes.length > 0) {
20916
- _getTreeList(node.routes);
20958
+ getTreeList(node.routes);
20917
20959
  return;
20918
20960
  }
20919
20961
  // todo:暂时处理非wujie环境不做404管控
@@ -20944,7 +20986,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20944
20986
  }
20945
20987
  });
20946
20988
  };
20947
- _getTreeList(treeData);
20989
+ getTreeList(treeData);
20948
20990
  return treeList;
20949
20991
  };
20950
20992
  _this.getDictionarySource = function (dicCode) {
@@ -21573,7 +21615,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21573
21615
  updateState = _ref8.updateState;
21574
21616
  return /*#__PURE__*/React$1.createElement("div", {
21575
21617
  className: "tab_title_content"
21576
- }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
21618
+ }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
21577
21619
  info: item,
21578
21620
  operateFun: _this3.operateFun,
21579
21621
  listenRouterState: listenRouterState
@@ -21709,7 +21751,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21709
21751
  };
21710
21752
  }
21711
21753
  var OperationsSlot = {
21712
- left: (/*#__PURE__*/React$1.createElement("div", {
21754
+ left: ( /*#__PURE__*/React$1.createElement("div", {
21713
21755
  className: 'tab_left_operate'
21714
21756
  }, /*#__PURE__*/React$1.createElement("div", {
21715
21757
  onClick: function onClick() {
@@ -21725,7 +21767,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21725
21767
  _this3.setTabNavTransLate(-100);
21726
21768
  }
21727
21769
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
21728
- right: (/*#__PURE__*/React$1.createElement("div", {
21770
+ right: ( /*#__PURE__*/React$1.createElement("div", {
21729
21771
  style: {
21730
21772
  opacity: this.state.isSlider ? 1 : 0.5
21731
21773
  },
@@ -21823,7 +21865,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21823
21865
  onMouseLeave: function onMouseLeave() {
21824
21866
  _this3.setShowMenu(false);
21825
21867
  }
21826
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21868
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21827
21869
  style: {
21828
21870
  position: 'absolute',
21829
21871
  top: '14px',
@@ -21842,7 +21884,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21842
21884
  postMenuData: function postMenuData(menus) {
21843
21885
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21844
21886
  },
21845
- links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
21887
+ links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
21846
21888
  ref: this.allFunc,
21847
21889
  itemPath: itemPath,
21848
21890
  handleClose: this.handleClose,
@@ -21860,7 +21902,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21860
21902
  },
21861
21903
  menu: {
21862
21904
  request: function () {
21863
- var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21905
+ var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21864
21906
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21865
21907
  while (1) switch (_context.prev = _context.next) {
21866
21908
  case 0:
@@ -21995,7 +22037,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
21995
22037
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
21996
22038
  timeFormat = _this$props4.timeFormat,
21997
22039
  transparentProps = _this$props4.transparentProps;
21998
- 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({
22040
+ 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({
21999
22041
  getDictionarySource: getDictionarySource,
22000
22042
  getDictionaryTextByValue: getDictionaryTextByValue,
22001
22043
  timeFormat: timeFormat
@@ -22019,12 +22061,12 @@ var index$5 = (function (props) {
22019
22061
  });
22020
22062
 
22021
22063
  // @ts-nocheck
22022
- var _getAllColumns = function getAllColumns(columns) {
22064
+ var getAllColumns = function getAllColumns(columns) {
22023
22065
  var result = [];
22024
22066
  columns.forEach(function (column) {
22025
22067
  if (column.children) {
22026
22068
  result.push(column);
22027
- result.push.apply(result, _getAllColumns(column.children));
22069
+ result.push.apply(result, getAllColumns(column.children));
22028
22070
  } else {
22029
22071
  result.push(column);
22030
22072
  }
@@ -22033,7 +22075,7 @@ var _getAllColumns = function getAllColumns(columns) {
22033
22075
  };
22034
22076
  var convertToRows = function convertToRows(originColumns) {
22035
22077
  var maxLevel = 1;
22036
- var _traverse = function traverse(column, parent) {
22078
+ var traverse = function traverse(column, parent) {
22037
22079
  if (parent) {
22038
22080
  column.level = parent.level + 1;
22039
22081
  if (maxLevel < column.level) {
@@ -22043,7 +22085,7 @@ var convertToRows = function convertToRows(originColumns) {
22043
22085
  if (column.children) {
22044
22086
  var colSpan = 0;
22045
22087
  column.children.forEach(function (subColumn) {
22046
- _traverse(subColumn, column);
22088
+ traverse(subColumn, column);
22047
22089
  colSpan += subColumn.colSpan;
22048
22090
  });
22049
22091
  column.colSpan = colSpan;
@@ -22053,13 +22095,13 @@ var convertToRows = function convertToRows(originColumns) {
22053
22095
  };
22054
22096
  originColumns.forEach(function (column) {
22055
22097
  column.level = 1;
22056
- _traverse(column);
22098
+ traverse(column);
22057
22099
  });
22058
22100
  var rows = [];
22059
22101
  for (var i = 0; i < maxLevel; i++) {
22060
22102
  rows.push([]);
22061
22103
  }
22062
- var allColumns = _getAllColumns(originColumns);
22104
+ var allColumns = getAllColumns(originColumns);
22063
22105
  allColumns.forEach(function (column) {
22064
22106
  if (!column.children) {
22065
22107
  column.rowSpan = maxLevel - column.level + 1;
@@ -22099,7 +22141,7 @@ var convertToRows = function convertToRows(originColumns) {
22099
22141
  };
22100
22142
  var headersToRows = function headersToRows(originColumns) {
22101
22143
  var maxLevel = 1;
22102
- var _traverse2 = function traverse(column, parent) {
22144
+ var traverse = function traverse(column, parent) {
22103
22145
  if (parent) {
22104
22146
  //计算当前元素属于第几个层级
22105
22147
  column.level = parent.level + 1;
@@ -22112,7 +22154,7 @@ var headersToRows = function headersToRows(originColumns) {
22112
22154
  var colSpan = 0;
22113
22155
  column.children.forEach(function (subColumn) {
22114
22156
  //进行递归
22115
- _traverse2(subColumn, column);
22157
+ traverse(subColumn, column);
22116
22158
  colSpan += subColumn.colSpan;
22117
22159
  });
22118
22160
  column.colSpan = colSpan;
@@ -22122,14 +22164,14 @@ var headersToRows = function headersToRows(originColumns) {
22122
22164
  };
22123
22165
  originColumns.forEach(function (column) {
22124
22166
  column.level = 1;
22125
- _traverse2(column);
22167
+ traverse(column);
22126
22168
  });
22127
22169
  var rows = [];
22128
22170
  var lastData = [];
22129
22171
  for (var i = 0; i < maxLevel; i++) {
22130
22172
  rows.push([]);
22131
22173
  }
22132
- var allColumns = _getAllColumns(originColumns);
22174
+ var allColumns = getAllColumns(originColumns);
22133
22175
  allColumns.forEach(function (column) {
22134
22176
  if (!column.children) {
22135
22177
  column.rowSpan = maxLevel - column.level + 1;
@@ -28146,7 +28188,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
28146
28188
  }
28147
28189
  return lineStart <= highLightLine && lineEnd >= highLightLine;
28148
28190
  };
28149
- var _hasHighLightChildren = function hasHighLightChildren() {
28191
+ var hasHighLightChildren = function hasHighLightChildren() {
28150
28192
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
28151
28193
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
28152
28194
  var children = hightLightData.children,
@@ -28157,7 +28199,7 @@ var _hasHighLightChildren = function hasHighLightChildren() {
28157
28199
  lineEnd = _loc2[2];
28158
28200
  if (children) {
28159
28201
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
28160
- return _hasHighLightChildren(v, highLightLine);
28202
+ return hasHighLightChildren(v, highLightLine);
28161
28203
  });
28162
28204
  }
28163
28205
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -28169,7 +28211,7 @@ function createHighLightTreeData(treeData, highLightLine) {
28169
28211
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
28170
28212
  data.forEach(function (node) {
28171
28213
  if (!node) return;
28172
- node.toggled = _hasHighLightChildren(node, highLightLine);
28214
+ node.toggled = hasHighLightChildren(node, highLightLine);
28173
28215
  node.active = isHightLight(node, highLightLine);
28174
28216
  if (node.children) {
28175
28217
  if (node.active) {
@@ -29600,7 +29642,7 @@ var valueType = {
29600
29642
  };
29601
29643
 
29602
29644
  var getDynamicDict = /*#__PURE__*/function () {
29603
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29645
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29604
29646
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29605
29647
  while (1) switch (_context.prev = _context.next) {
29606
29648
  case 0:
@@ -29668,7 +29710,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29668
29710
  value: false
29669
29711
  }];
29670
29712
  var ref = useRef();
29671
- useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29713
+ useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29672
29714
  var _ref$current, source;
29673
29715
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29674
29716
  while (1) switch (_context.prev = _context.next) {
@@ -29782,7 +29824,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29782
29824
  source: {
29783
29825
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
29784
29826
  type: function () {
29785
- var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29827
+ var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29786
29828
  var form, values, name, relates, source;
29787
29829
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29788
29830
  while (1) switch (_context2.prev = _context2.next) {
@@ -30262,7 +30304,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30262
30304
  source: {
30263
30305
  relates: ['choiceType', 'inputType'],
30264
30306
  type: function () {
30265
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30307
+ var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30266
30308
  var values, name, form, source;
30267
30309
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30268
30310
  while (1) switch (_context3.prev = _context3.next) {
@@ -30484,7 +30526,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30484
30526
  width: 900,
30485
30527
  maskClosable: false,
30486
30528
  onOk: function () {
30487
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30529
+ var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30488
30530
  var _ref$current4, _res$editableStatus;
30489
30531
  var res, _res$defaultValue;
30490
30532
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -30556,7 +30598,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30556
30598
  }()
30557
30599
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
30558
30600
  ref: ref
30559
- })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30601
+ })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30560
30602
  };
30561
30603
 
30562
30604
  // @ts-nocheck
@@ -31170,7 +31212,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31170
31212
  return setVisible(false);
31171
31213
  },
31172
31214
  className: 'customFieldsDrawer'
31173
- }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
31215
+ }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
31174
31216
  style: {
31175
31217
  display: 'flex'
31176
31218
  }
@@ -31179,13 +31221,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31179
31221
  flex: 1,
31180
31222
  width: 500
31181
31223
  }
31182
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31224
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31183
31225
  style: {
31184
31226
  padding: "10px 0",
31185
31227
  fontSize: "16px",
31186
31228
  fontWeight: "bolder"
31187
31229
  }
31188
- }, "\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", {
31230
+ }, "\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", {
31189
31231
  style: {
31190
31232
  flex: 1
31191
31233
  }
@@ -31194,7 +31236,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31194
31236
  onRun: onClickRun,
31195
31237
  value: jsonEditorVal,
31196
31238
  shallowHeight: height
31197
- })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
31239
+ })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
31198
31240
  defaultActiveKey: activeKey,
31199
31241
  onChange: function onChange(v) {
31200
31242
  return setActiveKey(v);
@@ -31211,13 +31253,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31211
31253
  flex: 1,
31212
31254
  width: 500
31213
31255
  }
31214
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31256
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31215
31257
  style: {
31216
31258
  padding: "10px 0",
31217
31259
  fontSize: "16px",
31218
31260
  fontWeight: "bolder"
31219
31261
  }
31220
- }, "\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", {
31262
+ }, "\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", {
31221
31263
  style: {
31222
31264
  flex: 1
31223
31265
  }
@@ -31239,13 +31281,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31239
31281
  flex: 1,
31240
31282
  width: 500
31241
31283
  }
31242
- }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
31284
+ }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
31243
31285
  style: {
31244
31286
  padding: "10px 0",
31245
31287
  fontSize: "16px",
31246
31288
  fontWeight: "bolder"
31247
31289
  }
31248
- }, "\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", {
31290
+ }, "\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", {
31249
31291
  style: {
31250
31292
  flex: 1
31251
31293
  }
@@ -31391,7 +31433,7 @@ function getMetaData(_x) {
31391
31433
 
31392
31434
  // 获取数据
31393
31435
  function _getMetaData() {
31394
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31436
+ _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31395
31437
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31396
31438
  while (1) switch (_context.prev = _context.next) {
31397
31439
  case 0:
@@ -31613,7 +31655,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31613
31655
  tableState = _useState4[0],
31614
31656
  setTableState = _useState4[1];
31615
31657
  var handleOpen = /*#__PURE__*/function () {
31616
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31658
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31617
31659
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
31618
31660
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
31619
31661
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -31932,7 +31974,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31932
31974
  destroyOnClose: true
31933
31975
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
31934
31976
  ref: queryTableRef
31935
- }, 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, {
31977
+ }, 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, {
31936
31978
  justify: "center",
31937
31979
  style: {
31938
31980
  marginBottom: 30,
@@ -32048,7 +32090,7 @@ var CustomSelector = (function (props) {
32048
32090
  var _props$ctx7;
32049
32091
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
32050
32092
  }
32051
- })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
32093
+ })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
32052
32094
  type: "primary",
32053
32095
  style: {
32054
32096
  width: '30px',
@@ -32134,7 +32176,7 @@ var BsCascader = function BsCascader(_ref) {
32134
32176
  _useState2 = _slicedToArray(_useState, 2),
32135
32177
  handSource = _useState2[0],
32136
32178
  setHandSource = _useState2[1];
32137
- useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32179
+ useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32138
32180
  var resData, data;
32139
32181
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32140
32182
  while (1) switch (_context.prev = _context.next) {
@@ -32286,7 +32328,7 @@ function getRegularThresholdRange(_x) {
32286
32328
  return _getRegularThresholdRange.apply(this, arguments);
32287
32329
  }
32288
32330
  function _getRegularThresholdRange() {
32289
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32331
+ _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32290
32332
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32291
32333
  while (1) switch (_context.prev = _context.next) {
32292
32334
  case 0:
@@ -32440,7 +32482,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32440
32482
  };
32441
32483
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32442
32484
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32443
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32485
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32444
32486
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32445
32487
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32446
32488
  while (1) switch (_context.prev = _context.next) {
@@ -33397,7 +33439,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33397
33439
  isAll: true,
33398
33440
  needNameAndCode: true,
33399
33441
  notChangeOnSelect: true,
33400
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33442
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33401
33443
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33402
33444
  while (1) switch (_context2.prev = _context2.next) {
33403
33445
  case 0:
@@ -33446,7 +33488,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33446
33488
  isAll: true,
33447
33489
  needNameAndCode: true,
33448
33490
  notChangeOnSelect: true,
33449
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33491
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33450
33492
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33451
33493
  while (1) switch (_context3.prev = _context3.next) {
33452
33494
  case 0:
@@ -33497,7 +33539,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33497
33539
  isAll: true,
33498
33540
  needNameAndCode: true,
33499
33541
  notChangeOnSelect: true,
33500
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33542
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33501
33543
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33502
33544
  while (1) switch (_context4.prev = _context4.next) {
33503
33545
  case 0:
@@ -35475,7 +35517,7 @@ var App$1 = function App(_ref) {
35475
35517
  borderRadius: '5px',
35476
35518
  cursor: 'pointer'
35477
35519
  }
35478
- }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
35520
+ }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
35479
35521
  autoFocus: true,
35480
35522
  onClick: function onClick(e) {
35481
35523
  return e.stopPropagation();
@@ -35762,7 +35804,7 @@ function RenderCompItem(props) {
35762
35804
  dictData = _useState2[0],
35763
35805
  setDictData = _useState2[1];
35764
35806
  var getDictData = /*#__PURE__*/function () {
35765
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35807
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35766
35808
  var _data$map;
35767
35809
  var data;
35768
35810
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -35804,7 +35846,7 @@ function RenderCompItem(props) {
35804
35846
  var style2 = {
35805
35847
  width: '100px'
35806
35848
  };
35807
- 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, {
35849
+ 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, {
35808
35850
  disabled: disabled,
35809
35851
  allowClear: true,
35810
35852
  onClear: function onClear() {
@@ -35815,7 +35857,7 @@ function RenderCompItem(props) {
35815
35857
  onBlur: function onBlur(e) {
35816
35858
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
35817
35859
  }
35818
- })) || 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, {
35860
+ })) || 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, {
35819
35861
  disabled: disabled,
35820
35862
  // max={Number.MAX_SAFE_INTEGER}
35821
35863
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -35828,7 +35870,7 @@ function RenderCompItem(props) {
35828
35870
  onChange: function onChange(value) {
35829
35871
  handleEdit(ites.code, value);
35830
35872
  }
35831
- })) || 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, {
35873
+ })) || 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, {
35832
35874
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
35833
35875
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
35834
35876
  disabled: disabled,
@@ -35838,7 +35880,7 @@ function RenderCompItem(props) {
35838
35880
  onChange: function onChange(value, dateString) {
35839
35881
  handleEdit(ites.code, dateString);
35840
35882
  }
35841
- })) || 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, {
35883
+ })) || 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, {
35842
35884
  showTime: true,
35843
35885
  disabled: disabled,
35844
35886
  defaultValue: ites.defaultValue,
@@ -35847,7 +35889,7 @@ function RenderCompItem(props) {
35847
35889
  onChange: function onChange(value, timeString) {
35848
35890
  handleEdit(ites.code, timeString);
35849
35891
  }
35850
- })) || 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, {
35892
+ })) || 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, {
35851
35893
  disabled: disabled,
35852
35894
  defaultChecked: !!ites.defaultValue,
35853
35895
  style: style2,
@@ -35855,7 +35897,7 @@ function RenderCompItem(props) {
35855
35897
  onChange: function onChange(value) {
35856
35898
  handleEdit(ites.code, value);
35857
35899
  }
35858
- })) || 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({
35900
+ })) || 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({
35859
35901
  disabled: disabled,
35860
35902
  allowClear: true,
35861
35903
  showArrow: true
@@ -35873,7 +35915,7 @@ function RenderCompItem(props) {
35873
35915
  key: it,
35874
35916
  value: it
35875
35917
  }, ites.enumeration[it]);
35876
- }))) || 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, {
35918
+ }))) || 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, {
35877
35919
  disabled: disabled,
35878
35920
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
35879
35921
  defaultValue: ites.defaultValue,
@@ -35883,7 +35925,7 @@ function RenderCompItem(props) {
35883
35925
  handleEdit(ites.code, value);
35884
35926
  },
35885
35927
  dictionaryCode: ites.dictionaryCode
35886
- })) || 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, {
35928
+ })) || 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, {
35887
35929
  selectBusinessType: "physicalWarehouse",
35888
35930
  selectProps: _objectSpread2({
35889
35931
  style: styleCommon,
@@ -35905,7 +35947,7 @@ function RenderCompItem(props) {
35905
35947
  getPopupContainer: function getPopupContainer() {
35906
35948
  return document.body;
35907
35949
  }
35908
- })) || 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, {
35950
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 120 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35909
35951
  selectBusinessType: "realWarehouse",
35910
35952
  selectProps: _objectSpread2({
35911
35953
  style: styleCommon,
@@ -35927,7 +35969,7 @@ function RenderCompItem(props) {
35927
35969
  getPopupContainer: function getPopupContainer() {
35928
35970
  return document.body;
35929
35971
  }
35930
- })) || 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, {
35972
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 130 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35931
35973
  selectBusinessType: "virtualWarehouse",
35932
35974
  selectProps: _objectSpread2({
35933
35975
  style: styleCommon,
@@ -35949,7 +35991,7 @@ function RenderCompItem(props) {
35949
35991
  getPopupContainer: function getPopupContainer() {
35950
35992
  return document.body;
35951
35993
  }
35952
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 140 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35994
+ })) || 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, {
35953
35995
  selectBusinessType: "channelWarehouse",
35954
35996
  selectProps: _objectSpread2({
35955
35997
  style: styleCommon,
@@ -35971,7 +36013,7 @@ function RenderCompItem(props) {
35971
36013
  getPopupContainer: function getPopupContainer() {
35972
36014
  return document.body;
35973
36015
  }
35974
- })) || 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, {
36016
+ })) || 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, {
35975
36017
  selectBusinessType: "spuCommodity",
35976
36018
  selectProps: _objectSpread2({
35977
36019
  style: styleCommon,
@@ -35992,7 +36034,7 @@ function RenderCompItem(props) {
35992
36034
  getPopupContainer: function getPopupContainer() {
35993
36035
  return document.body;
35994
36036
  }
35995
- })) || 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, {
36037
+ })) || 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, {
35996
36038
  selectBusinessType: "skuCommodity",
35997
36039
  selectProps: _objectSpread2({
35998
36040
  style: styleCommon,
@@ -36013,13 +36055,13 @@ function RenderCompItem(props) {
36013
36055
  getPopupContainer: function getPopupContainer() {
36014
36056
  return document.body;
36015
36057
  }
36016
- })) || 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, {
36058
+ })) || 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, {
36017
36059
  disabled: disabled,
36018
36060
  isAll: true,
36019
36061
  needNameAndCode: true,
36020
36062
  notChangeOnSelect: true,
36021
36063
  initRequestSource: function () {
36022
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36064
+ var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36023
36065
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
36024
36066
  while (1) switch (_context2.prev = _context2.next) {
36025
36067
  case 0:
@@ -36061,7 +36103,7 @@ function RenderCompItem(props) {
36061
36103
  getPopupContainer: function getPopupContainer() {
36062
36104
  return document.body;
36063
36105
  }
36064
- })) || 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, {
36106
+ })) || 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, {
36065
36107
  disabled: disabled,
36066
36108
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36067
36109
  businessType: "department",
@@ -36074,7 +36116,7 @@ function RenderCompItem(props) {
36074
36116
  getPopupContainer: function getPopupContainer() {
36075
36117
  return document.body;
36076
36118
  }
36077
- })) || 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, {
36119
+ })) || 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, {
36078
36120
  disabled: disabled,
36079
36121
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36080
36122
  businessType: "purchase-organization",
@@ -36087,7 +36129,7 @@ function RenderCompItem(props) {
36087
36129
  getPopupContainer: function getPopupContainer() {
36088
36130
  return document.body;
36089
36131
  }
36090
- })) || 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, {
36132
+ })) || 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, {
36091
36133
  disabled: disabled,
36092
36134
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36093
36135
  businessType: "sales-organization",
@@ -36100,7 +36142,7 @@ function RenderCompItem(props) {
36100
36142
  getPopupContainer: function getPopupContainer() {
36101
36143
  return document.body;
36102
36144
  }
36103
- })) || 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, {
36145
+ })) || 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, {
36104
36146
  selectBusinessType: "supplier2",
36105
36147
  selectProps: _objectSpread2({
36106
36148
  style: styleCommon,
@@ -36121,7 +36163,7 @@ function RenderCompItem(props) {
36121
36163
  getPopupContainer: function getPopupContainer() {
36122
36164
  return document.body;
36123
36165
  }
36124
- })) || 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, {
36166
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 250 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
36125
36167
  selectBusinessType: "customer2",
36126
36168
  selectProps: _objectSpread2({
36127
36169
  style: styleCommon,
@@ -36142,7 +36184,7 @@ function RenderCompItem(props) {
36142
36184
  getPopupContainer: function getPopupContainer() {
36143
36185
  return document.body;
36144
36186
  }
36145
- })) || 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, {
36187
+ })) || 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, {
36146
36188
  selectBusinessType: "shopFile2",
36147
36189
  selectProps: _objectSpread2({
36148
36190
  style: styleCommon,
@@ -36163,7 +36205,7 @@ function RenderCompItem(props) {
36163
36205
  getPopupContainer: function getPopupContainer() {
36164
36206
  return document.body;
36165
36207
  }
36166
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 270 && (/*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
36208
+ })) || 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, {
36167
36209
  selectBusinessType: "employee2",
36168
36210
  selectProps: _objectSpread2({
36169
36211
  style: styleCommon,
@@ -36184,7 +36226,7 @@ function RenderCompItem(props) {
36184
36226
  getPopupContainer: function getPopupContainer() {
36185
36227
  return document.body;
36186
36228
  }
36187
- })) || 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, {
36229
+ })) || 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, {
36188
36230
  disabled: disabled,
36189
36231
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36190
36232
  businessType: "stock-organization",
@@ -36197,7 +36239,7 @@ function RenderCompItem(props) {
36197
36239
  getPopupContainer: function getPopupContainer() {
36198
36240
  return document.body;
36199
36241
  }
36200
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
36242
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 290 && ( /*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
36201
36243
  disabled: disabled,
36202
36244
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36203
36245
  businessType: "settle-organization",
@@ -36210,7 +36252,7 @@ function RenderCompItem(props) {
36210
36252
  getPopupContainer: function getPopupContainer() {
36211
36253
  return document.body;
36212
36254
  }
36213
- })) || 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, {
36255
+ })) || 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, {
36214
36256
  selectBusinessType: "deliveryMode",
36215
36257
  selectProps: _objectSpread2({
36216
36258
  style: styleCommon,
@@ -36231,7 +36273,7 @@ function RenderCompItem(props) {
36231
36273
  getPopupContainer: function getPopupContainer() {
36232
36274
  return document.body;
36233
36275
  }
36234
- })) || 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, {
36276
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 360 && ( /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
36235
36277
  selectBusinessType: "role",
36236
36278
  selectProps: _objectSpread2({
36237
36279
  style: styleCommon,
@@ -36252,7 +36294,7 @@ function RenderCompItem(props) {
36252
36294
  getPopupContainer: function getPopupContainer() {
36253
36295
  return document.body;
36254
36296
  }
36255
- })) || 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, {
36297
+ })) || 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, {
36256
36298
  selectBusinessType: "brand",
36257
36299
  selectProps: _objectSpread2({
36258
36300
  style: styleCommon,
@@ -36273,7 +36315,7 @@ function RenderCompItem(props) {
36273
36315
  getPopupContainer: function getPopupContainer() {
36274
36316
  return document.body;
36275
36317
  }
36276
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 420 && (/*#__PURE__*/React$1.createElement(BusinessTreeSearchSelect$1, {
36318
+ })) || 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, {
36277
36319
  disabled: disabled,
36278
36320
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36279
36321
  businessType: "background-category",
@@ -36286,7 +36328,7 @@ function RenderCompItem(props) {
36286
36328
  getPopupContainer: function getPopupContainer() {
36287
36329
  return document.body;
36288
36330
  }
36289
- })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && (/*#__PURE__*/React$1.createElement(CustomSelector, {
36331
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 40 && ( /*#__PURE__*/React$1.createElement(CustomSelector, {
36290
36332
  selectProps: _objectSpread2(_objectSpread2({
36291
36333
  style: styleCommon,
36292
36334
  placeholder: '请选择'
@@ -36309,7 +36351,7 @@ function RenderCompItem(props) {
36309
36351
  onChange: function onChange(value) {
36310
36352
  handleEdit(ites.code, value);
36311
36353
  }
36312
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
36354
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
36313
36355
  style: {
36314
36356
  display: 'flex'
36315
36357
  }
@@ -36821,7 +36863,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36821
36863
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
36822
36864
  queryIdentifyType = 'dynamicDictCodeIdentify';
36823
36865
  }
36824
- var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
36866
+ var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
36825
36867
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
36826
36868
  var _i$key;
36827
36869
  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);
@@ -37748,13 +37790,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
37748
37790
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
37749
37791
  // 处理对象-设置了必填-规则实例保存时数据必填校验
37750
37792
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
37751
- var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37793
+ var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37752
37794
  var requiredList = list.filter(function (c) {
37753
37795
  return c.required == 1;
37754
37796
  }) || []; // 获取对象属性为true的集合
37755
37797
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
37756
37798
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
37757
- 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];
37799
+ 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];
37758
37800
  (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) {
37759
37801
  if (requiredList.some(function (r) {
37760
37802
  return r.id === e.elementId;
@@ -38343,7 +38385,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38343
38385
  style: {
38344
38386
  float: 'right'
38345
38387
  }
38346
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38388
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38347
38389
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38348
38390
  ruleGroupInfo: {
38349
38391
  ruleGroupList: ruleGroupList,
@@ -38361,7 +38403,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38361
38403
  callBack: function callBack(newData) {
38362
38404
  upDateData(newData);
38363
38405
  }
38364
- }))) : (/*#__PURE__*/React$1.createElement("div", {
38406
+ }))) : ( /*#__PURE__*/React$1.createElement("div", {
38365
38407
  style: {
38366
38408
  padding: 20
38367
38409
  }
@@ -38736,4 +38778,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
38736
38778
  }, children));
38737
38779
  };
38738
38780
 
38739
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
38781
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, PropertySelector, QueryMutipleInput, QueryMutipleSearchSelect, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };