@bit-sun/business-component 4.0.13-alpha.3 → 4.0.13-alpha.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/.umirc.ts +20 -9
  2. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -1
  3. package/dist/components/Business/DetailPageWrapper/index.d.ts +6 -0
  4. package/dist/components/Business/ItemPropertySelector/index.d.ts +3 -0
  5. package/dist/components/Functional/SearchSelect/utils.d.ts +4 -1
  6. package/dist/index.esm.js +1070 -626
  7. package/dist/index.js +1070 -626
  8. package/package.json +3 -2
  9. package/src/assets/btn-cancel.svg +3 -0
  10. package/src/assets/btn-copy.svg +3 -0
  11. package/src/assets/btn-delete.svg +2 -29
  12. package/src/assets/btn-edit.svg +2 -19
  13. package/src/assets/btn-hangUp.svg +3 -0
  14. package/src/assets/btn-print.svg +3 -0
  15. package/src/assets/btn-refresh.svg +3 -0
  16. package/src/assets/btn-unhook.svg +3 -0
  17. package/src/components/Business/BsSulaQueryTable/index.tsx +10 -10
  18. package/src/components/Business/BsSulaQueryTable/setting.tsx +3 -3
  19. package/src/components/Business/BsSulaQueryTable/utils.tsx +2 -1
  20. package/src/components/Business/CommodityEntry/index.tsx +11 -9
  21. package/src/components/Business/DetailPageWrapper/index.less +1 -1
  22. package/src/components/Business/DetailPageWrapper/index.tsx +24 -5
  23. package/src/components/Business/DetailPageWrapper/utils.tsx +7 -2
  24. package/src/components/Business/HomePageWrapper/index.less +1 -1
  25. package/src/components/Business/ItemPropertySelector/index.tsx +88 -0
  26. package/src/components/Business/SearchSelect/BusinessUtils.tsx +210 -12
  27. package/src/components/Business/SearchSelect/index.md +4 -4
  28. package/src/components/Business/SearchSelect/utils.ts +1 -1
  29. package/src/components/Functional/AddSelect/index.tsx +3 -3
  30. package/src/components/Functional/DataValidation/index.md +1 -0
  31. package/src/components/Functional/DataValidation/index.tsx +11 -4
  32. package/src/components/Functional/QueryMutipleSelect/index.md +2 -3
  33. package/src/components/Functional/QueryMutipleSelect/index.tsx +2 -1
  34. package/src/components/Functional/SearchSelect/index.less +16 -6
  35. package/src/components/Functional/SearchSelect/index.tsx +65 -50
  36. package/src/components/Functional/SearchSelect/utils.tsx +46 -6
  37. package/src/components/Solution/RuleComponent/index.js +59 -1
package/dist/index.esm.js CHANGED
@@ -1,12 +1,13 @@
1
1
  import axios from 'axios';
2
2
  import request$1 from 'umi-request';
3
3
  import cookie from 'js-cookie';
4
- import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Tag, Select, Spin, Form, Table, Row, Col, Tabs, TreeSelect, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, DatePicker, TimePicker, Divider, Switch, Collapse } from 'antd';
4
+ import { message as message$1, Tooltip, Image, Popover, Card, Avatar, Badge, Menu, Input, InputNumber, Space, Button, Dropdown, Upload, Checkbox, Modal, ConfigProvider, Tag, Select, Spin, Form, Table, Empty, Row, Col, Tabs, TreeSelect, DatePicker, Typography, Alert, Breadcrumb, Drawer as Drawer$1, List, Radio, Tree, Result, Affix, Cascader, TimePicker, Divider, Switch, Collapse } from 'antd';
5
5
  import _, { omit, uniqBy, escapeRegExp, isNil, debounce, cloneDeep as cloneDeep$1, throttle, isEmpty } from 'lodash';
6
6
  import memoizeOne from 'memoize-one';
7
7
  import { formatMessage, history, useLocation, Link, useModel, setLocale, useIntl, request as request$3 } from 'umi';
8
8
  import isEqual from 'lodash/isEqual';
9
9
  import React$1, { useState, useEffect, useRef, forwardRef, useImperativeHandle, useMemo, Component, Fragment, useLayoutEffect, createRef } from 'react';
10
+ import { renderToString as renderToString$1 } from 'react-dom/server';
10
11
  import moment$1 from 'moment';
11
12
  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
13
  import { request as request$2, Table as Table$1, QueryTable, Form as Form$1 } from 'bssula';
@@ -31,9 +32,88 @@ import { parse as parse$1 } from '@babel/parser';
31
32
  import { visit } from 'ast-types';
32
33
  import isArray$1 from 'lodash/isArray';
33
34
 
35
+ function _arrayLikeToArray(r, a) {
36
+ (null == a || a > r.length) && (a = r.length);
37
+ for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
38
+ return n;
39
+ }
40
+ function _arrayWithHoles(r) {
41
+ if (Array.isArray(r)) return r;
42
+ }
43
+ function _arrayWithoutHoles(r) {
44
+ if (Array.isArray(r)) return _arrayLikeToArray(r);
45
+ }
46
+ function _assertThisInitialized(e) {
47
+ if (void 0 === e) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
48
+ return e;
49
+ }
50
+ function asyncGeneratorStep(n, t, e, r, o, a, c) {
51
+ try {
52
+ var i = n[a](c),
53
+ u = i.value;
54
+ } catch (n) {
55
+ return void e(n);
56
+ }
57
+ i.done ? t(u) : Promise.resolve(u).then(r, o);
58
+ }
59
+ function _asyncToGenerator(n) {
60
+ return function () {
61
+ var t = this,
62
+ e = arguments;
63
+ return new Promise(function (r, o) {
64
+ var a = n.apply(t, e);
65
+ function _next(n) {
66
+ asyncGeneratorStep(a, r, o, _next, _throw, "next", n);
67
+ }
68
+ function _throw(n) {
69
+ asyncGeneratorStep(a, r, o, _next, _throw, "throw", n);
70
+ }
71
+ _next(void 0);
72
+ });
73
+ };
74
+ }
34
75
  function _callSuper(t, o, e) {
35
76
  return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e));
36
77
  }
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
+ }
37
117
  function _isNativeReflectConstruct() {
38
118
  try {
39
119
  var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
@@ -42,6 +122,9 @@ function _isNativeReflectConstruct() {
42
122
  return !!t;
43
123
  })();
44
124
  }
125
+ function _iterableToArray(r) {
126
+ if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
127
+ }
45
128
  function _iterableToArrayLimit(r, l) {
46
129
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
47
130
  if (null != t) {
@@ -69,6 +152,15 @@ function _iterableToArrayLimit(r, l) {
69
152
  return a;
70
153
  }
71
154
  }
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
+ }
72
164
  function ownKeys(e, r) {
73
165
  var t = Object.keys(e);
74
166
  if (Object.getOwnPropertySymbols) {
@@ -90,6 +182,31 @@ function _objectSpread2(e) {
90
182
  }
91
183
  return e;
92
184
  }
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 n = Object.getOwnPropertySymbols(e);
192
+ for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(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 (-1 !== e.indexOf(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
+ }
93
210
  function _regeneratorRuntime() {
94
211
  _regeneratorRuntime = function () {
95
212
  return e;
@@ -391,6 +508,20 @@ function _regeneratorRuntime() {
391
508
  }
392
509
  }, e;
393
510
  }
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
+ }
394
525
  function _toPrimitive(t, r) {
395
526
  if ("object" != typeof t || !t) return t;
396
527
  var e = t[Symbol.toPrimitive];
@@ -414,180 +545,12 @@ function _typeof(o) {
414
545
  return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
415
546
  }, _typeof(o);
416
547
  }
417
- function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
418
- try {
419
- var info = gen[key](arg);
420
- var value = info.value;
421
- } catch (error) {
422
- reject(error);
423
- return;
424
- }
425
- if (info.done) {
426
- resolve(value);
427
- } else {
428
- Promise.resolve(value).then(_next, _throw);
429
- }
430
- }
431
- function _asyncToGenerator(fn) {
432
- return function () {
433
- var self = this,
434
- args = arguments;
435
- return new Promise(function (resolve, reject) {
436
- var gen = fn.apply(self, args);
437
- function _next(value) {
438
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
439
- }
440
- function _throw(err) {
441
- asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
442
- }
443
- _next(undefined);
444
- });
445
- };
446
- }
447
- function _classCallCheck(instance, Constructor) {
448
- if (!(instance instanceof Constructor)) {
449
- throw new TypeError("Cannot call a class as a function");
450
- }
451
- }
452
- function _defineProperties(target, props) {
453
- for (var i = 0; i < props.length; i++) {
454
- var descriptor = props[i];
455
- descriptor.enumerable = descriptor.enumerable || false;
456
- descriptor.configurable = true;
457
- if ("value" in descriptor) descriptor.writable = true;
458
- Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
459
- }
460
- }
461
- function _createClass(Constructor, protoProps, staticProps) {
462
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
463
- if (staticProps) _defineProperties(Constructor, staticProps);
464
- Object.defineProperty(Constructor, "prototype", {
465
- writable: false
466
- });
467
- return Constructor;
468
- }
469
- function _defineProperty(obj, key, value) {
470
- key = _toPropertyKey(key);
471
- if (key in obj) {
472
- Object.defineProperty(obj, key, {
473
- value: value,
474
- enumerable: true,
475
- configurable: true,
476
- writable: true
477
- });
478
- } else {
479
- obj[key] = value;
480
- }
481
- return obj;
482
- }
483
- function _inherits(subClass, superClass) {
484
- if (typeof superClass !== "function" && superClass !== null) {
485
- throw new TypeError("Super expression must either be null or a function");
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
- }
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;
523
553
  }
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
554
  }
592
555
 
593
556
  var ENUM = {
@@ -1097,13 +1060,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1097
1060
  imgHtml.innerHTML = str;
1098
1061
  }
1099
1062
  // 测试使用 测试类型缩小 end
1100
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1063
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1101
1064
  className: "clomnsImg"
1102
1065
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1103
1066
  src: url,
1104
1067
  width: "16px",
1105
1068
  height: "16px"
1106
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1069
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1107
1070
  className: "clomnsImg2"
1108
1071
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1109
1072
  src: noImg
@@ -1225,7 +1188,8 @@ var authFn = function authFn(code) {
1225
1188
  };
1226
1189
  // 可以将普通字符串 或者tsx 转换成字符串
1227
1190
  var renderToString = function renderToString(render) {
1228
- return render;
1191
+ // return render;
1192
+ return typeof render === 'string' ? render : renderToString$1(render);
1229
1193
  };
1230
1194
 
1231
1195
  function downloadExcel(data, fileName, isResUrl) {
@@ -1239,7 +1203,7 @@ function downloadExcel(data, fileName, isResUrl) {
1239
1203
  }
1240
1204
  save_link.click();
1241
1205
  }
1242
- var formatter = function formatter(data, parentAuthority, parentName) {
1206
+ var _formatter = function formatter(data, parentAuthority, parentName) {
1243
1207
  return data.map(function (item) {
1244
1208
  if (!item.name || !item.path) {
1245
1209
  return null;
@@ -1259,7 +1223,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1259
1223
  authority: item.authority || parentAuthority
1260
1224
  });
1261
1225
  if (item.routes) {
1262
- var children = formatter(item.routes, item.authority, locale);
1226
+ var children = _formatter(item.routes, item.authority, locale);
1263
1227
  // Reduce memory usage
1264
1228
  result.children = children;
1265
1229
  }
@@ -1269,7 +1233,7 @@ var formatter = function formatter(data, parentAuthority, parentName) {
1269
1233
  return item;
1270
1234
  });
1271
1235
  };
1272
- var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1236
+ var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1273
1237
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1274
1238
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1275
1239
  if (backHistoryPath) {
@@ -1578,7 +1542,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1578
1542
  // sheepMap是表头字段中英文映射
1579
1543
  // sheetCount:表的数量,默认一张
1580
1544
  var resolveFile = /*#__PURE__*/function () {
1581
- var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1545
+ var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1582
1546
  var config,
1583
1547
  data,
1584
1548
  _args = arguments;
@@ -1617,7 +1581,7 @@ var resolveFile = /*#__PURE__*/function () {
1617
1581
  }();
1618
1582
  //读取文件
1619
1583
  var readerXlsxToList = /*#__PURE__*/function () {
1620
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1584
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1621
1585
  var _ref5, callback, sheetMap, nowFile, data2, data;
1622
1586
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1623
1587
  while (1) switch (_context2.prev = _context2.next) {
@@ -1710,14 +1674,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1710
1674
  /**---------------------数据写入excel-------结束------------------------*/
1711
1675
 
1712
1676
  // 获取树平行结构
1713
- var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1677
+ var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1714
1678
  var childrenKey = chilKey || 'children';
1715
1679
  treeData.forEach(function (el) {
1716
1680
  var _el$childrenKey;
1717
1681
  result.push(el);
1718
1682
  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) {
1719
1683
  // 子级递归
1720
- coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1684
+ _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1721
1685
  }
1722
1686
  });
1723
1687
  return result;
@@ -1994,13 +1958,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1994
1958
  imgHtml.innerHTML = str;
1995
1959
  }
1996
1960
  // 测试使用 测试类型缩小 end
1997
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1961
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1998
1962
  className: "clomnsImg"
1999
1963
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
2000
1964
  src: url,
2001
1965
  width: "16px",
2002
1966
  height: "16px"
2003
- }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1967
+ }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
2004
1968
  src: noImg
2005
1969
  }))));
2006
1970
  };
@@ -2062,7 +2026,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2062
2026
  }
2063
2027
  });
2064
2028
  };
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
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2066
2030
  disabled: disabled,
2067
2031
  onChange: function onChange(e) {
2068
2032
  var v = e.target.value;
@@ -2072,7 +2036,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2072
2036
  width: 170
2073
2037
  },
2074
2038
  value: inputValue
2075
- }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2039
+ }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2076
2040
  disabled: disabled,
2077
2041
  onBlur: function onBlur(e) {
2078
2042
  var v = parseFloat(e.target.value);
@@ -2451,16 +2415,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2451
2415
  var handleExportBarCode = handleExport;
2452
2416
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2453
2417
  var routerMap = {};
2454
- var flattenMenuData = function flattenMenuData(data) {
2418
+ var _flattenMenuData = function flattenMenuData(data) {
2455
2419
  data.forEach(function (menuItem) {
2456
2420
  if (menuItem.children) {
2457
- flattenMenuData(menuItem.children);
2421
+ _flattenMenuData(menuItem.children);
2458
2422
  }
2459
2423
  // Reduce memory usage
2460
2424
  routerMap[menuItem.path] = menuItem;
2461
2425
  });
2462
2426
  };
2463
- flattenMenuData(menuData);
2427
+ _flattenMenuData(menuData);
2464
2428
  return routerMap;
2465
2429
  };
2466
2430
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2603,7 +2567,7 @@ var requestUtil = function requestUtil(_ref) {
2603
2567
  return request$1(url, parms).then(handleResponseData);
2604
2568
  };
2605
2569
  var handleResponseData = /*#__PURE__*/function () {
2606
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2570
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2607
2571
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2608
2572
  while (1) switch (_context.prev = _context.next) {
2609
2573
  case 0:
@@ -3213,7 +3177,8 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3213
3177
  title = _this$props3.title,
3214
3178
  notValid = _this$props3.notValid,
3215
3179
  notExcelImport = _this$props3.notExcelImport,
3216
- excelImportConfig = _this$props3.excelImportConfig;
3180
+ excelImportConfig = _this$props3.excelImportConfig,
3181
+ getTemplate = _this$props3.getTemplate;
3217
3182
  var _ref5 = excelImportConfig || {},
3218
3183
  size = _ref5.size,
3219
3184
  accept = _ref5.accept,
@@ -3281,7 +3246,9 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3281
3246
  style: {
3282
3247
  color: 'red'
3283
3248
  }
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, {
3249
+ }, "\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(React$1.Fragment, null, getTemplate && (/*#__PURE__*/React$1.createElement(Button, {
3250
+ onClick: getTemplate
3251
+ }, "\u4E0B\u8F7D\u6A21\u677F")), /*#__PURE__*/React$1.createElement(Upload, _objectSpread2({}, uploadProps), /*#__PURE__*/React$1.createElement(Button, null, "\u5BFC\u5165")))), /*#__PURE__*/React$1.createElement(Dropdown, {
3285
3252
  trigger: ['click'],
3286
3253
  overlay: this.menuList,
3287
3254
  placement: "bottomRight"
@@ -3956,7 +3923,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3956
3923
  placement: "bottomLeft"
3957
3924
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3958
3925
  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"))
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, {
3926
+ }, /*#__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, {
3960
3927
  trigger: ['click'],
3961
3928
  overlay: this.menuList,
3962
3929
  placement: "bottomRight"
@@ -4128,14 +4095,16 @@ var makeUniqueValue = function makeUniqueValue() {
4128
4095
  return generateUnitKey;
4129
4096
  };
4130
4097
  // ------------------------------------------处理样式相关--开始----------------------------------------
4131
- var getFormRowInfo = function getFormRowInfo(list) {
4132
- var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
4133
- var lastRowColumns = (list.length + 1) % columnsPerRow; // 计算最后一行的实际列数
4134
- var emptySlots = lastRowColumns === 0 ? 0 : columnsPerRow - lastRowColumns; // 计算最后一行的空位数
4098
+ var getFormRowInfo = function getFormRowInfo(list, tableSearchColSpan) {
4099
+ var lastColumnsPerRow = tableSearchColSpan == 6 ? columnsPerRow : 3;
4100
+ var totalRows = Math.ceil(list.length / lastColumnsPerRow); // 计算总行数
4101
+ var lastRowColumns = (list.length + 1) % lastColumnsPerRow; // 计算最后一行的实际列数
4102
+ var emptySlots = lastRowColumns === 0 ? 0 : lastColumnsPerRow - lastRowColumns; // 计算最后一行的空位数
4135
4103
  var emptyArray = new Array(emptySlots).fill(null); // 生成长度为 emptySlots 的数组
4136
4104
  return {
4137
4105
  totalRows: totalRows,
4138
- emptyArray: emptyArray
4106
+ emptyArray: emptyArray,
4107
+ ColSpan: tableSearchColSpan !== null && tableSearchColSpan !== void 0 ? tableSearchColSpan : ColSpan
4139
4108
  };
4140
4109
  };
4141
4110
  var defaultVisibleFieldsCount = 7;
@@ -4475,7 +4444,7 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4475
4444
  destroyTooltipOnHide: true,
4476
4445
  placement: "topRight",
4477
4446
  autoAdjustOverflow: false,
4478
- title: ( /*#__PURE__*/React$1.createElement("div", {
4447
+ title: (/*#__PURE__*/React$1.createElement("div", {
4479
4448
  style: {
4480
4449
  margin: '6px 8px 0px'
4481
4450
  },
@@ -4501,7 +4470,77 @@ var maxTagPlaceholder = function maxTagPlaceholder(selectedValues, _ref3) {
4501
4470
  })))
4502
4471
  }, "+ ".concat(selectedValues === null || selectedValues === void 0 ? void 0 : selectedValues.length));
4503
4472
  };
4473
+ // 弹窗数据表头处理
4474
+ var handleTableColumns = function handleTableColumns(tableColumns) {
4475
+ // 按照默认设置排序 > 没有排序字段的展示所有列表头 > 没有表头列不展示
4476
+ var showTableColumns = (tableColumns === null || tableColumns === void 0 ? void 0 : tableColumns.filter(function (s) {
4477
+ return typeof s.defaultSort == 'number';
4478
+ })) || tableColumns || [];
4479
+ return (showTableColumns === null || showTableColumns === void 0 ? void 0 : showTableColumns.sort(function (a, b) {
4480
+ return a.defaultSort - b.defaultSort;
4481
+ })) || [];
4482
+ };
4504
4483
  // ------------------------------------------ 数据源展示 相关处理--结束----------------------------------------
4484
+ // ------------------------------------------ 选中数据展示 相关处理--开始----------------------------------------
4485
+ var getShowLabelTextStr = function getShowLabelTextStr(_ref4) {
4486
+ var kongValue = _ref4.kongValue,
4487
+ selectMode = _ref4.selectMode,
4488
+ value = _ref4.value,
4489
+ items = _ref4.items;
4490
+ if (selectMode) {
4491
+ var _value$map;
4492
+ return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
4493
+ return item.label || item.text || '';
4494
+ })) === null || _value$map === void 0 ? void 0 : _value$map.join(',')) || kongValue;
4495
+ }
4496
+ return (value === null || value === void 0 ? void 0 : value.label) || (value === null || value === void 0 ? void 0 : value.text) || kongValue;
4497
+ };
4498
+ var getSelectValueText = function getSelectValueText(v, items) {
4499
+ var _filter, _filter$;
4500
+ return ((_filter = (items || []).filter(function (item) {
4501
+ return item.value === v;
4502
+ })) === null || _filter === void 0 ? void 0 : (_filter$ = _filter[0]) === null || _filter$ === void 0 ? void 0 : _filter$.text) || v || '';
4503
+ };
4504
+ var getShowValueStr = function getShowValueStr(_ref5) {
4505
+ var kongValue = _ref5.kongValue,
4506
+ selectMode = _ref5.selectMode,
4507
+ value = _ref5.value,
4508
+ items = _ref5.items;
4509
+ if (selectMode) {
4510
+ var _value$map2;
4511
+ return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
4512
+ return getSelectValueText(item, items);
4513
+ })) === null || _value$map2 === void 0 ? void 0 : _value$map2.join(',')) || kongValue;
4514
+ }
4515
+ return getSelectValueText(value, items) || kongValue;
4516
+ };
4517
+ var getShowStr = function getShowStr(_ref6) {
4518
+ var viewShowValueStr = _ref6.viewShowValueStr,
4519
+ labelInValue = _ref6.labelInValue,
4520
+ selectMode = _ref6.selectMode,
4521
+ value = _ref6.value,
4522
+ items = _ref6.items;
4523
+ // 优先使用业务使用传入的展示
4524
+ if (viewShowValueStr) return viewShowValueStr;
4525
+ var kongValue = '无';
4526
+ // 先判断labelInValue与否,labelInValue可以直接去value中获取字段名称,否则去下拉框数据里面去拿;
4527
+ // 再判断是单选还是多选,数据类型不同取值方式也不同
4528
+ if (labelInValue) {
4529
+ return getShowLabelTextStr({
4530
+ kongValue: kongValue,
4531
+ selectMode: selectMode,
4532
+ value: value,
4533
+ items: items
4534
+ });
4535
+ }
4536
+ return getShowValueStr({
4537
+ kongValue: kongValue,
4538
+ selectMode: selectMode,
4539
+ value: value,
4540
+ items: items
4541
+ });
4542
+ };
4543
+ // ------------------------------------------ 选中数据展示 相关处理--结束---------------------------------------
4505
4544
 
4506
4545
  var getValue = function getValue(value, selectMode) {
4507
4546
  var _value$split;
@@ -4617,6 +4656,7 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4617
4656
  var callback = arguments.length > 1 ? arguments[1] : undefined;
4618
4657
  if (!requestConfig) return;
4619
4658
  if (!url) return;
4659
+ if (!(searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) return; // 空值默认不查询
4620
4660
  setFetching(true);
4621
4661
  var queryParams = _objectSpread2(_objectSpread2({}, otherParams), params);
4622
4662
  if (isNil(queryParams[selectParamsKey])) {
@@ -4706,14 +4746,14 @@ var QueryMutipleSearchSelect = function QueryMutipleSearchSelect(_ref) {
4706
4746
  setIsMaxTagsOpen: function setIsMaxTagsOpen() {}
4707
4747
  });
4708
4748
  },
4709
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
4749
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
4710
4750
  size: "small",
4711
4751
  className: 'searchSelectSpin'
4712
- })) : ( /*#__PURE__*/React$1.createElement("div", {
4752
+ })) : (/*#__PURE__*/React$1.createElement("div", {
4713
4753
  style: {
4714
4754
  textAlign: 'center'
4715
4755
  }
4716
- }, /*#__PURE__*/React$1.createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165\u5185\u5BB9\u6A21\u7CCA\u67E5\u8BE2"))),
4756
+ }, /*#__PURE__*/React$1.createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : (selectProps === null || selectProps === void 0 ? void 0 : selectProps.notFoundText) || "\u8BF7\u5F55\u5165\u7F16\u7801/\u540D\u79F0\u6A21\u7CCA\u67E5\u8BE2"))),
4717
4757
  getPopupContainer: function getPopupContainer(triggerNode) {
4718
4758
  return triggerNode.parentElement;
4719
4759
  }
@@ -4777,7 +4817,7 @@ function ToCDB$1(selectStr) {
4777
4817
  return tmp;
4778
4818
  }
4779
4819
 
4780
- var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table-cell .ant-table-selection-column .ant-radio,\n.search_select_dropdown_table table tr td.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
4820
+ var css_248z$6 = ".search_select .ant-select-selector {\n height: 24px;\n overflow: hidden;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow {\n height: 40px;\n flex-wrap: nowrap;\n overflow-x: auto;\n}\n.search_select .ant-select-selector .ant-select-selection-overflow-item {\n align-self: auto;\n}\n.search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-dropdown {\n top: 24px !important;\n width: calc(141%) !important;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\n}\n.search_select_show .ant-select-multiple.ant-select-show-arrow .ant-select-selector,\n.search_select_show .ant-select-multiple.ant-select-allow-clear .ant-select-selector {\n padding-right: 28px;\n}\n.search_select_show.search_select_show_list .ant-select-dropdown {\n top: 24px !important;\n width: calc(100% + 110px) !important;\n}\n.search_select_expand_button {\n position: relative;\n right: -11px;\n width: 30px;\n border-left: 1px solid #d9d9d9;\n height: 24px;\n cursor: pointer;\n font-size: 14px;\n font-weight: bolder;\n}\n.search_select_expand_button span {\n position: absolute;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.search_select_expand_button:hover {\n background-color: #005cff;\n color: #fff;\n border-top-right-radius: 2px;\n border-bottom-right-radius: 2px;\n}\n.search_select_expand_button_disabled:hover {\n background-color: transparent;\n color: rgba(0, 0, 0, 0.25);\n cursor: not-allowed;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table {\n font-family: MiSans-Regular;\n font-weight: 400;\n font-size: 12px;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_dropdown_table .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table tbody > tr > td {\n color: #333333;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column {\n visibility: hidden;\n padding: 0;\n margin: 0;\n width: 0;\n height: 0;\n min-width: 0;\n min-height: 0;\n border: none;\n}\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-body > table > tbody > tr > td.ant-table-selection-column .ant-radio-wrapper,\n.search_select_dropdown_table1 .ant-table.ant-table-bordered > .ant-table-container .ant-table-header > table > thead > tr > th.ant-table-selection-column .ant-radio-wrapper {\n display: none;\n}\n.search_select_modal_wrapper .ant-modal {\n top: 60px;\n}\n.search_select_modal_wrapper .ant-modal-header {\n padding: 6px 0px 6px 16px;\n}\n.search_select_modal_wrapper .ant-modal-header .ant-modal-title {\n height: 20px;\n color: #000000;\n line-height: 20px;\n}\n.search_select_modal_wrapper .ant-modal-close-x {\n width: 32px;\n height: 32px;\n line-height: 32px;\n}\n.search_select_modal_wrapper .ant-modal-body {\n padding: 0px;\n background: #F3F3F3;\n height: calc(100vh - 235px);\n overflow: hidden;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn.ant-btn-default {\n color: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary,\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n background: #005cff;\n border-color: #005cff;\n}\n.search_select_modal_wrapper .ant-modal-footer .ant-btn-primary[disabled] {\n opacity: 0.5;\n color: #fff;\n}\n.search_select_wrapper {\n position: relative;\n font-size: 14px;\n}\n.search_select_wrapper_topForm .select_list_columns {\n width: 100%;\n padding: 10px 6px 2px 16px;\n background-color: #fff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form {\n padding: 0;\n display: flex;\n align-items: flex-start;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item,\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-col .ant-space {\n font-size: 12px !important;\n margin-right: 0px !important;\n margin-bottom: 8px !important;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row.ant-form-item-row {\n background-color: #fafafa;\n border: 0.8px solid #D9D9D9;\n border-radius: 2px;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row {\n width: 100%;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label {\n width: 110px;\n order: 1;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-label label {\n width: 100%;\n text-align: left;\n padding: 0 10px;\n color: #333333;\n font-size: 12px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control {\n order: 2;\n width: 100px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper {\n border: 0;\n font-size: 12px;\n background-color: #fafafa;\n padding: 0 11px;\n height: 24px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-input-affix-wrapper .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .ant-select-selector {\n border: 0 !important;\n background-color: #fafafa !important;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-row .ant-form-item-control .query_input .ant-input {\n background-color: #fafafa !important;\n border: 0;\n font-size: 12px;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form .ant-btn-primary {\n background: #005cff;\n}\n.search_select_wrapper_topForm .select_list_columns .ant-form > .ant-row > .ant-col {\n order: 2;\n padding-right: 10px;\n}\n.search_select_wrapper_topForm .select_list_button_space {\n margin-right: 10px;\n}\n.search_select_wrapper_bottomTable {\n margin: 10px;\n display: flex;\n justify-content: space-between;\n}\n.search_select_wrapper_bottomTable_wrapLeft1,\n.search_select_wrapper_bottomTable_wrapLeft2,\n.search_select_wrapper_bottomTable_wrapRight {\n background: #fff;\n width: calc(50% - 5px);\n}\n.search_select_wrapper_bottomTable_wrapLeft1 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapLeft2 .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper,\n.search_select_wrapper_bottomTable_wrapRight .ant-table.ant-table-bordered > .ant-table-container > .ant-table-header > table .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable_wrapLeft1 {\n width: 100%;\n}\n.search_select_wrapper_bottomTable_wrapRight {\n margin-left: 10px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav {\n margin: 0;\n padding: 6px 18.5px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-nav-wrap {\n height: 28px;\n font-size: 14px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-tab {\n padding: 4px 0;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-ink-bar {\n left: 3px !important;\n width: 40px !important;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-nav .ant-tabs-extra-content > span {\n color: #005cff;\n cursor: pointer;\n}\n.search_select_wrapper_bottomTable .ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder {\n padding: 10px 10px 7px;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead > tr > th {\n color: #7F7F7F;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table-thead .ant-table-selection .ant-checkbox-wrapper {\n justify-content: center;\n}\n.search_select_wrapper_bottomTable .ant-tabs-content-holder .ant-tabs-content .ant-table-wrapper .ant-table .ant-table-container .ant-table-content .ant-table.ant-table-small .ant-table-tbody > tr > td {\n color: #333333;\n}\n.search_select_wrapper_bottomTable .ant-checkbox-checked .ant-checkbox-inner {\n color: #005cff;\n background: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active a {\n color: #005cff;\n}\n.search_select_wrapper_bottomTable .ant-pagination-item-active {\n border-color: #005cff;\n}\n.searchSelectSpin > div {\n height: 300px !important;\n}\n.searchSelectMaxTagToolTip .ant-tooltip-inner {\n max-height: 72px;\n overflow-x: auto;\n padding: 0px;\n}\n";
4781
4821
  styleInject(css_248z$6);
4782
4822
 
4783
4823
  var zhankaitiaojian = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2224px%22%20height%3D%2224px%22%20viewBox%3D%220%200%2024%2024%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Ezhankaitiaojian-icon%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2224%22%20height%3D%2224%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B5%E9%9D%A2-1%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22icon%22%20transform%3D%22translate%28-702.000000%2C%20-498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22zhankaitiaojian-icon%22%20transform%3D%22translate%28702.000000%2C%20498.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M12.0142082%2C6%20L18%2C11.9972435%20L12.0142082%2C18%20L11.04209%2C17.0260337%20L16.0562218%2C11.9972435%20L11.04209%2C6.97396631%20L12.0142082%2C6%20Z%20M6.97257658%2C6%20L12.9583683%2C11.9972435%20L6.97257658%2C18%20L6.00091666%2C17.0260337%20L11.0150485%2C11.9972435%20L6%2C6.97396631%20L6.97257658%2C6%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20mask%3D%22url%28%23mask-2%29%22%20transform%3D%22translate%2812.000000%2C%2012.000000%29%20rotate%28-270.000000%29%20translate%28-12.000000%2C%20-12.000000%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
@@ -4941,7 +4981,7 @@ var PropertyGroup = function PropertyGroup(props) {
4941
4981
  title: item.name,
4942
4982
  className: "propertyGroup_checkbox_container"
4943
4983
  }, item.name));
4944
- }), !!notCommonUseProperty.length && ( /*#__PURE__*/React$1.createElement("div", {
4984
+ }), !!notCommonUseProperty.length && (/*#__PURE__*/React$1.createElement("div", {
4945
4985
  style: {
4946
4986
  width: '50px',
4947
4987
  cursor: 'pointer',
@@ -4954,7 +4994,7 @@ var PropertyGroup = function PropertyGroup(props) {
4954
4994
  setShowNotCommon(!showNotCommon);
4955
4995
  handleIndeterminate(commonUseProperty, notCommonUseProperty);
4956
4996
  }
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"))))));
4997
+ }, 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"))))));
4958
4998
  };
4959
4999
  var PropertyGroup$1 = /*#__PURE__*/React$1.memo(PropertyGroup, function (props, nextProps) {
4960
5000
  if (props.modalVisilbe !== nextProps.modalVisilbe) return false;
@@ -5184,7 +5224,7 @@ var PropertySelector = function PropertySelector(_ref) {
5184
5224
  propertyData: item,
5185
5225
  handleProperyItemChange: handleProperyItemChange
5186
5226
  });
5187
- }))), !!notCommonProperty.length && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5227
+ }))), !!notCommonProperty.length && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5188
5228
  style: {
5189
5229
  width: '50px',
5190
5230
  cursor: 'pointer',
@@ -5194,12 +5234,59 @@ var PropertySelector = function PropertySelector(_ref) {
5194
5234
  onClick: function onClick() {
5195
5235
  return setShowNotCommon(!showNotCommon);
5196
5236
  }
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"))))))));
5237
+ }, 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"))))))));
5238
+ };
5239
+
5240
+ var _excluded$4 = ["onChange", "value", "propertyCode", "name"];
5241
+ var ItemPropertySelector = function ItemPropertySelector(_ref) {
5242
+ var _onChange = _ref.onChange,
5243
+ value = _ref.value,
5244
+ propertyCode = _ref.propertyCode,
5245
+ name = _ref.name,
5246
+ restProps = _objectWithoutProperties(_ref, _excluded$4);
5247
+ var _useState = useState([]),
5248
+ _useState2 = _slicedToArray(_useState, 2),
5249
+ source = _useState2[0],
5250
+ setSource = _useState2[1];
5251
+ useEffect(function () {
5252
+ // FIXME: 目前只能通过固定属性编码先获取属性id,再通过属性id去查属性值 @林军
5253
+ if (propertyCode) {
5254
+ request$2({
5255
+ url: "/items/item/propertyValue/getPropertyValueNoPagerByCode?qp-propertyCode-eq=".concat(propertyCode, "&pageSize=5000"),
5256
+ method: 'GET',
5257
+ converter: function converter(_ref2) {
5258
+ var data = _ref2.data;
5259
+ var source = ((data === null || data === void 0 ? void 0 : data.items) || []).map(function (item) {
5260
+ return {
5261
+ text: item.value,
5262
+ value: item.value
5263
+ };
5264
+ });
5265
+ setSource(source);
5266
+ }
5267
+ });
5268
+ return;
5269
+ }
5270
+ }, [propertyCode]);
5271
+ return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, restProps), {}, {
5272
+ value: value,
5273
+ allowClear: true,
5274
+ style: {
5275
+ width: '100%'
5276
+ },
5277
+ onChange: function onChange(v) {
5278
+ _onChange(v);
5279
+ }
5280
+ }), source.map(function (res) {
5281
+ return /*#__PURE__*/React$1.createElement(Select.Option, {
5282
+ value: res.value
5283
+ }, res.text);
5284
+ }));
5198
5285
  };
5199
5286
 
5200
5287
  var Option$1 = Select.Option;
5201
5288
  var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5202
- var _pathname$match, _modalTableProps$tabl, _modalTableProps$tabl2;
5289
+ var _pathname$match;
5203
5290
  var value = props.value,
5204
5291
  onChangeTemp = props.onChange,
5205
5292
  _props$selectProps = props.selectProps,
@@ -5208,7 +5295,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5208
5295
  modalTableProps = _props$modalTableProp === void 0 ? {} : _props$modalTableProp,
5209
5296
  _props$labelInValue = props.labelInValue,
5210
5297
  labelInValue = _props$labelInValue === void 0 ? false : _props$labelInValue,
5211
- requestConfig = props.requestConfig,
5298
+ needTopSelectedSource = props.needTopSelectedSource,
5299
+ rCTemp = props.requestConfig,
5212
5300
  ctx = props.ctx,
5213
5301
  _props$onlyShowStr = props.onlyShowStr,
5214
5302
  sourceName = props.sourceName,
@@ -5220,7 +5308,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5220
5308
  fieldComponent = props.fieldComponent,
5221
5309
  onSaveCallback = props.onSaveCallback,
5222
5310
  selectBusinessType = props.selectBusinessType;
5223
- var _ref = requestConfig || {},
5311
+ var _ref = rCTemp || {},
5224
5312
  url = _ref.url,
5225
5313
  _ref$method = _ref.method,
5226
5314
  method = _ref$method === void 0 ? 'get' : _ref$method,
@@ -5247,6 +5335,26 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5247
5335
  noOperate = _ref.noOperate,
5248
5336
  viewShowValueStr = _ref.viewShowValueStr,
5249
5337
  searchStartLength = _ref.searchStartLength;
5338
+ var requestConfig = _objectSpread2({
5339
+ url: url,
5340
+ method: method,
5341
+ otherParams: otherParams,
5342
+ isMap: isMap,
5343
+ fixedparameter: fixedparameter,
5344
+ fieldValToParam: fieldValToParam,
5345
+ fixedparamsDisabled: fixedparamsDisabled,
5346
+ mappingTextField: mappingTextField,
5347
+ mappingTextShowKeyField: mappingTextShowKeyField,
5348
+ mappingValueField: mappingValueField,
5349
+ mappingTextShowTextField: mappingTextShowTextField,
5350
+ init: init,
5351
+ extralHeaders: extralHeaders,
5352
+ specialBracket: specialBracket,
5353
+ noNeedSplit: noNeedSplit,
5354
+ noOperate: noOperate,
5355
+ viewShowValueStr: viewShowValueStr,
5356
+ searchStartLength: searchStartLength
5357
+ }, rCTemp);
5250
5358
  var resultSourceKey = handleSourceName(sourceName || (requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'supplierCode');
5251
5359
  var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
5252
5360
  var initVal = value || (selectMode ? [] : null);
@@ -5281,7 +5389,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5281
5389
  total: 0,
5282
5390
  current: 1
5283
5391
  });
5284
- var disabled = noOperate || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled);
5392
+ var disabled = !!noOperate || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled);
5285
5393
  var isHaveDependency = fixedparameter && fieldValToParam && ctx;
5286
5394
  var isHaveDValue = function isHaveDValue() {
5287
5395
  var formValueList = [];
@@ -5402,14 +5510,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5402
5510
  _useState40 = _slicedToArray(_useState39, 2),
5403
5511
  tooltipVisible = _useState40[0],
5404
5512
  setTooltipVisible = _useState40[1];
5405
- var _useState41 = useState((modalTableProps === null || modalTableProps === void 0 ? void 0 : (_modalTableProps$tabl = modalTableProps.tableColumns) === null || _modalTableProps$tabl === void 0 ? void 0 : (_modalTableProps$tabl2 = _modalTableProps$tabl.filter(function (s) {
5406
- return typeof s.defaultSort == 'number';
5407
- })) === null || _modalTableProps$tabl2 === void 0 ? void 0 : _modalTableProps$tabl2.sort(function (a, b) {
5408
- return a.defaultSort - b.defaultSort;
5409
- })) || []),
5513
+ var _useState41 = useState(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns)),
5410
5514
  _useState42 = _slicedToArray(_useState41, 2),
5411
5515
  tableShowColumns = _useState42[0],
5412
- setTabletShowColumns = _useState42[1];
5516
+ setTabletShowColumns = _useState42[1]; // 默认展示表头-modalTableProps?.tableColumns
5413
5517
  var _useState43 = useState(false),
5414
5518
  _useState44 = _slicedToArray(_useState43, 2),
5415
5519
  confirmLoading = _useState44[0],
@@ -5467,6 +5571,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5467
5571
  });
5468
5572
  // 获取数据源 (type: 1下拉框 2/3弹框 不传值默认为下拉框)
5469
5573
  var getData = function getData() {
5574
+ var _method$toLocaleLower;
5470
5575
  var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
5471
5576
  var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;
5472
5577
  var callback = arguments.length > 2 ? arguments[2] : undefined;
@@ -5506,11 +5611,12 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5506
5611
  pageSize: pageSize,
5507
5612
  currentPage: currentPage
5508
5613
  }, otherParams), fixedParam), params);
5509
- if (isNil(queryParams[selectParamsKey])) {
5510
- queryParams[selectParamsKey] = searchValue;
5614
+ if (isNil(queryParams[selectParamsKey]) && (searchValue === null || searchValue === void 0 ? void 0 : searchValue.length)) {
5615
+ var _searchValue$trim;
5616
+ queryParams[selectParamsKey] = searchValue === null || searchValue === void 0 ? void 0 : (_searchValue$trim = searchValue.trim) === null || _searchValue$trim === void 0 ? void 0 : _searchValue$trim.call(searchValue);
5511
5617
  }
5512
5618
  var getRequest;
5513
- var methodName = method === null || method === void 0 ? void 0 : method.toLocaleLowerCase();
5619
+ var methodName = method === null || method === void 0 ? void 0 : (_method$toLocaleLower = method.toLocaleLowerCase) === null || _method$toLocaleLower === void 0 ? void 0 : _method$toLocaleLower.call(method);
5514
5620
  if (['post', 'patch', 'put'].includes(methodName)) {
5515
5621
  getRequest = requestUtil[methodName]("".concat(url).concat(convertUrlQueryParams(queryParams)), convertBodyParams(queryParams));
5516
5622
  } else {
@@ -5533,7 +5639,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5533
5639
  value: value,
5534
5640
  type: type,
5535
5641
  items: items,
5536
- queryParams: queryParams
5642
+ queryParams: queryParams,
5643
+ needTopSelectedSource: needTopSelectedSource
5537
5644
  });
5538
5645
  if (callback) {
5539
5646
  callback(source);
@@ -5610,6 +5717,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5610
5717
  }, [value]);
5611
5718
  useEffect(function () {
5612
5719
  setUniqueValue(makeUniqueValue());
5720
+ setTabletShowColumns(handleTableColumns(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableColumns));
5613
5721
  }, [resultSourceKey]);
5614
5722
  useEffect(function () {
5615
5723
  if (init) {
@@ -5770,7 +5878,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5770
5878
  }
5771
5879
  };
5772
5880
  var onSearchChange = function onSearchChange(v) {
5773
- setSearchValue(v);
5881
+ var _v$trim;
5882
+ setSearchValue((v === null || v === void 0 ? void 0 : (_v$trim = v.trim) === null || _v$trim === void 0 ? void 0 : _v$trim.call(v)) || '');
5774
5883
  if (!!searchStartLength && (v === null || v === void 0 ? void 0 : v.length) < searchStartLength) return;
5775
5884
  refreshItems();
5776
5885
  };
@@ -5861,7 +5970,6 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5861
5970
  };
5862
5971
  var formItem = function formItem(list) {
5863
5972
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
5864
- var _list$concat;
5865
5973
  var setDisabled = function setDisabled(name) {
5866
5974
  if (fixedparamsDisabled && (fixedparameter === null || fixedparameter === void 0 ? void 0 : fixedparameter.length) && fixedparameter.find(function (item) {
5867
5975
  return item === name;
@@ -5871,15 +5979,17 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5871
5979
  return false;
5872
5980
  }
5873
5981
  };
5874
- var _getFormRowInfo = getFormRowInfo(list),
5875
- emptyArray = _getFormRowInfo.emptyArray;
5982
+ var _getFormRowInfo = getFormRowInfo(list, modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchColSpan),
5983
+ emptyArray = _getFormRowInfo.emptyArray,
5984
+ ColSpan = _getFormRowInfo.ColSpan;
5876
5985
  var addKong = (emptyArray === null || emptyArray === void 0 ? void 0 : emptyArray.map(function (i) {
5877
5986
  return {
5878
5987
  type: 'kong'
5879
5988
  };
5880
5989
  })) || [];
5881
- return list === null || list === void 0 ? void 0 : (_list$concat = list.concat(addKong)) === null || _list$concat === void 0 ? void 0 : _list$concat.map(function (i, index) {
5882
- var _i$field, _i$field3, _i$field5, _i$field6, _i$field7, _i$field8, _i$field9;
5990
+ var searchList = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.noEmptySearchField) ? list : list === null || list === void 0 ? void 0 : list.concat(addKong);
5991
+ return searchList.map(function (i, index) {
5992
+ var _i$field, _i$field3, _i$field5, _i$field7, _i$field9, _i$field10, _i$field11, _i$field12, _i$field14, _i$field15;
5883
5993
  if ((i === null || i === void 0 ? void 0 : i.type) === 'kong') return /*#__PURE__*/React$1.createElement(Col, {
5884
5994
  span: ColSpan,
5885
5995
  key: i
@@ -5928,7 +6038,44 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5928
6038
  disabled: setDisabled(i.name)
5929
6039
  }))));
5930
6040
  }
5931
- if ((i === null || i === void 0 ? void 0 : i.type) === 'businessSearchSelect' || (i === null || i === void 0 ? void 0 : (_i$field5 = i.field) === null || _i$field5 === void 0 ? void 0 : _i$field5.type) === 'businessSearchSelect') {
6041
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'rangepicker' || (i === null || i === void 0 ? void 0 : (_i$field5 = i.field) === null || _i$field5 === void 0 ? void 0 : _i$field5.type) === 'rangepicker') {
6042
+ var _i$initialValue, _i$field6;
6043
+ return /*#__PURE__*/React$1.createElement(Col, {
6044
+ span: ColSpan,
6045
+ key: i.name
6046
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
6047
+ name: i.name,
6048
+ label: i.label,
6049
+ key: i.name,
6050
+ initialValue: (_i$initialValue = i === null || i === void 0 ? void 0 : i.initialValue) !== null && _i$initialValue !== void 0 ? _i$initialValue : []
6051
+ }, /*#__PURE__*/React$1.createElement(DatePicker.RangePicker, _objectSpread2(_objectSpread2({
6052
+ style: {
6053
+ width: '100%'
6054
+ },
6055
+ placeholder: "\u8BF7\u9009\u62E9"
6056
+ }, i === null || i === void 0 ? void 0 : (_i$field6 = i.field) === null || _i$field6 === void 0 ? void 0 : _i$field6.props), {}, {
6057
+ disabled: setDisabled(i.name)
6058
+ }))));
6059
+ }
6060
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'datepicker' || (i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'datepicker') {
6061
+ var _i$field8;
6062
+ return /*#__PURE__*/React$1.createElement(Col, {
6063
+ span: ColSpan,
6064
+ key: i.name
6065
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
6066
+ name: i.name,
6067
+ label: i.label,
6068
+ key: i.name
6069
+ }, /*#__PURE__*/React$1.createElement(DatePicker, _objectSpread2(_objectSpread2({
6070
+ style: {
6071
+ width: '100%'
6072
+ },
6073
+ placeholder: "\u8BF7\u9009\u62E9"
6074
+ }, i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.props), {}, {
6075
+ disabled: setDisabled(i.name)
6076
+ }))));
6077
+ }
6078
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'businessSearchSelect' || (i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.type) === 'businessSearchSelect') {
5932
6079
  return /*#__PURE__*/React$1.createElement(Col, {
5933
6080
  span: ColSpan,
5934
6081
  key: i.name
@@ -5940,7 +6087,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5940
6087
  disabled: setDisabled(i.name)
5941
6088
  }))));
5942
6089
  }
5943
- if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field6 = i.field) === null || _i$field6 === void 0 ? void 0 : _i$field6.type) === 'multipleQueryInput') {
6090
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'multipleQueryInput' || (i === null || i === void 0 ? void 0 : (_i$field10 = i.field) === null || _i$field10 === void 0 ? void 0 : _i$field10.type) === 'multipleQueryInput') {
5944
6091
  return /*#__PURE__*/React$1.createElement(Col, {
5945
6092
  span: ColSpan,
5946
6093
  key: i.name
@@ -5954,7 +6101,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5954
6101
  }
5955
6102
  })));
5956
6103
  }
5957
- if ((i === null || i === void 0 ? void 0 : (_i$field7 = i.field) === null || _i$field7 === void 0 ? void 0 : _i$field7.type) === 'proppertySelector') {
6104
+ if ((i === null || i === void 0 ? void 0 : (_i$field11 = i.field) === null || _i$field11 === void 0 ? void 0 : _i$field11.type) === 'proppertySelector') {
5958
6105
  return /*#__PURE__*/React$1.createElement(Col, {
5959
6106
  span: ColSpan,
5960
6107
  key: i.name
@@ -5964,7 +6111,23 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5964
6111
  key: i.name
5965
6112
  }, /*#__PURE__*/React$1.createElement(PropertySelector, null)));
5966
6113
  }
5967
- if ((i === null || i === void 0 ? void 0 : (_i$field8 = i.field) === null || _i$field8 === void 0 ? void 0 : _i$field8.type) === 'multipleQuerySearchSelect') {
6114
+ if ((i === null || i === void 0 ? void 0 : i.type) === 'itemPropertySelector' || (i === null || i === void 0 ? void 0 : (_i$field12 = i.field) === null || _i$field12 === void 0 ? void 0 : _i$field12.type) === 'itemPropertySelector') {
6115
+ var _i$field13;
6116
+ return /*#__PURE__*/React$1.createElement(Col, {
6117
+ span: ColSpan,
6118
+ key: i.name
6119
+ }, /*#__PURE__*/React$1.createElement(Form.Item, {
6120
+ name: i.name,
6121
+ label: i.label,
6122
+ key: i.name
6123
+ }, /*#__PURE__*/React$1.createElement(ItemPropertySelector, _objectSpread2({
6124
+ style: {
6125
+ width: '100%'
6126
+ },
6127
+ placeholder: "\u8BF7\u9009\u62E9"
6128
+ }, i === null || i === void 0 ? void 0 : (_i$field13 = i.field) === null || _i$field13 === void 0 ? void 0 : _i$field13.props))));
6129
+ }
6130
+ if ((i === null || i === void 0 ? void 0 : (_i$field14 = i.field) === null || _i$field14 === void 0 ? void 0 : _i$field14.type) === 'multipleQuerySearchSelect') {
5968
6131
  return /*#__PURE__*/React$1.createElement(Col, {
5969
6132
  span: ColSpan,
5970
6133
  key: i.name
@@ -5993,7 +6156,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5993
6156
  placeholder: "\u8BF7\u8F93\u5165",
5994
6157
  allowClear: true,
5995
6158
  maxLength: 100
5996
- }, i === null || i === void 0 ? void 0 : (_i$field9 = i.field) === null || _i$field9 === void 0 ? void 0 : _i$field9.props), {}, {
6159
+ }, i === null || i === void 0 ? void 0 : (_i$field15 = i.field) === null || _i$field15 === void 0 ? void 0 : _i$field15.props), {}, {
5997
6160
  disabled: setDisabled(i.name)
5998
6161
  }))));
5999
6162
  });
@@ -6005,9 +6168,20 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6005
6168
  var viCount = (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.visibleFieldsCount) || defaultVisibleFieldsCount;
6006
6169
  return collapsed ? formItem(list === null || list === void 0 ? void 0 : list.slice(0, viCount)) : formItem(list);
6007
6170
  };
6171
+ var renderEmptyText = function renderEmptyText(text, x) {
6172
+ return /*#__PURE__*/React$1.createElement(Empty, {
6173
+ image: Empty.PRESENTED_IMAGE_SIMPLE,
6174
+ description: text,
6175
+ style: {
6176
+ margin: "".concat(x, " 0px")
6177
+ }
6178
+ });
6179
+ };
6008
6180
  var renderShowTable = function renderShowTable(tableList, type) {
6009
6181
  var tableBoxHeighth = getTableHeigth(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm);
6010
- var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - 82px)"); // 分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
6182
+ var x = (tableList === null || tableList === void 0 ? void 0 : tableList.length) ? 82 : 28; // 无数据没有分页,有数据计算减去:分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
6183
+ var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - ").concat(x, "px)");
6184
+ var mTB = "calc(50vh - ".concat(tableBoxHeighth / 2, "px - ").concat(x / 2, "px - 40px)");
6011
6185
  return /*#__PURE__*/React$1.createElement("div", {
6012
6186
  style: {
6013
6187
  height: "calc(100vh - ".concat(tableBoxHeighth, "px)")
@@ -6023,14 +6197,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6023
6197
  showSizeChanger: false
6024
6198
  }),
6025
6199
  locale: {
6026
- emptyText: '暂无已选结果'
6200
+ emptyText: renderEmptyText('暂无已选结果', mTB)
6027
6201
  }
6028
6202
  } : {
6029
6203
  pagination: tablePagination,
6030
6204
  onChange: handleTableChange,
6031
6205
  loading: fetching,
6032
6206
  locale: {
6033
- emptyText: modalSearched ? '无匹配结果,请更换其他内容再试' : '请输入搜索条件'
6207
+ emptyText: modalSearched ? renderEmptyText('匹配结果,请更换其他内容再试', mTB) : renderEmptyText('请输入搜索条件', mTB)
6034
6208
  }
6035
6209
  }), {}, {
6036
6210
  rowKey: mappingValueField,
@@ -6175,59 +6349,36 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6175
6349
  }
6176
6350
  })));
6177
6351
  };
6178
- var getShowLabelTextStr = function getShowLabelTextStr(kongValue) {
6179
- if (selectMode) {
6180
- var _value$map;
6181
- return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map = value.map(function (item) {
6182
- return item.label || item.text || '';
6183
- })) === null || _value$map === void 0 ? void 0 : _value$map.join(',')) || kongValue;
6184
- }
6185
- return (value === null || value === void 0 ? void 0 : value.label) || (value === null || value === void 0 ? void 0 : value.text) || kongValue;
6186
- };
6187
- var getSelectValueText = function getSelectValueText(v) {
6188
- var _filter, _filter$;
6189
- return ((_filter = (items || []).filter(function (item) {
6190
- return item.value === v;
6191
- })) === null || _filter === void 0 ? void 0 : (_filter$ = _filter[0]) === null || _filter$ === void 0 ? void 0 : _filter$.text) || v || '';
6192
- };
6193
- var getShowValueStr = function getShowValueStr(kongValue) {
6194
- if (selectMode) {
6195
- var _value$map2;
6196
- return Array.isArray(value) && (value === null || value === void 0 ? void 0 : (_value$map2 = value.map(function (item) {
6197
- return getSelectValueText(item);
6198
- })) === null || _value$map2 === void 0 ? void 0 : _value$map2.join(',')) || kongValue;
6199
- }
6200
- return getSelectValueText(value) || kongValue;
6201
- };
6202
- var getShowStr = function getShowStr() {
6203
- // 优先使用业务使用传入的展示
6204
- if (viewShowValueStr) return viewShowValueStr;
6205
- var kongValue = '无';
6206
- // 先判断labelInValue与否,labelInValue可以直接去value中获取字段名称,否则去下拉框数据里面去拿;
6207
- // 再判断是单选还是多选,数据类型不同取值方式也不同
6208
- if (labelInValue) {
6209
- return getShowLabelTextStr(kongValue);
6210
- }
6211
- return getShowValueStr(kongValue);
6212
- };
6213
6352
  var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
6214
6353
  return /*#__PURE__*/React$1.createElement("div", {
6215
6354
  className: 'search_select'
6216
- }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
6355
+ }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
6217
6356
  onClick: function onClick() {
6218
6357
  var _fieldComponent$props, _fieldComponent$props2;
6219
6358
  (_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);
6220
6359
  showModal();
6221
6360
  }
6222
- }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
6223
- title: getShowStr(),
6361
+ }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
6362
+ title: getShowStr({
6363
+ viewShowValueStr: viewShowValueStr,
6364
+ labelInValue: labelInValue,
6365
+ selectMode: selectMode,
6366
+ value: value,
6367
+ items: items
6368
+ }),
6224
6369
  style: {
6225
6370
  overflow: 'hidden',
6226
6371
  textOverflow: 'ellipsis',
6227
6372
  whiteSpace: 'nowrap'
6228
6373
  },
6229
6374
  className: 'search_select_show'
6230
- }, getShowStr())) : /*#__PURE__*/React$1.createElement("div", {
6375
+ }, getShowStr({
6376
+ viewShowValueStr: viewShowValueStr,
6377
+ labelInValue: labelInValue,
6378
+ selectMode: selectMode,
6379
+ value: value,
6380
+ items: items
6381
+ }))) : /*#__PURE__*/React$1.createElement("div", {
6231
6382
  className: "".concat(isFormPage ? '' : 'search_select_show_list', " search_select_show"),
6232
6383
  id: "search_select_div_".concat(uniqueValue)
6233
6384
  }, /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2(_objectSpread2({
@@ -6246,10 +6397,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6246
6397
  dropdownRender: function dropdownRender(menu) {
6247
6398
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
6248
6399
  },
6249
- notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
6400
+ notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
6250
6401
  size: "small",
6251
6402
  className: 'searchSelectSpin'
6252
- })) : ( /*#__PURE__*/React$1.createElement("div", {
6403
+ })) : (/*#__PURE__*/React$1.createElement("div", {
6253
6404
  style: {
6254
6405
  textAlign: 'center'
6255
6406
  }
@@ -6289,10 +6440,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6289
6440
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
6290
6441
  filterTxt: searchValue
6291
6442
  }));
6292
- }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6443
+ }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
6293
6444
  maskClosable: false,
6294
6445
  destroyOnClose: true,
6295
- width: "80%",
6446
+ width: "calc(100% - 320px)",
6296
6447
  title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
6297
6448
  visible: isModalVisible,
6298
6449
  confirmLoading: confirmLoading,
@@ -6325,17 +6476,19 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
6325
6476
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(Button, {
6326
6477
  key: "search",
6327
6478
  type: "primary",
6328
- onClick: onSearchTable
6479
+ onClick: onSearchTable,
6480
+ disabled: fetching
6329
6481
  }, "\u67E5\u8BE2 Enter"), /*#__PURE__*/React$1.createElement(Button, {
6330
6482
  key: "reset",
6331
- onClick: onResetTable
6483
+ onClick: onResetTable,
6484
+ disabled: fetching
6332
6485
  }, "\u91CD\u7F6E ctrl+U"), /*#__PURE__*/React$1.createElement("div", {
6333
6486
  style: {
6334
6487
  position: 'absolute',
6335
6488
  top: 0,
6336
6489
  right: 0
6337
6490
  }
6338
- }, hasMoreQueryFields(modalTableProps) && (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.isHorizontally) ? /*#__PURE__*/React$1.createElement("img", {
6491
+ }, hasMoreQueryFields(modalTableProps) ? /*#__PURE__*/React$1.createElement("img", {
6339
6492
  onClick: function onClick() {
6340
6493
  toggleCollapsed();
6341
6494
  },
@@ -6384,7 +6537,7 @@ var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20enc
6384
6537
  var css_248z$9 = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
6385
6538
  styleInject(css_248z$9);
6386
6539
 
6387
- var _excluded$4 = ["className", "style"];
6540
+ var _excluded$5 = ["className", "style"];
6388
6541
  var Search = Input.Search;
6389
6542
  var DragHandle = SortableHandle(function () {
6390
6543
  return /*#__PURE__*/React$1.createElement("img", {
@@ -6736,7 +6889,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6736
6889
  _this.DraggableBodyRow = function (_ref2) {
6737
6890
  var className = _ref2.className,
6738
6891
  style = _ref2.style,
6739
- restProps = _objectWithoutProperties(_ref2, _excluded$4);
6892
+ restProps = _objectWithoutProperties(_ref2, _excluded$5);
6740
6893
  var sortDataSource = _this.state.sortDataSource;
6741
6894
  // function findIndex base on Table rowKey props and should always be a right array index
6742
6895
  var index = sortDataSource.findIndex(function (x) {
@@ -6886,7 +7039,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6886
7039
  style: {
6887
7040
  width: 525
6888
7041
  }
6889
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
7042
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
6890
7043
  checked: !dataSource.some(function (item) {
6891
7044
  if (item.hidden) return true;
6892
7045
  return false;
@@ -6924,13 +7077,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
6924
7077
  _this2.onChange(e, item.title);
6925
7078
  }
6926
7079
  }, item.title);
6927
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
7080
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
6928
7081
  style: {
6929
7082
  width: '144px'
6930
7083
  }
6931
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
7084
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
6932
7085
  className: 'sort_table_column_all_empty'
6933
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
7086
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6934
7087
  className: 'sort_table_column_special'
6935
7088
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
6936
7089
  className: 'sort_table_column_all'
@@ -7119,7 +7272,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
7119
7272
  });
7120
7273
  };
7121
7274
  // 格式化树选择器数据源
7122
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7275
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7123
7276
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
7124
7277
  return {
7125
7278
  title: treeDataItem[resKeyValue[1]],
@@ -7129,7 +7282,7 @@ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
7129
7282
  isLeaf: !haveChildren,
7130
7283
  disabled: haveChildren,
7131
7284
  children: haveChildren ? treeDataItem.children.map(function (i) {
7132
- return mapSearchTree(i, resKeyValue);
7285
+ return _mapSearchTree(i, resKeyValue);
7133
7286
  }) : []
7134
7287
  };
7135
7288
  };
@@ -7138,7 +7291,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
7138
7291
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
7139
7292
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
7140
7293
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
7141
- return mapSearchTree(ites, resKeyValue);
7294
+ return _mapSearchTree(ites, resKeyValue);
7142
7295
  }) || [];
7143
7296
  changeSearchForm[changePosition].field.props.treeData = formatData;
7144
7297
  };
@@ -7155,7 +7308,7 @@ var formatFormSourceList = function formatFormSourceList(x, loadList, tableSearc
7155
7308
  });
7156
7309
  };
7157
7310
 
7158
- var _excluded$5 = ["onResize", "width"],
7311
+ var _excluded$6 = ["onResize", "width"],
7159
7312
  _excluded2$2 = ["name", "label", "field", "type", "filterFormItem", "initialSource"];
7160
7313
  var checkSpuMatchCode = function checkSpuMatchCode(data) {
7161
7314
  return new Promise(function (resolve, reject) {
@@ -7175,7 +7328,7 @@ var checkSpuMatchCode = function checkSpuMatchCode(data) {
7175
7328
  var ResizeableTitle = function ResizeableTitle(props) {
7176
7329
  var onResize = props.onResize,
7177
7330
  width = props.width,
7178
- restProps = _objectWithoutProperties(props, _excluded$5);
7331
+ restProps = _objectWithoutProperties(props, _excluded$6);
7179
7332
  if (!width) {
7180
7333
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
7181
7334
  }
@@ -7220,6 +7373,7 @@ var AddSelect = function AddSelect(props) {
7220
7373
  clearTitle = props.clearTitle;
7221
7374
  var _ref = requestConfig || {},
7222
7375
  url = _ref.url,
7376
+ sourceKey = _ref.sourceKey,
7223
7377
  otherParams = _ref.otherParams,
7224
7378
  isMap = _ref.isMap,
7225
7379
  _ref$mappingValueFiel = _ref.mappingValueField,
@@ -7309,7 +7463,7 @@ var AddSelect = function AddSelect(props) {
7309
7463
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
7310
7464
  // FIXME: 特殊业务逻辑
7311
7465
  var checkSelectChange = /*#__PURE__*/function () {
7312
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7466
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
7313
7467
  var result;
7314
7468
  return _regeneratorRuntime().wrap(function _callee$(_context) {
7315
7469
  while (1) switch (_context.prev = _context.next) {
@@ -7562,7 +7716,7 @@ var AddSelect = function AddSelect(props) {
7562
7716
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
7563
7717
  value: text || null,
7564
7718
  onChange: function () {
7565
- var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7719
+ var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
7566
7720
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
7567
7721
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
7568
7722
  while (1) switch (_context2.prev = _context2.next) {
@@ -7812,7 +7966,7 @@ var AddSelect = function AddSelect(props) {
7812
7966
  };
7813
7967
  });
7814
7968
  } else {
7815
- var keys = res.list ? 'list' : 'items';
7969
+ var keys = sourceKey ? sourceKey : res.list ? 'list' : 'items';
7816
7970
  source = res ? res[keys] ? res[keys].map(function (item) {
7817
7971
  var _item$packingUnitList, _item$packingUnitList2;
7818
7972
  return _objectSpread2(_objectSpread2({}, item), {}, {
@@ -8170,10 +8324,10 @@ var AddSelect = function AddSelect(props) {
8170
8324
  var newColumns = arr.map(function (col) {
8171
8325
  return _objectSpread2({}, col);
8172
8326
  });
8173
- var handleIndex = function handleIndex(arr, indexArr) {
8327
+ var _handleIndex = function handleIndex(arr, indexArr) {
8174
8328
  var i = indexArr.shift();
8175
8329
  if (indexArr.length > 0) {
8176
- handleIndex(arr[i].children, indexArr);
8330
+ _handleIndex(arr[i].children, indexArr);
8177
8331
  } else {
8178
8332
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8179
8333
  width: size.width
@@ -8181,7 +8335,7 @@ var AddSelect = function AddSelect(props) {
8181
8335
  handleAntdColumnsSpecialParams(arr[i]);
8182
8336
  }
8183
8337
  };
8184
- handleIndex(newColumns, _toConsumableArray(index));
8338
+ _handleIndex(newColumns, _toConsumableArray(index));
8185
8339
  callback(newColumns);
8186
8340
  };
8187
8341
  };
@@ -8191,13 +8345,13 @@ var AddSelect = function AddSelect(props) {
8191
8345
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
8192
8346
  setShowToChooseColumns(_toConsumableArray(newColumns));
8193
8347
  };
8194
- var handleColumns = function handleColumns(arr, indexArr, callback) {
8348
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
8195
8349
  arr.forEach(function (item, index) {
8196
8350
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8197
8351
  return i || i === 0;
8198
8352
  });
8199
8353
  if (noEmptyArray$1(item.children)) {
8200
- handleColumns(item.children, indexArrInside);
8354
+ _handleColumns(item.children, indexArrInside);
8201
8355
  } else {
8202
8356
  item.width = item.width || getItemDefaultWidth$2(item);
8203
8357
  item.onHeaderCell = function (column) {
@@ -8213,14 +8367,14 @@ var AddSelect = function AddSelect(props) {
8213
8367
  handleAntdColumnsSpecialParams(item);
8214
8368
  return _objectSpread2({}, item);
8215
8369
  });
8216
- handleColumns(showToChooseCol, [], function (res) {
8370
+ _handleColumns(showToChooseCol, [], function (res) {
8217
8371
  return setShowToChooseColumnsCallback(res);
8218
8372
  });
8219
8373
  var showSelectedCol = showColumns.map(function (item) {
8220
8374
  handleAntdColumnsSpecialParams(item);
8221
8375
  return _objectSpread2({}, item);
8222
8376
  });
8223
- handleColumns(showSelectedCol, [], function (res) {
8377
+ _handleColumns(showSelectedCol, [], function (res) {
8224
8378
  return setShowColumnsCallback(res);
8225
8379
  });
8226
8380
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -8231,8 +8385,8 @@ var AddSelect = function AddSelect(props) {
8231
8385
  id: "add_select_div_".concat(uniqueValue)
8232
8386
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
8233
8387
  onClick: handleShowModal
8234
- }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
8235
- width: '1200px',
8388
+ }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
8389
+ width: "calc(100% - 320px)",
8236
8390
  style: {
8237
8391
  top: 20
8238
8392
  },
@@ -8407,7 +8561,7 @@ var AddSelect = function AddSelect(props) {
8407
8561
  var css_248z$a = ".add_select_show {\n display: flex;\n}\n.add_select_expand_button {\n position: relative;\n width: 30px;\n color: #ffffff;\n cursor: pointer;\n}\n.add_select_expand_button span {\n position: absolute;\n height: 20px;\n line-height: 14px;\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n}\n.add_select_header {\n border-bottom: 1px solid #D9D9D9;\n height: 24px;\n height: 40px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 40px;\n margin-bottom: 10px;\n padding-left: 10px;\n}\n.add_select_header > span {\n margin-left: 20px;\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 40px;\n}\n.add_select_header > span > span {\n color: #ff0000;\n}\n.add_select_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_quick_header {\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.add_select_quick_header_title {\n display: flex;\n justify-content: space-between;\n}\n.add_select_quick_header > span {\n font-weight: 400;\n font-size: 12px;\n color: #666666;\n letter-spacing: 0;\n line-height: 20px;\n}\n.add_select_quick_header > span > span {\n color: #ff0000;\n}\n.add_select_quick_header_close span {\n position: absolute;\n color: black !important;\n right: 10px;\n top: 10px;\n}\n.add_select_wrapper {\n position: relative;\n display: flex;\n max-height: 60vh;\n overflow: hidden;\n font-size: 14px;\n margin: 5px 10px;\n}\n.add_select_wrapper .ant-table-pagination.ant-pagination {\n margin: 5px;\n padding-right: 5px;\n}\n.add_select_wrapper .ant-checkbox-wrapper {\n justify-content: center;\n}\n.add_select_wrapper .ant-form-item-label {\n padding: 0PX;\n line-height: 23px !important;\n}\n.add_select_wrapper .ant-form-item-label > label {\n font-size: 12px;\n}\n.add_select_wrapper .ant-table-thead th {\n height: 20px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper .row-class {\n height: 24px;\n}\n.add_select_wrapper .row-class td {\n font-size: 12px !important;\n height: 24px !important;\n padding: 0px 8px !important;\n line-height: 20px !important;\n}\n.add_select_wrapper .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select_wrapper .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_click_flag {\n position: absolute;\n z-index: 10;\n}\n.add_select_wrapper_click_flag_arrow {\n transform: rotate(0deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_click_flag_arrow_1 {\n transform: rotate(-180deg);\n transition: transform 0.5s;\n}\n.add_select_wrapper_left {\n flex-basis: 298px;\n width: 298px;\n overflow-y: hidden;\n transition: all 0.3s;\n margin-right: 10px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_left1 {\n width: 0;\n height: 0;\n transition: all 0.3s;\n display: none;\n}\n.add_select_wrapper_right {\n width: 872px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n}\n.add_select_wrapper_right1 {\n width: 100%;\n margin-left: 10px;\n}\n.add_select_wrapper_right,\n.add_select_wrapper_right1 {\n overflow-x: auto;\n}\n.add_select_wrapper .select_list_columns {\n height: 272px;\n overflow-y: auto;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_columns_tips {\n background: #eee;\n padding: 6px 20px;\n margin-bottom: 10px;\n}\n.add_select_wrapper .select_list_columns_formItems {\n padding: 7px 10px;\n}\n.add_select_wrapper .select_list_searchButton {\n display: flex;\n margin: 10px;\n justify-content: flex-end;\n}\n.add_select_wrapper .select_list_button_space {\n margin-right: 10px;\n}\n.add_select_wrapper .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 5px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select_wrapper .select_list_selectAll {\n position: relative;\n top: -40px;\n left: 20px;\n width: 160px;\n}\n.add_select_wrapper_select {\n margin-top: 4px;\n border: 1px solid #D9D9D9;\n border-radius: 5px;\n margin: 5px 10px;\n}\n.add_select_wrapper_select .ant-table-pagination.ant-pagination {\n margin: 9px;\n padding-right: 5px;\n}\n.add_select_wrapper_select .ant-modal-body {\n padding: 10px;\n}\n.add_select_wrapper_select .ant-table-wrapper {\n padding: 0px !important;\n}\n.add_select_wrapper_select .ant-table-thead th {\n height: 23px !important;\n padding: 0px 8px !important;\n font-size: 12px !important;\n font-weight: 600 !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-modal-close-x {\n height: 30px;\n}\n.add_select_wrapper_select .row-class {\n height: 30px;\n}\n.add_select_wrapper_select .row-class td {\n font-size: 12px !important;\n height: 30px !important;\n padding: 4px 8px !important;\n}\n.add_select_wrapper_select .ant-table-body {\n height: 200px;\n overflow-y: auto !important;\n}\n.add_select_wrapper_select .ant-row.ant-form-item {\n margin-bottom: 10px;\n}\n.add_select_wrapper_select .ant-input-number-input,\n.add_select_wrapper_select .ant-input {\n height: auto;\n height: 22px;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select-selection-search-input {\n height: auto;\n height: 22px !important;\n padding: 0px 10px;\n font-size: 12px;\n}\n.add_select_wrapper_select .ant-select .ant-select-arrow {\n top: 13px;\n}\n.add_select_wrapper_select .ant-select-selector {\n position: relative;\n top: 1px;\n height: 23px !important;\n line-height: 23px !important;\n}\n.add_select_wrapper_select .ant-select-selector .ant-select-selection-item,\n.add_select_wrapper_select .ant-select-selector ant-select-selection-search {\n height: 23px !important;\n line-height: 23px !important;\n font-size: 12px;\n}\n.add_select_wrapper_select .select_list_selectTips {\n display: flex;\n justify-content: space-between;\n height: 24px;\n font-size: 12px;\n line-height: 24px;\n background: #F7F8FB;\n padding: 0 3px;\n border-bottom: 1px solid #D9D9D9;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick {\n margin: 0;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-body {\n height: 240px;\n overflow-y: auto !important;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_base {\n background: #fff;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .table_odd {\n background: #f7f8fb;\n}\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-left,\n.add_select div.add_select_wrapper_select.add_select_wrapper_select_quick .ant-table-cell-fix-right {\n background: #FFFFFF !important;\n}\n";
8408
8562
  styleInject(css_248z$a);
8409
8563
 
8410
- var _excluded$6 = ["onResize", "width"];
8564
+ var _excluded$7 = ["onResize", "width"];
8411
8565
  var _this = undefined;
8412
8566
  var InputElement = function InputElement(_ref) {
8413
8567
  var _record$packingUnitLi, _record$packingUnitLi2;
@@ -8905,7 +9059,7 @@ var InputElement = function InputElement(_ref) {
8905
9059
  var ResizeableTitle$1 = function ResizeableTitle(props) {
8906
9060
  var onResize = props.onResize,
8907
9061
  width = props.width,
8908
- restProps = _objectWithoutProperties(props, _excluded$6);
9062
+ restProps = _objectWithoutProperties(props, _excluded$7);
8909
9063
  if (!width) {
8910
9064
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
8911
9065
  }
@@ -9145,7 +9299,7 @@ var BillEntry = function BillEntry(_ref3) {
9145
9299
  });
9146
9300
  };
9147
9301
  var handleSubmit = /*#__PURE__*/function () {
9148
- var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9302
+ var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
9149
9303
  var canEntryObject, _canEntryObject$error, messageInfo;
9150
9304
  return _regeneratorRuntime().wrap(function _callee$(_context) {
9151
9305
  while (1) switch (_context.prev = _context.next) {
@@ -9228,10 +9382,10 @@ var BillEntry = function BillEntry(_ref3) {
9228
9382
  var newColumns = arr.map(function (col) {
9229
9383
  return _objectSpread2({}, col);
9230
9384
  });
9231
- var handleIndex = function handleIndex(arr, indexArr) {
9385
+ var _handleIndex = function handleIndex(arr, indexArr) {
9232
9386
  var i = indexArr.shift();
9233
9387
  if (indexArr.length > 0) {
9234
- handleIndex(arr[i].children, indexArr);
9388
+ _handleIndex(arr[i].children, indexArr);
9235
9389
  } else {
9236
9390
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
9237
9391
  width: size.width
@@ -9239,17 +9393,17 @@ var BillEntry = function BillEntry(_ref3) {
9239
9393
  handleAntdColumnsSpecialParams(arr[i]);
9240
9394
  }
9241
9395
  };
9242
- handleIndex(newColumns, _toConsumableArray(index));
9396
+ _handleIndex(newColumns, _toConsumableArray(index));
9243
9397
  callback(newColumns);
9244
9398
  };
9245
9399
  };
9246
- var handleColumns = function handleColumns(arr, indexArr, callback) {
9400
+ var _handleColumns = function handleColumns(arr, indexArr, callback) {
9247
9401
  arr.forEach(function (item, index) {
9248
9402
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
9249
9403
  return i || i === 0;
9250
9404
  });
9251
9405
  if (noEmptyArray$1(item.children)) {
9252
- handleColumns(item.children, indexArrInside);
9406
+ _handleColumns(item.children, indexArrInside);
9253
9407
  } else {
9254
9408
  item.width = item.width || getItemDefaultWidth$2(item);
9255
9409
  item.onHeaderCell = function (column) {
@@ -9265,7 +9419,7 @@ var BillEntry = function BillEntry(_ref3) {
9265
9419
  handleAntdColumnsSpecialParams(item);
9266
9420
  return _objectSpread2({}, item);
9267
9421
  });
9268
- handleColumns(showSelectedCol, [], function (res) {
9422
+ _handleColumns(showSelectedCol, [], function (res) {
9269
9423
  return setShowColumnsCallback(res);
9270
9424
  });
9271
9425
  return /*#__PURE__*/React$1.createElement("div", {
@@ -9475,6 +9629,7 @@ var handleDefaultPrefixUrl = function handleDefaultPrefixUrl(type) {
9475
9629
  case 'spuCommodity':
9476
9630
  case 'skcCommodity':
9477
9631
  case 'brand':
9632
+ case 'spuCommodityWithProperty':
9478
9633
  result = '/items';
9479
9634
  break;
9480
9635
  case 'physicalWarehouse':
@@ -9580,7 +9735,7 @@ function commonFun(type, prefixUrl, parentProps) {
9580
9735
  });
9581
9736
  };
9582
9737
  // 格式化树选择器数据源
9583
- var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9738
+ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
9584
9739
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
9585
9740
  return {
9586
9741
  title: treeDataItem[resKeyValue[1]],
@@ -9590,7 +9745,7 @@ function commonFun(type, prefixUrl, parentProps) {
9590
9745
  isLeaf: !haveChildren,
9591
9746
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
9592
9747
  children: haveChildren ? treeDataItem.children.map(function (i) {
9593
- return mapSearchTree(i, resKeyValue, disabledJudge);
9748
+ return _mapSearchTree(i, resKeyValue, disabledJudge);
9594
9749
  }) : []
9595
9750
  };
9596
9751
  };
@@ -9604,7 +9759,7 @@ function commonFun(type, prefixUrl, parentProps) {
9604
9759
  disabledJudge = false;
9605
9760
  }
9606
9761
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
9607
- return mapSearchTree(ites, resKeyValue, disabledJudge);
9762
+ return _mapSearchTree(ites, resKeyValue, disabledJudge);
9608
9763
  }) || [];
9609
9764
  changeSearchForm[changePosition].field.props.treeData = formatData;
9610
9765
  };
@@ -9882,7 +10037,8 @@ function commonFun(type, prefixUrl, parentProps) {
9882
10037
  sourceName: 'qp-skuCode-in',
9883
10038
  specialBracket: true,
9884
10039
  otherParams: {
9885
- 'ownOrgSign': getCurrentTargetBgId()
10040
+ 'ownOrgSign': getCurrentTargetBgId(),
10041
+ 'ctl-count': true
9886
10042
  } // 默认参数
9887
10043
  }
9888
10044
  }
@@ -9905,18 +10061,22 @@ function commonFun(type, prefixUrl, parentProps) {
9905
10061
  mappingTextField: 'name',
9906
10062
  mappingValueField: 'itemCode',
9907
10063
  sourceName: 'qp-itemCode-in',
9908
- specialBracket: true
10064
+ specialBracket: true,
10065
+ otherParams: {
10066
+ 'ownOrgSign': getCurrentTargetBgId(),
10067
+ 'ctl-count': true
10068
+ } // 默认参数
9909
10069
  }
9910
10070
  }
9911
10071
  }
9912
- }, {
9913
- name: 'qp-eancode-in',
9914
- label: '商品条码',
9915
- field: {
9916
- type: 'multipleQueryInput',
9917
- props: _objectSpread2({}, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.itemEancodeValueRequestConfig) || {})
9918
- }
9919
- }, {
10072
+ },
10073
+ // { name: 'qp-eancode-in', label: '商品条码', field: {
10074
+ // type: 'multipleQueryInput',
10075
+ // props: {
10076
+ // ...(requestConfigProp?.itemEancodeValueRequestConfig || {}),
10077
+ // },
10078
+ // }},
10079
+ {
9920
10080
  name: 'qp-brandId-in',
9921
10081
  type: 'select',
9922
10082
  label: '品牌',
@@ -9976,8 +10136,8 @@ function commonFun(type, prefixUrl, parentProps) {
9976
10136
  pageSize: 5000,
9977
10137
  currentPage: 1
9978
10138
  })]).then(function (x) {
9979
- formatSource(x, 0, 4, tableSearchForm, ['id', 'name']);
9980
- formatTreeDataSource(x, 1, 5, tableSearchForm);
10139
+ formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
10140
+ formatTreeDataSource(x, 1, 4, tableSearchForm);
9981
10141
  });
9982
10142
  modalTableProps = _objectSpread2({
9983
10143
  modalTableTitle: '选择SKU',
@@ -10038,6 +10198,144 @@ function commonFun(type, prefixUrl, parentProps) {
10038
10198
  }
10039
10199
  // 商品选择器spu
10040
10200
  if (type === 'spuCommodity') {
10201
+ selectProps = _objectSpread2({
10202
+ placeholder: '输入商品(SPU)编码或名称',
10203
+ renderTableColumns: [{
10204
+ title: '商品编码(SPU)',
10205
+ dataIndex: 'itemCode'
10206
+ }, {
10207
+ title: '商品名称(SPU)',
10208
+ dataIndex: 'name'
10209
+ }]
10210
+ }, selectConfigProps);
10211
+ requestConfig = _objectSpread2({
10212
+ url: "".concat(prefixUrl.selectPrefix, "/item"),
10213
+ filter: 'qp-itemCode,name-orGroup,like',
10214
+ mappingTextField: 'name',
10215
+ mappingValueField: 'itemCode',
10216
+ otherParams: _objectSpread2({
10217
+ 'qp-approveStatus-eq': 1,
10218
+ sorter: 'desc-id'
10219
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10220
+ sourceName: 'itemCode'
10221
+ }, requestConfigProp);
10222
+ tableSearchForm = [{
10223
+ name: 'qp-itemCode-like',
10224
+ label: '商品编码(SPU)'
10225
+ }, {
10226
+ name: 'qp-name-like',
10227
+ label: '商品名称(SPU)'
10228
+ }, {
10229
+ name: 'qp-brandId-in',
10230
+ type: 'select',
10231
+ label: '品牌',
10232
+ field: {
10233
+ type: 'select',
10234
+ props: {
10235
+ mode: 'multiple',
10236
+ notFoundContent: '暂无数据',
10237
+ allowClear: true,
10238
+ showSearch: true,
10239
+ showArrow: true,
10240
+ maxTagCount: 1,
10241
+ optionFilterProp: 'children',
10242
+ filterOption: function filterOption(input, option) {
10243
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10244
+ }
10245
+ }
10246
+ }
10247
+ }, {
10248
+ name: 'qp-categoryId-in',
10249
+ type: 'treeSelect',
10250
+ label: '类目',
10251
+ field: {
10252
+ type: 'treeSelect',
10253
+ props: {
10254
+ treeData: [],
10255
+ treeCheckable: true,
10256
+ showSearch: true,
10257
+ allowClear: true,
10258
+ showArrow: true,
10259
+ treeNodeFilterProp: 'title',
10260
+ treeDefaultExpandAll: true,
10261
+ maxTagCount: 1,
10262
+ placeholder: '请选择',
10263
+ style: {
10264
+ width: '100%'
10265
+ },
10266
+ dropdownStyle: {
10267
+ maxHeight: 400,
10268
+ maxWidth: 100,
10269
+ overflow: 'auto'
10270
+ }
10271
+ }
10272
+ }
10273
+ }, {
10274
+ name: 'qp-classId-in',
10275
+ type: 'select',
10276
+ label: '品类',
10277
+ field: {
10278
+ type: 'select',
10279
+ props: {
10280
+ mode: 'multiple',
10281
+ notFoundContent: '暂无数据',
10282
+ allowClear: true,
10283
+ showSearch: true,
10284
+ showArrow: true,
10285
+ maxTagCount: 1,
10286
+ optionFilterProp: 'children',
10287
+ filterOption: function filterOption(input, option) {
10288
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10289
+ }
10290
+ }
10291
+ }
10292
+ }];
10293
+ Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
10294
+ pageSize: 5000,
10295
+ currentPage: 1,
10296
+ 'ctl-withAuth': true
10297
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
10298
+ pageSize: 5000,
10299
+ currentPage: 1
10300
+ }), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/class/withProperty"), {
10301
+ pageSize: 5000,
10302
+ currentPage: 1
10303
+ })]).then(function (x) {
10304
+ formatSource(x, 0, 2, tableSearchForm, ['id', 'name']);
10305
+ formatTreeDataSource(x, 1, 3, tableSearchForm);
10306
+ formatSource(x, 2, 4, tableSearchForm, ['id', 'name']);
10307
+ });
10308
+ modalTableProps = _objectSpread2({
10309
+ modalTableTitle: '选择商品(SPU) ',
10310
+ tableSearchForm: tableSearchForm,
10311
+ tableColumns: [{
10312
+ title: '序号',
10313
+ dataIndex: 'keyIndex',
10314
+ defaultSort: 0
10315
+ }, {
10316
+ title: '商品编码(SPU)',
10317
+ dataIndex: 'itemCode',
10318
+ defaultSort: 1
10319
+ }, {
10320
+ title: '商品名称(SPU) ',
10321
+ dataIndex: 'name',
10322
+ defaultSort: 2
10323
+ }, {
10324
+ title: '品牌',
10325
+ dataIndex: 'brandName',
10326
+ defaultSort: 3
10327
+ }, {
10328
+ title: '类目',
10329
+ dataIndex: 'categoryText',
10330
+ defaultSort: 4
10331
+ }, {
10332
+ title: '品类',
10333
+ dataIndex: 'className'
10334
+ }]
10335
+ }, modalTableBusProps);
10336
+ }
10337
+ // 新库存商品选择器spu
10338
+ if (type === 'spuCommodityWithProperty') {
10041
10339
  selectProps = _objectSpread2({
10042
10340
  placeholder: '输入spu编码或名称',
10043
10341
  renderTableColumns: [{
@@ -10049,12 +10347,13 @@ function commonFun(type, prefixUrl, parentProps) {
10049
10347
  }]
10050
10348
  }, selectConfigProps);
10051
10349
  requestConfig = _objectSpread2({
10052
- url: "".concat(prefixUrl.selectPrefix, "/item"),
10350
+ url: "/stock/item/doItemPageAll",
10351
+ method: 'POST',
10053
10352
  filter: 'qp-itemCode,name-orGroup,like',
10054
10353
  mappingTextField: 'name',
10055
10354
  mappingValueField: 'itemCode',
10056
10355
  otherParams: _objectSpread2({
10057
- 'qp-approveStatus-eq': 1,
10356
+ // 'qp-approveStatus-eq': 1, // 审核状态(0.待审批;1.审批通过;2.驳回;3.审批未通过)
10058
10357
  sorter: 'desc-id'
10059
10358
  }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10060
10359
  sourceName: 'itemCode'
@@ -10129,6 +10428,56 @@ function commonFun(type, prefixUrl, parentProps) {
10129
10428
  }
10130
10429
  }
10131
10430
  }
10431
+ }, {
10432
+ name: 'qp-year-in',
10433
+ label: '年份',
10434
+ field: {
10435
+ type: 'itemPropertySelector',
10436
+ props: {
10437
+ propertyCode: 'SX0000114',
10438
+ mode: 'multiple'
10439
+ }
10440
+ }
10441
+ }, {
10442
+ name: 'qp-season-in',
10443
+ label: '季节',
10444
+ field: {
10445
+ type: 'itemPropertySelector',
10446
+ props: {
10447
+ propertyCode: 'SX0000070',
10448
+ mode: 'multiple'
10449
+ }
10450
+ }
10451
+ }, {
10452
+ name: 'qp-zzdlbm-in',
10453
+ label: '大类',
10454
+ field: {
10455
+ type: 'itemPropertySelector',
10456
+ props: {
10457
+ propertyCode: 'SX0000071',
10458
+ mode: 'multiple'
10459
+ }
10460
+ }
10461
+ }, {
10462
+ name: 'qp-zzzlbm-in',
10463
+ label: '中类',
10464
+ field: {
10465
+ type: 'itemPropertySelector',
10466
+ props: {
10467
+ propertyCode: 'SX0000072',
10468
+ mode: 'multiple'
10469
+ }
10470
+ }
10471
+ }, {
10472
+ name: 'qp-zzxlbm-in',
10473
+ label: '小类',
10474
+ field: {
10475
+ type: 'itemPropertySelector',
10476
+ props: {
10477
+ propertyCode: 'SX0000110',
10478
+ mode: 'multiple'
10479
+ }
10480
+ }
10132
10481
  }];
10133
10482
  Promise.all([loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/brand/queryBrandList"), {
10134
10483
  pageSize: 5000,
@@ -10171,7 +10520,8 @@ function commonFun(type, prefixUrl, parentProps) {
10171
10520
  }, {
10172
10521
  title: '品类',
10173
10522
  dataIndex: 'className'
10174
- }]
10523
+ }],
10524
+ noEmptySearchField: true
10175
10525
  }, modalTableBusProps);
10176
10526
  }
10177
10527
  // 商品选择器skc
@@ -11176,10 +11526,12 @@ function commonFun(type, prefixUrl, parentProps) {
11176
11526
  }, requestConfigProp);
11177
11527
  tableSearchForm = [{
11178
11528
  name: 'qp-name-like',
11179
- label: '商店名称'
11529
+ label: '商店名称',
11530
+ type: 'multipleQueryInput'
11180
11531
  }, {
11181
11532
  name: 'qp-code-like',
11182
- label: '商店编码'
11533
+ label: '商店编码',
11534
+ type: 'multipleQueryInput'
11183
11535
  }, {
11184
11536
  name: 'qp-type-in',
11185
11537
  type: 'select',
@@ -13684,16 +14036,18 @@ var CommodityEntry = function CommodityEntry(props) {
13684
14036
  modalProps = _useState2[0],
13685
14037
  setModalProps = _useState2[1];
13686
14038
  var handleOk = function handleOk() {
13687
- var _dataValidationRef$cu;
14039
+ var _dataValidationRef$cu, _dataValidationRef$cu2;
13688
14040
  // 方法获取当前组件内部的数据,然后进行自身的业务操作
13689
- var resultData = (_dataValidationRef$cu = dataValidationRef.current) === null || _dataValidationRef$cu === void 0 ? void 0 : _dataValidationRef$cu.getValidateData();
13690
- if (!resultData.successData.length) {
13691
- message$1.error("无校验通过数据,请校验数据");
13692
- return;
13693
- }
13694
- if (resultData.failData.length) {
13695
- message$1.error("\u6709".concat(resultData.failData.length, "\u6761\u6821\u9A8C\u5931\u8D25\u6570\u636E"));
13696
- return;
14041
+ var resultData = (props === null || props === void 0 ? void 0 : props.notValid) ? (_dataValidationRef$cu = dataValidationRef.current) === null || _dataValidationRef$cu === void 0 ? void 0 : _dataValidationRef$cu.getData() : (_dataValidationRef$cu2 = dataValidationRef.current) === null || _dataValidationRef$cu2 === void 0 ? void 0 : _dataValidationRef$cu2.getValidateData();
14042
+ if (!!!(props === null || props === void 0 ? void 0 : props.notValid)) {
14043
+ if (!resultData.successData.length) {
14044
+ message$1.error("无校验通过数据,请校验数据");
14045
+ return;
14046
+ }
14047
+ if (resultData.failData.length) {
14048
+ message$1.error("\u6709".concat(resultData.failData.length, "\u6761\u6821\u9A8C\u5931\u8D25\u6570\u636E"));
14049
+ return;
14050
+ }
13697
14051
  }
13698
14052
  callbackHandleOk(resultData, function () {
13699
14053
  modalProps.hideModal();
@@ -13709,7 +14063,7 @@ var CommodityEntry = function CommodityEntry(props) {
13709
14063
  };
13710
14064
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
13711
14065
  onClick: handleShowModal
13712
- }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
14066
+ }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
13713
14067
  onOk: handleOk,
13714
14068
  onCancel: handleCancel,
13715
14069
  destroyOnClose: true,
@@ -13773,7 +14127,7 @@ function getStorageVale(storageKeyString) {
13773
14127
  return "";
13774
14128
  }
13775
14129
 
13776
- var _excluded$7 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
14130
+ var _excluded$8 = ["ctx", "value", "valueName", "onChange", "onChangeName", "placeholder", "remoteSource", "initialValue", "treeCheckable", "showSearch", "maxTagCount", "multiple", "isChoose", "rootDisabled", "mode", "getPopupContainer", "labelInValue", "showArrow", "allowClear", "showCheckedStrategy", "style", "getTreeData", "disabled"];
13777
14131
  var TreeSearchSelect = function TreeSearchSelect(props) {
13778
14132
  var _useState = useState([]),
13779
14133
  _useState2 = _slicedToArray(_useState, 2),
@@ -13815,7 +14169,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13815
14169
  } : _props$style,
13816
14170
  getTreeData = props.getTreeData,
13817
14171
  disabled = props.disabled,
13818
- restProps = _objectWithoutProperties(props, _excluded$7);
14172
+ restProps = _objectWithoutProperties(props, _excluded$8);
13819
14173
  var url = remoteSource.url,
13820
14174
  headers = remoteSource.headers,
13821
14175
  _remoteSource$paramsK = remoteSource.paramsKey,
@@ -13828,7 +14182,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13828
14182
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
13829
14183
  _remoteSource$special = remoteSource.specialBracket,
13830
14184
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
13831
- var mapSearchTree = function mapSearchTree(treeDataItem) {
14185
+ var _mapSearchTree = function mapSearchTree(treeDataItem) {
13832
14186
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
13833
14187
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
13834
14188
  return {
@@ -13840,7 +14194,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13840
14194
  isLeaf: !haveChildren,
13841
14195
  disabled: isDisabled(haveChildren, isRoot),
13842
14196
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
13843
- return mapSearchTree(i);
14197
+ return _mapSearchTree(i);
13844
14198
  }) : []
13845
14199
  };
13846
14200
  };
@@ -13858,8 +14212,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13858
14212
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
13859
14213
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
13860
14214
  headers: headers
13861
- }).then( /*#__PURE__*/function () {
13862
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
14215
+ }).then(/*#__PURE__*/function () {
14216
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
13863
14217
  var _ctx$form;
13864
14218
  var resData, coverData, data, dataList;
13865
14219
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -13886,7 +14240,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13886
14240
  case 9:
13887
14241
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
13888
14242
  coverData = dataList.length && dataList.map(function (ites) {
13889
- return mapSearchTree(ites);
14243
+ return _mapSearchTree(ites);
13890
14244
  }) || [];
13891
14245
  case 11:
13892
14246
  _context.next = 14;
@@ -13924,11 +14278,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13924
14278
  return _formatResult;
13925
14279
  }
13926
14280
  };
13927
- var parallelData = function parallelData(data, result) {
14281
+ var _parallelData = function parallelData(data, result) {
13928
14282
  data.forEach(function (i) {
13929
14283
  result.push(i);
13930
14284
  if (i[treeChildrenRoom]) {
13931
- parallelData(i[treeChildrenRoom], result);
14285
+ _parallelData(i[treeChildrenRoom], result);
13932
14286
  }
13933
14287
  });
13934
14288
  return result;
@@ -13968,7 +14322,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
13968
14322
  var _ctx$form2;
13969
14323
  var handleData = formatData(data);
13970
14324
  // 获取选中树节点当条数据,并返回给调用业务
13971
- var parallelTreeData = parallelData(treeData, []);
14325
+ var parallelTreeData = _parallelData(treeData, []);
13972
14326
  var currentItem = getSelectItem(parallelTreeData, data);
13973
14327
  onChange(handleData, data, currentItem, parallelTreeData);
13974
14328
  onChangeName && onChangeName(dataName);
@@ -14011,7 +14365,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14011
14365
  var getShowStr = function getShowStr() {
14012
14366
  var isMultiple = multiple || treeCheckable;
14013
14367
  var kongValue = '无';
14014
- var parallelTreeData = parallelData(treeData, []);
14368
+ var parallelTreeData = _parallelData(treeData, []);
14015
14369
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
14016
14370
  if (isMultiple) {
14017
14371
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -14023,7 +14377,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14023
14377
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
14024
14378
  return /*#__PURE__*/React$1.createElement("div", {
14025
14379
  className: 'tree_search_select'
14026
- }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
14380
+ }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
14027
14381
  title: getShowStr(),
14028
14382
  style: {
14029
14383
  overflow: 'hidden',
@@ -14031,7 +14385,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
14031
14385
  whiteSpace: 'nowrap'
14032
14386
  },
14033
14387
  className: 'search_select_show'
14034
- }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14388
+ }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
14035
14389
  treeCheckable: treeCheckable,
14036
14390
  maxTagCount: maxTagCount,
14037
14391
  showSearch: showSearch,
@@ -14228,7 +14582,7 @@ var index$2 = (function (props) {
14228
14582
  } : {}
14229
14583
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
14230
14584
  className: 'status-label-operate'
14231
- }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
14585
+ }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
14232
14586
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
14233
14587
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
14234
14588
  style: {
@@ -14241,7 +14595,7 @@ var index$2 = (function (props) {
14241
14595
  var css_248z$c = ".guide-wrapper .form-guide {\n cursor: pointer;\n position: fixed;\n right: 5px;\n color: #B1BAD4;\n padding: 5px 0;\n width: 48px;\n z-index: 10;\n top: 50%;\n transform: translateY(-50%);\n background-color: #141620;\n border-radius: 5px;\n}\n.guide-wrapper .form-guide .form-guide-top {\n padding: 0px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-center {\n border-top: 1px solid #6E7588;\n border-bottom: 1px solid #6E7588;\n padding: 0px 10px;\n}\n.guide-wrapper .form-guide .form-guide-item {\n width: 28px;\n padding: 5px 0;\n display: block;\n word-break: break-all;\n color: #B1BAD4;\n font-size: 14px;\n line-height: 16px;\n position: relative;\n}\n.guide-wrapper .form-guide .form-guide-item::after {\n content: '';\n display: block;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .form-guide .form-guide-bottom {\n padding: 5px 10px;\n display: flex;\n justify-content: center;\n}\n.guide-wrapper .form-guide .form-guide-item:last-child::after {\n content: '';\n display: none;\n width: 15px;\n height: 1px;\n background-color: #6E7588;\n position: absolute;\n bottom: 0px;\n left: 7px;\n}\n.guide-wrapper .white-card.bitsun-form-card-class .guidewrapper-body-wrapper {\n background-color: #FFFFFF;\n padding: 0px;\n}\n.guide-wrapper .bitsun-form-card-class > .guidewrapper-body-wrapper {\n margin-bottom: 10px;\n}\n.guide-wrapper .bitsun-form-card-class .guidewrapper-body-wrapper {\n padding: 12px 0 0;\n background-color: #F3F3F3;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title {\n display: flex;\n align-items: center;\n font-size: 16px;\n color: #000000;\n font-weight: 600;\n background-color: #FFFFFF;\n padding: 8px 0;\n margin: 0px;\n}\n.guide-wrapper .bitsun-form-card-class .ant-card-head-title .title-left-line {\n display: inline-block;\n width: 4px;\n height: 100%;\n background-color: #005cff;\n height: 20px;\n margin-right: 16px;\n}\n.guide-wrapper .field-group-hidden .guidewrapper-body-wrapper {\n display: none !important;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap {\n cursor: pointer;\n color: #B6B6B6;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon {\n transition: transform 0.3s;\n}\n.guide-wrapper .bs-guidewrap-icon-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.guidewrapper-head-wrap {\n padding-left: 16px;\n height: 36px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n background: #fff;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left {\n display: flex;\n align-items: center;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left::before {\n content: '';\n display: block;\n width: 3px;\n background: #005cff;\n height: 20px;\n}\n.guidewrapper-head-wrap .guidewrapper-head-left .guidewrapper-head-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n padding: 0 6px;\n}\n.guidewrapper-head-border {\n border-bottom: 1px solid #F0F0F0;\n}\n.guidewrapper-title-extra-wrap {\n padding-left: 5px;\n}\n";
14242
14596
  styleInject(css_248z$c);
14243
14597
 
14244
- var _excluded$8 = ["children", "titleExtra", "title", "extra", "bordered"],
14598
+ var _excluded$9 = ["children", "titleExtra", "title", "extra", "bordered"],
14245
14599
  _excluded2$3 = ["children"];
14246
14600
  var Field = function Field(_ref) {
14247
14601
  var children = _ref.children,
@@ -14249,7 +14603,7 @@ var Field = function Field(_ref) {
14249
14603
  title = _ref.title,
14250
14604
  extra = _ref.extra,
14251
14605
  bordered = _ref.bordered,
14252
- props = _objectWithoutProperties(_ref, _excluded$8);
14606
+ props = _objectWithoutProperties(_ref, _excluded$9);
14253
14607
  var _React$useState = React$1.useState(true),
14254
14608
  _React$useState2 = _slicedToArray(_React$useState, 2),
14255
14609
  fieldGroupVisible = _React$useState2[0],
@@ -14376,7 +14730,7 @@ var ExportIcon = function ExportIcon(_ref) {
14376
14730
  var css_248z$d = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
14377
14731
  styleInject(css_248z$d);
14378
14732
 
14379
- var _excluded$9 = ["className", "style"];
14733
+ var _excluded$a = ["className", "style"];
14380
14734
  var Search$1 = Input.Search;
14381
14735
  var DragHandle$1 = SortableHandle(function () {
14382
14736
  return /*#__PURE__*/React$1.createElement("img", {
@@ -14794,7 +15148,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14794
15148
  _this.DraggableBodyRow = function (_ref2) {
14795
15149
  var className = _ref2.className,
14796
15150
  style = _ref2.style,
14797
- restProps = _objectWithoutProperties(_ref2, _excluded$9);
15151
+ restProps = _objectWithoutProperties(_ref2, _excluded$a);
14798
15152
  var sortDataSource = _this.state.sortDataSource;
14799
15153
  // function findIndex base on Table rowKey props and should always be a right array index
14800
15154
  var index = sortDataSource.findIndex(function (x) {
@@ -15009,7 +15363,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15009
15363
  style: {
15010
15364
  width: 525
15011
15365
  }
15012
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15366
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15013
15367
  checked: !dataSource.some(function (item) {
15014
15368
  if (item.hidden) return true;
15015
15369
  return false;
@@ -15047,13 +15401,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
15047
15401
  _this2.onChange(e, item.title);
15048
15402
  }
15049
15403
  }, item.title);
15050
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15404
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
15051
15405
  style: {
15052
15406
  width: '144px'
15053
15407
  }
15054
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15408
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
15055
15409
  className: 'sort_table_column_all_empty'
15056
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15410
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15057
15411
  className: 'sort_table_column_special'
15058
15412
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15059
15413
  className: 'sort_table_column_all'
@@ -15148,7 +15502,7 @@ var TableSumComponent = (function (_ref) {
15148
15502
  }));
15149
15503
  });
15150
15504
 
15151
- var _excluded$a = ["onResize", "width"],
15505
+ var _excluded$b = ["onResize", "width"],
15152
15506
  _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15153
15507
  var Text = Typography.Text;
15154
15508
  var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
@@ -15232,10 +15586,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15232
15586
  var newColumns = _this.state.showColumns.map(function (col) {
15233
15587
  return _objectSpread2({}, col);
15234
15588
  });
15235
- var handleIndex = function handleIndex(arr, indexArr) {
15589
+ var _handleIndex = function handleIndex(arr, indexArr) {
15236
15590
  var i = indexArr.shift();
15237
15591
  if (indexArr.length > 0) {
15238
- handleIndex(arr[i].children, indexArr);
15592
+ _handleIndex(arr[i].children, indexArr);
15239
15593
  } else {
15240
15594
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15241
15595
  width: size.width
@@ -15243,7 +15597,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15243
15597
  handleBssulaColumnsSpecialParams(arr[i]);
15244
15598
  }
15245
15599
  };
15246
- handleIndex(newColumns, _toConsumableArray(index));
15600
+ _handleIndex(newColumns, _toConsumableArray(index));
15247
15601
  _this.setState({
15248
15602
  showColumns: _toConsumableArray(newColumns)
15249
15603
  });
@@ -15252,7 +15606,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15252
15606
  _this.ResizeableTitle = function (props) {
15253
15607
  var onResize = props.onResize,
15254
15608
  width = props.width,
15255
- restProps = _objectWithoutProperties(props, _excluded$a);
15609
+ restProps = _objectWithoutProperties(props, _excluded$b);
15256
15610
  var _useState = useState(width),
15257
15611
  _useState2 = _slicedToArray(_useState, 2),
15258
15612
  innerWidth = _useState2[0],
@@ -15284,7 +15638,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15284
15638
  };
15285
15639
  setIsResizing(true);
15286
15640
  document.addEventListener('mousemove', handleMouseMove);
15287
- document.addEventListener('mouseup', handleMouseUp);
15641
+ document.addEventListener('mouseup', _handleMouseUp);
15288
15642
  };
15289
15643
  var handleMouseMove = function handleMouseMove(e) {
15290
15644
  e.stopPropagation();
@@ -15300,9 +15654,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15300
15654
  dom.style.top = "".concat(e.clientY - 20, "px");
15301
15655
  }
15302
15656
  };
15303
- var handleMouseUp = function handleMouseUp(e) {
15657
+ var _handleMouseUp = function handleMouseUp(e) {
15304
15658
  document.removeEventListener('mousemove', handleMouseMove);
15305
- document.removeEventListener('mouseup', handleMouseUp);
15659
+ document.removeEventListener('mouseup', _handleMouseUp);
15306
15660
  setIsResizing(false);
15307
15661
  };
15308
15662
  var handleresize = function handleresize(e, data, title) {
@@ -15423,13 +15777,13 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15423
15777
  showSummary = summary;
15424
15778
  }
15425
15779
  }
15426
- var handleColumns = function handleColumns(arr, indexArr) {
15780
+ var _handleColumns = function handleColumns(arr, indexArr) {
15427
15781
  arr.forEach(function (item, index) {
15428
15782
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15429
15783
  return i || i === 0;
15430
15784
  });
15431
15785
  if (noEmptyArray$1(item.children)) {
15432
- handleColumns(item.children, indexArrInside);
15786
+ _handleColumns(item.children, indexArrInside);
15433
15787
  } else {
15434
15788
  item.width = item.width || getItemDefaultWidth$2(item);
15435
15789
  item.onHeaderCell = function (column) {
@@ -15445,7 +15799,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15445
15799
  handleBssulaColumnsSpecialParams(item);
15446
15800
  return _objectSpread2({}, item);
15447
15801
  });
15448
- handleColumns(showCol, []);
15802
+ _handleColumns(showCol, []);
15449
15803
  if (dynamicColumns.length) {
15450
15804
  showCol = this.handledynamicColumns(showCol);
15451
15805
  }
@@ -15486,14 +15840,14 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
15486
15840
  cell: this.ResizeableTitle
15487
15841
  }
15488
15842
  }
15489
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
15843
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15490
15844
  summary: summary
15491
15845
  })));
15492
15846
  }
15493
15847
  }]);
15494
15848
  }(React$1.Component);
15495
15849
 
15496
- var _excluded$b = ["onResize", "width"],
15850
+ var _excluded$c = ["onResize", "width"],
15497
15851
  _excluded2$5 = ["columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
15498
15852
  var Text$1 = Typography.Text;
15499
15853
  var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
@@ -15583,10 +15937,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15583
15937
  var newColumns = _this.state.showColumns.map(function (col) {
15584
15938
  return _objectSpread2({}, col);
15585
15939
  });
15586
- var handleIndex = function handleIndex(arr, indexArr) {
15940
+ var _handleIndex = function handleIndex(arr, indexArr) {
15587
15941
  var i = indexArr.shift();
15588
15942
  if (indexArr.length > 0) {
15589
- handleIndex(arr[i].children, indexArr);
15943
+ _handleIndex(arr[i].children, indexArr);
15590
15944
  } else {
15591
15945
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
15592
15946
  width: size.width
@@ -15594,7 +15948,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15594
15948
  handleAntdColumnsSpecialParams(arr[i]);
15595
15949
  }
15596
15950
  };
15597
- handleIndex(newColumns, _toConsumableArray(index));
15951
+ _handleIndex(newColumns, _toConsumableArray(index));
15598
15952
  _this.setState({
15599
15953
  showColumns: _toConsumableArray(newColumns)
15600
15954
  });
@@ -15603,7 +15957,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15603
15957
  _this.ResizeableTitle = function (props) {
15604
15958
  var onResize = props.onResize,
15605
15959
  width = props.width,
15606
- restProps = _objectWithoutProperties(props, _excluded$b);
15960
+ restProps = _objectWithoutProperties(props, _excluded$c);
15607
15961
  if (!width) {
15608
15962
  return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
15609
15963
  }
@@ -15670,13 +16024,13 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15670
16024
  showSummary = summary;
15671
16025
  }
15672
16026
  }
15673
- var handleColumns = function handleColumns(arr, indexArr) {
16027
+ var _handleColumns = function handleColumns(arr, indexArr) {
15674
16028
  arr.forEach(function (item, index) {
15675
16029
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
15676
16030
  return i || i === 0;
15677
16031
  });
15678
16032
  if (noEmptyArray$1(item.children)) {
15679
- handleColumns(item.children, indexArrInside);
16033
+ _handleColumns(item.children, indexArrInside);
15680
16034
  } else {
15681
16035
  item.width = item.width || getItemDefaultWidth$2(item);
15682
16036
  item.onHeaderCell = function (column) {
@@ -15692,7 +16046,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15692
16046
  handleAntdColumnsSpecialParams(item);
15693
16047
  return _objectSpread2({}, item);
15694
16048
  });
15695
- handleColumns(showCol, []);
16049
+ _handleColumns(showCol, []);
15696
16050
  if (dynamicColumns.length) {
15697
16051
  showCol = this.handledynamicColumns(showCol);
15698
16052
  }
@@ -15732,7 +16086,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
15732
16086
  cell: this.ResizeableTitle
15733
16087
  }
15734
16088
  }
15735
- }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
16089
+ }, otherTableInfo)), Array.isArray(summary) && (/*#__PURE__*/React$1.createElement(TableSumComponent, {
15736
16090
  summary: summary
15737
16091
  })));
15738
16092
  }
@@ -15792,20 +16146,30 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
15792
16146
  };
15793
16147
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
15794
16148
  var routerMap = {};
15795
- var flattenMenuData = function flattenMenuData(data, parent) {
16149
+ var _flattenMenuData2 = function flattenMenuData(data, parent) {
15796
16150
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
15797
16151
  data.forEach(function (menuItem) {
16152
+ // 面包屑路径,增加显示一级导航路径显示
16153
+ if (parent.isMenuRoot) {
16154
+ var _ref, _ref$applicationList, _ref$applicationList$;
16155
+ var newList = ((_ref = window.top || window) === null || _ref === void 0 ? void 0 : (_ref$applicationList = _ref.applicationList) === null || _ref$applicationList === void 0 ? void 0 : (_ref$applicationList$ = _ref$applicationList.filter) === null || _ref$applicationList$ === void 0 ? void 0 : _ref$applicationList$.call(_ref$applicationList, function (app) {
16156
+ return app.code === menuItem.belongAppCode;
16157
+ })) || [];
16158
+ pNameMap = newList.length > 0 ? [newList[0].name] : [];
16159
+ }
15798
16160
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
15799
16161
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
15800
16162
  });
15801
16163
  if (newMenuItem.children) {
15802
- flattenMenuData(newMenuItem.children, newMenuItem);
16164
+ _flattenMenuData2(newMenuItem.children, newMenuItem);
15803
16165
  }
15804
16166
  // Reduce memory usage
15805
16167
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
15806
16168
  });
15807
16169
  };
15808
- flattenMenuData(menuData, {});
16170
+ _flattenMenuData2(menuData, {
16171
+ isMenuRoot: true
16172
+ });
15809
16173
  return routerMap;
15810
16174
  };
15811
16175
  // mode类型判断
@@ -15845,8 +16209,8 @@ function matchRoute(path, routeObj, hideRouteObj) {
15845
16209
  // 如果都不匹配,返回null
15846
16210
  return null;
15847
16211
  }
15848
- var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRouteArray, _ref) {
15849
- var pathToRegexp = _ref.pathToRegexp;
16212
+ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRouteArray, _ref2) {
16213
+ var pathToRegexp = _ref2.pathToRegexp;
15850
16214
  var newPath = path.split('?')[0];
15851
16215
  var hideRouteObj = _defineProperty({}, newPath, Array.isArray(hideRouteArray) && (hideRouteArray === null || hideRouteArray === void 0 ? void 0 : hideRouteArray.find(function (itemRoute) {
15852
16216
  return pathToRegexp(itemRoute.path).test(newPath);
@@ -15866,30 +16230,42 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
15866
16230
  return undefined;
15867
16231
  };
15868
16232
 
15869
- var css_248z$f = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 10px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
16233
+ var css_248z$f = ".bs_detail_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_pre:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\n.back_home_img_content {\n display: inline-block;\n height: 16px;\n width: 16px;\n border: 1px solid #BABABA;\n margin: 0 8px 0 10px;\n border-radius: 14px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.back_home_img_content .anticon-arrow-left {\n color: #BABABA;\n}\n.back_home_img_content:hover {\n background-color: #005cff;\n border: 1px solid #005cff;\n}\n.back_home_img_content:hover .anticon-arrow-left {\n color: #FFFFFF;\n}\n.detail_page_title_box {\n flex-grow: 1;\n display: flex;\n align-items: center;\n}\n.detail_page_title {\n height: 20px;\n font-family: PingFangSC;\n font-weight: 600;\n font-size: 14px;\n padding-right: 10px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n display: none;\n}\n.detail_page_btns {\n display: flex;\n gap: 8px;\n margin-right: 20px;\n}\n.detail_page_btns button {\n height: 24px !important;\n display: flex;\n align-items: center;\n gap: 2px;\n border-radius: 3px;\n padding: 0 2px;\n}\n.detail_page_btns .ant-btn-dangerous {\n background-color: #EC5246 !important;\n}\n";
15870
16234
  styleInject(css_248z$f);
15871
16235
 
15872
16236
  var quanping = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%9F%A9%E5%BD%A2%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%98%9F%E6%BE%9C-%E6%90%9C%E7%B4%A2-%E6%90%9C%E7%B4%A2%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%28-1823.000000%2C%20-297.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E7%BB%84%E4%BB%B6-%E6%A0%B7%E5%BC%8F%E4%B8%80%22%20transform%3D%22translate%28230.000000%2C%20284.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%A1%AE%E5%AE%9A%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%281593.000000%2C%2013.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.55801813%2C1%20L28.4419819%2C1%20C30.0269041%2C1%2030.6016352%2C1.16502331%2031.181059%2C1.47490258%20C31.7604829%2C1.78478186%2032.2152181%2C2.2395171%2032.5250974%2C2.81894097%20C32.8349767%2C3.39836484%2033%2C3.97309593%2033%2C5.55801813%20L33%2C28.4419819%20C33%2C30.0269041%2032.8349767%2C30.6016352%2032.5250974%2C31.181059%20C32.2152181%2C31.7604829%2031.7604829%2C32.2152181%2031.181059%2C32.5250974%20C30.6016352%2C32.8349767%2030.0269041%2C33%2028.4419819%2C33%20L5.55801813%2C33%20C3.97309593%2C33%203.39836484%2C32.8349767%202.81894097%2C32.5250974%20C2.2395171%2C32.2152181%201.78478186%2C31.7604829%201.47490258%2C31.181059%20C1.16502331%2C30.6016352%201%2C30.0269041%201%2C28.4419819%20L1%2C5.55801813%20C1%2C3.97309593%201.16502331%2C3.39836484%201.47490258%2C2.81894097%20C1.78478186%2C2.2395171%202.2395171%2C1.78478186%202.81894097%2C1.47490258%20C3.39836484%2C1.16502331%203.97309593%2C1%205.55801813%2C1%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%289.000000%2C%209.000000%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.5%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.41%20L5.21873562%2C9.69278114%20Z%20M10.7898541%2C9.72266777%20L14.499%2C13.431%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.446%2C14.5%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%20M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.499%2C2.588%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.465%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%20M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15873
16237
 
15874
16238
  var scanning = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2234px%22%20height%3D%2234px%22%20viewBox%3D%220%200%2034%2034%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3Escanning%402x%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M4.55801813%2C-4.10857923e-16%20L27.4419819%2C1.84149388e-16%20C29.0269041%2C-1.06996098e-16%2029.6016352%2C0.165023309%2030.181059%2C0.474902584%20C30.7604829%2C0.78478186%2031.2152181%2C1.2395171%2031.5250974%2C1.81894097%20C31.8349767%2C2.39836484%2032%2C2.97309593%2032%2C4.55801813%20L32%2C27.4419819%20C32%2C29.0269041%2031.8349767%2C29.6016352%2031.5250974%2C30.181059%20C31.2152181%2C30.7604829%2030.7604829%2C31.2152181%2030.181059%2C31.5250974%20C29.6016352%2C31.8349767%2029.0269041%2C32%2027.4419819%2C32%20L4.55801813%2C32%20C2.97309593%2C32%202.39836484%2C31.8349767%201.81894097%2C31.5250974%20C1.2395171%2C31.2152181%200.78478186%2C30.7604829%200.474902584%2C30.181059%20C0.165023309%2C29.6016352%202.03054919e-16%2C29.0269041%20-3.49474794e-16%2C27.4419819%20L1.22766259e-16%2C4.55801813%20C-7.13307317e-17%2C2.97309593%200.165023309%2C2.39836484%200.474902584%2C1.81894097%20C0.78478186%2C1.2395171%201.2395171%2C0.78478186%201.81894097%2C0.474902584%20C2.39836484%2C0.165023309%202.97309593%2C2.38720285e-16%204.55801813%2C-4.10857923e-16%20Z%22%20id%3D%22path-1%22%3E%3C%2Fpath%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E5%88%97%E8%A1%A8%E5%8A%9F%E8%83%BD%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%94%BB%E6%9D%BF%22%20transform%3D%22translate%28-63.000000%2C%20-69.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22scanning%22%20transform%3D%22translate%2864.244061%2C%2070.096401%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20stroke%3D%22%23D9D9D9%22%20stroke-width%3D%220.888888889%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23000000%22%20fill-rule%3D%22nonzero%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%288.000000%2C%208.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.21873562%2C9.69278114%20L6.28954184%2C10.7432953%20L2.532%2C14.4997811%20L5.24949999%2C14.5%20L5.24949999%2C16%20L1.5%2C16%20C0.671572876%2C16%200%2C15.3284271%200%2C14.5%20L0%2C11%20L1.5%2C11%20L1.5%2C13.4107811%20L5.21873562%2C9.69278114%20Z%22%20transform%3D%22translate%283.144771%2C%2012.846391%29%20scale%28-1%2C%20-1%29%20translate%28-3.144771%2C%20-12.846391%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10.7898541%2C9.72266777%20L14.4990478%2C13.4326678%20L14.5%2C11%20L16%2C11%20L16%2C14.5%20C16%2C15.3284271%2015.3284271%2C16%2014.5%2C16%20L10.7495%2C16%20L10.7495%2C14.5%20L13.4460478%2C14.4996678%20L9.71904783%2C10.7731819%20L10.7898541%2C9.72266777%20Z%22%20transform%3D%22translate%2812.859524%2C%2012.861334%29%20scale%28-1%2C%20-1%29%20translate%28-12.859524%2C%20-12.861334%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M14.5%2C0%20C15.3284271%2C0%2016%2C0.671572876%2016%2C1.5%20L16%2C5%20L14.5%2C5%20L14.4990478%2C2.587%20L10.779708%2C6.3074783%20L9.71904783%2C5.24681813%20L13.4650478%2C1.5%20L10.75%2C1.5%20L10.75%2C0%20L14.5%2C0%20Z%22%20transform%3D%22translate%2812.859524%2C%203.153739%29%20scale%28-1%2C%20-1%29%20translate%28-12.859524%2C%20-3.153739%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M5.25000001%2C0%20L5.25000001%2C1.5%20L2.567%2C1.5%20L6.31400442%2C5.24681813%20L5.25334424%2C6.3074783%20L1.5%2C2.554%20L1.5%2C5%20L0%2C5%20L0%2C1.5%20C0%2C0.671572876%200.671572876%2C0%201.5%2C0%20L5.25000001%2C0%20Z%22%20transform%3D%22translate%283.157002%2C%203.153739%29%20scale%28-1%2C%20-1%29%20translate%28-3.157002%2C%20-3.153739%29%20%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15875
16239
 
15876
- var editIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%209%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1509.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-10%22%20transform%3D%22translate%281339.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20transform%3D%22translate%283.000000%2C%204.000000%29%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10.389993%2C0%20L10.389993%2C1.3%20L1.27053272%2C1.3%20L1.27053272%2C10.8333333%20L11.4347944%2C10.8333333%20L11.4347944%2C6.06666667%20L12.7053272%2C6.06666667%20L12.7053272%2C10.8333333%20C12.7053272%2C11.5513035%2012.1364903%2C12.1333333%2011.4347944%2C12.1333333%20L1.27053272%2C12.1333333%20C0.568836873%2C12.1333333%200%2C11.5513035%200%2C10.8333333%20L0%2C1.3%20C0%2C0.582029825%200.568836873%2C0%201.27053272%2C0%20L10.389993%2C0%20Z%20M13.1046979%2C0.492266673%20L14%2C1.4144%20L7.17639229%2C8.34686666%20L7.17893335%2C8.34946666%20L6.25398553%2C8.38153334%20L6.28024322%2C7.42126667%20L6.28193725%2C7.42343334%20L13.1046979%2C0.492266673%20L13.1046979%2C0.492266673%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
16240
+ var editIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M20%2C18.6652611%20L20%2C19.3979707%20L20%2C20%20L4%2C20%20L4%2C19.3979707%20L4%2C18.6652611%20L20%2C18.6652611%20Z%20M14.2960911%2C4.17633188%20C14.5275784%2C3.94122271%2014.9028913%2C3.94122271%2015.1343622%2C4.17633188%20L17.4163545%2C6.49402774%20C17.6478583%2C6.72913692%2017.6478583%2C7.11032182%2017.4163545%2C7.345431%20L8.43496158%2C16.4277085%20C8.36527571%2C16.4984893%208.27931305%2C16.550506%208.18485181%2C16.579052%20L4.93650384%2C17.560527%20C4.48520307%2C17.6968699%204.06507135%2C17.2701649%204.19933041%2C16.8118199%20L5.16568606%2C13.512649%20C5.19379224%2C13.4167098%205.24500766%2C13.3294022%205.31469813%2C13.2586261%20L14.2960911%2C4.17633188%20Z%20M20%2C16.1286246%20L20%2C16.8560691%20L20%2C17.4580984%20C19.2791568%2C17.4580984%2018.3492175%2C17.4580984%2017.2101821%2C17.4580984%20C16.0711466%2C17.4580984%2014.1650083%2C17.4580984%2011.4917673%2C17.4580984%20L11.4917673%2C16.8560691%20L11.4917673%2C16.1286246%20L20%2C16.1286246%20Z%20M6.25913831%2C14.002149%20L5.64777717%2C16.0893847%20L7.70287596%2C15.4684416%20L16.0610272%2C7.06564268%20L14.6173225%2C5.5993668%20L6.25913831%2C14.002149%20Z%22%20fill%3D%22%232C2C2C%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
15877
16241
 
15878
16242
  var submitIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2013%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1587.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-10%22%20transform%3D%22translate%281339.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-5%22%20transform%3D%22translate%2878.000000%2C%200.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-4%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M10%2C3%20C13.8660588%2C3%2017%2C6.13394117%2017%2C10%20C17%2C13.8660588%2013.8660588%2C17%2010%2C17%20C6.13394117%2C17%203%2C13.8660588%203%2C10%20C3%2C6.13394117%206.13394117%2C3%2010%2C3%20Z%20M10%2C4.23529412%20C6.8162353%2C4.23529412%204.23529412%2C6.81623528%204.23529412%2C10%20C4.23529412%2C13.1837647%206.81623528%2C15.7647059%2010%2C15.7647059%20C13.1837647%2C15.7647059%2015.7647059%2C13.1837647%2015.7647059%2C10%20C15.7647059%2C6.81623528%2013.1837647%2C4.23529412%2010%2C4.23529412%20Z%20M13.2628235%2C6.68735294%20L14.1489412%2C7.54794118%20L8.90223529%2C12.947%20L6.26117647%2C10.2071177%20L7.15058823%2C9.34982354%20L8.90594117%2C11.1706471%20L13.2628235%2C6.68735294%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15879
16243
 
15880
- var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%AD%9B%E9%80%89-%E7%8A%B6%E6%80%81%E4%B8%80%E5%A4%87%E4%BB%BD%202%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Crect%20id%3D%22path-1%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1665.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-10%22%20transform%3D%22translate%281339.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%90%9C%E7%B4%A2%E4%B8%89%E4%BB%B6%E5%A5%97%E5%A4%87%E4%BB%BD-5%22%20transform%3D%22translate%28156.000000%2C%200.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%AD%9B%E9%80%89-%E7%8A%B6%E6%80%81%E4%B8%80%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cmask%20id%3D%22mask-2%22%20fill%3D%22white%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fmask%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20transform%3D%22translate%284.000000%2C%203.000000%29%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M2.994%2C4.13446555%20L3.51440001%2C11.7596603%20L8.6112%2C11.7596603%20L9.13120001%2C4.13446555%20L10.3332%2C4.13446555%20L9.80800001%2C11.8468976%20C9.76369693%2C12.4963619%209.24110169%2C12.9998762%208.6112%2C13%20L3.51440001%2C13%20C2.88435477%2C12.9998609%202.36170317%2C12.4961118%202.31760001%2C11.8464841%20L1.7916%2C4.13446555%20L2.994%2C4.13446555%20Z%20M5.60600001%2C4.51855739%20L5.60600001%2C10.3068092%20L4.40600001%2C10.3068092%20L4.40600001%2C4.51855739%20L5.60600001%2C4.51855739%20Z%20M7.8%2C4.51855739%20L7.8%2C10.3068092%20L6.6%2C10.3068092%20L6.6%2C4.51855739%20L7.8%2C4.51855739%20Z%20M0%2C2.06723278%20L12%2C2.06723278%20L12%2C3.30757244%20L0%2C3.30757244%20L0%2C2.06723278%20Z%20M8.50280001%2C0%20L8.50280001%2C1.24033966%20L3.70280001%2C1.24033966%20L3.70280001%2C0%20L8.50280001%2C0%20Z%22%3E%3C%2Fpath%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
16244
+ var deleteIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M15.1363636%2C4%20C15.6886484%2C4%2016.1363636%2C4.44771525%2016.1363636%2C5%20L16.1363636%2C7.125%20L19%2C7.125%20L19%2C8.375%20L17.1292731%2C8.375%20L17.1292731%2C19%20C17.1292731%2C19.5522847%2016.6815579%2C20%2016.1292731%2C20%20L15.5%2C20%20L8.5%2C20%20L7.59090908%2C20%20C7.03862433%2C20%206.59090908%2C19.5522847%206.59090908%2C19%20L6.59090908%2C8.375%20L5%2C8.375%20L5%2C7.125%20L7.86363637%2C7.125%20L7.86363637%2C5%20C7.86363637%2C4.44771525%208.31135162%2C4%208.86363637%2C4%20Z%20M15.9375%2C8.375%20L7.8125%2C8.375%20L7.8125%2C18.75%20L15.9375%2C18.75%20L15.9375%2C8.375%20Z%20M10.9375%2C10.1875957%20L10.9375%2C17.093797%20L9.68749998%2C17.093797%20L9.68749998%2C10.1875957%20L10.9375%2C10.1875957%20Z%20M14.0625%2C10.1875957%20L14.0625%2C17.093797%20L12.8125%2C17.093797%20L12.8125%2C10.1875957%20L14.0625%2C10.1875957%20Z%20M14.9222156%2C5.25%20L9.0625%2C5.25%20L9.0625%2C7.125%20L14.9222156%2C7.125%20L14.9222156%2C5.25%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
15881
16245
 
15882
16246
  var moreIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2220px%22%20height%3D%2220px%22%20viewBox%3D%220%200%2020%2020%22%20version%3D%221.1%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E%20%20%20%20%3Ctitle%3E%E7%BC%96%E7%BB%84%2014%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E9%A1%B6%E9%83%A8%E5%AF%BC%E8%88%AA%22%20stroke%3D%22none%22%20stroke-width%3D%221%22%20fill%3D%22none%22%20fill-rule%3D%22evenodd%22%3E%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E6%9C%80%E6%96%B0%E6%A1%86%E6%9E%B6-%E4%B8%8B%E6%8B%89%E5%BC%8F%E5%B1%95%E5%BC%80%22%20transform%3D%22translate%28-1743.000000%2C%20-94.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-7%22%20transform%3D%22translate%28160.000000%2C%2050.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22tab%E5%AF%BC%E8%88%AA%E5%A4%87%E4%BB%BD-7%22%20transform%3D%22translate%280.000000%2C%2026.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-3%22%20transform%3D%22translate%281573.000000%2C%2012.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-2%22%20transform%3D%22translate%2810.000000%2C%206.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E8%92%99%E7%89%88%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220%22%20y%3D%220%22%20width%3D%2220%22%20height%3D%2220%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpolygon%20id%3D%22%E8%B7%AF%E5%BE%84%22%20fill%3D%22%23FFFFFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%2810.500000%2C%2010.022232%29%20rotate%28-90.000000%29%20translate%28-10.500000%2C%20-10.022232%29%20%22%20points%3D%2214%204.9775377%2013.0224623%204%207%2010.0252289%2013.0220012%2016.0444635%2014%2015.0660036%208.95599763%2010.0247678%22%3E%3C%2Fpolygon%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%20%20%20%20%3C%2Fg%3E%20%20%20%20%3C%2Fg%3E%3C%2Fsvg%3E";
15883
16247
 
16248
+ var hangUpIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M11.7782857%2C3.00000016%20C12.3001619%2C2.99977385%2012.7937223%2C3.23470832%2013.1191658%2C3.63825843%20C13.4446093%2C4.04180854%2013.5664902%2C4.57002172%2013.4502857%2C5.07328132%20L17.112%2C8.69530544%20L18.8571429%2C8.69530544%20C19.1602474%2C8.69530544%2019.4509376%2C8.81440813%2019.6652649%2C9.02641228%20C19.8795922%2C9.23841643%2020%2C9.52595576%2020%2C9.82577491%20L20%2C18.8695305%20C20%2C19.4938716%2019.4883254%2C20.0000002%2018.8571429%2C20.0000002%20L5.14285714%2C20.0000002%20C4.51167457%2C20.0000002%204%2C19.4938716%204%2C18.8695305%20L4%2C9.82577491%20C4%2C9.52595576%204.12040781%2C9.23841643%204.3347351%2C9.02641228%20C4.54906239%2C8.81440813%204.83975258%2C8.69530544%205.14285714%2C8.69530544%20L6.48228571%2C8.69530544%20L10.1131428%2C5.10267352%20C9.98848601%2C4.59655451%2010.1052663%2C4.06183998%2010.4300197%2C3.65175481%20C10.7547732%2C3.24166964%2011.2516566%2C3.00147521%2011.7782857%2C3.00000016%20Z%20M18.8571429%2C9.82577491%20L5.14285714%2C9.82577491%20L5.14285714%2C18.8695305%20L18.8571429%2C18.8695305%20L18.8571429%2C9.82577491%20Z%20M6.85714285%2C16.6085916%20C7.17273414%2C16.6085916%207.42857143%2C16.8616558%207.42857143%2C17.1738264%20C7.42857143%2C17.4859969%207.17273414%2C17.7390611%206.85714285%2C17.7390611%20C6.54155156%2C17.7390611%206.28571427%2C17.4859969%206.28571427%2C17.1738264%20C6.28571427%2C16.8616558%206.54155156%2C16.6085916%206.85714285%2C16.6085916%20Z%20M17.1428571%2C16.6085916%20C17.4584484%2C16.6085916%2017.7142857%2C16.8616558%2017.7142857%2C17.1738264%20C17.7142857%2C17.4859969%2017.4584484%2C17.7390611%2017.1428571%2C17.7390611%20C16.8272659%2C17.7390611%2016.5714286%2C17.4859969%2016.5714286%2C17.1738264%20C16.5714286%2C16.8616558%2016.8272659%2C16.6085916%2017.1428571%2C16.6085916%20Z%20M13.9634286%2C11.4932173%20L14.7714286%2C12.2924592%20L12.7508571%2C14.2911292%20L14.7714286%2C16.2897992%20L13.9634286%2C17.0890411%20L11.9428571%2C15.0903712%20L9.92228571%2C17.0890411%20L9.11428572%2C16.2897992%20L11.1348571%2C14.2911292%20L9.11428572%2C12.2924592%20L9.92228571%2C11.4932173%20L11.9428571%2C13.4918874%20L13.9634286%2C11.4932173%20Z%20M17.1428571%2C11.0093764%20C17.4584484%2C11.0093764%2017.7142857%2C11.2624406%2017.7142857%2C11.5746112%20C17.7142857%2C11.8867817%2017.4584484%2C12.1398459%2017.1428571%2C12.1398459%20C16.9387054%2C12.1398459%2016.7500614%2C12.0321128%2016.6479855%2C11.8572285%20C16.5459096%2C11.6823443%2016.5459096%2C11.466878%2016.6479855%2C11.2919938%20C16.7500614%2C11.1171095%2016.9387054%2C11.0093764%2017.1428571%2C11.0093764%20Z%20M6.85714285%2C10.9562444%20C7.17273412%2C10.9562444%207.42857139%2C11.2093086%207.42857139%2C11.5214791%20C7.42857139%2C11.8336496%207.17273412%2C12.0867138%206.85714285%2C12.0867138%20C6.65299108%2C12.0867138%206.46434706%2C11.9789807%206.36227117%2C11.8040965%20C6.26019528%2C11.6292122%206.26019528%2C11.413746%206.36227117%2C11.2388617%20C6.46434706%2C11.0639775%206.65299108%2C10.9562444%206.85714285%2C10.9562444%20Z%20M12.8171429%2C6.04548504%20C12.5188904%2C6.27107685%2012.153742%2C6.39306307%2011.7782857%2C6.39253917%20C11.3977143%2C6.39253917%2011.0457143%2C6.269318%2010.7611429%2C6.06131161%20L8.09828571%2C8.69530544%20L15.4948571%2C8.69530544%20L12.8171429%2C6.04548504%20Z%22%20fill%3D%22%23000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
16249
+
16250
+ var unhookIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M12.5311653%2C14.5508817%20L12.5311653%2C13.2326256%20C13.3848238%2C13.1340808%2014.1752484%2C12.8138102%2014.8328817%2C12.3334044%20L15.8699187%2C13.3434885%20L16.7109304%2C12.5243349%20L15.6865402%2C11.5265689%20C16.3757904%2C10.6889382%2016.7741644%2C9.61110446%2016.7299006%2C8.4470441%20C16.6774618%2C7.32337401%2016.3287928%2C6.21824036%2015.4374714%2C5.33134433%20C14.5455357%2C4.44383708%2013.3572314%2C4.01010691%2012%2C4.00006849%20C10.8617886%2C3.99405125%209.8036016%2C4.3849051%208.98156004%2C5.02544626%20L7.95302618%2C4.00636936%20L7.11833784%2C4.8193639%20L8.1531951%2C5.85691795%20C7.69418947%2C6.44248923%207.27225519%2C7.38404803%207.27225519%2C8.11644273%20C7.79460882%2C8.20600257%208.14631127%2C8.25397686%208.54141325%2C8.32640711%20C8.62994081%2C7.83368313%208.83284993%2C7.16515696%209.11107938%2C6.7709778%20L13.9539295%2C11.4772965%20C13.5365854%2C11.7544537%2013.0496838%2C11.9453842%2012.5311653%2C12.0316109%20L11.8102981%2C12.0316109%20C11.5826558%2C12.0316109%2011.3929539%2C12.2163824%2011.3929539%2C12.4381082%20L11.3929539%2C14.5508817%20L5.70189702%2C14.5508817%20C5.31616983%2C14.5631998%205%2C14.8773113%205%2C15.2468543%20L5%2C19.3040274%20C5%2C19.6858885%205.32249322%2C20%205.7145438%2C20%20L18.2854562%2C20%20C18.6775068%2C20%2019%2C19.6858885%2019%2C19.3040274%20L19%2C15.2468543%20C18.9873532%2C14.8649932%2018.66486%2C14.5508817%2018.2791328%2C14.5508817%20L12.5311653%2C14.5508817%20Z%20M12.2339657%2C5.20122497%20C12.9096339%2C5.25166385%2013.5465163%2C5.36896496%2014.0643728%2C5.74187871%20C14.8744517%2C6.32522476%2015.491468%2C7.27667119%2015.5647596%2C8.30990061%20C15.6279936%2C9.17216756%2015.2818428%2C10.048397%2014.8012647%2C10.67662%20L9.86269195%2C5.86640232%20C10.5203252%2C5.3921555%2011.3486901%2C5.13963448%2012.2339657%2C5.20122497%20Z%20M17.8491418%2C18.8081647%20L6.15718157%2C18.8081647%20L6.15718157%2C18.3831903%20L6.15718157%2C16.2686664%20L6.15718157%2C15.843692%20L17.8491418%2C15.843692%20L17.8491418%2C16.2686664%20L17.8491418%2C18.3831903%20L17.8491418%2C18.8081647%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
16251
+
16252
+ var refreshIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M18.94575%2C11.125%20C18.981625%2C11.4115625%2019%2C11.7038125%2019%2C12%20C19%2C15.8661875%2015.8661881%2C19%2012.0000014%2C19%20C10.1362517%2C19%208.44225205%2C18.2715625%207.1875023%2C17.08375%20L7.1875023%2C19%20L5.87500256%2C19%20L5.87544006%2C15.9375%20L5.87500256%2C14.625%20L10.2500017%2C14.625%20L10.2500017%2C15.9375%20L7.89625216%2C15.9375%20C8.93137696%2C17.016375%2010.3873767%2C17.6875%2012.0000014%2C17.6875%20C15.1412507%2C17.6875%2017.6875003%2C15.14125%2017.6875003%2C12%20C17.687583%2C11.7070512%2017.665205%2C11.4145273%2017.6205628%2C11.125%20L18.9461875%2C11.125%20L18.94575%2C11.125%20Z%20M18.1250002%2C5%20L18.1245627%2C8.06250001%20L18.1250002%2C9.375%20L13.750001%2C9.375%20L13.750001%2C8.06250001%20L16.1041881%2C8.06250001%20C15.0327104%2C6.9428839%2013.5497111%2C6.31054214%2012.0000014%2C6.3125%20C8.85875197%2C6.3125%206.31250247%2C8.85875%206.31250247%2C12%20C6.31250247%2C12.2975%206.33525247%2C12.5901875%206.37943996%2C12.875%20L5.05381521%2C12.875%20C5.01779256%2C12.5847275%204.99982051%2C12.2924991%205.00000135%2C12%20C5.00000135%2C8.1338125%208.13381462%2C5%2012.0000014%2C5%20C13.863751%2C5%2015.5581882%2C5.72887501%2016.8125004%2C6.91668749%20L16.8125004%2C5%20L18.1250002%2C5%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
16253
+
16254
+ var printIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M9.66666666%2C13.1666667%20L9.66666666%2C17.8333333%20L14.3333333%2C17.8333333%20L14.3333333%2C13.1666667%20L9.66666666%2C13.1666667%20Z%20M15.5%2C15.5%20L17.8333333%2C15.5%20L17.8333333%2C9.66666666%20L6.16666666%2C9.66666666%20L6.16666666%2C15.5%20L8.5%2C15.5%20L8.5%2C13.1666667%20L7.33342263%2C13.1666667%20L7.33342263%2C12.5833333%20L7.33342263%2C12%20L16.6665774%2C12%20L16.6665774%2C12.5833333%20L16.6665774%2C13.1666667%20L15.5%2C13.1666667%20L15.5%2C15.5%20Z%20M8.5%2C16.6666667%20L6.16666666%2C16.6666667%20C5.52233446%2C16.6666667%205%2C16.1443322%205%2C15.5%20L5%2C9.66666666%20C5%2C9.02233446%205.52233446%2C8.5%206.16666666%2C8.5%20L8.5%2C8.5%20L8.5%2C6.16666666%20C8.5%2C5.52233446%209.02233446%2C5%209.66666666%2C5%20L14.3333333%2C5%20C14.9776655%2C5%2015.5%2C5.52233446%2015.5%2C6.16666666%20L15.5%2C8.5%20L17.8333333%2C8.5%20C18.4776655%2C8.5%2019%2C9.02233446%2019%2C9.66666666%20L19%2C15.5%20C19%2C16.1443322%2018.4776655%2C16.6666667%2017.8333333%2C16.6666667%20L15.5%2C16.6666667%20L15.5%2C17.8333333%20C15.5%2C18.4776655%2014.9776655%2C19%2014.3333333%2C19%20L9.66666666%2C19%20C9.02233446%2C19%208.5%2C18.4776655%208.5%2C17.8333333%20L8.5%2C16.6666667%20Z%20M14.3333333%2C8.5%20L14.3333333%2C6.16666666%20L9.66666666%2C6.16666666%20L9.66666666%2C8.5%20L14.3333333%2C8.5%20Z%22%20fill%3D%22%233E3E3E%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
16255
+
16256
+ var copyIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M17.0909091%2C5%20L17.9987273%2C5.00011112%20C18.5509686%2C5.00011112%2018.9986659%2C5.44775865%2018.9987273%2C6.00000001%20L19%2C15.4545455%20C19.0000614%2C16.0068302%2018.5523959%2C16.4545952%2018.0001111%2C16.4546566%20C18.0000741%2C16.4546566%2018.000037%2C16.4546566%2018%2C16.4546566%20L17.1625%2C16.4545455%20L17.1625%2C16.4545455%20L17.0909091%2C16.4545455%20L16.4545455%2C16.4545455%20L16.4545455%2C18%20C16.4545455%2C18.5522847%2016.0068302%2C19%2015.4545455%2C19%20L14.6170455%2C19%20L14.6170455%2C19%20L14.5454546%2C19%20L6.90909091%2C19%20L6%2C19%20C5.44771525%2C19%205%2C18.5522847%205%2C18%20L5%2C9.45454545%20L5%2C9.45454545%20L5%2C8.54545454%20C5%2C7.99316979%205.44771525%2C7.54545454%206%2C7.54545454%20L7.54545454%2C7.54545454%20L7.54545454%2C7.54545454%20L7.54545454%2C6%20C7.54545454%2C5.44771525%207.99316979%2C5%208.54545454%2C5%20L9.38295454%2C5%20L9.38295454%2C5%20L9.45454545%2C5%20L17.0909091%2C5%20Z%20M14.5454546%2C8.68691666%20L6.90909091%2C8.68691666%20L6.16011512%2C8.68691666%20L6.16011512%2C16.7079008%20L6.16011512%2C17.8735523%20L7.16954857%2C17.8735523%20L14.2108223%2C17.8735523%20L15.3188691%2C17.8735523%20L15.3188691%2C16.7502891%20L15.3188691%2C8.68691666%20L14.5454546%2C8.68691666%20Z%20M13.5909091%2C14.8636364%20L13.5909091%2C15.5%20L7.86363635%2C15.5%20L7.86363635%2C14.8636364%20L7.86363635%2C14.2272727%20L13.5909091%2C14.2272727%20L13.5909091%2C14.8636364%20Z%20M9.45454545%2C6.07289387%20L8.72541673%2C6.07289387%20L8.72382583%2C7.54545454%20L15.4545455%2C7.54545454%20C16.0068302%2C7.54545454%2016.4545455%2C7.99316979%2016.4545455%2C8.54545454%20L16.4545455%2C9.38295454%20L16.4545455%2C9.38295454%20L16.4545455%2C9.45454545%20L16.4545455%2C15.1818184%20L17.0909091%2C15.1818184%20L17.8806016%2C15.1818184%20L17.8821925%2C6.07289387%20L9.45454545%2C6.07289387%20Z%20M13.5057337%2C11.3636082%20L13.5057337%2C12.0000281%20L13.5057337%2C12.3181818%20L7.94881173%2C12.3181818%20L7.94881173%2C12.0000281%20L7.94881173%2C11.3636082%20L7.94881173%2C11.0454545%20L13.5057337%2C11.0454545%20L13.5057337%2C11.3636082%20Z%22%20fill%3D%22%232E3033%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
16257
+
16258
+ var cancelIcon = "data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20class%3D%22design-iconfont%22%20width%3D%2216%22%20height%3D%2216%22%3E%20%20%3Cpath%20d%3D%22M13.0151021%2C14.4269183%20L14.851%2C16.345%20L16.7185097%2C14.458311%20L17.5242651%2C15.3033815%20L15.658%2C17.189%20L17.3956835%2C19.0040241%20L16.5899281%2C19.8189135%20L14.847%2C18.009%20L13.0004688%2C19.876736%20L12.1947134%2C19.0316656%20L14.037%2C17.168%20L12.2093467%2C15.2719887%20L13.0151021%2C14.4269183%20Z%20M12.0143885%2C5%20C12.2446043%2C5%2012.4460432%2C5.09054326%2012.618705%2C5.27162978%20L16.9640288%2C9.79879276%20C17.1366906%2C9.97987928%2017.2230216%2C10.1911469%2017.2230216%2C10.4325956%20L17.2230216%2C13.4312601%20L16.0719424%2C13.4312601%20L16.071%2C10.949%20L12.4172662%2C10.9758551%20C12.1870504%2C10.9758551%2011.9568345%2C10.8853119%2011.7841727%2C10.7042254%20C11.6115108%2C10.5231388%2011.5251799%2C10.2816901%2011.5251799%2C10.0402414%20L11.525%2C6.237%20L7.17985612%2C6.23742455%20L7.17985612%2C18.1287726%20L10.9496403%2C18.1287726%20L10.9496403%2C19.3360161%20L6.86330935%2C19.3360161%20C6.4028777%2C19.3360161%206%2C18.943662%206%2C18.4305835%20L6%2C5.9054326%20C6%2C5.42253521%206.37410072%2C5%206.86330935%2C5%20L12.0143885%2C5%20Z%20M12.676259%2C7.08249497%20L12.676259%2C9.76861167%20L15.2086331%2C9.73843058%20L12.676259%2C7.08249497%20Z%22%20fill%3D%22%23040000%22%20fill-rule%3D%22nonzero%22%3E%3C%2Fpath%3E%3C%2Fsvg%3E";
16259
+
15884
16260
  var css_248z$g = "";
15885
16261
  styleInject(css_248z$g);
15886
16262
 
15887
- var _excluded$c = ["message", "type"];
16263
+ var _excluded$d = ["message", "type"];
15888
16264
  var CommonAlert = (function (props) {
15889
16265
  var message = props.message,
15890
16266
  _props$type = props.type,
15891
16267
  type = _props$type === void 0 ? 'info' : _props$type,
15892
- reset = _objectWithoutProperties(props, _excluded$c);
16268
+ reset = _objectWithoutProperties(props, _excluded$d);
15893
16269
  return /*#__PURE__*/React$1.createElement("div", {
15894
16270
  style: {
15895
16271
  width: '100%',
@@ -15910,20 +16286,42 @@ var CommonAlert = (function (props) {
15910
16286
  }, reset)));
15911
16287
  });
15912
16288
 
15913
- var _excluded$d = ["children"];
16289
+ var _excluded$e = ["children"];
16290
+ var iconStyle = {
16291
+ width: 16,
16292
+ height: 16
16293
+ };
15914
16294
  var iconMap = {
15915
- edit: /*#__PURE__*/React$1.createElement("img", {
16295
+ edit: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
15916
16296
  src: editIcon
15917
- }),
15918
- delete: /*#__PURE__*/React$1.createElement("img", {
16297
+ }, iconStyle)),
16298
+ delete: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
15919
16299
  src: deleteIcon
15920
- }),
15921
- submit: /*#__PURE__*/React$1.createElement("img", {
16300
+ }, iconStyle)),
16301
+ submit: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
15922
16302
  src: submitIcon
15923
- }),
15924
- more: /*#__PURE__*/React$1.createElement("img", {
16303
+ }, iconStyle)),
16304
+ more: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
15925
16305
  src: moreIcon
15926
- })
16306
+ }, iconStyle)),
16307
+ hangUp: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
16308
+ src: hangUpIcon
16309
+ }, iconStyle)),
16310
+ unhook: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
16311
+ src: unhookIcon
16312
+ }, iconStyle)),
16313
+ refresh: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
16314
+ src: refreshIcon
16315
+ }, iconStyle)),
16316
+ print: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
16317
+ src: printIcon
16318
+ }, iconStyle)),
16319
+ copy: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
16320
+ src: copyIcon
16321
+ }, iconStyle)),
16322
+ cancel: /*#__PURE__*/React$1.createElement("img", _objectSpread2({
16323
+ src: cancelIcon
16324
+ }, iconStyle))
15927
16325
  };
15928
16326
  var index$3 = (function (props) {
15929
16327
  var _useLocation = useLocation(),
@@ -15932,7 +16330,7 @@ var index$3 = (function (props) {
15932
16330
  _useState2 = _slicedToArray(_useState, 1),
15933
16331
  id = _useState2[0];
15934
16332
  var children = props.children,
15935
- restProps = _objectWithoutProperties(props, _excluded$d);
16333
+ restProps = _objectWithoutProperties(props, _excluded$e);
15936
16334
  return /*#__PURE__*/React$1.createElement("div", {
15937
16335
  id: id,
15938
16336
  className: 'detail_page_wrapper'
@@ -16038,6 +16436,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16038
16436
  }
16039
16437
  };
16040
16438
  var renderPageActionList = function renderPageActionList(actionLists) {
16439
+ var _actionLists$;
16041
16440
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
16042
16441
  var visibleActions = actionLists.filter(function (action) {
16043
16442
  return (action.visible && action.visible !== 'false' || judgeIsEmpty$1(action.visible)) && (!shouldUseAuth() || judgeIsEmpty$1(action.code) || authButton.filter(function (item) {
@@ -16045,9 +16444,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16045
16444
  }));
16046
16445
  });
16047
16446
  var renderButton = function renderButton(item, type) {
16048
- return /*#__PURE__*/React$1.createElement(Button, {
16447
+ return /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
16049
16448
  type: type || 'primary',
16050
16449
  icon: item.icon ? iconMap[item.icon] : '',
16450
+ style: item.icon ? {} : {},
16051
16451
  danger: item.name === '删除' ? true : false,
16052
16452
  disabled: item.disabled,
16053
16453
  onClick: function onClick() {
@@ -16057,9 +16457,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16057
16457
  doDetailPageAction(item.action);
16058
16458
  }
16059
16459
  }
16060
- }, item.name);
16460
+ }, item === null || item === void 0 ? void 0 : item.buttomProps), item.name);
16061
16461
  };
16062
- if (visibleActions.length <= 3) {
16462
+ // 可在actionList第一项设置visibleActionCount,控制按钮几个开始显示更多,默认为3
16463
+ if (visibleActions.length <= ((actionLists === null || actionLists === void 0 ? void 0 : (_actionLists$ = actionLists[0]) === null || _actionLists$ === void 0 ? void 0 : _actionLists$.visibleActionCount) || 3)) {
16063
16464
  return visibleActions.map(function (item) {
16064
16465
  return renderButton(item);
16065
16466
  });
@@ -16131,7 +16532,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16131
16532
  display: 'flex',
16132
16533
  gap: '8px'
16133
16534
  }
16134
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
16535
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
16135
16536
  title: "\u53D6\u6D88\u5168\u5C4F"
16136
16537
  }, /*#__PURE__*/React$1.createElement("img", {
16137
16538
  onClick: function onClick() {
@@ -16139,7 +16540,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16139
16540
  },
16140
16541
  width: 24,
16141
16542
  src: scanning
16142
- }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
16543
+ }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
16143
16544
  title: "\u5168\u5C4F"
16144
16545
  }, /*#__PURE__*/React$1.createElement("img", {
16145
16546
  onClick: function onClick() {
@@ -16147,7 +16548,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16147
16548
  },
16148
16549
  width: 24,
16149
16550
  src: quanping
16150
- }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16551
+ }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16151
16552
  }, function (prevProps, nextProps) {
16152
16553
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
16153
16554
  return false;
@@ -16155,10 +16556,10 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16155
16556
  return true;
16156
16557
  });
16157
16558
 
16158
- var css_248z$h = ".bs_home_page_head_wrapper {\n height: 32px;\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
16559
+ var css_248z$h = ".bs_home_page_head_wrapper {\n position: sticky;\n background: #fff;\n width: 100%;\n top: 0px;\n z-index: 10;\n}\n.home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
16159
16560
  styleInject(css_248z$h);
16160
16561
 
16161
- var _excluded$e = ["children"];
16562
+ var _excluded$f = ["children"];
16162
16563
  var index$4 = (function (props) {
16163
16564
  var _useLocation = useLocation(),
16164
16565
  pathname = _useLocation.pathname;
@@ -16166,7 +16567,7 @@ var index$4 = (function (props) {
16166
16567
  _useState2 = _slicedToArray(_useState, 1),
16167
16568
  id = _useState2[0];
16168
16569
  var children = props.children,
16169
- restProps = _objectWithoutProperties(props, _excluded$e);
16570
+ restProps = _objectWithoutProperties(props, _excluded$f);
16170
16571
  return /*#__PURE__*/React$1.createElement("div", {
16171
16572
  id: id,
16172
16573
  className: 'home_page_wrapper'
@@ -16232,7 +16633,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16232
16633
  }, /*#__PURE__*/React$1.createElement("span", {
16233
16634
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
16234
16635
  }, item));
16235
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16636
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
16236
16637
  }, function (prevProps, nextProps) {
16237
16638
  if (prevProps.title !== nextProps.title) {
16238
16639
  return false;
@@ -16243,7 +16644,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
16243
16644
  var css_248z$i = ".sort_table_wrapper .sort_table {\n display: flex;\n}\n.sort_table_wrapper .sort_table .sort_table_column_wrapper {\n width: 560px;\n margin-right: 8px;\n}\n.sort_table_wrapper .sort_table .sort_table_content_wrapper {\n width: 210px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count,\n.sort_table_wrapper .sort_table .sort_table_content_count {\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column_count span,\n.sort_table_wrapper .sort_table .sort_table_content_count span {\n color: #8E8E8E;\n}\n.sort_table_wrapper .sort_table .sort_table_column {\n margin-top: 10px;\n width: 560px;\n height: 430px;\n overflow: auto;\n padding: 10px;\n background: #ffffff;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all {\n display: flex;\n flex-wrap: wrap;\n justify-content: space-between;\n}\n.sort_table_wrapper .sort_table .sort_table_column_all_empty {\n width: 538px;\n line-height: 360px;\n text-align: center;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n}\n.sort_table_wrapper .sort_table .sort_table_column_special {\n margin-top: 40px;\n width: 100px;\n height: 20px;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\n height: 16px;\n line-height: 16px;\n margin-top: 16px;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper + .ant-checkbox-wrapper {\n margin-left: 0px;\n}\n.sort_table_wrapper .sort_table .sort_table_content {\n height: 430px;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border: 1px solid #d9d9d9;\n border-radius: 5px;\n}\n.sort_table_wrapper .sort_table .sort_table_content .ant-table-wrapper {\n padding: 0px !important;\n}\n.sort_table_wrapper .sort_table .sort_table_content .sort_table_title {\n height: 32px;\n line-height: 32px;\n padding-left: 10px;\n color: gray;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 10px 16px;\n}\n.sort_table_wrapper .ant-modal-close-x {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-input-affix-wrapper {\n padding: 0px;\n padding-right: 10px;\n}\n.sort_table_wrapper input {\n height: 22px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 0 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n padding: 8px 16px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 28px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 12px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-table-wrapper::-webkit-scrollbar {\n display: none;\n}\n.sort_table_wrapper .ant-table-wrapper {\n margin-top: 10px;\n height: 364px;\n overflow: scroll;\n padding-bottom: 50px;\n}\n.sort_table_wrapper .ant-table-wrapper tr {\n height: 30px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 30px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #000000;\n letter-spacing: 0;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:first-child {\n padding-left: 10px !important;\n padding-right: 0px !important;\n width: 108px !important;\n display: inline-block;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n height: 30px !important;\n line-height: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td img {\n cursor: pointer;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:not(:first-child) {\n padding-left: 0px !important;\n padding-right: 0px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child {\n padding-left: 0px !important;\n padding-right: 3px !important;\n width: 30px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.sort_table_wrapper .ant-dropdown-link {\n cursor: pointer;\n}\n";
16244
16645
  styleInject(css_248z$i);
16245
16646
 
16246
- var _excluded$f = ["className", "style"];
16647
+ var _excluded$g = ["className", "style"];
16247
16648
  var DragHandle$2 = SortableHandle(function () {
16248
16649
  return /*#__PURE__*/React$1.createElement("img", {
16249
16650
  width: 25,
@@ -16681,7 +17082,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16681
17082
  _this.DraggableBodyRow = function (_ref2) {
16682
17083
  var className = _ref2.className,
16683
17084
  style = _ref2.style,
16684
- restProps = _objectWithoutProperties(_ref2, _excluded$f);
17085
+ restProps = _objectWithoutProperties(_ref2, _excluded$g);
16685
17086
  var sortDataSource = _this.state.sortDataSource;
16686
17087
  // function findIndex base on Table rowKey props and should always be a right array index
16687
17088
  var index = sortDataSource.findIndex(function (x) {
@@ -16872,8 +17273,8 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16872
17273
  });
16873
17274
  return /*#__PURE__*/React$1.createElement("div", {
16874
17275
  className: 'sort_table_wrapper'
16875
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16876
- title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17276
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17277
+ title: "\u5C55\u793A\u5217\u8BBE\u7F6E",
16877
17278
  wrapClassName: 'sort_table_wrapper',
16878
17279
  width: 810,
16879
17280
  visible: visible,
@@ -16910,7 +17311,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16910
17311
  className: 'sort_table_column_wrapper'
16911
17312
  }, /*#__PURE__*/React$1.createElement("span", {
16912
17313
  className: 'sort_table_column_count'
16913
- }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u4F7F\u7528\u7684\u7B5B\u9009\u6761\u4EF6")), /*#__PURE__*/React$1.createElement("div", {
17314
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u5C55\u793A\u7684\u8868\u683C\u5217")), /*#__PURE__*/React$1.createElement("div", {
16914
17315
  className: 'sort_table_column'
16915
17316
  }, /*#__PURE__*/React$1.createElement(Input, {
16916
17317
  prefix: /*#__PURE__*/React$1.createElement(SearchOutlined, {
@@ -16923,7 +17324,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16923
17324
  width: 525,
16924
17325
  height: 24
16925
17326
  }
16926
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17327
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16927
17328
  checked: !dataSource.some(function (item) {
16928
17329
  if (item.hidden) return true;
16929
17330
  return false;
@@ -16977,13 +17378,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
16977
17378
  _this2.onChange(e, item.title);
16978
17379
  }
16979
17380
  }, item.title);
16980
- }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17381
+ }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
16981
17382
  style: {
16982
17383
  width: '144px'
16983
17384
  }
16984
- })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17385
+ })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
16985
17386
  className: 'sort_table_column_all_empty'
16986
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
17387
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16987
17388
  className: 'sort_table_column_special'
16988
17389
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
16989
17390
  className: 'sort_table_column_all'
@@ -17005,7 +17406,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17005
17406
  className: 'sort_table_content_wrapper'
17006
17407
  }, /*#__PURE__*/React$1.createElement("span", {
17007
17408
  className: 'sort_table_content_count'
17008
- }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u641C\u7D22\u6761\u4EF6\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
17409
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u5C55\u793A\u5217\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
17009
17410
  className: 'sort_table_content'
17010
17411
  }, /*#__PURE__*/React$1.createElement("span", {
17011
17412
  style: {
@@ -17051,7 +17452,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17051
17452
  }]);
17052
17453
  }(React$1.Component);
17053
17454
 
17054
- var _excluded$g = ["className", "style"];
17455
+ var _excluded$h = ["className", "style"];
17055
17456
  var DragHandle$3 = SortableHandle(function () {
17056
17457
  return /*#__PURE__*/React$1.createElement("img", {
17057
17458
  width: 25,
@@ -17304,7 +17705,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17304
17705
  _this.DraggableBodyRow = function (_ref2) {
17305
17706
  var className = _ref2.className,
17306
17707
  style = _ref2.style,
17307
- restProps = _objectWithoutProperties(_ref2, _excluded$g);
17708
+ restProps = _objectWithoutProperties(_ref2, _excluded$h);
17308
17709
  var sortDataSource = _this.state.sortDataSource;
17309
17710
  var index = sortDataSource.findIndex(function (x) {
17310
17711
  return x.name === restProps['data-row-key'];
@@ -17457,7 +17858,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17457
17858
  });
17458
17859
  return /*#__PURE__*/React$1.createElement("div", {
17459
17860
  className: 'sort_table_wrapper'
17460
- }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
17861
+ }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
17461
17862
  title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
17462
17863
  wrapClassName: 'sort_table_wrapper',
17463
17864
  width: 820,
@@ -17502,7 +17903,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17502
17903
  style: {
17503
17904
  width: 525
17504
17905
  }
17505
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
17906
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
17506
17907
  checked: !dataSource.some(function (item) {
17507
17908
  if (item.hidden) return true;
17508
17909
  return false;
@@ -17538,11 +17939,11 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17538
17939
  _this2.onChange(e, item.name);
17539
17940
  }
17540
17941
  }, item.label);
17541
- }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
17942
+ }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
17542
17943
  style: {
17543
17944
  width: '144px'
17544
17945
  }
17545
- })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
17946
+ })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
17546
17947
  className: 'sort_table_column_all_empty'
17547
17948
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
17548
17949
  className: 'sort_table_content_wrapper'
@@ -17603,13 +18004,13 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
17603
18004
  var css_248z$j = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
17604
18005
  styleInject(css_248z$j);
17605
18006
 
17606
- var _excluded$h = ["onResize", "width"];
18007
+ var _excluded$i = ["onResize", "width"];
17607
18008
  var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
17608
18009
  var Text$2 = Typography.Text;
17609
18010
  var ResizeableTitle$2 = function ResizeableTitle(props) {
17610
18011
  var onResize = props.onResize,
17611
18012
  width = props.width,
17612
- restProps = _objectWithoutProperties(props, _excluded$h);
18013
+ restProps = _objectWithoutProperties(props, _excluded$i);
17613
18014
  var _useState = useState(width),
17614
18015
  _useState2 = _slicedToArray(_useState, 2),
17615
18016
  innerWidth = _useState2[0],
@@ -17641,7 +18042,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17641
18042
  };
17642
18043
  setIsResizing(true);
17643
18044
  document.addEventListener('mousemove', handleMouseMove);
17644
- document.addEventListener('mouseup', handleMouseUp);
18045
+ document.addEventListener('mouseup', _handleMouseUp);
17645
18046
  };
17646
18047
  var handleMouseMove = function handleMouseMove(e) {
17647
18048
  e.stopPropagation();
@@ -17657,9 +18058,9 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
17657
18058
  dom.style.top = "".concat(e.clientY - 20, "px");
17658
18059
  }
17659
18060
  };
17660
- var handleMouseUp = function handleMouseUp(e) {
18061
+ var _handleMouseUp = function handleMouseUp(e) {
17661
18062
  document.removeEventListener('mousemove', handleMouseMove);
17662
- document.removeEventListener('mouseup', handleMouseUp);
18063
+ document.removeEventListener('mouseup', _handleMouseUp);
17663
18064
  setIsResizing(false);
17664
18065
  };
17665
18066
  var handleresize = function handleresize(e, data, title) {
@@ -17878,7 +18279,7 @@ var BsSulaQueryTable = (function (props) {
17878
18279
  }
17879
18280
  });
17880
18281
  }
17881
- handleBssulaColumnsSpecialParams(d);
18282
+ // handleBssulaColumnsSpecialParams(d);
17882
18283
  });
17883
18284
  setCommonRenderFn(props.columns);
17884
18285
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
@@ -17908,7 +18309,7 @@ var BsSulaQueryTable = (function (props) {
17908
18309
  var showColumns = getSettingFieldOrColumn(isReset ? [] : columnConfig, columns, 'columns');
17909
18310
  showColumns.forEach(function (item, index) {
17910
18311
  item.width = item.width || getItemDefaultWidth(item);
17911
- handleBssulaColumnsSpecialParams(item);
18312
+ // handleBssulaColumnsSpecialParams(item);
17912
18313
  item.onHeaderCell = function (column) {
17913
18314
  return _objectSpread2(_objectSpread2({}, item), {}, {
17914
18315
  width: typeof column.width === 'number' ? column.width : parseWidth(column.width),
@@ -17921,7 +18322,7 @@ var BsSulaQueryTable = (function (props) {
17921
18322
  var showExportColumns = getSettingFieldOrColumn(exportColumnConfig, columns, 'columns');
17922
18323
  showExportColumns.forEach(function (item, index) {
17923
18324
  item.width = item.width || getItemDefaultWidth(item);
17924
- handleBssulaColumnsSpecialParams(item);
18325
+ // handleBssulaColumnsSpecialParams(item);
17925
18326
  item.onHeaderCell = function (column) {
17926
18327
  return _objectSpread2(_objectSpread2({}, item), {}, {
17927
18328
  width: typeof column.width === 'number' ? column.width : parseInt(column.width.replace('px', '')),
@@ -18002,7 +18403,7 @@ var BsSulaQueryTable = (function (props) {
18002
18403
  };
18003
18404
  // 处理 table 基本参数
18004
18405
  var setTableProps = function setTableProps() {
18005
- var _tableProps, _tableProps$initialPa, _tableProps2, _tableProps3, _tableProps3$initialP;
18406
+ var _tableProps, _tableProps$initialPa, _tableProps2, _tableProps3, _tableProps4, _tableProps4$initialP;
18006
18407
  var tableProps = value.tableProps || {};
18007
18408
  tableProps = _objectSpread2(_objectSpread2({}, tableProps), {}, {
18008
18409
  size: value.size || 'middle',
@@ -18025,16 +18426,16 @@ var BsSulaQueryTable = (function (props) {
18025
18426
  x: props.overScrollX || 'max-content',
18026
18427
  y: (props === null || props === void 0 ? void 0 : props.overScrollY) || height
18027
18428
  },
18028
- bordered: value.bordered || true,
18029
- sticky: true,
18030
- rowClassName: function rowClassName(record, index) {
18429
+ bordered: typeof value.bordered == 'boolean' ? value.bordered : true,
18430
+ sticky: typeof value.sticky == 'boolean' ? value.sticky : true,
18431
+ rowClassName: (props === null || props === void 0 ? void 0 : props.rowClassName) || ((_tableProps2 = tableProps) === null || _tableProps2 === void 0 ? void 0 : _tableProps2.rowClassName) || function (record, index) {
18031
18432
  return index % 2 === 0 ? 'table_base' : 'table_odd';
18032
18433
  },
18033
18434
  components: _objectSpread2({
18034
18435
  header: {
18035
18436
  cell: ResizeableTitle$2
18036
18437
  }
18037
- }, (_tableProps2 = tableProps) === null || _tableProps2 === void 0 ? void 0 : _tableProps2.components)
18438
+ }, (_tableProps3 = tableProps) === null || _tableProps3 === void 0 ? void 0 : _tableProps3.components)
18038
18439
  }, props.viewPagePath ?
18039
18440
  // 详情页查看地址 存在该参数时 默认列表支持双击打开
18040
18441
  {
@@ -18049,7 +18450,7 @@ var BsSulaQueryTable = (function (props) {
18049
18450
  }
18050
18451
  } : {});
18051
18452
  // @ts-ignore
18052
- if ((_tableProps3 = tableProps) === null || _tableProps3 === void 0 ? void 0 : (_tableProps3$initialP = _tableProps3.initialPaging) === null || _tableProps3$initialP === void 0 ? void 0 : _tableProps3$initialP.pagination) {
18453
+ if ((_tableProps4 = tableProps) === null || _tableProps4 === void 0 ? void 0 : (_tableProps4$initialP = _tableProps4.initialPaging) === null || _tableProps4$initialP === void 0 ? void 0 : _tableProps4$initialP.pagination) {
18053
18454
  // @ts-ignore
18054
18455
  tableProps.initialPaging.pagination.showSizeChanger = true;
18055
18456
  }
@@ -18070,7 +18471,7 @@ var BsSulaQueryTable = (function (props) {
18070
18471
  actionsRender = actionsRender.concat([{
18071
18472
  type: 'text',
18072
18473
  props: {
18073
- children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
18474
+ children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
18074
18475
  request: {
18075
18476
  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),
18076
18477
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -18148,9 +18549,9 @@ var BsSulaQueryTable = (function (props) {
18148
18549
  newColumns[index] = _objectSpread2(_objectSpread2({}, newColumns[index]), {}, {
18149
18550
  width: size.width
18150
18551
  });
18151
- newColumns.forEach(function (d) {
18152
- handleBssulaColumnsSpecialParams(d);
18153
- });
18552
+ // newColumns.forEach((d: any) => {
18553
+ // handleBssulaColumnsSpecialParams(d);
18554
+ // });
18154
18555
  return _toConsumableArray(newColumns);
18155
18556
  });
18156
18557
  };
@@ -18316,7 +18717,7 @@ var BsSulaQueryTable = (function (props) {
18316
18717
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
18317
18718
  bsTableCode: bsTableCode,
18318
18719
  onlyModal: true
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, {
18720
+ }), (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, {
18320
18721
  ref: exportTableRef,
18321
18722
  setShowColumns: setShowExportColumns,
18322
18723
  setInitialTableInfo: setInitialTableInfo,
@@ -18409,11 +18810,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18409
18810
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
18410
18811
  var resultList = [];
18411
18812
  var newRouter = cloneDeep(router);
18412
- var deep = function deep(router) {
18813
+ var _deep = function deep(router) {
18413
18814
  if (router && Array.isArray(router)) {
18414
18815
  router.forEach(function (item) {
18415
18816
  if (item.children && Array.isArray(item.children)) {
18416
- deep(item.children);
18817
+ _deep(item.children);
18417
18818
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
18418
18819
  return d === item.code;
18419
18820
  })) {
@@ -18427,10 +18828,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
18427
18828
  resultList.push(_objectSpread2({}, router));
18428
18829
  }
18429
18830
  };
18430
- deep(newRouter);
18831
+ _deep(newRouter);
18431
18832
  callBack([].concat(resultList));
18432
18833
  };
18433
- var setMenuTreeData = function setMenuTreeData(routesData) {
18834
+ var _setMenuTreeData = function setMenuTreeData(routesData) {
18434
18835
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
18435
18836
  var _loop = function _loop(i) {
18436
18837
  if (routesData[i].hideInMenu) {
@@ -18444,7 +18845,7 @@ var setMenuTreeData = function setMenuTreeData(routesData) {
18444
18845
  return 0; // continue
18445
18846
  }
18446
18847
  if (routesData[i].children) {
18447
- setMenuTreeData(routesData[i].children);
18848
+ _setMenuTreeData(routesData[i].children);
18448
18849
  }
18449
18850
  },
18450
18851
  _ret;
@@ -18465,16 +18866,16 @@ var setLoginOutPath = function setLoginOutPath() {
18465
18866
  };
18466
18867
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
18467
18868
  var routerMap = {};
18468
- var flattenMenuData = function flattenMenuData(data) {
18869
+ var _flattenMenuData = function flattenMenuData(data) {
18469
18870
  data.forEach(function (menuItem) {
18470
18871
  if (menuItem.children) {
18471
- flattenMenuData(menuItem.children);
18872
+ _flattenMenuData(menuItem.children);
18472
18873
  }
18473
18874
  // Reduce memory usage
18474
18875
  routerMap[menuItem.path] = menuItem;
18475
18876
  });
18476
18877
  };
18477
- flattenMenuData(menuData);
18878
+ _flattenMenuData(menuData);
18478
18879
  return routerMap;
18479
18880
  };
18480
18881
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -18620,7 +19021,7 @@ var DrawContent = function DrawContent(_ref) {
18620
19021
  sethomepageData(homepageDataList);
18621
19022
  setroutesData(routesDataList);
18622
19023
  }, []);
18623
- var renderChildItem = function renderChildItem(child) {
19024
+ var _renderChildItem = function renderChildItem(child) {
18624
19025
  if (!child.hideInMenu && child.children) {
18625
19026
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18626
19027
  style: {
@@ -18630,7 +19031,7 @@ var DrawContent = function DrawContent(_ref) {
18630
19031
  }, formatMessage({
18631
19032
  id: "".concat(child.locale)
18632
19033
  })), child.children.map(function (menuItem) {
18633
- return renderChildItem(menuItem);
19034
+ return _renderChildItem(menuItem);
18634
19035
  }));
18635
19036
  } else if (!child.hideInMenu && child.path) {
18636
19037
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -18665,7 +19066,7 @@ var DrawContent = function DrawContent(_ref) {
18665
19066
  className: 'drawerWarp'
18666
19067
  }, homepageData && homepageData.filter(function (d) {
18667
19068
  return !d.hideInMenu;
18668
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
19069
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
18669
19070
  className: classNames('allFunsList', 'allFunsListWarp'),
18670
19071
  dataSource: homepageData,
18671
19072
  renderItem: function renderItem(child) {
@@ -18700,7 +19101,7 @@ var DrawContent = function DrawContent(_ref) {
18700
19101
  bordered: true,
18701
19102
  dataSource: item.children,
18702
19103
  renderItem: function renderItem(child) {
18703
- return renderChildItem(child);
19104
+ return _renderChildItem(child);
18704
19105
  }
18705
19106
  });
18706
19107
  })));
@@ -18760,7 +19161,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
18760
19161
  src: allfunc
18761
19162
  })), /*#__PURE__*/React$1.createElement("span", {
18762
19163
  className: 'btnSpan2'
18763
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
19164
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
18764
19165
  style: {
18765
19166
  left: isDrawer ? 140 : 0,
18766
19167
  top: 50
@@ -18806,7 +19207,7 @@ function outLogin(_x) {
18806
19207
  return _outLogin.apply(this, arguments);
18807
19208
  }
18808
19209
  function _outLogin() {
18809
- _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19210
+ _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18810
19211
  var res;
18811
19212
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18812
19213
  while (1) switch (_context.prev = _context.next) {
@@ -18948,7 +19349,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
18948
19349
  });
18949
19350
  };
18950
19351
  var loginOut = /*#__PURE__*/function () {
18951
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
19352
+ var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
18952
19353
  var sessionId;
18953
19354
  return _regeneratorRuntime().wrap(function _callee$(_context) {
18954
19355
  while (1) switch (_context.prev = _context.next) {
@@ -19052,7 +19453,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
19052
19453
  marginRight: '0px'
19053
19454
  },
19054
19455
  src: './xialajiantou-new.svg'
19055
- }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19456
+ }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
19056
19457
  };
19057
19458
 
19058
19459
  // -- 查询店铺 --
@@ -19060,7 +19461,7 @@ function getStoreByName(_x) {
19060
19461
  return _getStoreByName.apply(this, arguments);
19061
19462
  }
19062
19463
  function _getStoreByName() {
19063
- _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19464
+ _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
19064
19465
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19065
19466
  while (1) switch (_context.prev = _context.next) {
19066
19467
  case 0:
@@ -19128,7 +19529,7 @@ var ChooseStore = function ChooseStore(props) {
19128
19529
  return _fetchUserList.apply(this, arguments);
19129
19530
  }
19130
19531
  function _fetchUserList() {
19131
- _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19532
+ _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
19132
19533
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
19133
19534
  while (1) switch (_context3.prev = _context3.next) {
19134
19535
  case 0:
@@ -19176,7 +19577,7 @@ var ChooseStore = function ChooseStore(props) {
19176
19577
  return debounce$1(loadOptions, debounceTimeout);
19177
19578
  }, [debounceTimeout, key]);
19178
19579
  var changeInput = /*#__PURE__*/function () {
19179
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19580
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
19180
19581
  var res;
19181
19582
  return _regeneratorRuntime().wrap(function _callee$(_context) {
19182
19583
  while (1) switch (_context.prev = _context.next) {
@@ -19198,7 +19599,7 @@ var ChooseStore = function ChooseStore(props) {
19198
19599
  };
19199
19600
  }();
19200
19601
  useEffect(function () {
19201
- _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19602
+ _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
19202
19603
  var res;
19203
19604
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
19204
19605
  while (1) switch (_context2.prev = _context2.next) {
@@ -19363,7 +19764,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19363
19764
  var resultList = [];
19364
19765
  var newRouter = cloneDeep$1(router);
19365
19766
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
19366
- var deep = function deep(router) {
19767
+ var _deep = function deep(router) {
19367
19768
  if (router && Array.isArray(router)) {
19368
19769
  router.forEach(function (item) {
19369
19770
  if (item.routes && Array.isArray(item.routes)) {
@@ -19373,7 +19774,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19373
19774
  d.nameEdit = true;
19374
19775
  }
19375
19776
  });
19376
- deep(item.routes);
19777
+ _deep(item.routes);
19377
19778
  } else if (!item.hideInMenu && (name ? formatMessage({
19378
19779
  id: "menu.".concat(item.name)
19379
19780
  }).indexOf(name) !== -1 : true)) {
@@ -19392,7 +19793,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19392
19793
  }));
19393
19794
  }
19394
19795
  };
19395
- deep(newRouter);
19796
+ _deep(newRouter);
19396
19797
  setroutesData([].concat(resultList));
19397
19798
  };
19398
19799
  var renderLineStyl = function renderLineStyl(name) {
@@ -19474,7 +19875,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
19474
19875
  },
19475
19876
  title: item.fullPathName
19476
19877
  }, renderLineStyl(item.fullPathName));
19477
- }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
19878
+ }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
19478
19879
  employeeCode: employeeCode
19479
19880
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
19480
19881
  };
@@ -19489,7 +19890,7 @@ var arrowRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
19489
19890
  var TreeNode = Tree.TreeNode;
19490
19891
  var Search$2 = Input.Search;
19491
19892
  var dataList = [];
19492
- var generateList = function generateList(data) {
19893
+ var _generateList = function generateList(data) {
19493
19894
  for (var i = 0; i < data.length; i++) {
19494
19895
  var node = data[i];
19495
19896
  var path = node.path,
@@ -19499,11 +19900,11 @@ var generateList = function generateList(data) {
19499
19900
  name: name
19500
19901
  });
19501
19902
  if (node.children) {
19502
- generateList(node.children);
19903
+ _generateList(node.children);
19503
19904
  }
19504
19905
  }
19505
19906
  };
19506
- var getParentKey = function getParentKey(path, tree) {
19907
+ var _getParentKey = function getParentKey(path, tree) {
19507
19908
  var parentKey;
19508
19909
  for (var i = 0; i < tree.length; i++) {
19509
19910
  var node = tree[i];
@@ -19512,8 +19913,8 @@ var getParentKey = function getParentKey(path, tree) {
19512
19913
  return item.path === path;
19513
19914
  })) {
19514
19915
  parentKey = node.path;
19515
- } else if (getParentKey(path, node.children)) {
19516
- parentKey = getParentKey(path, node.children);
19916
+ } else if (_getParentKey(path, node.children)) {
19917
+ parentKey = _getParentKey(path, node.children);
19517
19918
  }
19518
19919
  }
19519
19920
  }
@@ -19544,7 +19945,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19544
19945
  var treeData = _this.state.treeData;
19545
19946
  var expandedKeys = dataList.map(function (item) {
19546
19947
  if (item.name.indexOf(value) > -1) {
19547
- return getParentKey(item.path, treeData);
19948
+ return _getParentKey(item.path, treeData);
19548
19949
  }
19549
19950
  return null;
19550
19951
  }).filter(function (item, i, self) {
@@ -19558,22 +19959,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19558
19959
  };
19559
19960
  _this.getPathList = function (originData) {
19560
19961
  var pathList = [];
19561
- var getList = function getList(data) {
19962
+ var _getList = function getList(data) {
19562
19963
  if (Array.isArray(data)) {
19563
19964
  data.forEach(function (item) {
19564
19965
  pathList.push(item.path);
19565
19966
  if (item.children) {
19566
- getList(item.children);
19967
+ _getList(item.children);
19567
19968
  }
19568
19969
  });
19569
19970
  } else {
19570
19971
  pathList.push(data.path);
19571
19972
  if (data.children) {
19572
- getList(data.children);
19973
+ _getList(data.children);
19573
19974
  }
19574
19975
  }
19575
19976
  };
19576
- getList(originData);
19977
+ _getList(originData);
19577
19978
  return pathList;
19578
19979
  };
19579
19980
  _this.handleAdd2Menu = function (path) {
@@ -19582,18 +19983,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19582
19983
  customerMenuData = _this$props.customerMenuData,
19583
19984
  setCustomerMenuData = _this$props.setCustomerMenuData;
19584
19985
  var filterItem;
19585
- var filterMenuItem = function filterMenuItem(menuData) {
19986
+ var _filterMenuItem = function filterMenuItem(menuData) {
19586
19987
  menuData.forEach(function (item) {
19587
19988
  if (item.path === path) {
19588
19989
  filterItem = _objectSpread2({}, item);
19589
19990
  return;
19590
19991
  }
19591
19992
  if (item.children) {
19592
- filterMenuItem(item.children);
19993
+ _filterMenuItem(item.children);
19593
19994
  }
19594
19995
  });
19595
19996
  };
19596
- filterMenuItem(treeData);
19997
+ _filterMenuItem(treeData);
19597
19998
  var addPathList = _this.getPathList(filterItem);
19598
19999
  var oldPathList = _this.getPathList(customerMenuData);
19599
20000
  var isRepet = false;
@@ -19623,8 +20024,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19623
20024
  return item.path === '/';
19624
20025
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
19625
20026
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
19626
- setMenuTreeData(routesData);
19627
- generateList(routesData);
20027
+ _setMenuTreeData(routesData);
20028
+ _generateList(routesData);
19628
20029
  this.setState({
19629
20030
  treeData: routesData
19630
20031
  });
@@ -19638,16 +20039,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19638
20039
  expandedKeys = _this$state.expandedKeys,
19639
20040
  autoExpandParent = _this$state.autoExpandParent,
19640
20041
  treeData = _this$state.treeData;
19641
- var loop = function loop(data) {
20042
+ var _loop = function loop(data) {
19642
20043
  return data.map(function (item) {
19643
20044
  var index = item.name.indexOf(searchValue);
19644
20045
  var beforeStr = item.name.substr(0, index);
19645
20046
  var afterStr = item.name.substr(index + searchValue.length);
19646
- var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
20047
+ var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
19647
20048
  style: {
19648
20049
  color: '#f50'
19649
20050
  }
19650
- }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
20051
+ }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
19651
20052
  if (item.children && item.children.length) {
19652
20053
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19653
20054
  path: item.path,
@@ -19669,7 +20070,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19669
20070
  width: 18,
19670
20071
  src: arrowRight
19671
20072
  }))))
19672
- }, loop(item.children));
20073
+ }, _loop(item.children));
19673
20074
  }
19674
20075
  return /*#__PURE__*/React$1.createElement(TreeNode, {
19675
20076
  path: item.path,
@@ -19719,7 +20120,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
19719
20120
  onExpand: this.onExpand,
19720
20121
  expandedKeys: expandedKeys,
19721
20122
  autoExpandParent: autoExpandParent
19722
- }, loop(treeData))));
20123
+ }, _loop(treeData))));
19723
20124
  }
19724
20125
  }]);
19725
20126
  }(React$1.Component);
@@ -19752,24 +20153,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19752
20153
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
19753
20154
  var dragObj;
19754
20155
  var finalDropItem;
19755
- var loop = function loop(data, path, callback) {
20156
+ var _loop = function loop(data, path, callback) {
19756
20157
  for (var i = 0; i < data.length; i++) {
19757
20158
  if (data[i].path === path) {
19758
20159
  return callback(data[i], i, data);
19759
20160
  }
19760
20161
  if (data[i].children) {
19761
- loop(data[i].children, path, callback);
20162
+ _loop(data[i].children, path, callback);
19762
20163
  }
19763
20164
  }
19764
20165
  };
19765
20166
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
19766
- loop(data, dragKey, function (item, index, arr) {
20167
+ _loop(data, dragKey, function (item, index, arr) {
19767
20168
  arr.splice(index, 1);
19768
20169
  dragObj = item;
19769
20170
  });
19770
20171
  if (!info.dropToGap) {
19771
20172
  // Drop on the content
19772
- loop(data, dropKey, function (item) {
20173
+ _loop(data, dropKey, function (item) {
19773
20174
  item.children = item.children || [];
19774
20175
  item.children.unshift(dragObj);
19775
20176
  finalDropItem = _objectSpread2({}, item);
@@ -19780,7 +20181,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19780
20181
  // Is expanded
19781
20182
  dropPosition === 1 // On the bottom gap
19782
20183
  ) {
19783
- loop(data, dropKey, function (item) {
20184
+ _loop(data, dropKey, function (item) {
19784
20185
  item.children = item.children || [];
19785
20186
  item.children.unshift(dragObj);
19786
20187
  finalDropItem = _objectSpread2({}, item);
@@ -19788,7 +20189,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19788
20189
  } else {
19789
20190
  var ar;
19790
20191
  var i;
19791
- loop(data, dropKey, function (item, index, arr) {
20192
+ _loop(data, dropKey, function (item, index, arr) {
19792
20193
  ar = arr;
19793
20194
  i = index;
19794
20195
  });
@@ -19827,17 +20228,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19827
20228
  title: '编辑名称',
19828
20229
  callBack: function callBack(newName) {
19829
20230
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19830
- var editTreeDataName = function editTreeDataName(oldTreeData) {
20231
+ var _editTreeDataName = function editTreeDataName(oldTreeData) {
19831
20232
  oldTreeData.forEach(function (treeItem) {
19832
20233
  if (treeItem.path === item.path) {
19833
20234
  treeItem.name = newName;
19834
20235
  }
19835
20236
  if (treeItem.children) {
19836
- editTreeDataName(treeItem.children);
20237
+ _editTreeDataName(treeItem.children);
19837
20238
  }
19838
20239
  });
19839
20240
  };
19840
- editTreeDataName(oldTreeData);
20241
+ _editTreeDataName(oldTreeData);
19841
20242
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19842
20243
  _this.setState({
19843
20244
  modalInfo: {
@@ -19882,7 +20283,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19882
20283
  title: '新增子目录',
19883
20284
  callBack: function callBack(newName) {
19884
20285
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
19885
- var addChildFolder = function addChildFolder(oldTreeData) {
20286
+ var _addChildFolder = function addChildFolder(oldTreeData) {
19886
20287
  oldTreeData.forEach(function (treeItem) {
19887
20288
  if (treeItem.path === item.path) {
19888
20289
  treeItem.children ? treeItem.children.push({
@@ -19894,11 +20295,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19894
20295
  }];
19895
20296
  }
19896
20297
  if (treeItem.children) {
19897
- addChildFolder(treeItem.children);
20298
+ _addChildFolder(treeItem.children);
19898
20299
  }
19899
20300
  });
19900
20301
  };
19901
- addChildFolder(oldTreeData);
20302
+ _addChildFolder(oldTreeData);
19902
20303
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
19903
20304
  _this.setState({
19904
20305
  modalInfo: {
@@ -19957,7 +20358,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19957
20358
  var _this$state = this.state,
19958
20359
  modalInfo = _this$state.modalInfo,
19959
20360
  checkedKeys = _this$state.checkedKeys;
19960
- var loop = function loop(data) {
20361
+ var _loop2 = function loop(data) {
19961
20362
  return data.map(function (item) {
19962
20363
  if (item.children && item.children.length) {
19963
20364
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -19974,7 +20375,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
19974
20375
  e.stopPropagation();
19975
20376
  }
19976
20377
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
19977
- }, loop(item.children));
20378
+ }, _loop2(item.children));
19978
20379
  }
19979
20380
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
19980
20381
  path: item.path,
@@ -20053,7 +20454,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
20053
20454
  children: 'children'
20054
20455
  },
20055
20456
  onDrop: this.onDrop
20056
- }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20457
+ }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
20057
20458
  width: 600,
20058
20459
  bodyStyle: {
20059
20460
  paddingTop: '32px',
@@ -20166,7 +20567,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20166
20567
  pathname: item.path
20167
20568
  });
20168
20569
  };
20169
- var getMenuDom = function getMenuDom(menuData) {
20570
+ var _getMenuDom = function getMenuDom(menuData) {
20170
20571
  return menuData.map(function (item) {
20171
20572
  return /*#__PURE__*/React$1.createElement("div", {
20172
20573
  style: {
@@ -20181,7 +20582,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20181
20582
  fontWeight: item.children || !item.component ? 'bolder' : '400',
20182
20583
  paddingLeft: '4px'
20183
20584
  }
20184
- }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
20585
+ }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
20185
20586
  });
20186
20587
  };
20187
20588
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20207,7 +20608,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20207
20608
  style: {
20208
20609
  paddingLeft: '5px'
20209
20610
  }
20210
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
20611
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
20211
20612
  style: {
20212
20613
  left: isDrawer ? 140 : 0
20213
20614
  },
@@ -20228,7 +20629,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
20228
20629
  visible: isDrawer
20229
20630
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
20230
20631
  className: 'menu_title_line'
20231
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20632
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
20232
20633
  title: /*#__PURE__*/React$1.createElement("span", {
20233
20634
  style: {
20234
20635
  fontWeight: '600',
@@ -20302,7 +20703,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20302
20703
  return item.path === '/';
20303
20704
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
20304
20705
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
20305
- setMenuTreeData(routesData);
20706
+ _setMenuTreeData(routesData);
20306
20707
  routesData.forEach(function (item) {
20307
20708
  if (item.children) {
20308
20709
  routesDataList.push(item);
@@ -20332,7 +20733,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20332
20733
  setHeight(clientHeight - 190);
20333
20734
  setDrawHeight(clientHeight - 70);
20334
20735
  };
20335
- var renderChildItem = function renderChildItem(child) {
20736
+ var _renderChildItem = function renderChildItem(child) {
20336
20737
  if (!child.hideInMenu && child.children) {
20337
20738
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
20338
20739
  style: {
@@ -20342,7 +20743,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20342
20743
  }, formatMessage({
20343
20744
  id: "".concat(child.locale)
20344
20745
  })), child.children.map(function (menuItem) {
20345
- return renderChildItem(menuItem);
20746
+ return _renderChildItem(menuItem);
20346
20747
  }));
20347
20748
  } else if (!child.hideInMenu && child.path) {
20348
20749
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -20484,7 +20885,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20484
20885
  onMenuClick(e, item);
20485
20886
  }
20486
20887
  }, item.name);
20487
- }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
20888
+ }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
20488
20889
  className: 'search_menu_content'
20489
20890
  }, SearhData.map(function (item) {
20490
20891
  return /*#__PURE__*/React$1.createElement("div", {
@@ -20493,7 +20894,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20493
20894
  },
20494
20895
  key: item.path
20495
20896
  }, item.name);
20496
- }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20897
+ }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
20497
20898
  style: {
20498
20899
  height: "".concat(rightMenuHeight, "px"),
20499
20900
  overflowY: 'scroll',
@@ -20505,7 +20906,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20505
20906
  className: 'drawerWarp_right'
20506
20907
  }, homepageData && homepageData.filter(function (d) {
20507
20908
  return !d.hideInMenu;
20508
- }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
20909
+ }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
20509
20910
  className: classNames('allFunsList', 'allFunsListWarp'),
20510
20911
  dataSource: homepageData,
20511
20912
  renderItem: function renderItem(child) {
@@ -20546,7 +20947,7 @@ var DrawContent$1 = function DrawContent(_ref) {
20546
20947
  bordered: true,
20547
20948
  dataSource: item.children,
20548
20949
  renderItem: function renderItem(child) {
20549
- return renderChildItem(child);
20950
+ return _renderChildItem(child);
20550
20951
  }
20551
20952
  });
20552
20953
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -20686,7 +21087,7 @@ var NoFoundPage = function NoFoundPage(props) {
20686
21087
  }));
20687
21088
  };
20688
21089
 
20689
- var _excluded$i = ["route"];
21090
+ var _excluded$j = ["route"];
20690
21091
  var TabPane = Tabs.TabPane;
20691
21092
  var getId = function getId(str) {
20692
21093
  // 找到最后一个 / 的位置
@@ -20704,10 +21105,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20704
21105
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
20705
21106
  var menuKeys = [];
20706
21107
  var docsId = [];
20707
- var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
21108
+ var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
20708
21109
  data.forEach(function (item) {
20709
21110
  if (item.children && item.children.length > 0) {
20710
- getLimitedMenuKeys(item.children);
21111
+ _getLimitedMenuKeys(item.children);
20711
21112
  } else {
20712
21113
  var originPath = item.path.replace(/^\/\w+\//, '/');
20713
21114
  menuKeys.push(originPath);
@@ -20718,7 +21119,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
20718
21119
  });
20719
21120
  };
20720
21121
  try {
20721
- getLimitedMenuKeys(limitedMenuData);
21122
+ _getLimitedMenuKeys(limitedMenuData);
20722
21123
  } catch (e) {}
20723
21124
  return {
20724
21125
  menuKeys: menuKeys,
@@ -20952,10 +21353,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20952
21353
  return (node.path || '').includes('all-general-documents');
20953
21354
  };
20954
21355
  // 递归获取树列表
20955
- var getTreeList = function getTreeList(data) {
21356
+ var _getTreeList = function getTreeList(data) {
20956
21357
  data.forEach(function (node) {
20957
21358
  if (node.routes && node.routes.length > 0) {
20958
- getTreeList(node.routes);
21359
+ _getTreeList(node.routes);
20959
21360
  return;
20960
21361
  }
20961
21362
  // todo:暂时处理非wujie环境不做404管控
@@ -20986,7 +21387,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20986
21387
  }
20987
21388
  });
20988
21389
  };
20989
- getTreeList(treeData);
21390
+ _getTreeList(treeData);
20990
21391
  return treeList;
20991
21392
  };
20992
21393
  _this.getDictionarySource = function (dicCode) {
@@ -21615,7 +22016,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21615
22016
  updateState = _ref8.updateState;
21616
22017
  return /*#__PURE__*/React$1.createElement("div", {
21617
22018
  className: "tab_title_content"
21618
- }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
22019
+ }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
21619
22020
  info: item,
21620
22021
  operateFun: _this3.operateFun,
21621
22022
  listenRouterState: listenRouterState
@@ -21627,7 +22028,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21627
22028
  }); // 添加数据大屏
21628
22029
  var _this$props3 = this.props,
21629
22030
  route = _this$props3.route,
21630
- restPrpos = _objectWithoutProperties(_this$props3, _excluded$i);
22031
+ restPrpos = _objectWithoutProperties(_this$props3, _excluded$j);
21631
22032
  var exist = route.routes.find(function (route) {
21632
22033
  return route.path === '/homePage/data-show';
21633
22034
  });
@@ -21751,7 +22152,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21751
22152
  };
21752
22153
  }
21753
22154
  var OperationsSlot = {
21754
- left: ( /*#__PURE__*/React$1.createElement("div", {
22155
+ left: (/*#__PURE__*/React$1.createElement("div", {
21755
22156
  className: 'tab_left_operate'
21756
22157
  }, /*#__PURE__*/React$1.createElement("div", {
21757
22158
  onClick: function onClick() {
@@ -21767,7 +22168,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21767
22168
  _this3.setTabNavTransLate(-100);
21768
22169
  }
21769
22170
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
21770
- right: ( /*#__PURE__*/React$1.createElement("div", {
22171
+ right: (/*#__PURE__*/React$1.createElement("div", {
21771
22172
  style: {
21772
22173
  opacity: this.state.isSlider ? 1 : 0.5
21773
22174
  },
@@ -21865,7 +22266,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21865
22266
  onMouseLeave: function onMouseLeave() {
21866
22267
  _this3.setShowMenu(false);
21867
22268
  }
21868
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
22269
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
21869
22270
  style: {
21870
22271
  position: 'absolute',
21871
22272
  top: '14px',
@@ -21884,7 +22285,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21884
22285
  postMenuData: function postMenuData(menus) {
21885
22286
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
21886
22287
  },
21887
- links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
22288
+ links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
21888
22289
  ref: this.allFunc,
21889
22290
  itemPath: itemPath,
21890
22291
  handleClose: this.handleClose,
@@ -21902,7 +22303,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
21902
22303
  },
21903
22304
  menu: {
21904
22305
  request: function () {
21905
- var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
22306
+ var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
21906
22307
  return _regeneratorRuntime().wrap(function _callee$(_context) {
21907
22308
  while (1) switch (_context.prev = _context.next) {
21908
22309
  case 0:
@@ -22037,7 +22438,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
22037
22438
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
22038
22439
  timeFormat = _this$props4.timeFormat,
22039
22440
  transparentProps = _this$props4.transparentProps;
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({
22441
+ 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({
22041
22442
  getDictionarySource: getDictionarySource,
22042
22443
  getDictionaryTextByValue: getDictionaryTextByValue,
22043
22444
  timeFormat: timeFormat
@@ -22061,12 +22462,12 @@ var index$5 = (function (props) {
22061
22462
  });
22062
22463
 
22063
22464
  // @ts-nocheck
22064
- var getAllColumns = function getAllColumns(columns) {
22465
+ var _getAllColumns = function getAllColumns(columns) {
22065
22466
  var result = [];
22066
22467
  columns.forEach(function (column) {
22067
22468
  if (column.children) {
22068
22469
  result.push(column);
22069
- result.push.apply(result, getAllColumns(column.children));
22470
+ result.push.apply(result, _getAllColumns(column.children));
22070
22471
  } else {
22071
22472
  result.push(column);
22072
22473
  }
@@ -22075,7 +22476,7 @@ var getAllColumns = function getAllColumns(columns) {
22075
22476
  };
22076
22477
  var convertToRows = function convertToRows(originColumns) {
22077
22478
  var maxLevel = 1;
22078
- var traverse = function traverse(column, parent) {
22479
+ var _traverse = function traverse(column, parent) {
22079
22480
  if (parent) {
22080
22481
  column.level = parent.level + 1;
22081
22482
  if (maxLevel < column.level) {
@@ -22085,7 +22486,7 @@ var convertToRows = function convertToRows(originColumns) {
22085
22486
  if (column.children) {
22086
22487
  var colSpan = 0;
22087
22488
  column.children.forEach(function (subColumn) {
22088
- traverse(subColumn, column);
22489
+ _traverse(subColumn, column);
22089
22490
  colSpan += subColumn.colSpan;
22090
22491
  });
22091
22492
  column.colSpan = colSpan;
@@ -22095,13 +22496,13 @@ var convertToRows = function convertToRows(originColumns) {
22095
22496
  };
22096
22497
  originColumns.forEach(function (column) {
22097
22498
  column.level = 1;
22098
- traverse(column);
22499
+ _traverse(column);
22099
22500
  });
22100
22501
  var rows = [];
22101
22502
  for (var i = 0; i < maxLevel; i++) {
22102
22503
  rows.push([]);
22103
22504
  }
22104
- var allColumns = getAllColumns(originColumns);
22505
+ var allColumns = _getAllColumns(originColumns);
22105
22506
  allColumns.forEach(function (column) {
22106
22507
  if (!column.children) {
22107
22508
  column.rowSpan = maxLevel - column.level + 1;
@@ -22141,7 +22542,7 @@ var convertToRows = function convertToRows(originColumns) {
22141
22542
  };
22142
22543
  var headersToRows = function headersToRows(originColumns) {
22143
22544
  var maxLevel = 1;
22144
- var traverse = function traverse(column, parent) {
22545
+ var _traverse2 = function traverse(column, parent) {
22145
22546
  if (parent) {
22146
22547
  //计算当前元素属于第几个层级
22147
22548
  column.level = parent.level + 1;
@@ -22154,7 +22555,7 @@ var headersToRows = function headersToRows(originColumns) {
22154
22555
  var colSpan = 0;
22155
22556
  column.children.forEach(function (subColumn) {
22156
22557
  //进行递归
22157
- traverse(subColumn, column);
22558
+ _traverse2(subColumn, column);
22158
22559
  colSpan += subColumn.colSpan;
22159
22560
  });
22160
22561
  column.colSpan = colSpan;
@@ -22164,14 +22565,14 @@ var headersToRows = function headersToRows(originColumns) {
22164
22565
  };
22165
22566
  originColumns.forEach(function (column) {
22166
22567
  column.level = 1;
22167
- traverse(column);
22568
+ _traverse2(column);
22168
22569
  });
22169
22570
  var rows = [];
22170
22571
  var lastData = [];
22171
22572
  for (var i = 0; i < maxLevel; i++) {
22172
22573
  rows.push([]);
22173
22574
  }
22174
- var allColumns = getAllColumns(originColumns);
22575
+ var allColumns = _getAllColumns(originColumns);
22175
22576
  allColumns.forEach(function (column) {
22176
22577
  if (!column.children) {
22177
22578
  column.rowSpan = maxLevel - column.level + 1;
@@ -22600,10 +23001,10 @@ var index$6 = /*#__PURE__*/forwardRef(function (props, ref) {
22600
23001
  }))))));
22601
23002
  });
22602
23003
 
22603
- var _excluded$j = ["children"];
23004
+ var _excluded$k = ["children"];
22604
23005
  var Drawer = (function (props) {
22605
23006
  var children = props.children,
22606
- restProps = _objectWithoutProperties(props, _excluded$j);
23007
+ restProps = _objectWithoutProperties(props, _excluded$k);
22607
23008
  return /*#__PURE__*/React$1.createElement(Drawer$1, _objectSpread2({
22608
23009
  mask: true,
22609
23010
  closable: false,
@@ -28188,7 +28589,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
28188
28589
  }
28189
28590
  return lineStart <= highLightLine && lineEnd >= highLightLine;
28190
28591
  };
28191
- var hasHighLightChildren = function hasHighLightChildren() {
28592
+ var _hasHighLightChildren = function hasHighLightChildren() {
28192
28593
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
28193
28594
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
28194
28595
  var children = hightLightData.children,
@@ -28199,7 +28600,7 @@ var hasHighLightChildren = function hasHighLightChildren() {
28199
28600
  lineEnd = _loc2[2];
28200
28601
  if (children) {
28201
28602
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
28202
- return hasHighLightChildren(v, highLightLine);
28603
+ return _hasHighLightChildren(v, highLightLine);
28203
28604
  });
28204
28605
  }
28205
28606
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -28211,7 +28612,7 @@ function createHighLightTreeData(treeData, highLightLine) {
28211
28612
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
28212
28613
  data.forEach(function (node) {
28213
28614
  if (!node) return;
28214
- node.toggled = hasHighLightChildren(node, highLightLine);
28615
+ node.toggled = _hasHighLightChildren(node, highLightLine);
28215
28616
  node.active = isHightLight(node, highLightLine);
28216
28617
  if (node.children) {
28217
28618
  if (node.active) {
@@ -29642,7 +30043,7 @@ var valueType = {
29642
30043
  };
29643
30044
 
29644
30045
  var getDynamicDict = /*#__PURE__*/function () {
29645
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
30046
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
29646
30047
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29647
30048
  while (1) switch (_context.prev = _context.next) {
29648
30049
  case 0:
@@ -29710,7 +30111,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29710
30111
  value: false
29711
30112
  }];
29712
30113
  var ref = useRef();
29713
- useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30114
+ useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
29714
30115
  var _ref$current, source;
29715
30116
  return _regeneratorRuntime().wrap(function _callee$(_context) {
29716
30117
  while (1) switch (_context.prev = _context.next) {
@@ -29824,7 +30225,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29824
30225
  source: {
29825
30226
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
29826
30227
  type: function () {
29827
- var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
30228
+ var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
29828
30229
  var form, values, name, relates, source;
29829
30230
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
29830
30231
  while (1) switch (_context2.prev = _context2.next) {
@@ -30304,7 +30705,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30304
30705
  source: {
30305
30706
  relates: ['choiceType', 'inputType'],
30306
30707
  type: function () {
30307
- var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30708
+ var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
30308
30709
  var values, name, form, source;
30309
30710
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
30310
30711
  while (1) switch (_context3.prev = _context3.next) {
@@ -30526,7 +30927,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30526
30927
  width: 900,
30527
30928
  maskClosable: false,
30528
30929
  onOk: function () {
30529
- var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30930
+ var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
30530
30931
  var _ref$current4, _res$editableStatus;
30531
30932
  var res, _res$defaultValue;
30532
30933
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -30598,7 +30999,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
30598
30999
  }()
30599
31000
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
30600
31001
  ref: ref
30601
- })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
31002
+ })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
30602
31003
  };
30603
31004
 
30604
31005
  // @ts-nocheck
@@ -31212,7 +31613,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31212
31613
  return setVisible(false);
31213
31614
  },
31214
31615
  className: 'customFieldsDrawer'
31215
- }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
31616
+ }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
31216
31617
  style: {
31217
31618
  display: 'flex'
31218
31619
  }
@@ -31221,13 +31622,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31221
31622
  flex: 1,
31222
31623
  width: 500
31223
31624
  }
31224
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31625
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31225
31626
  style: {
31226
31627
  padding: "10px 0",
31227
31628
  fontSize: "16px",
31228
31629
  fontWeight: "bolder"
31229
31630
  }
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", {
31631
+ }, "\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", {
31231
31632
  style: {
31232
31633
  flex: 1
31233
31634
  }
@@ -31236,7 +31637,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31236
31637
  onRun: onClickRun,
31237
31638
  value: jsonEditorVal,
31238
31639
  shallowHeight: height
31239
- })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
31640
+ })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
31240
31641
  defaultActiveKey: activeKey,
31241
31642
  onChange: function onChange(v) {
31242
31643
  return setActiveKey(v);
@@ -31253,13 +31654,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31253
31654
  flex: 1,
31254
31655
  width: 500
31255
31656
  }
31256
- }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
31657
+ }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
31257
31658
  style: {
31258
31659
  padding: "10px 0",
31259
31660
  fontSize: "16px",
31260
31661
  fontWeight: "bolder"
31261
31662
  }
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", {
31663
+ }, "\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", {
31263
31664
  style: {
31264
31665
  flex: 1
31265
31666
  }
@@ -31281,13 +31682,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
31281
31682
  flex: 1,
31282
31683
  width: 500
31283
31684
  }
31284
- }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
31685
+ }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
31285
31686
  style: {
31286
31687
  padding: "10px 0",
31287
31688
  fontSize: "16px",
31288
31689
  fontWeight: "bolder"
31289
31690
  }
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", {
31691
+ }, "\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", {
31291
31692
  style: {
31292
31693
  flex: 1
31293
31694
  }
@@ -31382,7 +31783,7 @@ var formatListName = function formatListName(list, columns) {
31382
31783
  });
31383
31784
  };
31384
31785
 
31385
- var _excluded$k = ["sorter"];
31786
+ var _excluded$l = ["sorter"];
31386
31787
  /**
31387
31788
  * 删掉查询条件的qp- 和 -eq等
31388
31789
  * @param {object} data
@@ -31433,7 +31834,7 @@ function getMetaData(_x) {
31433
31834
 
31434
31835
  // 获取数据
31435
31836
  function _getMetaData() {
31436
- _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31837
+ _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
31437
31838
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31438
31839
  while (1) switch (_context.prev = _context.next) {
31439
31840
  case 0:
@@ -31465,7 +31866,7 @@ var remoteFetch = function remoteFetch(requestConfig, coloumns) {
31465
31866
  var _requestConfig$method;
31466
31867
  var params = _ref.params;
31467
31868
  var sorter = params.sorter,
31468
- paramsTemp = _objectWithoutProperties(params, _excluded$k);
31869
+ paramsTemp = _objectWithoutProperties(params, _excluded$l);
31469
31870
  var queryParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({}, requestConfig.params), requestConfig.body), _.omit(paramsTemp, ['filters', 'current'])), (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.filters) || {}), {
31470
31871
  currentPage: (paramsTemp === null || paramsTemp === void 0 ? void 0 : paramsTemp.currentPage) || paramsTemp.current || 1
31471
31872
  });
@@ -31655,7 +32056,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31655
32056
  tableState = _useState4[0],
31656
32057
  setTableState = _useState4[1];
31657
32058
  var handleOpen = /*#__PURE__*/function () {
31658
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32059
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31659
32060
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
31660
32061
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
31661
32062
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -31974,7 +32375,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
31974
32375
  destroyOnClose: true
31975
32376
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
31976
32377
  ref: queryTableRef
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, {
32378
+ }, 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, {
31978
32379
  justify: "center",
31979
32380
  style: {
31980
32381
  marginBottom: 30,
@@ -32090,7 +32491,7 @@ var CustomSelector = (function (props) {
32090
32491
  var _props$ctx7;
32091
32492
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
32092
32493
  }
32093
- })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
32494
+ })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
32094
32495
  type: "primary",
32095
32496
  style: {
32096
32497
  width: '30px',
@@ -32176,7 +32577,7 @@ var BsCascader = function BsCascader(_ref) {
32176
32577
  _useState2 = _slicedToArray(_useState, 2),
32177
32578
  handSource = _useState2[0],
32178
32579
  setHandSource = _useState2[1];
32179
- useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32580
+ useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
32180
32581
  var resData, data;
32181
32582
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32182
32583
  while (1) switch (_context.prev = _context.next) {
@@ -32328,7 +32729,7 @@ function getRegularThresholdRange(_x) {
32328
32729
  return _getRegularThresholdRange.apply(this, arguments);
32329
32730
  }
32330
32731
  function _getRegularThresholdRange() {
32331
- _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32732
+ _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
32332
32733
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32333
32734
  while (1) switch (_context.prev = _context.next) {
32334
32735
  case 0:
@@ -32482,7 +32883,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32482
32883
  };
32483
32884
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
32484
32885
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
32485
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32886
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
32486
32887
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
32487
32888
  return _regeneratorRuntime().wrap(function _callee$(_context) {
32488
32889
  while (1) switch (_context.prev = _context.next) {
@@ -33439,7 +33840,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33439
33840
  isAll: true,
33440
33841
  needNameAndCode: true,
33441
33842
  notChangeOnSelect: true,
33442
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33843
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
33443
33844
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
33444
33845
  while (1) switch (_context2.prev = _context2.next) {
33445
33846
  case 0:
@@ -33488,7 +33889,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33488
33889
  isAll: true,
33489
33890
  needNameAndCode: true,
33490
33891
  notChangeOnSelect: true,
33491
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33892
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
33492
33893
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
33493
33894
  while (1) switch (_context3.prev = _context3.next) {
33494
33895
  case 0:
@@ -33539,7 +33940,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33539
33940
  isAll: true,
33540
33941
  needNameAndCode: true,
33541
33942
  notChangeOnSelect: true,
33542
- initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33943
+ initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
33543
33944
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
33544
33945
  while (1) switch (_context4.prev = _context4.next) {
33545
33946
  case 0:
@@ -35517,7 +35918,7 @@ var App$1 = function App(_ref) {
35517
35918
  borderRadius: '5px',
35518
35919
  cursor: 'pointer'
35519
35920
  }
35520
- }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
35921
+ }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
35521
35922
  autoFocus: true,
35522
35923
  onClick: function onClick(e) {
35523
35924
  return e.stopPropagation();
@@ -35804,7 +36205,7 @@ function RenderCompItem(props) {
35804
36205
  dictData = _useState2[0],
35805
36206
  setDictData = _useState2[1];
35806
36207
  var getDictData = /*#__PURE__*/function () {
35807
- var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
36208
+ var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
35808
36209
  var _data$map;
35809
36210
  var data;
35810
36211
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -35846,7 +36247,7 @@ function RenderCompItem(props) {
35846
36247
  var style2 = {
35847
36248
  width: '100px'
35848
36249
  };
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, {
36250
+ 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, {
35850
36251
  disabled: disabled,
35851
36252
  allowClear: true,
35852
36253
  onClear: function onClear() {
@@ -35857,7 +36258,7 @@ function RenderCompItem(props) {
35857
36258
  onBlur: function onBlur(e) {
35858
36259
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
35859
36260
  }
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, {
36261
+ })) || 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, {
35861
36262
  disabled: disabled,
35862
36263
  // max={Number.MAX_SAFE_INTEGER}
35863
36264
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -35870,7 +36271,7 @@ function RenderCompItem(props) {
35870
36271
  onChange: function onChange(value) {
35871
36272
  handleEdit(ites.code, value);
35872
36273
  }
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, {
36274
+ })) || 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, {
35874
36275
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
35875
36276
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
35876
36277
  disabled: disabled,
@@ -35880,7 +36281,7 @@ function RenderCompItem(props) {
35880
36281
  onChange: function onChange(value, dateString) {
35881
36282
  handleEdit(ites.code, dateString);
35882
36283
  }
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, {
36284
+ })) || 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, {
35884
36285
  showTime: true,
35885
36286
  disabled: disabled,
35886
36287
  defaultValue: ites.defaultValue,
@@ -35889,7 +36290,7 @@ function RenderCompItem(props) {
35889
36290
  onChange: function onChange(value, timeString) {
35890
36291
  handleEdit(ites.code, timeString);
35891
36292
  }
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, {
36293
+ })) || 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, {
35893
36294
  disabled: disabled,
35894
36295
  defaultChecked: !!ites.defaultValue,
35895
36296
  style: style2,
@@ -35897,7 +36298,7 @@ function RenderCompItem(props) {
35897
36298
  onChange: function onChange(value) {
35898
36299
  handleEdit(ites.code, value);
35899
36300
  }
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({
36301
+ })) || null, ((ites === null || ites === void 0 ? void 0 : ites.inputType) === 20 || (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30) && (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 10 && (/*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({
35901
36302
  disabled: disabled,
35902
36303
  allowClear: true,
35903
36304
  showArrow: true
@@ -35915,7 +36316,7 @@ function RenderCompItem(props) {
35915
36316
  key: it,
35916
36317
  value: it
35917
36318
  }, ites.enumeration[it]);
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, {
36319
+ }))) || 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, {
35919
36320
  disabled: disabled,
35920
36321
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
35921
36322
  defaultValue: ites.defaultValue,
@@ -35925,7 +36326,7 @@ function RenderCompItem(props) {
35925
36326
  handleEdit(ites.code, value);
35926
36327
  },
35927
36328
  dictionaryCode: ites.dictionaryCode
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, {
36329
+ })) || 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, {
35929
36330
  selectBusinessType: "physicalWarehouse",
35930
36331
  selectProps: _objectSpread2({
35931
36332
  style: styleCommon,
@@ -35947,7 +36348,7 @@ function RenderCompItem(props) {
35947
36348
  getPopupContainer: function getPopupContainer() {
35948
36349
  return document.body;
35949
36350
  }
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, {
36351
+ })) || 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, {
35951
36352
  selectBusinessType: "realWarehouse",
35952
36353
  selectProps: _objectSpread2({
35953
36354
  style: styleCommon,
@@ -35969,7 +36370,7 @@ function RenderCompItem(props) {
35969
36370
  getPopupContainer: function getPopupContainer() {
35970
36371
  return document.body;
35971
36372
  }
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, {
36373
+ })) || 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, {
35973
36374
  selectBusinessType: "virtualWarehouse",
35974
36375
  selectProps: _objectSpread2({
35975
36376
  style: styleCommon,
@@ -35991,7 +36392,7 @@ function RenderCompItem(props) {
35991
36392
  getPopupContainer: function getPopupContainer() {
35992
36393
  return document.body;
35993
36394
  }
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, {
36395
+ })) || 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, {
35995
36396
  selectBusinessType: "channelWarehouse",
35996
36397
  selectProps: _objectSpread2({
35997
36398
  style: styleCommon,
@@ -36013,7 +36414,7 @@ function RenderCompItem(props) {
36013
36414
  getPopupContainer: function getPopupContainer() {
36014
36415
  return document.body;
36015
36416
  }
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, {
36417
+ })) || 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, {
36017
36418
  selectBusinessType: "spuCommodity",
36018
36419
  selectProps: _objectSpread2({
36019
36420
  style: styleCommon,
@@ -36034,7 +36435,7 @@ function RenderCompItem(props) {
36034
36435
  getPopupContainer: function getPopupContainer() {
36035
36436
  return document.body;
36036
36437
  }
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, {
36438
+ })) || 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, {
36038
36439
  selectBusinessType: "skuCommodity",
36039
36440
  selectProps: _objectSpread2({
36040
36441
  style: styleCommon,
@@ -36055,13 +36456,13 @@ function RenderCompItem(props) {
36055
36456
  getPopupContainer: function getPopupContainer() {
36056
36457
  return document.body;
36057
36458
  }
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, {
36459
+ })) || 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, {
36059
36460
  disabled: disabled,
36060
36461
  isAll: true,
36061
36462
  needNameAndCode: true,
36062
36463
  notChangeOnSelect: true,
36063
36464
  initRequestSource: function () {
36064
- var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36465
+ var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
36065
36466
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
36066
36467
  while (1) switch (_context2.prev = _context2.next) {
36067
36468
  case 0:
@@ -36103,7 +36504,7 @@ function RenderCompItem(props) {
36103
36504
  getPopupContainer: function getPopupContainer() {
36104
36505
  return document.body;
36105
36506
  }
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, {
36507
+ })) || 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, {
36107
36508
  disabled: disabled,
36108
36509
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36109
36510
  businessType: "department",
@@ -36116,7 +36517,7 @@ function RenderCompItem(props) {
36116
36517
  getPopupContainer: function getPopupContainer() {
36117
36518
  return document.body;
36118
36519
  }
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, {
36520
+ })) || 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, {
36120
36521
  disabled: disabled,
36121
36522
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36122
36523
  businessType: "purchase-organization",
@@ -36129,7 +36530,7 @@ function RenderCompItem(props) {
36129
36530
  getPopupContainer: function getPopupContainer() {
36130
36531
  return document.body;
36131
36532
  }
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, {
36533
+ })) || 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, {
36133
36534
  disabled: disabled,
36134
36535
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36135
36536
  businessType: "sales-organization",
@@ -36142,7 +36543,7 @@ function RenderCompItem(props) {
36142
36543
  getPopupContainer: function getPopupContainer() {
36143
36544
  return document.body;
36144
36545
  }
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, {
36546
+ })) || 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, {
36146
36547
  selectBusinessType: "supplier2",
36147
36548
  selectProps: _objectSpread2({
36148
36549
  style: styleCommon,
@@ -36163,7 +36564,7 @@ function RenderCompItem(props) {
36163
36564
  getPopupContainer: function getPopupContainer() {
36164
36565
  return document.body;
36165
36566
  }
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, {
36567
+ })) || 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, {
36167
36568
  selectBusinessType: "customer2",
36168
36569
  selectProps: _objectSpread2({
36169
36570
  style: styleCommon,
@@ -36184,7 +36585,7 @@ function RenderCompItem(props) {
36184
36585
  getPopupContainer: function getPopupContainer() {
36185
36586
  return document.body;
36186
36587
  }
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, {
36588
+ })) || 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, {
36188
36589
  selectBusinessType: "shopFile2",
36189
36590
  selectProps: _objectSpread2({
36190
36591
  style: styleCommon,
@@ -36205,7 +36606,7 @@ function RenderCompItem(props) {
36205
36606
  getPopupContainer: function getPopupContainer() {
36206
36607
  return document.body;
36207
36608
  }
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, {
36609
+ })) || 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, {
36209
36610
  selectBusinessType: "employee2",
36210
36611
  selectProps: _objectSpread2({
36211
36612
  style: styleCommon,
@@ -36226,7 +36627,7 @@ function RenderCompItem(props) {
36226
36627
  getPopupContainer: function getPopupContainer() {
36227
36628
  return document.body;
36228
36629
  }
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, {
36630
+ })) || 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, {
36230
36631
  disabled: disabled,
36231
36632
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36232
36633
  businessType: "stock-organization",
@@ -36239,7 +36640,7 @@ function RenderCompItem(props) {
36239
36640
  getPopupContainer: function getPopupContainer() {
36240
36641
  return document.body;
36241
36642
  }
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, {
36643
+ })) || 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, {
36243
36644
  disabled: disabled,
36244
36645
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36245
36646
  businessType: "settle-organization",
@@ -36252,7 +36653,7 @@ function RenderCompItem(props) {
36252
36653
  getPopupContainer: function getPopupContainer() {
36253
36654
  return document.body;
36254
36655
  }
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, {
36656
+ })) || 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, {
36256
36657
  selectBusinessType: "deliveryMode",
36257
36658
  selectProps: _objectSpread2({
36258
36659
  style: styleCommon,
@@ -36273,7 +36674,7 @@ function RenderCompItem(props) {
36273
36674
  getPopupContainer: function getPopupContainer() {
36274
36675
  return document.body;
36275
36676
  }
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, {
36677
+ })) || 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, {
36277
36678
  selectBusinessType: "role",
36278
36679
  selectProps: _objectSpread2({
36279
36680
  style: styleCommon,
@@ -36294,7 +36695,7 @@ function RenderCompItem(props) {
36294
36695
  getPopupContainer: function getPopupContainer() {
36295
36696
  return document.body;
36296
36697
  }
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, {
36698
+ })) || 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, {
36298
36699
  selectBusinessType: "brand",
36299
36700
  selectProps: _objectSpread2({
36300
36701
  style: styleCommon,
@@ -36315,7 +36716,7 @@ function RenderCompItem(props) {
36315
36716
  getPopupContainer: function getPopupContainer() {
36316
36717
  return document.body;
36317
36718
  }
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, {
36719
+ })) || 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, {
36319
36720
  disabled: disabled,
36320
36721
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
36321
36722
  businessType: "background-category",
@@ -36328,7 +36729,7 @@ function RenderCompItem(props) {
36328
36729
  getPopupContainer: function getPopupContainer() {
36329
36730
  return document.body;
36330
36731
  }
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, {
36732
+ })) || 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, {
36332
36733
  selectProps: _objectSpread2(_objectSpread2({
36333
36734
  style: styleCommon,
36334
36735
  placeholder: '请选择'
@@ -36351,7 +36752,7 @@ function RenderCompItem(props) {
36351
36752
  onChange: function onChange(value) {
36352
36753
  handleEdit(ites.code, value);
36353
36754
  }
36354
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
36755
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
36355
36756
  style: {
36356
36757
  display: 'flex'
36357
36758
  }
@@ -36838,14 +37239,15 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36838
37239
  });
36839
37240
  };
36840
37241
  _this.renderRuleItem = function (itemDetail, parentDetail, floorIndex, classDataIndex, relateDatas) {
36841
- var _itemDetail$subExpres, _itemDetail$params, _itemDetail$params$;
37242
+ var _itemDetail$subExpres, _itemDetail$params, _itemDetail$params$, _itemDetail$params2;
36842
37243
  var ruleTreeData = _this.state.ruleTreeData;
36843
37244
  var _this$props3 = _this.props,
36844
37245
  callBack = _this$props3.callBack,
36845
37246
  _this$props3$initialT = _this$props3.initialThresholdQuery,
36846
37247
  initialThresholdQuery = _this$props3$initialT === void 0 ? {} : _this$props3$initialT,
36847
37248
  disabled = _this$props3.disabled,
36848
- systemVariableList = _this$props3.systemVariableList;
37249
+ systemVariableList = _this$props3.systemVariableList,
37250
+ needShowInsertSQL = _this$props3.needShowInsertSQL;
36849
37251
  var thresholdQuery = _objectSpread2(_objectSpread2({}, initialThresholdQuery), relateDatas);
36850
37252
  var finalIndex = floorIndex + 1;
36851
37253
  var queryIdentify = '';
@@ -36863,7 +37265,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36863
37265
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
36864
37266
  queryIdentifyType = 'dynamicDictCodeIdentify';
36865
37267
  }
36866
- var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
37268
+ var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
36867
37269
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
36868
37270
  var _i$key;
36869
37271
  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);
@@ -36937,6 +37339,9 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36937
37339
  itemDetail.dataTypeCode = nodeInfo.triggerNode.props.dataTypeCode;
36938
37340
  itemDetail.metaObjectCode = nodeInfo.triggerNode.props.metaObjectCode;
36939
37341
  itemDetail.isInsertParam = false;
37342
+ if (needShowInsertSQL) {
37343
+ itemDetail.isInsertSQL = false;
37344
+ }
36940
37345
  _this.setState({
36941
37346
  ruleClassData: ruleClassData
36942
37347
  }, function () {
@@ -36968,7 +37373,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36968
37373
  value: item.code,
36969
37374
  key: item.code
36970
37375
  }, item.name);
36971
- })), !(itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertParam) ? /*#__PURE__*/React$1.createElement(RuleField, {
37376
+ })), (needShowInsertSQL ? !(itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertParam) && !(itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertSQL) : !(itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertParam)) ? /*#__PURE__*/React$1.createElement(RuleField, {
36972
37377
  customerWidth: _this.props.customerWidth,
36973
37378
  selectOperation: (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.operationCode) || '',
36974
37379
  disabled: disabled,
@@ -37018,7 +37423,26 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
37018
37423
  value: item.code,
37019
37424
  key: item.code
37020
37425
  }, item.name);
37021
- }) : null), /*#__PURE__*/React$1.createElement(PlusCircleOutlined, {
37426
+ }) : null), /*#__PURE__*/React$1.createElement(Input, {
37427
+ disabled: disabled,
37428
+ value: (itemDetail === null || itemDetail === void 0 ? void 0 : (_itemDetail$params2 = itemDetail.params) === null || _itemDetail$params2 === void 0 ? void 0 : _itemDetail$params2[0]) || '',
37429
+ style: {
37430
+ width: '150px',
37431
+ marginLeft: '10px',
37432
+ display: needShowInsertSQL && (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertSQL) ? '' : 'none'
37433
+ },
37434
+ onChange: function onChange(e) {
37435
+ var value = e.target.value;
37436
+ var ruleClassData = _this.state.ruleClassData;
37437
+ itemDetail.params = [value || ''];
37438
+ itemDetail.paramNames = [''];
37439
+ _this.setState({
37440
+ ruleClassData: ruleClassData
37441
+ }, function () {
37442
+ callBack(ruleClassData);
37443
+ });
37444
+ }
37445
+ }), /*#__PURE__*/React$1.createElement(PlusCircleOutlined, {
37022
37446
  className: 'icon_btn_style',
37023
37447
  onClick: function onClick() {
37024
37448
  _this.addChildRules(itemDetail);
@@ -37060,7 +37484,27 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
37060
37484
  message$1.warn('未配置规则变量');
37061
37485
  }
37062
37486
  }
37063
- }, (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertParam) ? '取消插入参数' : '插入参数')), /*#__PURE__*/React$1.createElement("div", {
37487
+ }, (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertParam) ? '取消插入参数' : '插入参数'), /*#__PURE__*/React$1.createElement(Button, {
37488
+ type: "link",
37489
+ disabled: disabled || (itemDetail.operationCode === '' || !itemDetail.operationCode ? true : false),
37490
+ style: needShowInsertSQL ? {} : {
37491
+ display: 'none'
37492
+ },
37493
+ onClick: function onClick() {
37494
+ var ruleClassData = _this.state.ruleClassData;
37495
+ itemDetail.isInsertSQL = !itemDetail.isInsertSQL;
37496
+ if (itemDetail.isInsertSQL) {
37497
+ itemDetail.type = 30;
37498
+ itemDetail.paramNames = [];
37499
+ itemDetail.params = [];
37500
+ }
37501
+ _this.setState({
37502
+ ruleClassData: ruleClassData
37503
+ }, function () {
37504
+ callBack(ruleClassData);
37505
+ });
37506
+ }
37507
+ }, (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.isInsertSQL) ? '取消插入SQL' : '插入SQL')), /*#__PURE__*/React$1.createElement("div", {
37064
37508
  style: {
37065
37509
  display: itemDetail.operationType == 'logic' && !disabled ? 'block' : 'none'
37066
37510
  }
@@ -37790,13 +38234,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
37790
38234
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
37791
38235
  // 处理对象-设置了必填-规则实例保存时数据必填校验
37792
38236
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
37793
- var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
38237
+ var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
37794
38238
  var requiredList = list.filter(function (c) {
37795
38239
  return c.required == 1;
37796
38240
  }) || []; // 获取对象属性为true的集合
37797
38241
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
37798
38242
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
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];
38243
+ 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];
37800
38244
  (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) {
37801
38245
  if (requiredList.some(function (r) {
37802
38246
  return r.id === e.elementId;
@@ -38385,7 +38829,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38385
38829
  style: {
38386
38830
  float: 'right'
38387
38831
  }
38388
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38832
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
38389
38833
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
38390
38834
  ruleGroupInfo: {
38391
38835
  ruleGroupList: ruleGroupList,
@@ -38403,7 +38847,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
38403
38847
  callBack: function callBack(newData) {
38404
38848
  upDateData(newData);
38405
38849
  }
38406
- }))) : ( /*#__PURE__*/React$1.createElement("div", {
38850
+ }))) : (/*#__PURE__*/React$1.createElement("div", {
38407
38851
  style: {
38408
38852
  padding: 20
38409
38853
  }
@@ -38633,14 +39077,14 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
38633
39077
  var css_248z$y = ".bs-collapse-wrap {\n border-radius: 4px;\n overflow: hidden;\n}\n.bs-collapse-wrap .bs-collapse-header-wrap {\n background: #fff;\n}\n.bs-collapse-wrap .bs-collapse-icon {\n color: #b6b6b6;\n transition: transform 0.3s;\n}\n.bs-collapse-wrap .bs-guidewrap-icon-toogle {\n transform: rotate(180deg);\n}\n.bs-collapse-wrap .bs-collapse-header-title {\n font-weight: 500;\n font-size: 14px;\n color: #000000;\n}\n.bs-collapse-wrap .bs-collapse-header-divider {\n width: 3px;\n height: 20px;\n background: #005cff;\n}\n.bs-collapse-header-boder .ant-collapse .ant-collapse-item > .ant-collapse-header {\n border-bottom: 1px solid #f0f0f0;\n padding: 8px 16px;\n}\n";
38634
39078
  styleInject(css_248z$y);
38635
39079
 
38636
- var _excluded$l = ["titleExtra", "header", "showArrow"];
39080
+ var _excluded$m = ["titleExtra", "header", "showArrow"];
38637
39081
  var Panel = Collapse.Panel;
38638
39082
  var ExtendedPanel = function ExtendedPanel(_ref) {
38639
39083
  var titleExtra = _ref.titleExtra,
38640
39084
  header = _ref.header,
38641
39085
  _ref$showArrow = _ref.showArrow,
38642
39086
  showArrow = _ref$showArrow === void 0 ? false : _ref$showArrow,
38643
- props = _objectWithoutProperties(_ref, _excluded$l);
39087
+ props = _objectWithoutProperties(_ref, _excluded$m);
38644
39088
  var renderHeader = function renderHeader() {
38645
39089
  return /*#__PURE__*/React$1.createElement(Space, {
38646
39090
  align: "center"
@@ -38664,11 +39108,11 @@ var ExtendedPanel = function ExtendedPanel(_ref) {
38664
39108
  }), props.children);
38665
39109
  };
38666
39110
 
38667
- var _excluded$m = ["children", "bordered"];
39111
+ var _excluded$n = ["children", "bordered"];
38668
39112
  var ExtendedCollapse = function ExtendedCollapse(props) {
38669
39113
  var children = props.children,
38670
39114
  bordered = props.bordered,
38671
- restProps = _objectWithoutProperties(props, _excluded$m);
39115
+ restProps = _objectWithoutProperties(props, _excluded$n);
38672
39116
  return /*#__PURE__*/React$1.createElement("div", {
38673
39117
  className: classNames({
38674
39118
  'bs-collapse-wrap': true,
@@ -38778,4 +39222,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
38778
39222
  }, children));
38779
39223
  };
38780
39224
 
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 };
39225
+ 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 };