@bit-sun/business-component 4.0.11-alpha.9 → 4.0.12-alpha.10

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 (34) hide show
  1. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +2 -4
  2. package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +4 -0
  3. package/dist/components/Functional/SearchSelect/utils.d.ts +4 -0
  4. package/dist/index.esm.js +973 -517
  5. package/dist/index.js +973 -517
  6. package/package.json +2 -2
  7. package/src/components/Business/BsLayouts/index.tsx +17 -0
  8. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +45 -17
  9. package/src/components/Business/BsSulaQueryTable/index.less +21 -38
  10. package/src/components/Business/BsSulaQueryTable/index.md +113 -20
  11. package/src/components/Business/BsSulaQueryTable/index.tsx +109 -7
  12. package/src/components/Business/BsSulaQueryTable/setting.tsx +5 -5
  13. package/src/components/Business/DetailPageWrapper/index.less +10 -1
  14. package/src/components/Business/DetailPageWrapper/index.tsx +27 -2
  15. package/src/components/Business/HomePageWrapper/index.less +9 -0
  16. package/src/components/Business/HomePageWrapper/index.tsx +1 -1
  17. package/src/components/Business/SearchSelect/BusinessUtils.tsx +67 -26
  18. package/src/components/Business/SearchSelect/index.md +6 -5
  19. package/src/components/Business/SearchSelect/index.tsx +4 -1
  20. package/src/components/Business/columnSettingTable/columnSetting.tsx +5 -5
  21. package/src/components/Business/columnSettingTable/components/TableSumComponent.tsx +25 -0
  22. package/src/components/Business/columnSettingTable/components/style.less +25 -0
  23. package/src/components/Business/columnSettingTable/index.less +31 -69
  24. package/src/components/Business/columnSettingTable/index.md +5 -8
  25. package/src/components/Business/columnSettingTable/index.tsx +8 -2
  26. package/src/components/Business/columnSettingTable/sulaSettingTable.tsx +122 -12
  27. package/src/components/Functional/QueryMutipleInput/index.tsx +2 -0
  28. package/src/components/Functional/SearchSelect/index.less +28 -5
  29. package/src/components/Functional/SearchSelect/index.tsx +151 -67
  30. package/src/components/Functional/SearchSelect/utils.ts +12 -1
  31. package/src/components/Functional/TreeSearchSelect/index.tsx +1 -1
  32. package/src/plugin/TableColumnSetting/index.less +38 -70
  33. package/src/plugin/TableColumnSetting/index.tsx +5 -5
  34. package/src/styles/bsDefault.less +130 -124
package/dist/index.esm.js CHANGED
@@ -6,7 +6,7 @@ import _, { isNil, escapeRegExp, omit, debounce, cloneDeep as cloneDeep$1, throt
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
- import React$1, { useState, useEffect, forwardRef, useImperativeHandle, useRef, useMemo, Component, useLayoutEffect, createRef } from 'react';
9
+ import React$1, { useState, useEffect, forwardRef, useImperativeHandle, useRef, useMemo, Component, Fragment, useLayoutEffect, createRef } from 'react';
10
10
  import moment$1 from 'moment';
11
11
  import { EyeOutlined, DeleteOutlined, EditOutlined, CopyOutlined, CloseSquareOutlined, WarningOutlined, SendOutlined, ProfileTwoTone, ExclamationCircleOutlined, DownOutlined, UnorderedListOutlined, SearchOutlined, CloseCircleOutlined, DownCircleFilled, ArrowLeftOutlined, FolderOutlined, EllipsisOutlined, CaretDownOutlined, HomeOutlined, DoubleLeftOutlined, DoubleRightOutlined, MenuUnfoldOutlined, CaretLeftOutlined, DashOutlined, SettingOutlined, BulbOutlined, PlayCircleOutlined, SaveOutlined, FullscreenExitOutlined, MinusCircleOutlined, PlusCircleOutlined } from '@ant-design/icons';
12
12
  import { request as request$2, Table as Table$1, QueryTable, Form as Form$1 } from 'bssula';
@@ -1059,13 +1059,13 @@ var tableColumnsImage = function tableColumnsImage(url, paramsObj) {
1059
1059
  imgHtml.innerHTML = str;
1060
1060
  }
1061
1061
  // 测试使用 测试类型缩小 end
1062
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1062
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1063
1063
  className: "clomnsImg"
1064
1064
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1065
1065
  src: url,
1066
1066
  width: "16px",
1067
1067
  height: "16px"
1068
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("div", {
1068
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("div", {
1069
1069
  className: "clomnsImg2"
1070
1070
  }, /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1071
1071
  src: noImg
@@ -1204,7 +1204,7 @@ function downloadExcel(data, fileName, isResUrl) {
1204
1204
  }
1205
1205
  save_link.click();
1206
1206
  }
1207
- var _formatter = function formatter(data, parentAuthority, parentName) {
1207
+ var formatter = function formatter(data, parentAuthority, parentName) {
1208
1208
  return data.map(function (item) {
1209
1209
  if (!item.name || !item.path) {
1210
1210
  return null;
@@ -1224,7 +1224,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1224
1224
  authority: item.authority || parentAuthority
1225
1225
  });
1226
1226
  if (item.routes) {
1227
- var children = _formatter(item.routes, item.authority, locale);
1227
+ var children = formatter(item.routes, item.authority, locale);
1228
1228
  // Reduce memory usage
1229
1229
  result.children = children;
1230
1230
  }
@@ -1234,7 +1234,7 @@ var _formatter = function formatter(data, parentAuthority, parentName) {
1234
1234
  return item;
1235
1235
  });
1236
1236
  };
1237
- var memoizeOneFormatter = memoizeOne(_formatter, isEqual);
1237
+ var memoizeOneFormatter = memoizeOne(formatter, isEqual);
1238
1238
  var go2BackAndClose = function go2BackAndClose(backHistoryPath) {
1239
1239
  localStorage.setItem(ENUM.BROWSER_CACHE.CHILD_APP_BACK, 1);
1240
1240
  if (backHistoryPath) {
@@ -1543,7 +1543,7 @@ var parseToServe = function parseToServe(outdata, revertChart) {
1543
1543
  // sheepMap是表头字段中英文映射
1544
1544
  // sheetCount:表的数量,默认一张
1545
1545
  var resolveFile = /*#__PURE__*/function () {
1546
- var _ref3 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1546
+ var _ref3 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(file) {
1547
1547
  var config,
1548
1548
  data,
1549
1549
  _args = arguments;
@@ -1582,7 +1582,7 @@ var resolveFile = /*#__PURE__*/function () {
1582
1582
  }();
1583
1583
  //读取文件
1584
1584
  var readerXlsxToList = /*#__PURE__*/function () {
1585
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1585
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(file, fileList, uploadRef, done, otherInfo) {
1586
1586
  var _ref5, callback, sheetMap, nowFile, data2, data;
1587
1587
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
1588
1588
  while (1) switch (_context2.prev = _context2.next) {
@@ -1675,14 +1675,14 @@ var keyToWord = function keyToWord(data, fieldMapping) {
1675
1675
  /**---------------------数据写入excel-------结束------------------------*/
1676
1676
 
1677
1677
  // 获取树平行结构
1678
- var _coverToParallel = function coverToParallel(treeData, result, chilKey) {
1678
+ var coverToParallel = function coverToParallel(treeData, result, chilKey) {
1679
1679
  var childrenKey = chilKey || 'children';
1680
1680
  treeData.forEach(function (el) {
1681
1681
  var _el$childrenKey;
1682
1682
  result.push(el);
1683
1683
  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) {
1684
1684
  // 子级递归
1685
- _coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1685
+ coverToParallel(el === null || el === void 0 ? void 0 : el[childrenKey], result, chilKey);
1686
1686
  }
1687
1687
  });
1688
1688
  return result;
@@ -1959,13 +1959,13 @@ var tableColumnsImage$1 = function tableColumnsImage(url, paramsObj) {
1959
1959
  imgHtml.innerHTML = str;
1960
1960
  }
1961
1961
  // 测试使用 测试类型缩小 end
1962
- return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? (/*#__PURE__*/React$1.createElement("div", {
1962
+ return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, url ? ( /*#__PURE__*/React$1.createElement("div", {
1963
1963
  className: "clomnsImg"
1964
1964
  }, /*#__PURE__*/React$1.createElement(Image, _objectSpread2({
1965
1965
  src: url,
1966
1966
  width: "16px",
1967
1967
  height: "16px"
1968
- }, paramsObj)))) : (/*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1968
+ }, paramsObj)))) : ( /*#__PURE__*/React$1.createElement("img", _objectSpread2(_objectSpread2({}, paramsObj), {}, {
1969
1969
  src: noImg
1970
1970
  }))));
1971
1971
  };
@@ -2027,7 +2027,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2027
2027
  }
2028
2028
  });
2029
2029
  };
2030
- var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && (/*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2030
+ var menu = /*#__PURE__*/React$1.createElement(Menu, null, /*#__PURE__*/React$1.createElement(Menu.Item, null, type === 'input' && ( /*#__PURE__*/React$1.createElement(Input, _objectSpread2({
2031
2031
  disabled: disabled,
2032
2032
  onChange: function onChange(e) {
2033
2033
  var v = e.target.value;
@@ -2037,7 +2037,7 @@ var ColumnsEdit = function ColumnsEdit(props) {
2037
2037
  width: 170
2038
2038
  },
2039
2039
  value: inputValue
2040
- }, inpProps))), type === 'number' && (/*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2040
+ }, inpProps))), type === 'number' && ( /*#__PURE__*/React$1.createElement(InputNumber, _objectSpread2({
2041
2041
  disabled: disabled,
2042
2042
  onBlur: function onBlur(e) {
2043
2043
  var v = parseFloat(e.target.value);
@@ -2416,16 +2416,16 @@ var handleExport = function handleExport(type, params, url, methods, fileName, p
2416
2416
  var handleExportBarCode = handleExport;
2417
2417
  var getBreadcrumbNameMap = function getBreadcrumbNameMap(menuData) {
2418
2418
  var routerMap = {};
2419
- var _flattenMenuData = function flattenMenuData(data) {
2419
+ var flattenMenuData = function flattenMenuData(data) {
2420
2420
  data.forEach(function (menuItem) {
2421
2421
  if (menuItem.children) {
2422
- _flattenMenuData(menuItem.children);
2422
+ flattenMenuData(menuItem.children);
2423
2423
  }
2424
2424
  // Reduce memory usage
2425
2425
  routerMap[menuItem.path] = menuItem;
2426
2426
  });
2427
2427
  };
2428
- _flattenMenuData(menuData);
2428
+ flattenMenuData(menuData);
2429
2429
  return routerMap;
2430
2430
  };
2431
2431
  var ergodicMenuRoutes = function ergodicMenuRoutes(routes) {
@@ -2568,7 +2568,7 @@ var requestUtil = function requestUtil(_ref) {
2568
2568
  return request$1(url, parms).then(handleResponseData);
2569
2569
  };
2570
2570
  var handleResponseData = /*#__PURE__*/function () {
2571
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2571
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(response) {
2572
2572
  return _regeneratorRuntime().wrap(function _callee$(_context) {
2573
2573
  while (1) switch (_context.prev = _context.next) {
2574
2574
  case 0:
@@ -3242,7 +3242,7 @@ var DataValidation = /*#__PURE__*/function (_React$Component) {
3242
3242
  placement: "bottomLeft"
3243
3243
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3244
3244
  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"))
3245
- }, /*#__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, {
3245
+ }, /*#__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, {
3246
3246
  trigger: ['click'],
3247
3247
  overlay: this.menuList,
3248
3248
  placement: "bottomRight"
@@ -3917,7 +3917,7 @@ var DataImport = /*#__PURE__*/function (_React$Component) {
3917
3917
  placement: "bottomLeft"
3918
3918
  }, /*#__PURE__*/React$1.createElement("a", null, /*#__PURE__*/React$1.createElement(ProfileTwoTone, null))), /*#__PURE__*/React$1.createElement(Tooltip, {
3919
3919
  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"))
3920
- }, /*#__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, {
3920
+ }, /*#__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, {
3921
3921
  trigger: ['click'],
3922
3922
  overlay: this.menuList,
3923
3923
  placement: "bottomRight"
@@ -3976,6 +3976,10 @@ var QueryMutipleInput = function QueryMutipleInput(_ref) {
3976
3976
  }, [value]);
3977
3977
  var showModal = function showModal() {
3978
3978
  setIsModalVisible(true);
3979
+ //弹窗打开时 默认搜索内容换行显示
3980
+ setPopValue(function (data) {
3981
+ return data.replace(/,/g, '\n');
3982
+ });
3979
3983
  };
3980
3984
  var handleOk = function handleOk() {
3981
3985
  formaData(popvalue);
@@ -4071,14 +4075,15 @@ function ToCDB(str) {
4071
4075
  return tmp;
4072
4076
  }
4073
4077
 
4074
- var css_248z$5 = ".search_select_show {\n display: flex;\n}\n.search_select_show .ant-select-clear {\n right: 33px;\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}\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: 684px;\n overflow: hidden;\n}\n.search_select_wrapper {\n position: relative;\n min-height: 80vh;\n max-height: 80vh;\n overflow: hidden;\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 overflow: hidden;\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 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";
4078
+ var css_248z$5 = ".search_select_show {\n display: flex;\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_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 overflow: hidden;\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";
4075
4079
  styleInject(css_248z$5);
4076
4080
 
4081
+ var columnsPerRow = 4; // 每行的列数
4082
+ var ColSpan = 6; // 查询条件 每行col = 24 /columnsPerRow
4077
4083
  var handleSourceName = function handleSourceName(sName) {
4078
4084
  return sName;
4079
4085
  };
4080
4086
  var getFormRowInfo = function getFormRowInfo(list) {
4081
- var columnsPerRow = 4; // 每行的列数
4082
4087
  var totalRows = Math.ceil(list.length / columnsPerRow); // 计算总行数
4083
4088
  var lastRowColumns = (list.length + 1) % columnsPerRow; // 计算最后一行的实际列数
4084
4089
  var emptySlots = lastRowColumns === 0 ? 0 : columnsPerRow - lastRowColumns; // 计算最后一行的空位数
@@ -4106,11 +4111,22 @@ var hasMoreQueryFields = function hasMoreQueryFields(modalTableProps) {
4106
4111
  var visibleFieldsCount = getVisibleFieldsCount(modalTableProps);
4107
4112
  return visibleFieldsCount < (tableSearchForm === null || tableSearchForm === void 0 ? void 0 : tableSearchForm.length);
4108
4113
  };
4114
+ var getRealStr = function getRealStr(oldSelect, newSelect, record) {
4115
+ return (oldSelect === null || oldSelect === void 0 ? void 0 : oldSelect.length) ? oldSelect.some(function (o) {
4116
+ return o.value == (record === null || record === void 0 ? void 0 : record.value);
4117
+ }) ? oldSelect.filter(function (s) {
4118
+ return s.value != (record === null || record === void 0 ? void 0 : record.value);
4119
+ }) : [].concat(_toConsumableArray(oldSelect), _toConsumableArray(newSelect)) : newSelect;
4120
+ };
4121
+ var getTableHeigth = function getTableHeigth(list) {
4122
+ var totalRows = Math.ceil(((list === null || list === void 0 ? void 0 : list.length) + 1) / 4);
4123
+ if (totalRows == 1) return 358; // modal弹窗760 调整为700 适应小屏
4124
+ return 411 - totalRows * 10;
4125
+ };
4109
4126
 
4110
4127
  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";
4111
4128
 
4112
4129
  var Option$1 = Select.Option;
4113
- var ColSpan = 6;
4114
4130
  var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4115
4131
  var _modalTableProps$tabl, _modalTableProps$tabl2;
4116
4132
  var value = props.value,
@@ -4153,7 +4169,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4153
4169
  _ref$specialBracket = _ref.specialBracket,
4154
4170
  specialBracket = _ref$specialBracket === void 0 ? false : _ref$specialBracket,
4155
4171
  _ref$noNeedSplit = _ref.noNeedSplit,
4156
- noNeedSplit = _ref$noNeedSplit === void 0 ? false : _ref$noNeedSplit;
4172
+ noNeedSplit = _ref$noNeedSplit === void 0 ? false : _ref$noNeedSplit,
4173
+ noOperate = _ref.noOperate,
4174
+ viewShowValueStr = _ref.viewShowValueStr,
4175
+ searchStartLength = _ref.searchStartLength;
4157
4176
  var resultSourceKey = handleSourceName(sourceName || (requestConfig === null || requestConfig === void 0 ? void 0 : requestConfig.sourceName) || (ctx === null || ctx === void 0 ? void 0 : ctx.name) || 'supplierCode');
4158
4177
  var selectMode = selectProps === null || selectProps === void 0 ? void 0 : selectProps.mode; // 设定当前选择器 为单选或者多选模式 无设定为单选模式(默认)
4159
4178
  var initVal = value || (selectMode ? [] : null);
@@ -4170,20 +4189,34 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4170
4189
  allowClear: true,
4171
4190
  listHeight: 160,
4172
4191
  optionLabelProp: "label",
4173
- autoClearSearchValue: false
4192
+ autoClearSearchValue: false,
4193
+ placement: 'bottomLeft'
4174
4194
  });
4175
4195
  var initPagination = {
4176
4196
  showQuickJumper: true,
4177
- showSizeChanger: true,
4197
+ showSizeChanger: false,
4178
4198
  showTotal: function showTotal(total) {
4179
4199
  return "\u5171 ".concat(total, " \u6761");
4180
- }
4200
+ },
4201
+ pageSize: tableInitPageSize
4181
4202
  };
4182
4203
  var tableInitPagination = _objectSpread2(_objectSpread2({}, initPagination), {}, {
4183
4204
  total: 0,
4184
- current: 1,
4185
- pageSize: tableInitPageSize
4205
+ current: 1
4186
4206
  });
4207
+ var disabled = noOperate || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled);
4208
+ var isHaveDependency = fixedparameter && fieldValToParam && ctx;
4209
+ var isHaveDValue = function isHaveDValue() {
4210
+ var formValueList = [];
4211
+ fieldValToParam.forEach(function (item, index) {
4212
+ var fixedParamVal = ctx.form.getFieldValue(fieldValToParam[index]);
4213
+ formValueList.push(fixedParamVal);
4214
+ });
4215
+ return formValueList.filter(function (item) {
4216
+ return item;
4217
+ }).length > 0;
4218
+ };
4219
+ var sDisabled = disabled || isHaveDependency && !!!isHaveDValue();
4187
4220
  var _useState = useState([]),
4188
4221
  _useState2 = _slicedToArray(_useState, 2),
4189
4222
  items = _useState2[0],
@@ -4300,25 +4333,37 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4300
4333
  _useState42 = _slicedToArray(_useState41, 2),
4301
4334
  confirmLoading = _useState42[0],
4302
4335
  setConfirmLoading = _useState42[1];
4336
+ var _useState43 = useState(false),
4337
+ _useState44 = _slicedToArray(_useState43, 2),
4338
+ modalSearched = _useState44[0],
4339
+ setModalSearched = _useState44[1];
4340
+ var setSelectDataSource = function setSelectDataSource(list, total) {
4341
+ setItems(list);
4342
+ setItemsTotal(total);
4343
+ };
4344
+ var clearSelectDataSource = function clearSelectDataSource() {
4345
+ setSelectDataSource([], 0);
4346
+ };
4303
4347
  useImperativeHandle(ref, function () {
4304
4348
  return {
4305
4349
  refreshDataSource: function refreshDataSource() {
4306
4350
  var reset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
4307
4351
  if (reset) {
4308
4352
  if (init) {
4353
+ // 有关联,依赖项清空,此form项数据源也应清空, 也不可点击搜索
4354
+ if (isHaveDependency) {
4355
+ clearSelectDataSource();
4356
+ return;
4357
+ }
4309
4358
  run('init');
4310
4359
  } else {
4311
- setItems([]);
4312
- setItemsTotal(0);
4360
+ clearSelectDataSource();
4313
4361
  }
4314
4362
  } else {
4315
4363
  run();
4316
4364
  }
4317
4365
  },
4318
- clearDataSource: function clearDataSource() {
4319
- setItems([]);
4320
- setItemsTotal(0);
4321
- },
4366
+ clearSelectDataSource: clearSelectDataSource,
4322
4367
  getTableFormRef: function getTableFormRef() {
4323
4368
  return form;
4324
4369
  },
@@ -4326,12 +4371,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4326
4371
  getSelectDataSource: function getSelectDataSource() {
4327
4372
  return items;
4328
4373
  },
4329
- setSelectDataSource: function setSelectDataSource(list, listTotal) {
4330
- setItems(list);
4331
- setItemsTotal(listTotal);
4332
- },
4374
+ setSelectDataSource: setSelectDataSource,
4333
4375
  refreshSelectDataSource: function refreshSelectDataSource() {
4334
4376
  refreshItems();
4377
+ },
4378
+ handleModalVisible: function handleModalVisible(flag) {
4379
+ if (flag) {
4380
+ showModal();
4381
+ } else {
4382
+ handleCancel();
4383
+ }
4335
4384
  }
4336
4385
  };
4337
4386
  });
@@ -4344,7 +4393,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4344
4393
  setFetching(true);
4345
4394
  // 处理dependence参数
4346
4395
  var fixedParam = {};
4347
- if (fixedparameter && fieldValToParam && ctx) {
4396
+ if (isHaveDependency) {
4348
4397
  fixedparameter.forEach(function (item, index) {
4349
4398
  var fixedParamVal = ctx.form.getFieldValue(fieldValToParam[index]);
4350
4399
  if (fixedParamVal) {
@@ -4536,15 +4585,15 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4536
4585
  });
4537
4586
  })) : [];
4538
4587
  }
4539
- source = Array.isArray(source) ? source : [];
4588
+ // 数据源 不可以有重复key
4589
+ source = Array.isArray(source) ? _.uniqBy(source, 'value') : [];
4540
4590
  if (callback) {
4541
4591
  callback(source);
4542
4592
  } else {
4543
4593
  if (type === 1) {
4544
4594
  var _ctx$form;
4545
4595
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form = ctx.form) === null || _ctx$form === void 0 ? void 0 : _ctx$form.setFieldSource(resultSourceKey, source);
4546
- setItems(source);
4547
- setItemsTotal(Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
4596
+ setSelectDataSource(source, Number((res === null || res === void 0 ? void 0 : res.total) || (res === null || res === void 0 ? void 0 : res.totalCount) || source.length));
4548
4597
  } else {
4549
4598
  setTableData(source);
4550
4599
  setTablePagination(_objectSpread2(_objectSpread2({}, tablePagination), {}, {
@@ -4601,6 +4650,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4601
4650
  if (init) {
4602
4651
  run('init');
4603
4652
  }
4653
+ // 编辑/详情页面回显
4654
+ if (!init && !!value && ['edit', 'view'].includes(ctx === null || ctx === void 0 ? void 0 : ctx.mode)) {
4655
+ run('init');
4656
+ }
4604
4657
  }, []);
4605
4658
  useEffect(function () {
4606
4659
  if (value) {
@@ -4612,14 +4665,12 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4612
4665
  }, [resultSourceKey]);
4613
4666
  useEffect(function () {
4614
4667
  if (init) {
4615
- setItems([]);
4616
- setItemsTotal(0);
4668
+ clearSelectDataSource();
4617
4669
  run('init');
4618
4670
  }
4619
4671
  }, [selectBusinessType]);
4620
4672
  // 处理键盘事件
4621
4673
  var handleKeyPress = function handleKeyPress(event) {
4622
- console.log(event, '----event');
4623
4674
  if ((event.metaKey || event.ctrlKey) && (event.key === 'U' || event.keyCode == 85)) {
4624
4675
  // ctrl + U 键 重置
4625
4676
  onResetTable();
@@ -4643,8 +4694,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4643
4694
  };
4644
4695
  }, [isModalVisible]);
4645
4696
  var showModal = function showModal() {
4646
- // 弹窗打开默认不查询
4647
- // getData({ pageSize: tableInitPageSize, currentPage: 1 }, 3)
4697
+ if (sDisabled) return;
4698
+ setSelectOpen(false);
4699
+ setSearchValue('');
4700
+ setModalSearched(false);
4648
4701
  setIsModalVisible(true);
4649
4702
  // 回显
4650
4703
  if (value) {
@@ -4687,7 +4740,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4687
4740
  // 解决选择最后1页的sku,返回后,不显示名称问题
4688
4741
  var source = _.uniqBy(items.concat(selectedValue), 'value');
4689
4742
  ctx === null || ctx === void 0 ? void 0 : (_ctx$form2 = ctx.form) === null || _ctx$form2 === void 0 ? void 0 : _ctx$form2.setFieldSource(resultSourceKey, source);
4690
- setItems(source);
4743
+ setSelectDataSource(source, source === null || source === void 0 ? void 0 : source.length);
4691
4744
  formaData(selectedValue, source);
4692
4745
  } else {
4693
4746
  var formatResult = selectMode ? [] : null;
@@ -4755,25 +4808,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4755
4808
  var handleCancel = function handleCancel() {
4756
4809
  clearModalTable();
4757
4810
  setIsModalVisible(false);
4758
- if (selectMode) {
4759
- run();
4760
- }
4761
4811
  };
4762
4812
  var refreshItems = function refreshItems() {
4763
4813
  // 查看是否存在关联值 如果有关联值 就查询 没有就不能查询
4764
4814
  if (fieldValToParam && ctx && fixedparamsDisabled) {
4765
- var formValueList = [];
4766
- fieldValToParam.forEach(function (item, index) {
4767
- var fixedParamVal = ctx.form.getFieldValue(fieldValToParam[index]);
4768
- formValueList.push(fixedParamVal);
4769
- });
4770
- if (formValueList.filter(function (item) {
4771
- return item;
4772
- }).length > 0) {
4815
+ if (!!isHaveDValue()) {
4773
4816
  run();
4774
4817
  } else {
4775
- setItems([]);
4776
- setItemsTotal(0);
4818
+ clearSelectDataSource();
4777
4819
  }
4778
4820
  } else {
4779
4821
  run();
@@ -4781,18 +4823,17 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4781
4823
  };
4782
4824
  var onSearchChange = function onSearchChange(v) {
4783
4825
  setSearchValue(v);
4784
- if ((v === null || v === void 0 ? void 0 : v.length) < 4) return;
4826
+ if (!!searchStartLength && (v === null || v === void 0 ? void 0 : v.length) < searchStartLength) return;
4785
4827
  refreshItems();
4786
4828
  };
4787
4829
  var onSearchTable = function onSearchTable() {
4788
4830
  var params = form.getFieldsValue();
4831
+ // const isHaveParams = params && Object.keys(params).filter(item => params[item]).length > 0;
4832
+ setModalSearched(true);
4789
4833
  setTableFormParams(params);
4790
4834
  getData(_objectSpread2(_objectSpread2({}, params), {}, {
4791
4835
  pageSize: tableInitPageSize
4792
4836
  }), 2);
4793
- if (selectMode) {
4794
- getData(params);
4795
- }
4796
4837
  };
4797
4838
  var onResetTable = function onResetTable() {
4798
4839
  form.resetFields();
@@ -4875,12 +4916,23 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4875
4916
  },
4876
4917
  getCheckboxProps: (selectProps === null || selectProps === void 0 ? void 0 : selectProps.getCheckboxProps) ? selectProps === null || selectProps === void 0 ? void 0 : selectProps.getCheckboxProps : function () {
4877
4918
  return {
4878
- disabled: (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled) || !items.length && !tableData.length
4919
+ disabled: disabled || !items.length && !tableData.length
4879
4920
  };
4880
4921
  }
4881
4922
  };
4882
- var onDoubleClickSelect = function onDoubleClickSelect(e, record) {
4883
- if (!selectMode && !((selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled) || !items.length && !tableData.length)) {
4923
+ var onRowClickSelect = function onRowClickSelect(e, record, type) {
4924
+ if (selectMode && !(disabled || !items.length && !tableData.length)) {
4925
+ var oldSelect = selectedRows;
4926
+ var newSelect = [JSON.parse(JSON.stringify(record))];
4927
+ var srs = getRealStr(oldSelect, newSelect, record);
4928
+ var sks = srs.map(function (i) {
4929
+ return i.value;
4930
+ });
4931
+ onChangeSelectedKeys(sks, srs);
4932
+ }
4933
+ };
4934
+ var onDoubleClickSelect = function onDoubleClickSelect(e, record, type) {
4935
+ if (!selectMode && !(disabled || !items.length && !tableData.length)) {
4884
4936
  var srs = [JSON.parse(JSON.stringify(record))];
4885
4937
  var sks = srs.map(function (i) {
4886
4938
  return i.value;
@@ -4926,7 +4978,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
4926
4978
  style: {
4927
4979
  width: '100%'
4928
4980
  },
4929
- placeholder: "\u8BF7\u9009\u62E9"
4981
+ placeholder: "\u8BF7\u9009\u62E9",
4982
+ onDeselect: function onDeselect(v) {
4983
+ return onSearchTable();
4984
+ }
4930
4985
  }, i === null || i === void 0 ? void 0 : (_i$field2 = i.field) === null || _i$field2 === void 0 ? void 0 : _i$field2.props), {}, {
4931
4986
  disabled: setDisabled(i.name)
4932
4987
  }), (i === null || i === void 0 ? void 0 : (_i$initialSource = i.initialSource) === null || _i$initialSource === void 0 ? void 0 : _i$initialSource.length) && (i === null || i === void 0 ? void 0 : i.initialSource.map(function (m) {
@@ -5015,9 +5070,11 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5015
5070
  // bsTableCode={bsTableCode}
5016
5071
  // />
5017
5072
  var renderShowTable = function renderShowTable(tableList, type) {
5073
+ var tableBoxHeighth = getTableHeigth(modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.tableSearchForm);
5074
+ var oSY = "calc(100vh - ".concat(tableBoxHeighth, "px - 82px)"); // 分页 24+16*2+10 「高 + margin * 2 + paddingBottom 10 」
5018
5075
  return /*#__PURE__*/React$1.createElement("div", {
5019
5076
  style: {
5020
- height: '528px'
5077
+ height: "calc(100vh - ".concat(tableBoxHeighth, "px)")
5021
5078
  }
5022
5079
  }, /*#__PURE__*/React$1.createElement(Table, _objectSpread2(_objectSpread2({
5023
5080
  bordered: true,
@@ -5026,19 +5083,28 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5026
5083
  columns: tableShowColumns,
5027
5084
  dataSource: tableList
5028
5085
  }, type == 'noPage' ? {
5029
- pagination: initPagination
5086
+ pagination: initPagination,
5087
+ locale: {
5088
+ emptyText: '暂无已选结果'
5089
+ }
5030
5090
  } : {
5031
5091
  pagination: tablePagination,
5032
5092
  onChange: handleTableChange,
5033
- loading: fetching
5093
+ loading: fetching,
5094
+ locale: {
5095
+ emptyText: modalSearched ? '无匹配结果,请更换其他内容再试' : '请输入搜索条件'
5096
+ }
5034
5097
  }), {}, {
5035
5098
  rowKey: mappingValueField,
5036
5099
  scroll: {
5037
5100
  x: modalTableProps.overScrollX || 'max-content',
5038
- y: modalTableProps.overScrollY || 440
5101
+ y: modalTableProps.overScrollY || oSY
5039
5102
  },
5040
5103
  onRow: function onRow(record) {
5041
5104
  return {
5105
+ onClick: function onClick(event) {
5106
+ return onRowClickSelect(event, record);
5107
+ },
5042
5108
  onDoubleClick: function onDoubleClick(event) {
5043
5109
  return onDoubleClickSelect(event, record);
5044
5110
  }
@@ -5061,13 +5127,46 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5061
5127
  });
5062
5128
  })) || [], 'noPage')
5063
5129
  }];
5130
+ var resetSelectDataSource = function resetSelectDataSource() {
5131
+ setSearchValue('');
5132
+ // 有关联值 不需要清空下拉框数据 也不需要重新去请求了
5133
+ if (isHaveDependency) return;
5134
+ clearSelectDataSource();
5135
+ init && run('init');
5136
+ };
5064
5137
  var onClear = function onClear() {
5138
+ var _props$onClear;
5139
+ // 执行父组件 onClear 事件
5140
+ props === null || props === void 0 ? void 0 : (_props$onClear = props.onClear) === null || _props$onClear === void 0 ? void 0 : _props$onClear.call(props);
5141
+ // 清空下拉框 / 弹窗 选中数据
5065
5142
  formaData([], items);
5143
+ onChangeSelectedKeys([], []);
5144
+ // 重置下拉框数据源
5145
+ resetSelectDataSource();
5146
+ };
5147
+ var onDeselect = function onDeselect() {
5148
+ var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
5149
+ return {
5150
+ value: (s === null || s === void 0 ? void 0 : s.value) || s
5151
+ };
5152
+ })) || [];
5153
+ var deRecord = arguments.length <= 1 ? undefined : arguments[1];
5154
+ var srs = oldSelect.filter(function (s) {
5155
+ return s.value != (deRecord === null || deRecord === void 0 ? void 0 : deRecord.value);
5156
+ });
5157
+ onSelectClick(srs, items, false);
5158
+ };
5159
+ var onSelectClick = function onSelectClick(srs, ds) {
5160
+ var nr = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;
5161
+ formaData(srs, ds);
5162
+ nr && setSelectOpen(false);
5066
5163
  };
5067
5164
  var onDropdownVisibleChange = function onDropdownVisibleChange(visible) {
5068
5165
  setSelectOpen(visible);
5069
- // 解决多选时,关闭下拉框值 搜索项被清空但是没有重新调用onsearch事件的问题
5070
- selectMode && !visible && setSearchValue('');
5166
+ // 关闭下拉框 如果首次本身就不展示数据的 没有选中数据-需要清空查询数据源; 首次展示的默认展示
5167
+ if (!visible && !(value === null || value === void 0 ? void 0 : value.length)) {
5168
+ resetSelectDataSource();
5169
+ }
5071
5170
  };
5072
5171
  var renderTable = function renderTable(dataSource) {
5073
5172
  return /*#__PURE__*/React$1.createElement("div", {
@@ -5078,12 +5177,45 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5078
5177
  }, selectMode ? {
5079
5178
  rowSelection: {
5080
5179
  type: 'checkbox',
5081
- selectedRowKeys: labelInValue ? value.map(function (s) {
5180
+ columnWidth: '24px',
5181
+ selectedRowKeys: labelInValue ? value === null || value === void 0 ? void 0 : value.map(function (s) {
5082
5182
  return (s === null || s === void 0 ? void 0 : s.value) || s;
5083
5183
  }) : value,
5184
+ preserveSelectedRowKeys: true,
5084
5185
  onChange: function onChange(sks, srs) {
5085
- formaData(srs, dataSource);
5186
+ var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
5187
+ return {
5188
+ value: (s === null || s === void 0 ? void 0 : s.value) || s
5189
+ };
5190
+ })) || [];
5191
+ var tmpSelectedRows = oldSelect.concat(srs).filter(function (item) {
5192
+ return item != undefined;
5193
+ });
5194
+ var realSrs = sks.map(function (key) {
5195
+ return tmpSelectedRows.filter(function (item) {
5196
+ return item.value == key;
5197
+ })[0];
5198
+ }).filter(function (item) {
5199
+ return item != undefined;
5200
+ });
5201
+ onSelectClick(realSrs, dataSource, false);
5086
5202
  }
5203
+ },
5204
+ onRow: function onRow(record, rowKey) {
5205
+ return {
5206
+ onClick: function onClick(event) {
5207
+ event.stopPropagation();
5208
+ event.nativeEvent.stopImmediatePropagation();
5209
+ var oldSelect = (value === null || value === void 0 ? void 0 : value.map(function (s) {
5210
+ return {
5211
+ value: (s === null || s === void 0 ? void 0 : s.value) || s
5212
+ };
5213
+ })) || [];
5214
+ var newSelect = [JSON.parse(JSON.stringify(record))];
5215
+ var srs = getRealStr(oldSelect, newSelect, record);
5216
+ onSelectClick(srs, dataSource, false);
5217
+ } // 点击行
5218
+ };
5087
5219
  }
5088
5220
  } : {
5089
5221
  rowSelection: {
@@ -5093,11 +5225,10 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5093
5225
  },
5094
5226
  onRow: function onRow(record, rowKey) {
5095
5227
  return {
5096
- onDoubleClick: function onDoubleClick() {
5228
+ onClick: function onClick(event) {
5097
5229
  var srs = [JSON.parse(JSON.stringify(record))];
5098
- formaData(srs, dataSource);
5099
- setSelectOpen(false);
5100
- }
5230
+ onSelectClick(srs, dataSource);
5231
+ } // 点击行
5101
5232
  };
5102
5233
  }
5103
5234
  }), {}, {
@@ -5172,6 +5303,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5172
5303
  return getSelectValueText(value) || kongValue;
5173
5304
  };
5174
5305
  var getShowStr = function getShowStr() {
5306
+ // 优先使用业务使用传入的展示
5307
+ if (viewShowValueStr) return viewShowValueStr;
5175
5308
  var kongValue = '无';
5176
5309
  // 先判断labelInValue与否,labelInValue可以直接去value中获取字段名称,否则去下拉框数据里面去拿;
5177
5310
  // 再判断是单选还是多选,数据类型不同取值方式也不同
@@ -5180,16 +5313,16 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5180
5313
  }
5181
5314
  return getShowValueStr(kongValue);
5182
5315
  };
5183
- var isShouldShowStr = props.disabled && ctx;
5316
+ var isShouldShowStr = props.disabled && ctx || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) == 'view';
5184
5317
  return /*#__PURE__*/React$1.createElement("div", {
5185
5318
  className: 'search_select'
5186
- }, fieldComponent ? (/*#__PURE__*/React$1.createElement("div", {
5319
+ }, fieldComponent ? ( /*#__PURE__*/React$1.createElement("div", {
5187
5320
  onClick: function onClick() {
5188
5321
  var _fieldComponent$props, _fieldComponent$props2;
5189
5322
  (_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);
5190
5323
  showModal();
5191
5324
  }
5192
- }, fieldComponent)) : isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
5325
+ }, fieldComponent)) : isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
5193
5326
  title: getShowStr(),
5194
5327
  style: {
5195
5328
  overflow: 'hidden',
@@ -5205,7 +5338,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5205
5338
  value: value,
5206
5339
  onChange: onchange,
5207
5340
  onClear: onClear,
5208
- disabled: props.disabled,
5341
+ onDeselect: onDeselect,
5342
+ disabled: sDisabled,
5209
5343
  dropdownStyle: {
5210
5344
  borderRadius: '2px',
5211
5345
  padding: '10px 2px'
@@ -5215,14 +5349,14 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5215
5349
  dropdownRender: function dropdownRender(menu) {
5216
5350
  return (items === null || items === void 0 ? void 0 : items.length) ? renderTable(items) : menu;
5217
5351
  },
5218
- notFoundContent: fetching ? (/*#__PURE__*/React$1.createElement(Spin, {
5352
+ notFoundContent: fetching ? ( /*#__PURE__*/React$1.createElement(Spin, {
5219
5353
  size: "small",
5220
5354
  className: 'searchSelectSpin'
5221
- })) : (/*#__PURE__*/React$1.createElement("div", {
5355
+ })) : ( /*#__PURE__*/React$1.createElement("div", {
5222
5356
  style: {
5223
5357
  textAlign: 'center'
5224
5358
  }
5225
- }, /*#__PURE__*/React$1.createElement("div", null, searchValue ? '无匹配结果,请更换其他内容再试' : '请录入4位数以上字符进行模糊查询'))),
5359
+ }, /*#__PURE__*/React$1.createElement("div", null, searchValue || init || isHaveDependency ? '无匹配结果,请更换其他内容再试' : "\u8BF7\u5F55\u5165".concat(searchStartLength ? '4位数以上' : '', "\u5B57\u7B26\u8FDB\u884C\u6A21\u7CCA\u67E5\u8BE2")))),
5226
5360
  onPopupScroll: SelectScroll,
5227
5361
  style: {
5228
5362
  width: 'calc(100%)'
@@ -5234,7 +5368,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5234
5368
  }
5235
5369
  }, needModalTable ? {
5236
5370
  suffixIcon: /*#__PURE__*/React$1.createElement("div", {
5237
- className: "search_select_expand_button",
5371
+ className: "search_select_expand_button ".concat(sDisabled ? 'search_select_expand_button_disabled' : ''),
5238
5372
  onClick: showModal
5239
5373
  }, /*#__PURE__*/React$1.createElement(SearchOutlined, null))
5240
5374
  } : {}), currentSelectProps), {}, {
@@ -5249,7 +5383,8 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5249
5383
  text: handleSelectOptionsShowValue(specialBracket, noNeedSplit, item),
5250
5384
  filterTxt: searchValue
5251
5385
  }));
5252
- }))), needModalTable && isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5386
+ }))), needModalTable && isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
5387
+ maskClosable: false,
5253
5388
  destroyOnClose: true,
5254
5389
  width: "80%",
5255
5390
  title: modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalTableTitle,
@@ -5265,7 +5400,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5265
5400
  type: "primary",
5266
5401
  loading: confirmLoading,
5267
5402
  onClick: handleOk,
5268
- disabled: !tableData.length || (selectProps === null || selectProps === void 0 ? void 0 : selectProps.disabled) || (props === null || props === void 0 ? void 0 : props.disabled)
5403
+ disabled: sDisabled
5269
5404
  }, "\u786E\u5B9A")] : null,
5270
5405
  wrapClassName: 'search_select_modal_wrapper'
5271
5406
  }, (modalTableProps === null || modalTableProps === void 0 ? void 0 : modalTableProps.modalProps) || {}), /*#__PURE__*/React$1.createElement("div", {
@@ -5340,7 +5475,7 @@ var fixedRight = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
5340
5475
 
5341
5476
  var fixedRightActive = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2218px%22%20height%3D%2218px%22%20viewBox%3D%220%200%2018%2018%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%E6%98%9F%E6%BE%9C-%E4%B8%AA%E6%80%A7%E5%8C%96%E8%AE%BE%E7%BD%AE%26amp%3B%E9%94%81%E5%AE%9A%E5%88%97%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-89.000000%2C%20-43.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-9%22%20transform%3D%22translate%2889.000000%2C%2043.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20stroke%3D%22%23979797%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%22%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%2217%22%20height%3D%2217%22%3E%3C%2Frect%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cpath%20d%3D%22M9.49980555%2C4.20269836%20L15%2C9.65415997%20L14.1747569%2C10.4721491%20L10.0757645%2C6.40841633%20L10.0757645%2C15%20L8.90867951%2C15%20L8.90906842%2C6.4246065%20L4.82524306%2C10.4721491%20L4%2C9.65493094%20L9.49980555%2C4.20269836%20Z%20M14.9824996%2C3%20L14.9824996%2C4.15644073%20L4.09333569%2C4.15644073%20L4.09333569%2C3%20L14.9824996%2C3%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%E7%BB%93%E5%90%88%22%20fill%3D%22%23005CFF%22%20fill-rule%3D%22nonzero%22%20transform%3D%22translate%289.500000%2C%209.000000%29%20rotate%28-180.000000%29%20translate%28-9.500000%2C%20-9.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";
5342
5477
 
5343
- var css_248z$7 = ".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: 10px;\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: 14px;\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: #848484;\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: 14px;\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: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\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 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 div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\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: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\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: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\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: 115px !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: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
5478
+ var css_248z$7 = ".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";
5344
5479
  styleInject(css_248z$7);
5345
5480
 
5346
5481
  var _excluded$3 = ["className", "style"];
@@ -5810,7 +5945,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5810
5945
  return /*#__PURE__*/React$1.createElement("div", {
5811
5946
  className: 'sort_table_wrapper'
5812
5947
  }, /*#__PURE__*/React$1.createElement(Modal, {
5813
- title: "\u8BBE\u7F6E\u8868\u5934\u5185\u5BB9",
5948
+ title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
5814
5949
  wrapClassName: 'sort_table_wrapper',
5815
5950
  width: 820,
5816
5951
  visible: visible,
@@ -5833,19 +5968,19 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5833
5968
  className: 'sort_table_column_wrapper'
5834
5969
  }, /*#__PURE__*/React$1.createElement("span", {
5835
5970
  className: 'sort_table_column_count'
5836
- }, "\u53EF\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", dataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
5971
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u4F7F\u7528\u7684\u7B5B\u9009\u6761\u4EF6")), /*#__PURE__*/React$1.createElement("div", {
5837
5972
  className: 'sort_table_column'
5838
5973
  }, /*#__PURE__*/React$1.createElement(Input, {
5839
5974
  prefix: /*#__PURE__*/React$1.createElement(SearchOutlined, {
5840
5975
  className: "site-form-item-icon"
5841
5976
  }),
5842
- placeholder: "\u641C\u7D22",
5977
+ placeholder: "\u8F93\u5165\u7B5B\u9009\u6761\u4EF6\u540D\u79F0\u641C\u7D22",
5843
5978
  allowClear: true,
5844
5979
  onChange: this.onSearch,
5845
5980
  style: {
5846
- width: 540
5981
+ width: 525
5847
5982
  }
5848
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
5983
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
5849
5984
  checked: !dataSource.some(function (item) {
5850
5985
  if (item.hidden) return true;
5851
5986
  return false;
@@ -5883,13 +6018,13 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5883
6018
  _this2.onChange(e, item.title);
5884
6019
  }
5885
6020
  }, item.title);
5886
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
6021
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
5887
6022
  style: {
5888
6023
  width: '144px'
5889
6024
  }
5890
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
6025
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
5891
6026
  className: 'sort_table_column_all_empty'
5892
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
6027
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
5893
6028
  className: 'sort_table_column_special'
5894
6029
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
5895
6030
  className: 'sort_table_column_all'
@@ -5911,7 +6046,7 @@ var TableColumnSetting = /*#__PURE__*/function (_React$Component) {
5911
6046
  className: 'sort_table_content_wrapper'
5912
6047
  }, /*#__PURE__*/React$1.createElement("span", {
5913
6048
  className: 'sort_table_content_count'
5914
- }, "\u5DF2\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", sortDataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
6049
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u641C\u7D22\u6761\u4EF6\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
5915
6050
  className: 'sort_table_content'
5916
6051
  }, /*#__PURE__*/React$1.createElement("span", {
5917
6052
  style: {
@@ -6078,7 +6213,7 @@ var formatSource = function formatSource(reData, position, changePosition, chang
6078
6213
  });
6079
6214
  };
6080
6215
  // 格式化树选择器数据源
6081
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6216
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6082
6217
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
6083
6218
  return {
6084
6219
  title: treeDataItem[resKeyValue[1]],
@@ -6088,7 +6223,7 @@ var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue) {
6088
6223
  isLeaf: !haveChildren,
6089
6224
  disabled: haveChildren,
6090
6225
  children: haveChildren ? treeDataItem.children.map(function (i) {
6091
- return _mapSearchTree(i, resKeyValue);
6226
+ return mapSearchTree(i, resKeyValue);
6092
6227
  }) : []
6093
6228
  };
6094
6229
  };
@@ -6097,7 +6232,7 @@ var formatTreeDataSource = function formatTreeDataSource(reData, position, chang
6097
6232
  var resKeyValue = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : ['id', 'name'];
6098
6233
  var data = reData && ((_reData$position2 = reData[position]) === null || _reData$position2 === void 0 ? void 0 : _reData$position2.data);
6099
6234
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
6100
- return _mapSearchTree(ites, resKeyValue);
6235
+ return mapSearchTree(ites, resKeyValue);
6101
6236
  }) || [];
6102
6237
  changeSearchForm[changePosition].field.props.treeData = formatData;
6103
6238
  };
@@ -6268,7 +6403,7 @@ var AddSelect = function AddSelect(props) {
6268
6403
  var codeSelected = tableCodeList[1] || initTableCode[businessType][1];
6269
6404
  // FIXME: 特殊业务逻辑
6270
6405
  var checkSelectChange = /*#__PURE__*/function () {
6271
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6406
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(bType, tList, recordKey, recordItem, selectItem, changeValue) {
6272
6407
  var result;
6273
6408
  return _regeneratorRuntime().wrap(function _callee$(_context) {
6274
6409
  while (1) switch (_context.prev = _context.next) {
@@ -6521,7 +6656,7 @@ var AddSelect = function AddSelect(props) {
6521
6656
  return /*#__PURE__*/React$1.createElement(Select, _objectSpread2(_objectSpread2({}, item.selectProps), {}, {
6522
6657
  value: text || null,
6523
6658
  onChange: function () {
6524
- var _onChange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6659
+ var _onChange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(value) {
6525
6660
  var dataSourceSelectItem, _item$selectChangeCal, changeValue, isCheckPass, isConformToTheRules;
6526
6661
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
6527
6662
  while (1) switch (_context2.prev = _context2.next) {
@@ -7129,10 +7264,10 @@ var AddSelect = function AddSelect(props) {
7129
7264
  var newColumns = arr.map(function (col) {
7130
7265
  return _objectSpread2({}, col);
7131
7266
  });
7132
- var _handleIndex = function handleIndex(arr, indexArr) {
7267
+ var handleIndex = function handleIndex(arr, indexArr) {
7133
7268
  var i = indexArr.shift();
7134
7269
  if (indexArr.length > 0) {
7135
- _handleIndex(arr[i].children, indexArr);
7270
+ handleIndex(arr[i].children, indexArr);
7136
7271
  } else {
7137
7272
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
7138
7273
  width: size.width
@@ -7140,7 +7275,7 @@ var AddSelect = function AddSelect(props) {
7140
7275
  handleAntdColumnsSpecialParams(arr[i]);
7141
7276
  }
7142
7277
  };
7143
- _handleIndex(newColumns, _toConsumableArray(index));
7278
+ handleIndex(newColumns, _toConsumableArray(index));
7144
7279
  callback(newColumns);
7145
7280
  };
7146
7281
  };
@@ -7150,13 +7285,13 @@ var AddSelect = function AddSelect(props) {
7150
7285
  var setShowToChooseColumnsCallback = function setShowToChooseColumnsCallback(newColumns) {
7151
7286
  setShowToChooseColumns(_toConsumableArray(newColumns));
7152
7287
  };
7153
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
7288
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
7154
7289
  arr.forEach(function (item, index) {
7155
7290
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
7156
7291
  return i || i === 0;
7157
7292
  });
7158
7293
  if (noEmptyArray$1(item.children)) {
7159
- _handleColumns(item.children, indexArrInside);
7294
+ handleColumns(item.children, indexArrInside);
7160
7295
  } else {
7161
7296
  item.width = item.width || getItemDefaultWidth$2(item);
7162
7297
  item.onHeaderCell = function (column) {
@@ -7172,14 +7307,14 @@ var AddSelect = function AddSelect(props) {
7172
7307
  handleAntdColumnsSpecialParams(item);
7173
7308
  return _objectSpread2({}, item);
7174
7309
  });
7175
- _handleColumns(showToChooseCol, [], function (res) {
7310
+ handleColumns(showToChooseCol, [], function (res) {
7176
7311
  return setShowToChooseColumnsCallback(res);
7177
7312
  });
7178
7313
  var showSelectedCol = showColumns.map(function (item) {
7179
7314
  handleAntdColumnsSpecialParams(item);
7180
7315
  return _objectSpread2({}, item);
7181
7316
  });
7182
- _handleColumns(showSelectedCol, [], function (res) {
7317
+ handleColumns(showSelectedCol, [], function (res) {
7183
7318
  return setShowColumnsCallback(res);
7184
7319
  });
7185
7320
  var selectLength = isAllowRepeatedSelect ? (popvalue === null || popvalue === void 0 ? void 0 : popvalue.length) || 0 : (selectedRowKeys === null || selectedRowKeys === void 0 ? void 0 : selectedRowKeys.length) || 0;
@@ -7190,7 +7325,7 @@ var AddSelect = function AddSelect(props) {
7190
7325
  id: "add_select_div_".concat(uniqueValue)
7191
7326
  }, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
7192
7327
  onClick: handleShowModal
7193
- }, realButtonProps), buttonText)), isModalVisible && (/*#__PURE__*/React$1.createElement(Modal, {
7328
+ }, realButtonProps), buttonText)), isModalVisible && ( /*#__PURE__*/React$1.createElement(Modal, {
7194
7329
  width: '1200px',
7195
7330
  style: {
7196
7331
  top: 20
@@ -8104,7 +8239,7 @@ var BillEntry = function BillEntry(_ref3) {
8104
8239
  });
8105
8240
  };
8106
8241
  var handleSubmit = /*#__PURE__*/function () {
8107
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8242
+ var _ref4 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
8108
8243
  var canEntryObject, _canEntryObject$error, messageInfo;
8109
8244
  return _regeneratorRuntime().wrap(function _callee$(_context) {
8110
8245
  while (1) switch (_context.prev = _context.next) {
@@ -8187,10 +8322,10 @@ var BillEntry = function BillEntry(_ref3) {
8187
8322
  var newColumns = arr.map(function (col) {
8188
8323
  return _objectSpread2({}, col);
8189
8324
  });
8190
- var _handleIndex = function handleIndex(arr, indexArr) {
8325
+ var handleIndex = function handleIndex(arr, indexArr) {
8191
8326
  var i = indexArr.shift();
8192
8327
  if (indexArr.length > 0) {
8193
- _handleIndex(arr[i].children, indexArr);
8328
+ handleIndex(arr[i].children, indexArr);
8194
8329
  } else {
8195
8330
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
8196
8331
  width: size.width
@@ -8198,17 +8333,17 @@ var BillEntry = function BillEntry(_ref3) {
8198
8333
  handleAntdColumnsSpecialParams(arr[i]);
8199
8334
  }
8200
8335
  };
8201
- _handleIndex(newColumns, _toConsumableArray(index));
8336
+ handleIndex(newColumns, _toConsumableArray(index));
8202
8337
  callback(newColumns);
8203
8338
  };
8204
8339
  };
8205
- var _handleColumns = function handleColumns(arr, indexArr, callback) {
8340
+ var handleColumns = function handleColumns(arr, indexArr, callback) {
8206
8341
  arr.forEach(function (item, index) {
8207
8342
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
8208
8343
  return i || i === 0;
8209
8344
  });
8210
8345
  if (noEmptyArray$1(item.children)) {
8211
- _handleColumns(item.children, indexArrInside);
8346
+ handleColumns(item.children, indexArrInside);
8212
8347
  } else {
8213
8348
  item.width = item.width || getItemDefaultWidth$2(item);
8214
8349
  item.onHeaderCell = function (column) {
@@ -8224,7 +8359,7 @@ var BillEntry = function BillEntry(_ref3) {
8224
8359
  handleAntdColumnsSpecialParams(item);
8225
8360
  return _objectSpread2({}, item);
8226
8361
  });
8227
- _handleColumns(showSelectedCol, [], function (res) {
8362
+ handleColumns(showSelectedCol, [], function (res) {
8228
8363
  return setShowColumnsCallback(res);
8229
8364
  });
8230
8365
  return /*#__PURE__*/React$1.createElement("div", {
@@ -8509,9 +8644,9 @@ function commonFun(type, prefixUrl, parentProps) {
8509
8644
  var requestConfig = _objectSpread2({
8510
8645
  url: "".concat(prefixUrl.selectPrefix, "/supplier"),
8511
8646
  filter: 'qp-name,code-orGroup,like',
8512
- otherParams: {
8647
+ otherParams: _objectSpread2({
8513
8648
  sorter: 'desc-id'
8514
- }
8649
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {})
8515
8650
  }, requestConfigProp);
8516
8651
  var selectProps = selectConfigProps;
8517
8652
  /*
@@ -8538,7 +8673,7 @@ function commonFun(type, prefixUrl, parentProps) {
8538
8673
  });
8539
8674
  };
8540
8675
  // 格式化树选择器数据源
8541
- var _mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8676
+ var mapSearchTree = function mapSearchTree(treeDataItem, resKeyValue, disabledJudge) {
8542
8677
  var haveChildren = Array.isArray(treeDataItem.children) && treeDataItem.children.length > 0;
8543
8678
  return {
8544
8679
  title: treeDataItem[resKeyValue[1]],
@@ -8548,7 +8683,7 @@ function commonFun(type, prefixUrl, parentProps) {
8548
8683
  isLeaf: !haveChildren,
8549
8684
  disabled: disabledJudge !== undefined ? disabledJudge : haveChildren,
8550
8685
  children: haveChildren ? treeDataItem.children.map(function (i) {
8551
- return _mapSearchTree(i, resKeyValue, disabledJudge);
8686
+ return mapSearchTree(i, resKeyValue, disabledJudge);
8552
8687
  }) : []
8553
8688
  };
8554
8689
  };
@@ -8562,7 +8697,7 @@ function commonFun(type, prefixUrl, parentProps) {
8562
8697
  disabledJudge = false;
8563
8698
  }
8564
8699
  var formatData = data && Array.isArray(data) && data.length && data.map(function (ites) {
8565
- return _mapSearchTree(ites, resKeyValue, disabledJudge);
8700
+ return mapSearchTree(ites, resKeyValue, disabledJudge);
8566
8701
  }) || [];
8567
8702
  changeSearchForm[changePosition].field.props.treeData = formatData;
8568
8703
  };
@@ -8802,12 +8937,13 @@ function commonFun(type, prefixUrl, parentProps) {
8802
8937
  requestConfig = _objectSpread2({
8803
8938
  url: "".concat(prefixUrl.selectPrefix, "/sku/doPageBySelect/v3"),
8804
8939
  filter: 'skuCodeAndSkuName',
8940
+ searchStartLength: 4,
8805
8941
  mappingTextField: 'name',
8806
8942
  mappingValueField: 'skuCode',
8807
8943
  mappingTextShowTextField: ['name', 'propertyNameAndValue'],
8808
- otherParams: {
8809
- // 'qp-type-eq': 10, // 查唯一国际条码【有些项目不需要必须要有国际条码,故注释,需要的项目自己定义otherParams补充上这个条件】
8810
- },
8944
+ otherParams: _objectSpread2({
8945
+ 'ownOrgSign': getCurrentTargetBgId()
8946
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
8811
8947
  sourceName: 'skuCode'
8812
8948
  }, requestConfigProp);
8813
8949
  selectProps = _objectSpread2({
@@ -8828,7 +8964,7 @@ function commonFun(type, prefixUrl, parentProps) {
8828
8964
  name: 'qp-skuName-like',
8829
8965
  label: 'SKU名称'
8830
8966
  }, {
8831
- name: 'qp-spuCode-like',
8967
+ name: 'qp-itemCode-like',
8832
8968
  label: '外部SPU编码'
8833
8969
  }, {
8834
8970
  name: 'qp-eancode-in',
@@ -8898,7 +9034,6 @@ function commonFun(type, prefixUrl, parentProps) {
8898
9034
  modalTableTitle: '选择SKU',
8899
9035
  tableSearchForm: tableSearchForm,
8900
9036
  isHorizontally: true,
8901
- modalRadioNeedFooter: true,
8902
9037
  tableColumns: [{
8903
9038
  title: '序号',
8904
9039
  dataIndex: 'keyIndex',
@@ -8969,10 +9104,10 @@ function commonFun(type, prefixUrl, parentProps) {
8969
9104
  filter: 'qp-itemCode,name-orGroup,like',
8970
9105
  mappingTextField: 'name',
8971
9106
  mappingValueField: 'itemCode',
8972
- otherParams: {
9107
+ otherParams: _objectSpread2({
8973
9108
  'qp-approveStatus-eq': 1,
8974
9109
  sorter: 'desc-id'
8975
- },
9110
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
8976
9111
  sourceName: 'itemCode'
8977
9112
  }, requestConfigProp);
8978
9113
  tableSearchForm = [{
@@ -9230,9 +9365,9 @@ function commonFun(type, prefixUrl, parentProps) {
9230
9365
  filter: 'qp-code,name-orGroup,like',
9231
9366
  mappingTextField: 'name',
9232
9367
  mappingValueField: 'code',
9233
- otherParams: {
9234
- 'qp-skcStatus-eq': 1 // 状态:0禁用 1启用
9235
- },
9368
+ otherParams: _objectSpread2({
9369
+ 'qp-skcStatus-eq': 1
9370
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9236
9371
  sourceName: 'qp-skcCode-eq'
9237
9372
  }, requestConfigProp);
9238
9373
  Promise.all(fieldLoadSource).then(function (x) {
@@ -9294,9 +9429,9 @@ function commonFun(type, prefixUrl, parentProps) {
9294
9429
  mappingTextField: 'value',
9295
9430
  mappingTextShowKeyField: 'propertyValueCode',
9296
9431
  mappingValueField: 'propertyValueCode',
9297
- otherParams: {
9432
+ otherParams: _objectSpread2({
9298
9433
  sorter: 'desc-id'
9299
- },
9434
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9300
9435
  sourceName: 'qp-propertyValueCode-in'
9301
9436
  }, requestConfigProp);
9302
9437
  needModalTable = false;
@@ -9314,6 +9449,7 @@ function commonFun(type, prefixUrl, parentProps) {
9314
9449
  }]
9315
9450
  }, selectConfigProps);
9316
9451
  requestConfig = _objectSpread2({
9452
+ init: true,
9317
9453
  url: "".concat(prefixUrl.selectPrefix, "/physicalWarehouse"),
9318
9454
  filter: 'qp-physicalWarehouseName,physicalWarehouseCode-orGroup,like',
9319
9455
  mappingTextField: 'physicalWarehouseName',
@@ -9323,7 +9459,7 @@ function commonFun(type, prefixUrl, parentProps) {
9323
9459
  'qp-isEnable-eq': 1
9324
9460
  }), {}, {
9325
9461
  sorter: 'desc-id'
9326
- }),
9462
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9327
9463
  sourceName: 'warehouseIds'
9328
9464
  }, requestConfigProp);
9329
9465
  tableSearchForm = [{
@@ -9416,6 +9552,7 @@ function commonFun(type, prefixUrl, parentProps) {
9416
9552
  }]
9417
9553
  }, selectConfigProps);
9418
9554
  requestConfig = _objectSpread2({
9555
+ init: true,
9419
9556
  url: "".concat(prefixUrl.selectPrefix, "/realWarehouse"),
9420
9557
  filter: 'qp-realWarehouseName,realWarehouseCode-orGroup,like',
9421
9558
  mappingTextField: 'realWarehouseName',
@@ -9425,7 +9562,7 @@ function commonFun(type, prefixUrl, parentProps) {
9425
9562
  'qp-isEnable-eq': 1
9426
9563
  }), {}, {
9427
9564
  sorter: 'desc-id'
9428
- }),
9565
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9429
9566
  sourceName: 'warehouseIds'
9430
9567
  }, requestConfigProp);
9431
9568
  tableSearchForm = [{
@@ -9489,6 +9626,7 @@ function commonFun(type, prefixUrl, parentProps) {
9489
9626
  }]
9490
9627
  }, selectConfigProps);
9491
9628
  requestConfig = _objectSpread2({
9629
+ init: true,
9492
9630
  url: "".concat(prefixUrl.selectPrefix, "/ownerWarehouse"),
9493
9631
  filter: 'qp-name,operationWarehouseCode-orGroup,like',
9494
9632
  mappingTextField: 'name',
@@ -9498,7 +9636,7 @@ function commonFun(type, prefixUrl, parentProps) {
9498
9636
  'qp-status-eq': 1
9499
9637
  }), {}, {
9500
9638
  sorter: 'desc-id'
9501
- }),
9639
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9502
9640
  sourceName: 'qp-operationWarehouseCode-in'
9503
9641
  }, requestConfigProp);
9504
9642
  tableSearchForm = [{
@@ -9579,15 +9717,16 @@ function commonFun(type, prefixUrl, parentProps) {
9579
9717
  }]
9580
9718
  }, selectConfigProps);
9581
9719
  requestConfig = _objectSpread2({
9720
+ init: true,
9582
9721
  url: "".concat(prefixUrl.selectPrefix, "/virtualWarehouse"),
9583
9722
  filter: 'qp-virtualWarehouseName,virtualWarehouseCode-orGroup,like',
9584
9723
  mappingTextField: 'virtualWarehouseName',
9585
9724
  mappingTextShowKeyField: 'virtualWarehouseCode',
9586
9725
  mappingValueField: 'id',
9587
- otherParams: {
9726
+ otherParams: _objectSpread2({
9588
9727
  'qp-isEnable-eq': 1,
9589
9728
  sorter: 'desc-id'
9590
- },
9729
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9591
9730
  sourceName: 'warehouseIds'
9592
9731
  }, requestConfigProp);
9593
9732
  needModalTable = false;
@@ -9604,15 +9743,16 @@ function commonFun(type, prefixUrl, parentProps) {
9604
9743
  }]
9605
9744
  }, selectConfigProps);
9606
9745
  requestConfig = _objectSpread2({
9746
+ init: true,
9607
9747
  url: "".concat(prefixUrl.selectPrefix, "/channelWarehouse"),
9608
9748
  filter: 'qp-channelWarehouseName,channelWarehouseCode-orGroup,like',
9609
9749
  mappingTextField: 'channelWarehouseName',
9610
9750
  mappingTextShowKeyField: 'channelWarehouseCode',
9611
9751
  mappingValueField: 'id',
9612
- otherParams: {
9752
+ otherParams: _objectSpread2({
9613
9753
  'qp-isEnable-eq': 1,
9614
9754
  sorter: 'desc-id'
9615
- },
9755
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9616
9756
  sourceName: 'warehouseIds'
9617
9757
  }, requestConfigProp);
9618
9758
  needModalTable = false;
@@ -9630,14 +9770,15 @@ function commonFun(type, prefixUrl, parentProps) {
9630
9770
  }]
9631
9771
  }, selectConfigProps);
9632
9772
  requestConfig = _objectSpread2({
9773
+ init: true,
9633
9774
  url: "".concat(prefixUrl.selectPrefix, "/uc/customer/v2"),
9634
9775
  filter: 'qp-name,code-orGroup,like',
9635
9776
  mappingTextField: 'name',
9636
9777
  mappingValueField: 'code',
9637
- otherParams: {
9778
+ otherParams: _objectSpread2({
9638
9779
  'qp-status-eq': 10,
9639
9780
  sorter: 'desc-id'
9640
- },
9781
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9641
9782
  sourceName: 'customCode'
9642
9783
  }, requestConfigProp);
9643
9784
  tableSearchForm = [{
@@ -9776,15 +9917,16 @@ function commonFun(type, prefixUrl, parentProps) {
9776
9917
  }, selectConfigProps);
9777
9918
  // 版本2
9778
9919
  requestConfig = _objectSpread2({
9920
+ init: true,
9779
9921
  url: "".concat(prefixUrl.selectPrefix, "/customer"),
9780
9922
  filter: 'qp-name,code-orGroup,like',
9781
9923
  mappingTextField: 'name',
9782
9924
  mappingValueField: 'code',
9783
- otherParams: {
9925
+ otherParams: _objectSpread2({
9784
9926
  'qp-isMain-eq': 1,
9785
9927
  'qp-status-eq': 1,
9786
9928
  sorter: 'desc-id'
9787
- },
9929
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9788
9930
  sourceName: 'customCode'
9789
9931
  }, requestConfigProp);
9790
9932
  tableSearchForm = [{
@@ -9877,13 +10019,14 @@ function commonFun(type, prefixUrl, parentProps) {
9877
10019
  }]
9878
10020
  }, selectConfigProps);
9879
10021
  requestConfig = _objectSpread2({
10022
+ init: true,
9880
10023
  url: "".concat(prefixUrl.selectPrefix, "/store"),
9881
10024
  filter: 'qp-name,code-orGroup,like',
9882
10025
  mappingTextField: 'name',
9883
10026
  mappingValueField: 'code',
9884
- otherParams: {
10027
+ otherParams: _objectSpread2({
9885
10028
  sorter: 'desc-id'
9886
- },
10029
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
9887
10030
  sourceName: 'code'
9888
10031
  }, requestConfigProp);
9889
10032
  tableSearchForm = [{
@@ -10071,13 +10214,14 @@ function commonFun(type, prefixUrl, parentProps) {
10071
10214
  }]
10072
10215
  }, selectConfigProps);
10073
10216
  requestConfig = _objectSpread2({
10217
+ init: true,
10074
10218
  url: "".concat(prefixUrl.selectPrefix, "/store/page"),
10075
10219
  filter: 'qp-name,code-orGroup,like',
10076
10220
  mappingTextField: 'name',
10077
10221
  mappingValueField: 'code',
10078
- otherParams: {
10222
+ otherParams: _objectSpread2({
10079
10223
  sorter: 'desc-id'
10080
- },
10224
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10081
10225
  sourceName: 'code'
10082
10226
  }, requestConfigProp);
10083
10227
  tableSearchForm = [{
@@ -10182,9 +10326,9 @@ function commonFun(type, prefixUrl, parentProps) {
10182
10326
  mappingTextField: 'name',
10183
10327
  mappingTextShowKeyField: 'code',
10184
10328
  mappingValueField: 'id',
10185
- otherParams: {
10329
+ otherParams: _objectSpread2({
10186
10330
  sorter: 'desc-id'
10187
- },
10331
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10188
10332
  sourceName: 'accountingSubjectCode'
10189
10333
  }, requestConfigProp);
10190
10334
  needModalTable = false;
@@ -10207,9 +10351,9 @@ function commonFun(type, prefixUrl, parentProps) {
10207
10351
  mappingTextField: 'name',
10208
10352
  mappingTextShowKeyField: 'code',
10209
10353
  mappingValueField: 'id',
10210
- otherParams: {
10354
+ otherParams: _objectSpread2({
10211
10355
  sorter: 'desc-id'
10212
- },
10356
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10213
10357
  sourceName: 'inventoryOrgCode'
10214
10358
  }, requestConfigProp);
10215
10359
  needModalTable = false;
@@ -10232,9 +10376,9 @@ function commonFun(type, prefixUrl, parentProps) {
10232
10376
  mappingTextField: 'name',
10233
10377
  mappingTextShowKeyField: 'code',
10234
10378
  mappingValueField: 'id',
10235
- otherParams: {
10379
+ otherParams: _objectSpread2({
10236
10380
  sorter: 'desc-id'
10237
- },
10381
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10238
10382
  sourceName: 'corporationCompany'
10239
10383
  }, requestConfigProp);
10240
10384
  needModalTable = false;
@@ -10257,9 +10401,9 @@ function commonFun(type, prefixUrl, parentProps) {
10257
10401
  mappingTextField: 'name',
10258
10402
  mappingTextShowKeyField: 'socialCreditCode',
10259
10403
  mappingValueField: 'socialCreditCode',
10260
- otherParams: {
10404
+ otherParams: _objectSpread2({
10261
10405
  sorter: 'desc-id'
10262
- },
10406
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10263
10407
  sourceName: 'platCompany'
10264
10408
  }, requestConfigProp);
10265
10409
  needModalTable = false;
@@ -10282,11 +10426,11 @@ function commonFun(type, prefixUrl, parentProps) {
10282
10426
  mappingTextField: 'name',
10283
10427
  mappingTextShowKeyField: 'employeeNumber',
10284
10428
  mappingValueField: 'employeeNumber',
10285
- otherParams: {
10429
+ otherParams: _objectSpread2({
10286
10430
  'qp-enable-eq': 10,
10287
10431
  'qp-employmentType-eq': 20,
10288
10432
  sorter: 'desc-id'
10289
- },
10433
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10290
10434
  sourceName: 'employeeNumber'
10291
10435
  }, requestConfigProp);
10292
10436
  tableSearchForm = [{
@@ -10382,7 +10526,7 @@ function commonFun(type, prefixUrl, parentProps) {
10382
10526
  'qp-employmentType-eq': 20
10383
10527
  }), {}, {
10384
10528
  sorter: 'desc-id'
10385
- }),
10529
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10386
10530
  sourceName: 'employeeNumber'
10387
10531
  }, requestConfigProp);
10388
10532
  tableSearchForm = [{
@@ -10517,9 +10661,9 @@ function commonFun(type, prefixUrl, parentProps) {
10517
10661
  mappingTextField: 'name',
10518
10662
  mappingTextShowKeyField: 'code',
10519
10663
  mappingValueField: 'code',
10520
- otherParams: {
10664
+ otherParams: _objectSpread2({
10521
10665
  sorter: 'desc-id'
10522
- },
10666
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10523
10667
  sourceName: 'deliveryModeCode'
10524
10668
  }, requestConfigProp);
10525
10669
  tableSearchForm = [{
@@ -10653,9 +10797,9 @@ function commonFun(type, prefixUrl, parentProps) {
10653
10797
  mappingTextField: 'name',
10654
10798
  mappingTextShowKeyField: 'code',
10655
10799
  mappingValueField: 'code',
10656
- otherParams: {
10800
+ otherParams: _objectSpread2({
10657
10801
  sorter: 'desc-id'
10658
- },
10802
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10659
10803
  sourceName: 'ruleTemplateCode'
10660
10804
  }, requestConfigProp);
10661
10805
  tableSearchForm = [{
@@ -10724,10 +10868,10 @@ function commonFun(type, prefixUrl, parentProps) {
10724
10868
  mappingTextField: 'name',
10725
10869
  mappingTextShowKeyField: 'code',
10726
10870
  mappingValueField: 'code',
10727
- otherParams: {
10871
+ otherParams: _objectSpread2({
10728
10872
  'qp-status-eq': 10,
10729
10873
  sorter: 'desc-id'
10730
- },
10874
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10731
10875
  sourceName: 'roleCode'
10732
10876
  }, requestConfigProp);
10733
10877
  tableSearchForm = [{
@@ -10820,12 +10964,12 @@ function commonFun(type, prefixUrl, parentProps) {
10820
10964
  mappingTextField: 'name',
10821
10965
  mappingTextShowKeyField: 'code',
10822
10966
  mappingValueField: 'code',
10823
- otherParams: {
10967
+ otherParams: _objectSpread2({
10824
10968
  'qp-type-eq': 1,
10825
10969
  'qp-isMain-eq': 1,
10826
10970
  'qp-status-eq': 10,
10827
10971
  sorter: 'desc-id'
10828
- },
10972
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10829
10973
  sourceName: 'marketChannelCode'
10830
10974
  }, requestConfigProp);
10831
10975
  tableSearchForm = [{
@@ -10907,9 +11051,9 @@ function commonFun(type, prefixUrl, parentProps) {
10907
11051
  mappingTextField: 'name',
10908
11052
  mappingTextShowKeyField: 'code',
10909
11053
  mappingValueField: 'code',
10910
- otherParams: {
11054
+ otherParams: _objectSpread2({
10911
11055
  sorter: 'desc-createTime'
10912
- },
11056
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
10913
11057
  sourceName: 'organizationCode'
10914
11058
  }, requestConfigProp), tableSearchForm = [{
10915
11059
  name: 'qp-name-like',
@@ -11035,9 +11179,9 @@ function commonFun(type, prefixUrl, parentProps) {
11035
11179
  mappingTextField: 'name',
11036
11180
  mappingTextShowKeyField: 'code',
11037
11181
  mappingValueField: 'code',
11038
- otherParams: {
11182
+ otherParams: _objectSpread2({
11039
11183
  sorter: 'desc-id'
11040
- },
11184
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11041
11185
  sourceName: 'personCode'
11042
11186
  }, requestConfigProp);
11043
11187
  tableSearchForm = [{
@@ -11095,16 +11239,17 @@ function commonFun(type, prefixUrl, parentProps) {
11095
11239
  }]
11096
11240
  }, selectConfigProps);
11097
11241
  requestConfig = _objectSpread2({
11242
+ init: true,
11098
11243
  url: "".concat(prefixUrl.selectPrefix, "/brand/list"),
11099
11244
  filter: 'qp-brandCode,name-orGroup,like',
11100
11245
  mappingTextField: 'name',
11101
11246
  mappingTextShowKeyField: 'brandCode',
11102
11247
  mappingValueField: 'brandCode',
11103
- otherParams: {
11248
+ otherParams: _objectSpread2({
11104
11249
  'ctl-withAuth': true,
11105
11250
  'qp-status-in': '1',
11106
11251
  sorter: 'desc-id'
11107
- },
11252
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11108
11253
  sourceName: 'brandCode'
11109
11254
  }, requestConfigProp);
11110
11255
  tableSearchForm = [{
@@ -11169,10 +11314,10 @@ function commonFun(type, prefixUrl, parentProps) {
11169
11314
  mappingTextField: 'name',
11170
11315
  mappingTextShowKeyField: 'code',
11171
11316
  mappingValueField: 'code',
11172
- otherParams: {
11317
+ otherParams: _objectSpread2({
11173
11318
  'qp-enabled-eq': true,
11174
11319
  sorter: 'desc-id'
11175
- },
11320
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11176
11321
  sourceName: 'priceCode'
11177
11322
  }, requestConfigProp);
11178
11323
  tableSearchForm = [{
@@ -11224,16 +11369,17 @@ function commonFun(type, prefixUrl, parentProps) {
11224
11369
  }]
11225
11370
  }, selectConfigProps);
11226
11371
  requestConfig = _objectSpread2({
11372
+ init: true,
11227
11373
  url: "".concat(prefixUrl.selectPrefix, "/orgViewNode/listNoPage"),
11228
11374
  filter: 'qp-code,name-orGroup,like',
11229
11375
  mappingTextField: 'name',
11230
11376
  mappingTextShowKeyField: 'code',
11231
11377
  mappingValueField: 'code',
11232
- otherParams: {
11378
+ otherParams: _objectSpread2({
11233
11379
  'qp-orgViewCode-eq': 'sales-organizational-view',
11234
11380
  'qp-status-eq': 10,
11235
11381
  sorter: 'desc-createTime'
11236
- },
11382
+ }, (requestConfigProp === null || requestConfigProp === void 0 ? void 0 : requestConfigProp.addOtherParams) || {}),
11237
11383
  sourceName: 'supplierCode'
11238
11384
  }, requestConfigProp), tableSearchForm = [{
11239
11385
  name: 'qp-name-like',
@@ -11351,6 +11497,7 @@ function commonFun(type, prefixUrl, parentProps) {
11351
11497
 
11352
11498
  var MemoSearchSelect = /*#__PURE__*/React$1.memo(SearchSelect);
11353
11499
  var BusinessSearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
11500
+ var _props$requestConfig;
11354
11501
  var businessType = (props === null || props === void 0 ? void 0 : props.selectBusinessType) || 'supplier';
11355
11502
  var prefixUrl = (props === null || props === void 0 ? void 0 : props.prefixUrl) || {
11356
11503
  selectPrefix: handleDefaultPrefixUrl(businessType),
@@ -11369,7 +11516,7 @@ var BusinessSearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
11369
11516
  needModalTable: needModalTable,
11370
11517
  modalTableProps: modalTableProps
11371
11518
  });
11372
- }, [props === null || props === void 0 ? void 0 : props.value, props.disabled, props.selectBusinessType]);
11519
+ }, [props === null || props === void 0 ? void 0 : props.value, props.disabled, props.selectBusinessType, (_props$requestConfig = props.requestConfig) === null || _props$requestConfig === void 0 ? void 0 : _props$requestConfig.noOperate]);
11373
11520
  useImperativeHandle(ref, function () {
11374
11521
  return {
11375
11522
  getRef: function getRef() {
@@ -11394,6 +11541,9 @@ var BusinessSearchSelect$1 = /*#__PURE__*/React$1.memo(BusinessSearchSelect, fun
11394
11541
  if (props && props.selectBusinessType !== nextProps.selectBusinessType) {
11395
11542
  return false;
11396
11543
  }
11544
+ if (props && props.requestConfig && typeof props.requestConfig.noOperate === 'boolean' && props.requestConfig.noOperate !== nextProps.requestConfig.noOperate) {
11545
+ return false;
11546
+ }
11397
11547
  return true;
11398
11548
  });
11399
11549
 
@@ -12597,7 +12747,7 @@ var CommodityEntry = function CommodityEntry(props) {
12597
12747
  };
12598
12748
  return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement(Button, _objectSpread2({
12599
12749
  onClick: handleShowModal
12600
- }, buttonProps), buttonName), modalProps.visible && (/*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
12750
+ }, buttonProps), buttonName), modalProps.visible && ( /*#__PURE__*/React$1.createElement(Modal, _objectSpread2(_objectSpread2({}, modalProps), {}, {
12601
12751
  onOk: handleOk,
12602
12752
  onCancel: handleCancel,
12603
12753
  destroyOnClose: true,
@@ -12680,7 +12830,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12680
12830
  _props$showSearch = props.showSearch,
12681
12831
  showSearch = _props$showSearch === void 0 ? true : _props$showSearch,
12682
12832
  _props$maxTagCount = props.maxTagCount,
12683
- maxTagCount = _props$maxTagCount === void 0 ? 1 : _props$maxTagCount,
12833
+ maxTagCount = _props$maxTagCount === void 0 ? 4 : _props$maxTagCount,
12684
12834
  _props$multiple = props.multiple,
12685
12835
  multiple = _props$multiple === void 0 ? false : _props$multiple,
12686
12836
  _props$isChoose = props.isChoose,
@@ -12716,7 +12866,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12716
12866
  treeChildrenRoom = _remoteSource$treeChi === void 0 ? 'children' : _remoteSource$treeChi,
12717
12867
  _remoteSource$special = remoteSource.specialBracket,
12718
12868
  specialBracket = _remoteSource$special === void 0 ? false : _remoteSource$special;
12719
- var _mapSearchTree = function mapSearchTree(treeDataItem) {
12869
+ var mapSearchTree = function mapSearchTree(treeDataItem) {
12720
12870
  var haveChildren = Array.isArray(treeDataItem[treeChildrenRoom]) && treeDataItem[treeChildrenRoom].length > 0; // 盘算是否为父节点
12721
12871
  var isRoot = (treeDataItem === null || treeDataItem === void 0 ? void 0 : treeDataItem.id) == '0'; // 判断是否为根节点
12722
12872
  return {
@@ -12728,7 +12878,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12728
12878
  isLeaf: !haveChildren,
12729
12879
  disabled: isDisabled(haveChildren, isRoot),
12730
12880
  children: haveChildren ? treeDataItem[treeChildrenRoom].map(function (i) {
12731
- return _mapSearchTree(i);
12881
+ return mapSearchTree(i);
12732
12882
  }) : []
12733
12883
  };
12734
12884
  };
@@ -12746,8 +12896,8 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12746
12896
  var paramsData = _objectSpread2(_defineProperty({}, "".concat(paramsKey), q), initialParams);
12747
12897
  requestUtil.get("".concat(url, "?").concat(stringify(paramsData)), {
12748
12898
  headers: headers
12749
- }).then(/*#__PURE__*/function () {
12750
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
12899
+ }).then( /*#__PURE__*/function () {
12900
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(res) {
12751
12901
  var _ctx$form;
12752
12902
  var resData, coverData, data, dataList;
12753
12903
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -12774,7 +12924,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12774
12924
  case 9:
12775
12925
  dataList = data && Array.isArray(data) ? data : data && [data] || [];
12776
12926
  coverData = dataList.length && dataList.map(function (ites) {
12777
- return _mapSearchTree(ites);
12927
+ return mapSearchTree(ites);
12778
12928
  }) || [];
12779
12929
  case 11:
12780
12930
  _context.next = 14;
@@ -12812,11 +12962,11 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12812
12962
  return _formatResult;
12813
12963
  }
12814
12964
  };
12815
- var _parallelData = function parallelData(data, result) {
12965
+ var parallelData = function parallelData(data, result) {
12816
12966
  data.forEach(function (i) {
12817
12967
  result.push(i);
12818
12968
  if (i[treeChildrenRoom]) {
12819
- _parallelData(i[treeChildrenRoom], result);
12969
+ parallelData(i[treeChildrenRoom], result);
12820
12970
  }
12821
12971
  });
12822
12972
  return result;
@@ -12856,7 +13006,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12856
13006
  var _ctx$form2;
12857
13007
  var handleData = formatData(data);
12858
13008
  // 获取选中树节点当条数据,并返回给调用业务
12859
- var parallelTreeData = _parallelData(treeData, []);
13009
+ var parallelTreeData = parallelData(treeData, []);
12860
13010
  var currentItem = getSelectItem(parallelTreeData, data);
12861
13011
  onChange(handleData, data, currentItem, parallelTreeData);
12862
13012
  onChangeName && onChangeName(dataName);
@@ -12899,7 +13049,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12899
13049
  var getShowStr = function getShowStr() {
12900
13050
  var isMultiple = multiple || treeCheckable;
12901
13051
  var kongValue = '无';
12902
- var parallelTreeData = _parallelData(treeData, []);
13052
+ var parallelTreeData = parallelData(treeData, []);
12903
13053
  var currentItem = getSelectItem(parallelTreeData, value); // 得到选中的数据项
12904
13054
  if (isMultiple) {
12905
13055
  return (currentItem === null || currentItem === void 0 ? void 0 : currentItem.map(function (i) {
@@ -12911,7 +13061,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12911
13061
  var isShouldShowStr = (disabled || mode === 'view' || (ctx === null || ctx === void 0 ? void 0 : ctx.mode) === 'view') && ctx;
12912
13062
  return /*#__PURE__*/React$1.createElement("div", {
12913
13063
  className: 'tree_search_select'
12914
- }, isShouldShowStr ? (/*#__PURE__*/React$1.createElement("div", {
13064
+ }, isShouldShowStr ? ( /*#__PURE__*/React$1.createElement("div", {
12915
13065
  title: getShowStr(),
12916
13066
  style: {
12917
13067
  overflow: 'hidden',
@@ -12919,7 +13069,7 @@ var TreeSearchSelect = function TreeSearchSelect(props) {
12919
13069
  whiteSpace: 'nowrap'
12920
13070
  },
12921
13071
  className: 'search_select_show'
12922
- }, getShowStr())) : (/*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
13072
+ }, getShowStr())) : ( /*#__PURE__*/React$1.createElement(TreeSelect, _objectSpread2(_objectSpread2({}, restProps), {}, {
12923
13073
  treeCheckable: treeCheckable,
12924
13074
  maxTagCount: maxTagCount,
12925
13075
  showSearch: showSearch,
@@ -13116,7 +13266,7 @@ var index$2 = (function (props) {
13116
13266
  } : {}
13117
13267
  }, item.text)), /*#__PURE__*/React$1.createElement("div", {
13118
13268
  className: 'status-label-operate'
13119
- }, item.isDone ? (/*#__PURE__*/React$1.createElement("div", {
13269
+ }, item.isDone ? ( /*#__PURE__*/React$1.createElement("div", {
13120
13270
  title: "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--')
13121
13271
  }, "".concat(item.modifyUserName || '--', " ").concat(item.modifyTime || '--'))) : null), /*#__PURE__*/React$1.createElement("div", {
13122
13272
  style: {
@@ -13261,7 +13411,7 @@ var ExportIcon = function ExportIcon(_ref) {
13261
13411
  })));
13262
13412
  };
13263
13413
 
13264
- var css_248z$b = ".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: 10px;\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: 14px;\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: #848484;\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: 14px;\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: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\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 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 div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\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: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\n letter-spacing: 0;\n text-align: center;\n line-height: 20px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn:first-child {\n margin-right: 524px;\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: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\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: 36px !important;\n line-height: 36px !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: 34px !important;\n}\n.sort_table_wrapper .ant-table-wrapper tr td:last-child img {\n position: relative;\n top: 1px;\n}\n.global_tab_nav_style {\n top: 2px !important;\n}\n.row-dragging {\n background: #fafafa;\n border: 1px solid #ccc;\n z-index: 10000;\n}\n.row-dragging td {\n padding: 7px 16px;\n display: none;\n}\n.row-dragging td:first-child {\n display: inline-block;\n}\n.row-dragging .drag-visible {\n visibility: visible;\n}\n";
13414
+ var css_248z$b = ".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";
13265
13415
  styleInject(css_248z$b);
13266
13416
 
13267
13417
  var _excluded$8 = ["className", "style"];
@@ -13848,7 +13998,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13848
13998
  return /*#__PURE__*/React$1.createElement("div", {
13849
13999
  className: 'sort_table_wrapper'
13850
14000
  }, visible && /*#__PURE__*/React$1.createElement(Modal, {
13851
- title: "\u8BBE\u7F6E\u8868\u5934\u5185\u5BB9",
14001
+ title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
13852
14002
  wrapClassName: 'sort_table_wrapper',
13853
14003
  width: 820,
13854
14004
  visible: visible,
@@ -13885,19 +14035,19 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13885
14035
  className: 'sort_table_column_wrapper'
13886
14036
  }, /*#__PURE__*/React$1.createElement("span", {
13887
14037
  className: 'sort_table_column_count'
13888
- }, "\u53EF\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", dataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
14038
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u4F7F\u7528\u7684\u7B5B\u9009\u6761\u4EF6")), /*#__PURE__*/React$1.createElement("div", {
13889
14039
  className: 'sort_table_column'
13890
14040
  }, /*#__PURE__*/React$1.createElement(Input, {
13891
14041
  prefix: /*#__PURE__*/React$1.createElement(SearchOutlined, {
13892
14042
  className: "site-form-item-icon"
13893
14043
  }),
13894
- placeholder: "\u641C\u7D22",
14044
+ placeholder: "\u8F93\u5165\u7B5B\u9009\u6761\u4EF6\u540D\u79F0\u641C\u7D22",
13895
14045
  allowClear: true,
13896
14046
  onChange: this.onSearch,
13897
14047
  style: {
13898
- width: 540
14048
+ width: 525
13899
14049
  }
13900
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
14050
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
13901
14051
  checked: !dataSource.some(function (item) {
13902
14052
  if (item.hidden) return true;
13903
14053
  return false;
@@ -13935,13 +14085,13 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13935
14085
  _this2.onChange(e, item.title);
13936
14086
  }
13937
14087
  }, item.title);
13938
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
14088
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
13939
14089
  style: {
13940
14090
  width: '144px'
13941
14091
  }
13942
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
14092
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
13943
14093
  className: 'sort_table_column_all_empty'
13944
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14094
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
13945
14095
  className: 'sort_table_column_special'
13946
14096
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
13947
14097
  className: 'sort_table_column_all'
@@ -13963,7 +14113,7 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
13963
14113
  className: 'sort_table_content_wrapper'
13964
14114
  }, /*#__PURE__*/React$1.createElement("span", {
13965
14115
  className: 'sort_table_content_count'
13966
- }, "\u5DF2\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", sortDataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
14116
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u641C\u7D22\u6761\u4EF6\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
13967
14117
  className: 'sort_table_content'
13968
14118
  }, /*#__PURE__*/React$1.createElement("span", {
13969
14119
  style: {
@@ -14014,6 +14164,28 @@ var SortableTable = /*#__PURE__*/function (_React$Component) {
14014
14164
  }]);
14015
14165
  }(React$1.Component);
14016
14166
 
14167
+ var css_248z$c = ".table_sum_wrapper {\n position: absolute;\n overflow: hidden;\n width: 80%;\n height: 26px;\n bottom: 0;\n}\n.table_sum_wrapper .table-bssula-summary {\n height: 40px;\n right: 0;\n bottom: -20px;\n white-space: nowrap;\n overflow-x: auto;\n}\n.sum_right_line {\n position: absolute;\n right: 20%;\n bottom: 0;\n width: 16px;\n height: 26px;\n opacity: 0.32;\n transform: scaleX(-1);\n background-image: linear-gradient(270deg, #ffffff00 0%, #A4A4A4 100%);\n}\n";
14168
+ styleInject(css_248z$c);
14169
+
14170
+ //表格底部 金额总计
14171
+ var TableSumComponent = (function (_ref) {
14172
+ var summary = _ref.summary;
14173
+ var Text = Typography.Text;
14174
+ return /*#__PURE__*/React$1.createElement(Fragment, null, /*#__PURE__*/React$1.createElement("div", {
14175
+ className: "table_sum_wrapper"
14176
+ }, /*#__PURE__*/React$1.createElement("div", {
14177
+ className: 'table-bssula-summary'
14178
+ }, summary.map(function (item) {
14179
+ return /*#__PURE__*/React$1.createElement(Text, {
14180
+ type: 'danger'
14181
+ }, item.label, ": ", /*#__PURE__*/React$1.createElement("span", {
14182
+ className: 'table-bssula-summary-count'
14183
+ }, item.count || 0));
14184
+ }))), /*#__PURE__*/React$1.createElement("div", {
14185
+ className: "sum_right_line"
14186
+ }));
14187
+ });
14188
+
14017
14189
  var _excluded$9 = ["onResize", "width"],
14018
14190
  _excluded2$4 = ["style", "columns", "tableCode", "appRequestConfig", "summary", "dynamicColumns", "scroll"];
14019
14191
  var Text = Typography.Text;
@@ -14098,10 +14270,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14098
14270
  var newColumns = _this.state.showColumns.map(function (col) {
14099
14271
  return _objectSpread2({}, col);
14100
14272
  });
14101
- var _handleIndex = function handleIndex(arr, indexArr) {
14273
+ var handleIndex = function handleIndex(arr, indexArr) {
14102
14274
  var i = indexArr.shift();
14103
14275
  if (indexArr.length > 0) {
14104
- _handleIndex(arr[i].children, indexArr);
14276
+ handleIndex(arr[i].children, indexArr);
14105
14277
  } else {
14106
14278
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
14107
14279
  width: size.width
@@ -14109,7 +14281,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14109
14281
  handleBssulaColumnsSpecialParams(arr[i]);
14110
14282
  }
14111
14283
  };
14112
- _handleIndex(newColumns, _toConsumableArray(index));
14284
+ handleIndex(newColumns, _toConsumableArray(index));
14113
14285
  _this.setState({
14114
14286
  showColumns: _toConsumableArray(newColumns)
14115
14287
  });
@@ -14119,15 +14291,117 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14119
14291
  var onResize = props.onResize,
14120
14292
  width = props.width,
14121
14293
  restProps = _objectWithoutProperties(props, _excluded$9);
14122
- if (!width) {
14123
- return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
14124
- }
14294
+ var _useState = useState(width),
14295
+ _useState2 = _slicedToArray(_useState, 2),
14296
+ innerWidth = _useState2[0],
14297
+ setInnerWidth = _useState2[1];
14298
+ var _useState3 = useState(false),
14299
+ _useState4 = _slicedToArray(_useState3, 2),
14300
+ isResizing = _useState4[0],
14301
+ setIsResizing = _useState4[1]; // 标记是否正在拖拽
14302
+ var _useState5 = useState(false),
14303
+ _useState6 = _slicedToArray(_useState5, 2),
14304
+ isDragging = _useState6[0],
14305
+ setIsDragging = _useState6[1]; // 标记拖拽句柄是否被拖拽
14306
+ var _useState7 = useState(0),
14307
+ _useState8 = _slicedToArray(_useState7, 2),
14308
+ startX = _useState8[0],
14309
+ setStartX = _useState8[1]; // 初始X坐标
14310
+ var markerPosition = useRef({
14311
+ left: 0,
14312
+ top: 0
14313
+ });
14314
+ var currentStart = useRef(0);
14315
+ var uuidref = useRef(uuid());
14316
+ var prevWidthRef = useRef(width);
14317
+ var handleMouseDown = function handleMouseDown(e) {
14318
+ currentStart.current = e.clientX;
14319
+ markerPosition.current = {
14320
+ left: e.clientX,
14321
+ top: e.clientY
14322
+ };
14323
+ setIsResizing(true);
14324
+ document.addEventListener('mousemove', handleMouseMove);
14325
+ document.addEventListener('mouseup', handleMouseUp);
14326
+ };
14327
+ var handleMouseMove = function handleMouseMove(e) {
14328
+ e.stopPropagation();
14329
+ e.preventDefault();
14330
+ // 更新标记位置
14331
+ markerPosition.current = {
14332
+ left: e.clientX,
14333
+ top: e.clientY
14334
+ };
14335
+ var dom = document.getElementById('text1');
14336
+ if (dom && dom.style) {
14337
+ dom.style.left = "".concat(e.clientX, "px");
14338
+ dom.style.top = "".concat(e.clientY - 20, "px");
14339
+ }
14340
+ };
14341
+ var handleMouseUp = function handleMouseUp(e) {
14342
+ document.removeEventListener('mousemove', handleMouseMove);
14343
+ document.removeEventListener('mouseup', handleMouseUp);
14344
+ setIsResizing(false);
14345
+ };
14346
+ var handleresize = function handleresize(e, data, title) {
14347
+ var _data$size;
14348
+ var newWidth = (data === null || data === void 0 ? void 0 : (_data$size = data.size) === null || _data$size === void 0 ? void 0 : _data$size.width) || 0;
14349
+ setInnerWidth(newWidth); // 更新内部分宽度
14350
+ };
14351
+ var handleResizeStart = function handleResizeStart() {
14352
+ setIsResizing(true);
14353
+ };
14354
+ var handleResizeStop = function handleResizeStop(e, data) {
14355
+ setIsResizing(false);
14356
+ if (onResize) {
14357
+ onResize(e, data);
14358
+ }
14359
+ };
14360
+ useEffect(function () {
14361
+ if (width !== prevWidthRef.current) {
14362
+ prevWidthRef.current = width;
14363
+ setInnerWidth(width);
14364
+ }
14365
+ }, [width]);
14125
14366
  return /*#__PURE__*/React$1.createElement(Resizable, {
14126
- width: width,
14367
+ width: innerWidth,
14127
14368
  height: 0,
14128
- onResize: onResize,
14369
+ handle: /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
14370
+ style: {
14371
+ width: '10px',
14372
+ height: '30px',
14373
+ cursor: 'col-resize',
14374
+ position: 'absolute',
14375
+ zIndex: 10,
14376
+ top: 0,
14377
+ right: 0
14378
+ },
14379
+ onMouseDown: handleMouseDown
14380
+ }), isResizing && /*#__PURE__*/React$1.createElement("div", {
14381
+ id: "text1",
14382
+ style: {
14383
+ position: 'fixed',
14384
+ left: markerPosition.current.left,
14385
+ top: markerPosition.current.top - 20,
14386
+ backgroundColor: '#1890ff',
14387
+ color: 'white',
14388
+ borderRadius: '4px',
14389
+ zIndex: 9999,
14390
+ pointerEvents: 'none',
14391
+ height: '40px',
14392
+ width: 2
14393
+ }
14394
+ })),
14395
+ onResize: function onResize(e, data) {
14396
+ handleresize(e, data, restProps.title);
14397
+ },
14398
+ onResizeStart: handleResizeStart,
14399
+ onResizeStop: handleResizeStop,
14129
14400
  draggableOpts: {
14130
- enableUserSelectHack: false
14401
+ enableUserSelectHack: true,
14402
+ grid: [20, 20],
14403
+ axis: 'x',
14404
+ bounds: 'parent'
14131
14405
  }
14132
14406
  }, /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps)));
14133
14407
  };
@@ -14180,20 +14454,20 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14180
14454
  restProps = _objectWithoutProperties(_this$props3, _excluded2$4);
14181
14455
  var otherTableInfo = _objectSpread2({}, restProps);
14182
14456
  var showSummary = null;
14183
- if (this.state.showColumns.length) {
14457
+ if (this.state.showColumns.length && !Array.isArray(summary)) {
14184
14458
  if (summary && summary().diy) {
14185
14459
  showSummary = this.getTableSummaryInfo();
14186
14460
  } else {
14187
14461
  showSummary = summary;
14188
14462
  }
14189
14463
  }
14190
- var _handleColumns = function handleColumns(arr, indexArr) {
14464
+ var handleColumns = function handleColumns(arr, indexArr) {
14191
14465
  arr.forEach(function (item, index) {
14192
14466
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
14193
14467
  return i || i === 0;
14194
14468
  });
14195
14469
  if (noEmptyArray$1(item.children)) {
14196
- _handleColumns(item.children, indexArrInside);
14470
+ handleColumns(item.children, indexArrInside);
14197
14471
  } else {
14198
14472
  item.width = item.width || getItemDefaultWidth$2(item);
14199
14473
  item.onHeaderCell = function (column) {
@@ -14209,7 +14483,7 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14209
14483
  handleBssulaColumnsSpecialParams(item);
14210
14484
  return _objectSpread2({}, item);
14211
14485
  });
14212
- _handleColumns(showCol, []);
14486
+ handleColumns(showCol, []);
14213
14487
  if (dynamicColumns.length) {
14214
14488
  showCol = this.handledynamicColumns(showCol);
14215
14489
  }
@@ -14219,8 +14493,10 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14219
14493
  }, scroll), {}, {
14220
14494
  x: restProps.overScrollX || this.getTableScrollXWidth(showCol)
14221
14495
  }),
14496
+ sticky: true
14497
+ }, showSummary ? {
14222
14498
  summary: showSummary
14223
- });
14499
+ } : {});
14224
14500
  return /*#__PURE__*/React$1.createElement("div", {
14225
14501
  style: {
14226
14502
  position: 'relative'
@@ -14248,7 +14524,9 @@ var ColumnSettingSulaTable = /*#__PURE__*/function (_React$Component) {
14248
14524
  cell: this.ResizeableTitle
14249
14525
  }
14250
14526
  }
14251
- }, otherTableInfo)));
14527
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
14528
+ summary: summary
14529
+ })));
14252
14530
  }
14253
14531
  }]);
14254
14532
  }(React$1.Component);
@@ -14343,10 +14621,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14343
14621
  var newColumns = _this.state.showColumns.map(function (col) {
14344
14622
  return _objectSpread2({}, col);
14345
14623
  });
14346
- var _handleIndex = function handleIndex(arr, indexArr) {
14624
+ var handleIndex = function handleIndex(arr, indexArr) {
14347
14625
  var i = indexArr.shift();
14348
14626
  if (indexArr.length > 0) {
14349
- _handleIndex(arr[i].children, indexArr);
14627
+ handleIndex(arr[i].children, indexArr);
14350
14628
  } else {
14351
14629
  arr[i] = _objectSpread2(_objectSpread2({}, arr[i]), {}, {
14352
14630
  width: size.width
@@ -14354,7 +14632,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14354
14632
  handleAntdColumnsSpecialParams(arr[i]);
14355
14633
  }
14356
14634
  };
14357
- _handleIndex(newColumns, _toConsumableArray(index));
14635
+ handleIndex(newColumns, _toConsumableArray(index));
14358
14636
  _this.setState({
14359
14637
  showColumns: _toConsumableArray(newColumns)
14360
14638
  });
@@ -14423,20 +14701,20 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14423
14701
  restProps = _objectWithoutProperties(_this$props3, _excluded2$5);
14424
14702
  var otherTableInfo = _objectSpread2({}, restProps);
14425
14703
  var showSummary = null;
14426
- if (this.state.showColumns.length) {
14704
+ if (this.state.showColumns.length && !Array.isArray(summary)) {
14427
14705
  if (summary && summary().diy) {
14428
14706
  showSummary = this.getTableSummaryInfo();
14429
14707
  } else {
14430
14708
  showSummary = summary;
14431
14709
  }
14432
14710
  }
14433
- var _handleColumns = function handleColumns(arr, indexArr) {
14711
+ var handleColumns = function handleColumns(arr, indexArr) {
14434
14712
  arr.forEach(function (item, index) {
14435
14713
  var indexArrInside = [].concat(_toConsumableArray(indexArr), [index]).filter(function (i) {
14436
14714
  return i || i === 0;
14437
14715
  });
14438
14716
  if (noEmptyArray$1(item.children)) {
14439
- _handleColumns(item.children, indexArrInside);
14717
+ handleColumns(item.children, indexArrInside);
14440
14718
  } else {
14441
14719
  item.width = item.width || getItemDefaultWidth$2(item);
14442
14720
  item.onHeaderCell = function (column) {
@@ -14452,7 +14730,7 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14452
14730
  handleAntdColumnsSpecialParams(item);
14453
14731
  return _objectSpread2({}, item);
14454
14732
  });
14455
- _handleColumns(showCol, []);
14733
+ handleColumns(showCol, []);
14456
14734
  if (dynamicColumns.length) {
14457
14735
  showCol = this.handledynamicColumns(showCol);
14458
14736
  }
@@ -14461,9 +14739,10 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14461
14739
  y: 400
14462
14740
  }, scroll), {}, {
14463
14741
  x: restProps.overScrollX || this.getTableScrollXWidth(showCol)
14464
- }),
14742
+ })
14743
+ }, showSummary ? {
14465
14744
  summary: showSummary
14466
- });
14745
+ } : {});
14467
14746
  return /*#__PURE__*/React$1.createElement("div", {
14468
14747
  style: {
14469
14748
  position: 'relative'
@@ -14491,7 +14770,9 @@ var ColumnSettingTable = /*#__PURE__*/function (_React$Component) {
14491
14770
  cell: this.ResizeableTitle
14492
14771
  }
14493
14772
  }
14494
- }, otherTableInfo)));
14773
+ }, otherTableInfo)), Array.isArray(summary) && ( /*#__PURE__*/React$1.createElement(TableSumComponent, {
14774
+ summary: summary
14775
+ })));
14495
14776
  }
14496
14777
  }]);
14497
14778
  }(React$1.Component);
@@ -14549,20 +14830,20 @@ var judgeIsEmpty$1 = function judgeIsEmpty(value) {
14549
14830
  };
14550
14831
  var getMainCrumbNameMap = function getMainCrumbNameMap(menuData) {
14551
14832
  var routerMap = {};
14552
- var _flattenMenuData2 = function flattenMenuData(data, parent) {
14833
+ var flattenMenuData = function flattenMenuData(data, parent) {
14553
14834
  var pNameMap = parent.nameMap ? _toConsumableArray(parent.nameMap) : [];
14554
14835
  data.forEach(function (menuItem) {
14555
14836
  var newMenuItem = _objectSpread2(_objectSpread2({}, menuItem), {}, {
14556
14837
  nameMap: [].concat(_toConsumableArray(pNameMap), [menuItem.name])
14557
14838
  });
14558
14839
  if (newMenuItem.children) {
14559
- _flattenMenuData2(newMenuItem.children, newMenuItem);
14840
+ flattenMenuData(newMenuItem.children, newMenuItem);
14560
14841
  }
14561
14842
  // Reduce memory usage
14562
14843
  routerMap[menuItem.path] = _objectSpread2({}, newMenuItem);
14563
14844
  });
14564
14845
  };
14565
- _flattenMenuData2(menuData, {});
14846
+ flattenMenuData(menuData, {});
14566
14847
  return routerMap;
14567
14848
  };
14568
14849
  // mode类型判断
@@ -14623,8 +14904,8 @@ var getDetailMatchRoute = function getDetailMatchRoute(path, routeObj, hideRoute
14623
14904
  return undefined;
14624
14905
  };
14625
14906
 
14626
- var css_248z$c = ".detail_page_head {\n height: 32px;\n z-index: 5;\n display: flex;\n align-items: center;\n background-color: #FFFFFF;\n font-weight: 500;\n}\n.detail_page_head .ant-breadcrumb {\n display: block !important;\n}\n.detail_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.detail_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n cursor: pointer;\n}\n.detail_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n.detail_page_head .ant-breadcrumb li .bread_name:hover {\n color: #000000d9;\n}\n.detail_page_wrapper {\n height: calc(100vh - 80px);\n}\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";
14627
- styleInject(css_248z$c);
14907
+ var css_248z$d = ".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";
14908
+ styleInject(css_248z$d);
14628
14909
 
14629
14910
  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";
14630
14911
 
@@ -14638,8 +14919,8 @@ var deleteIcon = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%
14638
14919
 
14639
14920
  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";
14640
14921
 
14641
- var css_248z$d = "";
14642
- styleInject(css_248z$d);
14922
+ var css_248z$e = "";
14923
+ styleInject(css_248z$e);
14643
14924
 
14644
14925
  var _excluded$b = ["message", "type"];
14645
14926
  var CommonAlert = (function (props) {
@@ -14749,6 +15030,19 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14749
15030
  breadcrumbArrs.pop();
14750
15031
  breadcrumbArrs.push(title);
14751
15032
  }
15033
+ // 处理详情页上层列表页面路径
15034
+ var pattern = /^(\/.*)\/(action|create|edit|view)(\/.*)*$/;
15035
+ var result = pathname.match(pattern);
15036
+ if ((result === null || result === void 0 ? void 0 : result.length) && result[1]) {
15037
+ var parentRoute = matchParamsPath("".concat(basePath).concat(result[1]), breadcrumbNameMap);
15038
+ if (!parentRoute) return;
15039
+ if (breadcrumbArrs.length >= 2) {
15040
+ breadcrumbArrs.splice(-1, 0, {
15041
+ title: parentRoute.name,
15042
+ path: result[1]
15043
+ });
15044
+ }
15045
+ }
14752
15046
  setBreadCrumbArr(_toConsumableArray(breadcrumbArrs));
14753
15047
  var pageName = formatMessage({
14754
15048
  id: currRouterData.locale || currRouterData.name,
@@ -14836,7 +15130,8 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14836
15130
  }))));
14837
15131
  };
14838
15132
  return /*#__PURE__*/React$1.createElement("div", {
14839
- ref: wrapperContainerRef
15133
+ ref: wrapperContainerRef,
15134
+ className: 'bs_detail_page_head_wrapper'
14840
15135
  }, /*#__PURE__*/React$1.createElement("div", {
14841
15136
  className: 'detail_page_head',
14842
15137
  style: {
@@ -14859,7 +15154,14 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14859
15154
  key: item
14860
15155
  }, /*#__PURE__*/React$1.createElement("span", {
14861
15156
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
14862
- }, item));
15157
+ }, _typeof(item) == 'object' ? /*#__PURE__*/React$1.createElement("span", {
15158
+ className: 'bread_name_pre',
15159
+ onClick: function onClick() {
15160
+ history.push({
15161
+ pathname: item.path
15162
+ });
15163
+ }
15164
+ }, item.title) : item));
14863
15165
  }))), /*#__PURE__*/React$1.createElement("div", {
14864
15166
  className: 'detail_page_btns',
14865
15167
  style: {
@@ -14867,7 +15169,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14867
15169
  display: 'flex',
14868
15170
  gap: '8px'
14869
15171
  }
14870
- }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? (/*#__PURE__*/React$1.createElement("a", null, isFullScreen ? (/*#__PURE__*/React$1.createElement(Tooltip, {
15172
+ }, renderPageActionList(actionList), !donotNeedShowScreenIcon ? ( /*#__PURE__*/React$1.createElement("a", null, isFullScreen ? ( /*#__PURE__*/React$1.createElement(Tooltip, {
14871
15173
  title: "\u53D6\u6D88\u5168\u5C4F"
14872
15174
  }, /*#__PURE__*/React$1.createElement("img", {
14873
15175
  onClick: function onClick() {
@@ -14875,7 +15177,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14875
15177
  },
14876
15178
  width: 24,
14877
15179
  src: scanning
14878
- }))) : (/*#__PURE__*/React$1.createElement(Tooltip, {
15180
+ }))) : ( /*#__PURE__*/React$1.createElement(Tooltip, {
14879
15181
  title: "\u5168\u5C4F"
14880
15182
  }, /*#__PURE__*/React$1.createElement("img", {
14881
15183
  onClick: function onClick() {
@@ -14883,7 +15185,7 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14883
15185
  },
14884
15186
  width: 24,
14885
15187
  src: quanping
14886
- }))))) : null)), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15188
+ }))))) : null)), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
14887
15189
  }, function (prevProps, nextProps) {
14888
15190
  if (JSON.stringify(prevProps.actionList) != JSON.stringify(nextProps.actionList) || prevProps.title !== nextProps.title) {
14889
15191
  return false;
@@ -14891,8 +15193,8 @@ var DetailWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14891
15193
  return true;
14892
15194
  });
14893
15195
 
14894
- var css_248z$e = ".home_page_head {\n display: flex;\n justify-content: space-between;\n align-items: center;\n background-color: #FFFFFF;\n border-bottom: 1px solid #f0f0f0;\n padding: 6px 16px 5px;\n font-weight: 500;\n}\n.home_page_head .home_page_title_wrapper {\n display: flex;\n align-items: center;\n height: 20px;\n line-height: 20px;\n}\n.home_page_head .home_page_title {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 16px;\n color: #000000;\n letter-spacing: 0;\n flex-grow: 1;\n padding-right: 10px;\n display: none;\n}\n.home_page_head .ant-breadcrumb {\n display: block !important;\n}\n.home_page_head .ant-breadcrumb .ant-breadcrumb-separator {\n margin: 0 2px;\n}\n.home_page_head .ant-breadcrumb li .bread_name {\n color: #8B8B8B;\n font-size: 12px;\n line-height: 16px;\n cursor: pointer;\n}\n.home_page_head .ant-breadcrumb li .bread_name_last {\n color: #282828;\n}\n";
14895
- styleInject(css_248z$e);
15196
+ var css_248z$f = ".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";
15197
+ styleInject(css_248z$f);
14896
15198
 
14897
15199
  var _excluded$d = ["children"];
14898
15200
  var index$4 = (function (props) {
@@ -14956,7 +15258,9 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14956
15258
  return getPageTitle(pathname);
14957
15259
  }, [pathname, title]);
14958
15260
  useEffect(function () {}, [pathname]);
14959
- return /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15261
+ return /*#__PURE__*/React$1.createElement("div", {
15262
+ className: 'bs_home_page_head_wrapper'
15263
+ }, /*#__PURE__*/React$1.createElement("div", {
14960
15264
  className: 'home_page_head'
14961
15265
  }, /*#__PURE__*/React$1.createElement("div", {
14962
15266
  className: 'home_page_title_wrapper'
@@ -14966,7 +15270,7 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14966
15270
  }, /*#__PURE__*/React$1.createElement("span", {
14967
15271
  className: "".concat(index === breadcrumbArr.length - 1 ? 'bread_name_last' : '', " bread_name")
14968
15272
  }, item));
14969
- }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && (/*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
15273
+ }))), extra ? /*#__PURE__*/React$1.createElement(Space, null, extra) : ''), alertProps && ( /*#__PURE__*/React$1.createElement(CommonAlert, _objectSpread2({}, alertProps))));
14970
15274
  }, function (prevProps, nextProps) {
14971
15275
  if (prevProps.title !== nextProps.title) {
14972
15276
  return false;
@@ -14974,8 +15278,8 @@ var HeaderWrapper = /*#__PURE__*/React$1.memo(function (_ref) {
14974
15278
  return true;
14975
15279
  });
14976
15280
 
14977
- var css_248z$f = ".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: 10px;\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: 14px;\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: #848484;\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: 14px;\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: 14px;\n color: #848484;\n letter-spacing: 0;\n}\n.sort_table_wrapper .sort_table .sort_table_column .ant-checkbox-wrapper {\n width: 144px;\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 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 div.ant-modal-header {\n width: 820px;\n height: 64px;\n background: #ffffff;\n padding: 20px;\n border: 0px;\n}\n.sort_table_wrapper div.ant-modal-header div.ant-modal-title {\n height: 24px;\n font-family: PingFangSC-Medium;\n font-weight: 500;\n font-size: 18px;\n color: #000000;\n letter-spacing: 0;\n line-height: 24px;\n}\n.sort_table_wrapper .ant-modal-body {\n padding: 0 20px !important;\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: 32px;\n padding: 6px 4px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-input-prefix {\n width: 24px;\n height: 24px;\n margin: 4px;\n display: flex;\n justify-content: center;\n}\n.sort_table_wrapper .ant-modal-footer {\n height: 70px;\n border: 0;\n padding: 20px;\n display: flex;\n justify-content: space-between;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn {\n width: 80px;\n height: 34px;\n border-radius: 5px;\n}\n.sort_table_wrapper .ant-modal-footer .ant-btn span {\n font-family: PingFangSC-Medium;\n font-weight: 600;\n font-size: 14px;\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: 36px;\n}\n.sort_table_wrapper .ant-table-wrapper tr td {\n width: 24px !important;\n height: 36px !important;\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\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: 36px !important;\n line-height: 36px !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: 34px !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";
14978
- styleInject(css_248z$f);
15281
+ var css_248z$g = ".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";
15282
+ styleInject(css_248z$g);
14979
15283
 
14980
15284
  var _excluded$e = ["className", "style"];
14981
15285
  var DragHandle$2 = SortableHandle(function () {
@@ -15606,10 +15910,10 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15606
15910
  });
15607
15911
  return /*#__PURE__*/React$1.createElement("div", {
15608
15912
  className: 'sort_table_wrapper'
15609
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
15610
- title: "\u8BBE\u7F6E\u8868\u5934\u5185\u5BB9",
15913
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
15914
+ title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
15611
15915
  wrapClassName: 'sort_table_wrapper',
15612
- width: 820,
15916
+ width: 810,
15613
15917
  visible: visible,
15614
15918
  onOk: this.handleOk,
15615
15919
  onCancel: this.handleCancel,
@@ -15644,7 +15948,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15644
15948
  className: 'sort_table_column_wrapper'
15645
15949
  }, /*#__PURE__*/React$1.createElement("span", {
15646
15950
  className: 'sort_table_column_count'
15647
- }, "\u53EF\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", dataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
15951
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u4F7F\u7528\u7684\u7B5B\u9009\u6761\u4EF6")), /*#__PURE__*/React$1.createElement("div", {
15648
15952
  className: 'sort_table_column'
15649
15953
  }, /*#__PURE__*/React$1.createElement(Input, {
15650
15954
  prefix: /*#__PURE__*/React$1.createElement(SearchOutlined, {
@@ -15654,9 +15958,10 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15654
15958
  allowClear: true,
15655
15959
  onChange: this.onSearch,
15656
15960
  style: {
15657
- width: 540
15961
+ width: 525,
15962
+ height: 24
15658
15963
  }
15659
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
15964
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
15660
15965
  checked: !dataSource.some(function (item) {
15661
15966
  if (item.hidden) return true;
15662
15967
  return false;
@@ -15710,13 +16015,13 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15710
16015
  _this2.onChange(e, item.title);
15711
16016
  }
15712
16017
  }, item.title);
15713
- }), !!seatchDataSource.length && (/*#__PURE__*/React$1.createElement("span", {
16018
+ }), !!seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("span", {
15714
16019
  style: {
15715
16020
  width: '144px'
15716
16021
  }
15717
- })), !seatchDataSource.length && (/*#__PURE__*/React$1.createElement("div", {
16022
+ })), !seatchDataSource.length && ( /*#__PURE__*/React$1.createElement("div", {
15718
16023
  className: 'sort_table_column_all_empty'
15719
- }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16024
+ }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))), !searchDataSource && ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
15720
16025
  className: 'sort_table_column_special'
15721
16026
  }, /*#__PURE__*/React$1.createElement("span", null, "\u4EBA\u5458\u65F6\u95F4\u5B57\u6BB5")), /*#__PURE__*/React$1.createElement("div", {
15722
16027
  className: 'sort_table_column_all'
@@ -15738,7 +16043,7 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
15738
16043
  className: 'sort_table_content_wrapper'
15739
16044
  }, /*#__PURE__*/React$1.createElement("span", {
15740
16045
  className: 'sort_table_content_count'
15741
- }, "\u5DF2\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", sortDataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
16046
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u641C\u7D22\u6761\u4EF6\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
15742
16047
  className: 'sort_table_content'
15743
16048
  }, /*#__PURE__*/React$1.createElement("span", {
15744
16049
  style: {
@@ -15930,21 +16235,23 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15930
16235
  _this.columns = [{
15931
16236
  title: '搜索字段名称',
15932
16237
  dataIndex: 'label',
15933
- className: 'drag-visible',
15934
- width: 100
16238
+ className: 'drag-visible'
15935
16239
  }, {
15936
16240
  title: '删除',
15937
16241
  dataIndex: 'title1',
15938
16242
  render: function render(text, record) {
15939
16243
  return /*#__PURE__*/React$1.createElement("span", {
16244
+ style: {
16245
+ paddingLeft: '46px'
16246
+ },
15940
16247
  onClick: function onClick() {
15941
16248
  _this.setState({
15942
16249
  sortDataSource: _this.state.sortDataSource.filter(function (item) {
15943
- return item.label !== record.label;
16250
+ return item.name !== record.name;
15944
16251
  }),
15945
16252
  isDefaultValue: false,
15946
16253
  dataSource: _toConsumableArray(_this.state.dataSource.map(function (item) {
15947
- if (item.label === record.label) {
16254
+ if (item.name === record.name) {
15948
16255
  return _objectSpread2(_objectSpread2({}, item), {}, {
15949
16256
  hidden: true
15950
16257
  });
@@ -15986,7 +16293,8 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
15986
16293
  _this.handleCancel = function (e) {
15987
16294
  console.log(e);
15988
16295
  _this.setState({
15989
- visible: false
16296
+ visible: false,
16297
+ searchDataSource: ''
15990
16298
  });
15991
16299
  };
15992
16300
  _this.handleTableHeadHidden = function (title) {
@@ -16043,18 +16351,18 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16043
16351
  index: index
16044
16352
  }, restProps));
16045
16353
  };
16046
- _this.onChange = function (e, label) {
16354
+ _this.onChange = function (e, name) {
16047
16355
  var _this$state4 = _this.state,
16048
16356
  sortDataSource = _this$state4.sortDataSource,
16049
16357
  dataSource = _this$state4.dataSource;
16050
16358
  if (!e.target.checked) {
16051
16359
  _this.setState({
16052
16360
  sortDataSource: sortDataSource.filter(function (item) {
16053
- return item.label !== label;
16361
+ return item.name !== name;
16054
16362
  }),
16055
16363
  isDefaultValue: false,
16056
16364
  dataSource: _toConsumableArray(dataSource.map(function (item) {
16057
- if (item.label === label) {
16365
+ if (item.name === name) {
16058
16366
  return _objectSpread2(_objectSpread2({}, item), {}, {
16059
16367
  hidden: true
16060
16368
  });
@@ -16064,7 +16372,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16064
16372
  });
16065
16373
  } else {
16066
16374
  var newSortData = [].concat(_toConsumableArray(sortDataSource), _toConsumableArray(dataSource.filter(function (item) {
16067
- return item.label === label;
16375
+ return item.name === name;
16068
16376
  }).map(function (source) {
16069
16377
  return _objectSpread2(_objectSpread2({}, source), {}, {
16070
16378
  hidden: false
@@ -16074,7 +16382,7 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16074
16382
  sortDataSource: _toConsumableArray(newSortData),
16075
16383
  isDefaultValue: false,
16076
16384
  dataSource: _toConsumableArray(dataSource.map(function (item) {
16077
- if (item.label === label) {
16385
+ if (item.name === name) {
16078
16386
  return _objectSpread2(_objectSpread2({}, item), {}, {
16079
16387
  hidden: false
16080
16388
  });
@@ -16100,6 +16408,25 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16100
16408
  onSearchSort: e.target.value
16101
16409
  });
16102
16410
  };
16411
+ // 处理非标准 特殊搜索项 名称回显
16412
+ _this.showSearchItemLabel = function (item) {
16413
+ var _item$field, _options$;
16414
+ //搜索项 存在 label默认返回
16415
+ if (item.label) {
16416
+ return item.label;
16417
+ } else {
16418
+ switch (item.field.type) {
16419
+ //多值录入搜索组件 默认使用下拉框第一个选项
16420
+ case 'bs-multiInput':
16421
+ var _item$field$props = item === null || item === void 0 ? void 0 : (_item$field = item.field) === null || _item$field === void 0 ? void 0 : _item$field.props,
16422
+ _item$field$props$opt = _item$field$props.options,
16423
+ options = _item$field$props$opt === void 0 ? [] : _item$field$props$opt;
16424
+ return (_options$ = options[0]) === null || _options$ === void 0 ? void 0 : _options$.text;
16425
+ default:
16426
+ return '';
16427
+ }
16428
+ }
16429
+ };
16103
16430
  return _this;
16104
16431
  }
16105
16432
  _inherits(SearchItemTable, _React$Component);
@@ -16146,19 +16473,30 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16146
16473
  var _this2 = this;
16147
16474
  var _this$state5 = this.state,
16148
16475
  _this$state5$dataSour = _this$state5.dataSource,
16149
- dataSource = _this$state5$dataSour === void 0 ? [] : _this$state5$dataSour,
16476
+ originDataSource = _this$state5$dataSour === void 0 ? [] : _this$state5$dataSour,
16150
16477
  searchDataSource = _this$state5.searchDataSource,
16151
- sortDataSource = _this$state5.sortDataSource,
16478
+ _this$state5$sortData = _this$state5.sortDataSource,
16479
+ originSortDataSource = _this$state5$sortData === void 0 ? [] : _this$state5$sortData,
16152
16480
  visible = _this$state5.visible,
16153
16481
  onSearchSort = _this$state5.onSearchSort;
16482
+ var dataSource = originDataSource.map(function (item) {
16483
+ return _objectSpread2(_objectSpread2({}, item), {}, {
16484
+ label: _this2.showSearchItemLabel(item)
16485
+ });
16486
+ });
16487
+ var sortDataSource = originSortDataSource.map(function (item) {
16488
+ return _objectSpread2(_objectSpread2({}, item), {}, {
16489
+ label: _this2.showSearchItemLabel(item)
16490
+ });
16491
+ });
16154
16492
  var newSearchSource = dataSource.filter(function (item) {
16155
16493
  var _item$label;
16156
16494
  return (item === null || item === void 0 ? void 0 : (_item$label = item.label) === null || _item$label === void 0 ? void 0 : _item$label.indexOf(searchDataSource || '')) > -1;
16157
16495
  });
16158
16496
  return /*#__PURE__*/React$1.createElement("div", {
16159
16497
  className: 'sort_table_wrapper'
16160
- }, visible && (/*#__PURE__*/React$1.createElement(Modal, {
16161
- title: "\u8BBE\u7F6E\u641C\u7D22\u9879\u5185\u5BB9",
16498
+ }, visible && ( /*#__PURE__*/React$1.createElement(Modal, {
16499
+ title: "\u7B5B\u9009\u6761\u4EF6\u8BBE\u7F6E",
16162
16500
  wrapClassName: 'sort_table_wrapper',
16163
16501
  width: 820,
16164
16502
  visible: visible,
@@ -16190,19 +16528,19 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16190
16528
  className: 'sort_table_column_wrapper'
16191
16529
  }, /*#__PURE__*/React$1.createElement("span", {
16192
16530
  className: 'sort_table_column_count'
16193
- }, "\u53EF\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", dataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
16531
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u52FE\u9009\u4F60\u60F3\u4F7F\u7528\u7684\u7B5B\u9009\u6761\u4EF6")), /*#__PURE__*/React$1.createElement("div", {
16194
16532
  className: 'sort_table_column'
16195
16533
  }, /*#__PURE__*/React$1.createElement(Input, {
16196
16534
  prefix: /*#__PURE__*/React$1.createElement(SearchOutlined, {
16197
16535
  className: "site-form-item-icon"
16198
16536
  }),
16199
- placeholder: "\u641C\u7D22",
16537
+ placeholder: "\u8F93\u5165\u7B5B\u9009\u6761\u4EF6\u540D\u79F0\u641C\u7D22",
16200
16538
  allowClear: true,
16201
16539
  onChange: this.onSearch,
16202
16540
  style: {
16203
- width: 540
16541
+ width: 525
16204
16542
  }
16205
- }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && (/*#__PURE__*/React$1.createElement(Checkbox, {
16543
+ }), /*#__PURE__*/React$1.createElement("div", null, !searchDataSource && ( /*#__PURE__*/React$1.createElement(Checkbox, {
16206
16544
  checked: !dataSource.some(function (item) {
16207
16545
  if (item.hidden) return true;
16208
16546
  return false;
@@ -16228,27 +16566,27 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16228
16566
  return /*#__PURE__*/React$1.createElement(Checkbox, {
16229
16567
  checked: !item.hidden,
16230
16568
  onChange: function onChange(e) {
16231
- _this2.onChange(e, item.label);
16569
+ _this2.onChange(e, item.name);
16232
16570
  }
16233
16571
  }, item.label);
16234
16572
  }) : dataSource.map(function (item) {
16235
16573
  return /*#__PURE__*/React$1.createElement(Checkbox, {
16236
16574
  checked: !item.hidden,
16237
16575
  onChange: function onChange(e) {
16238
- _this2.onChange(e, item.label);
16576
+ _this2.onChange(e, item.name);
16239
16577
  }
16240
16578
  }, item.label);
16241
- }), !!newSearchSource.length && (/*#__PURE__*/React$1.createElement("span", {
16579
+ }), !!newSearchSource.length && ( /*#__PURE__*/React$1.createElement("span", {
16242
16580
  style: {
16243
16581
  width: '144px'
16244
16582
  }
16245
- })), !newSearchSource.length && (/*#__PURE__*/React$1.createElement("div", {
16583
+ })), !newSearchSource.length && ( /*#__PURE__*/React$1.createElement("div", {
16246
16584
  className: 'sort_table_column_all_empty'
16247
16585
  }, "\u672A\u67E5\u8BE2\u5230\u7ED3\u679C"))))), /*#__PURE__*/React$1.createElement("div", {
16248
16586
  className: 'sort_table_content_wrapper'
16249
16587
  }, /*#__PURE__*/React$1.createElement("span", {
16250
16588
  className: 'sort_table_content_count'
16251
- }, "\u5DF2\u9009\u5B57\u6BB5 ", /*#__PURE__*/React$1.createElement("span", null, "\uFF08\u5171", sortDataSource.length, "\u4E2A\uFF09")), /*#__PURE__*/React$1.createElement("div", {
16589
+ }, /*#__PURE__*/React$1.createElement("span", null, "\u5DF2\u9009\u62E9\u7684\u641C\u7D22\u6761\u4EF6\u6392\u5E8F")), /*#__PURE__*/React$1.createElement("div", {
16252
16590
  className: 'sort_table_content'
16253
16591
  }, /*#__PURE__*/React$1.createElement("span", {
16254
16592
  style: {
@@ -16300,8 +16638,8 @@ var SearchItemTable = /*#__PURE__*/function (_React$Component) {
16300
16638
  }]);
16301
16639
  }(React$1.Component);
16302
16640
 
16303
- var css_248z$g = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
16304
- styleInject(css_248z$g);
16641
+ var css_248z$h = "#bs-sula-query-table .ant-table-title + .ant-table-container table {\n visibility: unset !important;\n}\n";
16642
+ styleInject(css_248z$h);
16305
16643
 
16306
16644
  var _excluded$g = ["onResize", "width"];
16307
16645
  var MemoQueryTable = /*#__PURE__*/React$1.memo(QueryTable);
@@ -16310,15 +16648,117 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
16310
16648
  var onResize = props.onResize,
16311
16649
  width = props.width,
16312
16650
  restProps = _objectWithoutProperties(props, _excluded$g);
16313
- if (!width) {
16314
- return /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps));
16315
- }
16651
+ var _useState = useState(width),
16652
+ _useState2 = _slicedToArray(_useState, 2),
16653
+ innerWidth = _useState2[0],
16654
+ setInnerWidth = _useState2[1];
16655
+ var _useState3 = useState(false),
16656
+ _useState4 = _slicedToArray(_useState3, 2),
16657
+ isResizing = _useState4[0],
16658
+ setIsResizing = _useState4[1]; // 标记是否正在拖拽
16659
+ var _useState5 = useState(false),
16660
+ _useState6 = _slicedToArray(_useState5, 2),
16661
+ isDragging = _useState6[0],
16662
+ setIsDragging = _useState6[1]; // 标记拖拽句柄是否被拖拽
16663
+ var _useState7 = useState(0),
16664
+ _useState8 = _slicedToArray(_useState7, 2),
16665
+ startX = _useState8[0],
16666
+ setStartX = _useState8[1]; // 初始X坐标
16667
+ var markerPosition = useRef({
16668
+ left: 0,
16669
+ top: 0
16670
+ });
16671
+ var currentStart = useRef(0);
16672
+ var uuidref = useRef(uuid());
16673
+ var prevWidthRef = useRef(width);
16674
+ var handleMouseDown = function handleMouseDown(e) {
16675
+ currentStart.current = e.clientX;
16676
+ markerPosition.current = {
16677
+ left: e.clientX,
16678
+ top: e.clientY
16679
+ };
16680
+ setIsResizing(true);
16681
+ document.addEventListener('mousemove', handleMouseMove);
16682
+ document.addEventListener('mouseup', handleMouseUp);
16683
+ };
16684
+ var handleMouseMove = function handleMouseMove(e) {
16685
+ e.stopPropagation();
16686
+ e.preventDefault();
16687
+ // 更新标记位置
16688
+ markerPosition.current = {
16689
+ left: e.clientX,
16690
+ top: e.clientY
16691
+ };
16692
+ var dom = document.getElementById('text1');
16693
+ if (dom && dom.style) {
16694
+ dom.style.left = "".concat(e.clientX, "px");
16695
+ dom.style.top = "".concat(e.clientY - 20, "px");
16696
+ }
16697
+ };
16698
+ var handleMouseUp = function handleMouseUp(e) {
16699
+ document.removeEventListener('mousemove', handleMouseMove);
16700
+ document.removeEventListener('mouseup', handleMouseUp);
16701
+ setIsResizing(false);
16702
+ };
16703
+ var handleresize = function handleresize(e, data, title) {
16704
+ var _data$size;
16705
+ var newWidth = (data === null || data === void 0 ? void 0 : (_data$size = data.size) === null || _data$size === void 0 ? void 0 : _data$size.width) || 0;
16706
+ setInnerWidth(newWidth); // 更新内部分宽度
16707
+ };
16708
+ var handleResizeStart = function handleResizeStart() {
16709
+ setIsResizing(true);
16710
+ };
16711
+ var handleResizeStop = function handleResizeStop(e, data) {
16712
+ setIsResizing(false);
16713
+ if (onResize) {
16714
+ onResize(e, data);
16715
+ }
16716
+ };
16717
+ useEffect(function () {
16718
+ if (width !== prevWidthRef.current) {
16719
+ prevWidthRef.current = width;
16720
+ setInnerWidth(width);
16721
+ }
16722
+ }, [width]);
16316
16723
  return /*#__PURE__*/React$1.createElement(Resizable, {
16317
- width: width,
16724
+ width: innerWidth,
16318
16725
  height: 0,
16319
- onResize: onResize,
16726
+ handle: /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
16727
+ style: {
16728
+ width: '10px',
16729
+ height: '30px',
16730
+ cursor: 'col-resize',
16731
+ position: 'absolute',
16732
+ zIndex: 10,
16733
+ top: 0,
16734
+ right: 0
16735
+ },
16736
+ onMouseDown: handleMouseDown
16737
+ }), isResizing && /*#__PURE__*/React$1.createElement("div", {
16738
+ id: "text1",
16739
+ style: {
16740
+ position: 'fixed',
16741
+ left: markerPosition.current.left,
16742
+ top: markerPosition.current.top - 20,
16743
+ backgroundColor: '#1890ff',
16744
+ color: 'white',
16745
+ borderRadius: '4px',
16746
+ zIndex: 9999,
16747
+ pointerEvents: 'none',
16748
+ height: '40px',
16749
+ width: 2
16750
+ }
16751
+ })),
16752
+ onResize: function onResize(e, data) {
16753
+ handleresize(e, data, restProps.title);
16754
+ },
16755
+ onResizeStart: handleResizeStart,
16756
+ onResizeStop: handleResizeStop,
16320
16757
  draggableOpts: {
16321
- enableUserSelectHack: false
16758
+ enableUserSelectHack: true,
16759
+ grid: [20, 20],
16760
+ axis: 'x',
16761
+ bounds: 'parent'
16322
16762
  }
16323
16763
  }, /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps)));
16324
16764
  };
@@ -16399,39 +16839,39 @@ var BsSulaQueryTable = (function (props) {
16399
16839
  return _toConsumableArray(originConfig);
16400
16840
  };
16401
16841
  var refs = useRef(null);
16402
- var _useState = useState(''),
16403
- _useState2 = _slicedToArray(_useState, 2),
16404
- pagePath = _useState2[0],
16405
- setPagePath = _useState2[1];
16842
+ var _useState9 = useState(''),
16843
+ _useState10 = _slicedToArray(_useState9, 2),
16844
+ pagePath = _useState10[0],
16845
+ setPagePath = _useState10[1];
16406
16846
  var _useLocation = useLocation(),
16407
16847
  pathname = _useLocation.pathname,
16408
16848
  _useLocation$state = _useLocation.state,
16409
16849
  state = _useLocation$state === void 0 ? {} : _useLocation$state;
16410
- var _useState3 = useState(false),
16411
- _useState4 = _slicedToArray(_useState3, 2),
16412
- isFullScreen = _useState4[0],
16413
- setIsFnllScreen = _useState4[1];
16850
+ var _useState11 = useState(false),
16851
+ _useState12 = _slicedToArray(_useState11, 2),
16852
+ isFullScreen = _useState12[0],
16853
+ setIsFnllScreen = _useState12[1];
16414
16854
  // @ts-nocheck
16415
16855
  var value = props;
16416
16856
  var _props$fields = props.fields,
16417
16857
  fields = _props$fields === void 0 ? [] : _props$fields;
16418
- var _useState5 = useState([]),
16419
- _useState6 = _slicedToArray(_useState5, 2),
16420
- showColumn = _useState6[0],
16421
- setShowColumns = _useState6[1]; // 列字段
16858
+ var _useState13 = useState([]),
16859
+ _useState14 = _slicedToArray(_useState13, 2),
16860
+ showColumn = _useState14[0],
16861
+ setShowColumns = _useState14[1]; // 列字段
16422
16862
  var originSearchFields = getSettingFieldOrColumn(getConfigFromlocalstorage(ENUM.BROWSER_CACHE.SEARCH_FIELDS_CONDITION), fields, 'searchFields');
16423
- var _useState7 = useState(originSearchFields),
16424
- _useState8 = _slicedToArray(_useState7, 2),
16425
- showSearchFields = _useState8[0],
16426
- setShowSearchFields = _useState8[1]; //搜索项字段
16427
- var _useState9 = useState([]),
16428
- _useState10 = _slicedToArray(_useState9, 2),
16429
- showExportColumn = _useState10[0],
16430
- setShowExportColumns = _useState10[1]; // 导出列字段
16431
- var _useState11 = useState(''),
16432
- _useState12 = _slicedToArray(_useState11, 2),
16433
- height = _useState12[0],
16434
- setHeight = _useState12[1];
16863
+ var _useState15 = useState(originSearchFields),
16864
+ _useState16 = _slicedToArray(_useState15, 2),
16865
+ showSearchFields = _useState16[0],
16866
+ setShowSearchFields = _useState16[1]; //搜索项字段
16867
+ var _useState17 = useState([]),
16868
+ _useState18 = _slicedToArray(_useState17, 2),
16869
+ showExportColumn = _useState18[0],
16870
+ setShowExportColumns = _useState18[1]; // 导出列字段
16871
+ var _useState19 = useState(''),
16872
+ _useState20 = _slicedToArray(_useState19, 2),
16873
+ height = _useState20[0],
16874
+ setHeight = _useState20[1];
16435
16875
  var sortTableRef = useRef(null);
16436
16876
  var searchTableRef = useRef(null);
16437
16877
  var exportTableRef = useRef(null);
@@ -16668,7 +17108,7 @@ var BsSulaQueryTable = (function (props) {
16668
17108
  actionsRender = actionsRender.concat([{
16669
17109
  type: 'text',
16670
17110
  props: {
16671
- children: (/*#__PURE__*/React$1.createElement(ExportIcon, {
17111
+ children: ( /*#__PURE__*/React$1.createElement(ExportIcon, {
16672
17112
  request: {
16673
17113
  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),
16674
17114
  params: value === null || value === void 0 ? void 0 : (_value$exportConfig4 = value.exportConfig) === null || _value$exportConfig4 === void 0 ? void 0 : _value$exportConfig4.params
@@ -16914,7 +17354,7 @@ var BsSulaQueryTable = (function (props) {
16914
17354
  datasource: (value === null || value === void 0 ? void 0 : value.columns) || [],
16915
17355
  bsTableCode: bsTableCode,
16916
17356
  onlyModal: true
16917
- }), (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, {
17357
+ }), (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, {
16918
17358
  ref: exportTableRef,
16919
17359
  setShowColumns: setShowExportColumns,
16920
17360
  setInitialTableInfo: setInitialTableInfo,
@@ -16925,8 +17365,8 @@ var BsSulaQueryTable = (function (props) {
16925
17365
  })));
16926
17366
  });
16927
17367
 
16928
- var css_248z$h = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #005cff;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005CFF;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
16929
- styleInject(css_248z$h);
17368
+ var css_248z$i = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.allFunsList {\n margin-bottom: 10px;\n}\n.isClons {\n position: relative;\n left: -8px;\n width: 30px;\n height: 36px;\n}\n.drawerWarp {\n -moz-column-count: 3;\n column-count: 3;\n}\n.allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n.searchTop {\n display: flex;\n align-items: center;\n}\n.searchTopInp {\n width: 528px;\n height: 40px;\n background: #f8f9fa;\n border: 1px solid #d9d9d9;\n border-radius: 4px;\n}\n.searchTopInp .ant-input {\n background: #f8f9fa;\n}\n.searchTopBtn {\n position: relative;\n left: -1px;\n width: 92px;\n height: 40px;\n background: #005cff;\n border-radius: 0px 4px 4px 0px;\n}\n.contentWarp {\n margin-top: 54px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005CFF;\n}\n.serachView {\n margin-top: 36px;\n margin-bottom: 32px;\n}\n.content {\n display: flex;\n flex-wrap: wrap;\n}\n.content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.content div:hover {\n cursor: pointer;\n}\n";
17369
+ styleInject(css_248z$i);
16930
17370
 
16931
17371
  var cache = {};
16932
17372
  var cacheLimit = 10000;
@@ -17007,11 +17447,11 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
17007
17447
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
17008
17448
  var resultList = [];
17009
17449
  var newRouter = cloneDeep(router);
17010
- var _deep = function deep(router) {
17450
+ var deep = function deep(router) {
17011
17451
  if (router && Array.isArray(router)) {
17012
17452
  router.forEach(function (item) {
17013
17453
  if (item.children && Array.isArray(item.children)) {
17014
- _deep(item.children);
17454
+ deep(item.children);
17015
17455
  } else if (!item.hideInMenu && (name ? item.name.indexOf(name) !== -1 : true) && btnAuth.find(function (d) {
17016
17456
  return d === item.code;
17017
17457
  })) {
@@ -17025,10 +17465,10 @@ var searchMenuData = function searchMenuData(router, name, callBack) {
17025
17465
  resultList.push(_objectSpread2({}, router));
17026
17466
  }
17027
17467
  };
17028
- _deep(newRouter);
17468
+ deep(newRouter);
17029
17469
  callBack([].concat(resultList));
17030
17470
  };
17031
- var _setMenuTreeData = function setMenuTreeData(routesData) {
17471
+ var setMenuTreeData = function setMenuTreeData(routesData) {
17032
17472
  var authButton = localStorage.getItem(getMenuAuthDataKey()) ? JSON.parse(localStorage.getItem(getMenuAuthDataKey())) : [];
17033
17473
  var _loop = function _loop(i) {
17034
17474
  if (routesData[i].hideInMenu) {
@@ -17042,7 +17482,7 @@ var _setMenuTreeData = function setMenuTreeData(routesData) {
17042
17482
  return 0; // continue
17043
17483
  }
17044
17484
  if (routesData[i].children) {
17045
- _setMenuTreeData(routesData[i].children);
17485
+ setMenuTreeData(routesData[i].children);
17046
17486
  }
17047
17487
  },
17048
17488
  _ret;
@@ -17063,16 +17503,16 @@ var setLoginOutPath = function setLoginOutPath() {
17063
17503
  };
17064
17504
  var getBreadcrumbNameMap$1 = function getBreadcrumbNameMap(menuData) {
17065
17505
  var routerMap = {};
17066
- var _flattenMenuData = function flattenMenuData(data) {
17506
+ var flattenMenuData = function flattenMenuData(data) {
17067
17507
  data.forEach(function (menuItem) {
17068
17508
  if (menuItem.children) {
17069
- _flattenMenuData(menuItem.children);
17509
+ flattenMenuData(menuItem.children);
17070
17510
  }
17071
17511
  // Reduce memory usage
17072
17512
  routerMap[menuItem.path] = menuItem;
17073
17513
  });
17074
17514
  };
17075
- _flattenMenuData(menuData);
17515
+ flattenMenuData(menuData);
17076
17516
  return routerMap;
17077
17517
  };
17078
17518
  var ergodicMenuRoutes$1 = function ergodicMenuRoutes(routes) {
@@ -17182,8 +17622,8 @@ var AllFunc = function AllFunc(props) {
17182
17622
  })))));
17183
17623
  };
17184
17624
 
17185
- var css_248z$i = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
17186
- styleInject(css_248z$i);
17625
+ var css_248z$j = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.warp_allfunc {\n z-index: 100;\n}\n.warp_allfunc .drawerWarp {\n -moz-column-count: 4;\n column-count: 4;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 40px;\n border: 0px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-list-header b {\n width: 100%;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.warp_allfunc .drawer_header_warp .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.warp_allfunc .drawer_header_warp .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.warp_allfunc .p {\n color: #b1bad4;\n font-weight: 400;\n font-size: 12px;\n margin-bottom: 10px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n opacity: 0.8;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n text-align: center;\n margin-left: 8px;\n}\n.warp_allfunc .btn {\n display: flex;\n align-items: center;\n height: 44px;\n color: #b1bad4;\n background: #10234c;\n border-radius: 8px;\n width: 130px;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.warp_allfunc .btn:hover,\n.warp_allfunc .btnSpan1:hover,\n.warp_allfunc .btnSpan2:hover {\n cursor: pointer;\n color: #b1bad4;\n}\n.warp_allfunc .btnSpan1 {\n margin: 0 7px;\n}\n.allfunc_drawcontent .allFunsList {\n margin-bottom: 10px;\n}\n.allfunc_drawcontent .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.allfunc_drawcontent .drawerWarp_p {\n color: #8c8c8c;\n font-weight: 400;\n font-size: 14px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 20px;\n text-align: left;\n}\n";
17626
+ styleInject(css_248z$j);
17187
17627
 
17188
17628
  var allfunc = "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%3Eicon%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%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%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%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-20.000000%2C%20-1016.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-6%22%20transform%3D%22translate%280.000000%2C%2060.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%BC%96%E7%BB%84-5%E5%A4%87%E4%BB%BD%22%20transform%3D%22translate%280.000000%2C%20900.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%E6%9F%A5%E7%9C%8B%E5%85%A8%E9%83%A8%E5%8A%9F%E8%83%BD%22%20transform%3D%22translate%2810.000000%2C%2046.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%22icon%22%20transform%3D%22translate%2810.000000%2C%2010.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%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%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%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%3Cuse%20id%3D%22navigation-icon-allfunctions%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%3Cg%20id%3D%22category%22%20mask%3D%22url%28%23mask-2%29%22%20fill%3D%22%23B1BAD4%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%3Cg%20transform%3D%22translate%283.000000%2C%205.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%3Cpath%20d%3D%22M2.24999999%2C12.3585414%20L2.24999999%2C14%20L0%2C14%20L0%2C12.3585414%20L2.24999999%2C12.3585414%20Z%20M18%2C12.3585414%20L18%2C14%20L3.375%2C14%20L3.375%2C12.3585414%20L18%2C12.3585414%20Z%20M2.24999999%2C6.17954431%20L2.24999999%2C7.82100286%20L0%2C7.82100286%20L0%2C6.17954431%20L2.24999999%2C6.17954431%20L2.24999999%2C6.17954431%20Z%20M18%2C6.17954431%20L18%2C7.82100286%20L3.375%2C7.82100286%20L3.375%2C6.17954431%20L18%2C6.17954431%20L18%2C6.17954431%20Z%20M2.24999999%2C0%20L2.24999999%2C1.64145855%20L0%2C1.64145855%20L0%2C0%20L2.24999999%2C0%20L2.24999999%2C0%20Z%20M18%2C0%20L18%2C1.64145855%20L3.375%2C1.64145855%20L3.375%2C0%20L18%2C0%20L18%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%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";
17189
17629
 
@@ -17218,7 +17658,7 @@ var DrawContent = function DrawContent(_ref) {
17218
17658
  sethomepageData(homepageDataList);
17219
17659
  setroutesData(routesDataList);
17220
17660
  }, []);
17221
- var _renderChildItem = function renderChildItem(child) {
17661
+ var renderChildItem = function renderChildItem(child) {
17222
17662
  if (!child.hideInMenu && child.children) {
17223
17663
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
17224
17664
  style: {
@@ -17228,7 +17668,7 @@ var DrawContent = function DrawContent(_ref) {
17228
17668
  }, formatMessage({
17229
17669
  id: "".concat(child.locale)
17230
17670
  })), child.children.map(function (menuItem) {
17231
- return _renderChildItem(menuItem);
17671
+ return renderChildItem(menuItem);
17232
17672
  }));
17233
17673
  } else if (!child.hideInMenu && child.path) {
17234
17674
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -17263,7 +17703,7 @@ var DrawContent = function DrawContent(_ref) {
17263
17703
  className: 'drawerWarp'
17264
17704
  }, homepageData && homepageData.filter(function (d) {
17265
17705
  return !d.hideInMenu;
17266
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
17706
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
17267
17707
  className: classNames('allFunsList', 'allFunsListWarp'),
17268
17708
  dataSource: homepageData,
17269
17709
  renderItem: function renderItem(child) {
@@ -17298,7 +17738,7 @@ var DrawContent = function DrawContent(_ref) {
17298
17738
  bordered: true,
17299
17739
  dataSource: item.children,
17300
17740
  renderItem: function renderItem(child) {
17301
- return _renderChildItem(child);
17741
+ return renderChildItem(child);
17302
17742
  }
17303
17743
  });
17304
17744
  })));
@@ -17358,7 +17798,7 @@ var AllFunc$1 = /*#__PURE__*/forwardRef(function (_ref, ref) {
17358
17798
  src: allfunc
17359
17799
  })), /*#__PURE__*/React$1.createElement("span", {
17360
17800
  className: 'btnSpan2'
17361
- }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
17801
+ }, "\u67E5\u770B\u5168\u90E8\u529F\u80FD")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
17362
17802
  style: {
17363
17803
  left: isDrawer ? 140 : 0,
17364
17804
  top: 50
@@ -17391,8 +17831,8 @@ var i18n = {
17391
17831
  }
17392
17832
  };
17393
17833
 
17394
- var css_248z$j = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
17395
- styleInject(css_248z$j);
17834
+ var css_248z$k = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.rcom_right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.rcom_right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.rcom_right .action > span {\n vertical-align: middle;\n}\n.rcom_right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.rcom_right .search {\n padding: 0 12px;\n}\n.rcom_right .search:hover {\n background: transparent;\n}\n.rcom_right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.rcom_right .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_dark .action:hover {\n background: #252a3d;\n}\n.rcom_dark .action .opened {\n background: #252a3d;\n}\n.rcom_dark .ant-space-item {\n margin: 0 10px 0 0;\n}\n.rcom_imgWap {\n position: relative;\n display: flex;\n align-items: center;\n}\n.rcom_imgWap .rcom_headLine {\n width: 1px;\n height: 16px;\n margin-right: 20px;\n background: #cacaca;\n}\n.rcom_imgWap img {\n width: 22px;\n height: 22px;\n margin-right: 20px;\n}\n.rcom_userWarp {\n display: flex;\n align-items: center;\n justify-content: space-between;\n width: 142px;\n height: 35px;\n margin-right: 10px;\n border: 1px solid #c8c8c8;\n border-radius: 4px;\n}\n.rcom_userWarp .rcom_l {\n margin-left: 4px;\n}\n.rcom_userWarp .rcom_l img {\n margin-right: 0;\n width: 36px;\n height: 36px;\n}\n.rcom_userWarp .rcom_c {\n display: flex;\n flex-direction: column;\n}\n.rcom_userWarp .rcom_c .rcom_ct {\n color: #000000;\n font-weight: 500;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_c .rcom_cb {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 10px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 14px;\n text-align: left;\n}\n.rcom_userWarp .rcom_r {\n margin-right: 9px;\n}\n.rcom_.userWarp:hover,\n.rcom_c:hover,\n.rcom_l:hover,\n.rcom_r:hover {\n cursor: pointer;\n}\n.userDownWarp {\n width: 217px;\n margin-top: 4px;\n background: #ffffff;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n}\n.userDownWarp .userDownTop {\n display: flex;\n flex-direction: column;\n align-items: center;\n height: 155px;\n padding: 20px 0;\n border-bottom: 1px solid #d9d9d9;\n}\n.userDownWarp .userDownTop .userDownTopT {\n width: 68px;\n height: 68px;\n border-radius: 50%;\n}\n.userDownWarp .userDownTop .userDownTopC {\n color: #000000;\n font-weight: 500;\n font-size: 14px;\n font-family: Montserrat, Montserrat-Medium;\n line-height: 26px;\n text-align: center;\n}\n.userDownWarp .userDownTop .userDownTopB {\n color: #bfbfbf;\n font-weight: 400;\n font-size: 12px;\n font-family: Montserrat, Montserrat-Regular;\n line-height: 15px;\n text-align: center;\n}\n.userDownWarp .userDownB .userDownBList,\n.userDownWarp .userDownB .userDownOut {\n display: flex;\n align-items: center;\n height: 36px;\n background: #ffffff;\n border-bottom: 1px solid #f3f3f3;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label,\n.userDownWarp .userDownB .userDownOut .rcom_label {\n margin: 0 4px 0 20px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_label img,\n.userDownWarp .userDownB .userDownOut .rcom_label img {\n width: 16px;\n height: 16px;\n}\n.userDownWarp .userDownB .userDownBList .rcom_name,\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #000000;\n font-weight: 400;\n font-size: 12px;\n font-family: PingFangSC, PingFangSC-Regular;\n line-height: 16px;\n text-align: left;\n}\n.userDownWarp .userDownB .userDownBList:hover,\n.userDownWarp .userDownB .userDownOut:hover {\n cursor: pointer;\n}\n.userDownWarp .userDownB .userDownOut {\n height: 46px;\n border-bottom: none;\n}\n.userDownWarp .userDownB .userDownOut .rcom_name {\n color: #fe0300;\n}\n";
17835
+ styleInject(css_248z$k);
17396
17836
 
17397
17837
  var Morentouxiang = "data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22UTF-8%22%3F%3E%3Csvg%20width%3D%2240px%22%20height%3D%2240px%22%20viewBox%3D%220%200%2040%2040%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%3E32%3C%2Ftitle%3E%20%20%20%20%3Cdefs%3E%20%20%20%20%20%20%20%20%3Ccircle%20id%3D%22path-1%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2213%22%3E%3C%2Fcircle%3E%20%20%20%20%20%20%20%20%3Cfilter%20x%3D%22-40.4%25%22%20y%3D%22-40.4%25%22%20width%3D%22180.8%25%22%20height%3D%22180.8%25%22%20filterUnits%3D%22objectBoundingBox%22%20id%3D%22filter-2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeOffset%20dx%3D%220%22%20dy%3D%220%22%20in%3D%22SourceAlpha%22%20result%3D%22shadowOffsetOuter1%22%3E%3C%2FfeOffset%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeGaussianBlur%20stdDeviation%3D%223.5%22%20in%3D%22shadowOffsetOuter1%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeGaussianBlur%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeComposite%20in%3D%22shadowBlurOuter1%22%20in2%3D%22SourceAlpha%22%20operator%3D%22out%22%20result%3D%22shadowBlurOuter1%22%3E%3C%2FfeComposite%3E%20%20%20%20%20%20%20%20%20%20%20%20%3CfeColorMatrix%20values%3D%220%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%20%200%200%200%200%200.949019608%20%200%200%200%201%200%22%20type%3D%22matrix%22%20in%3D%22shadowBlurOuter1%22%3E%3C%2FfeColorMatrix%3E%20%20%20%20%20%20%20%20%3C%2Ffilter%3E%20%20%20%20%3C%2Fdefs%3E%20%20%20%20%3Cg%20id%3D%22-----6.1-%E9%BB%98%E8%AE%A4%E5%9B%BE%E7%89%87%2F-Default-picture%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%22B-Design-%E4%BD%93%E9%AA%8C%E8%A7%84%E8%8C%83%22%20transform%3D%22translate%28-1119.000000%2C%20-988.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%2232%22%20transform%3D%22translate%281126.000000%2C%20995.000000%29%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E5%9C%86%E5%BD%A2%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cuse%20fill%3D%22black%22%20fill-opacity%3D%221%22%20filter%3D%22url%28%23filter-2%29%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%3Ccircle%20stroke%3D%22%23FFFFFF%22%20stroke-width%3D%220.8328125%22%20stroke-linejoin%3D%22square%22%20fill%3D%22%23EDF4FF%22%20fill-rule%3D%22evenodd%22%20cx%3D%2213%22%20cy%3D%2213%22%20r%3D%2212.5835938%22%3E%3C%2Fcircle%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%20%20%20%20%3Cpath%20d%3D%22M15.644709%2C13.6190476%20L18.9119048%2C15.0892857%20L18.9119048%2C19.5%20L7.15%2C19.5%20L7.15%2C15.0892857%20L10.4171958%2C13.6190476%20L15.644709%2C13.6190476%20Z%20M16.1261905%2C16.4047619%20L13.65%2C16.4047619%20L13.65%2C17.6428571%20L16.1261905%2C17.6428571%20L16.1261905%2C16.4047619%20Z%20M13.1857143%2C6.5%20C14.9806397%2C6.5%2016.4357143%2C7.95507456%2016.4357143%2C9.75%20C16.4357143%2C11.5449254%2014.9806397%2C13%2013.1857143%2C13%20C11.3907888%2C13%209.93571429%2C11.5449254%209.93571429%2C9.75%20C9.93571429%2C7.95507456%2011.3907888%2C6.5%2013.1857143%2C6.5%20Z%22%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20fill%3D%22%239AC4FF%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";
17398
17838
 
@@ -17404,7 +17844,7 @@ function outLogin(_x) {
17404
17844
  return _outLogin.apply(this, arguments);
17405
17845
  }
17406
17846
  function _outLogin() {
17407
- _outLogin = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17847
+ _outLogin = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17408
17848
  var res;
17409
17849
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17410
17850
  while (1) switch (_context.prev = _context.next) {
@@ -17546,7 +17986,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
17546
17986
  });
17547
17987
  };
17548
17988
  var loginOut = /*#__PURE__*/function () {
17549
- var _ref2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
17989
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
17550
17990
  var sessionId;
17551
17991
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17552
17992
  while (1) switch (_context.prev = _context.next) {
@@ -17650,7 +18090,7 @@ var GlobalHeaderRight = function GlobalHeaderRight(_ref) {
17650
18090
  marginRight: '0px'
17651
18091
  },
17652
18092
  src: './xialajiantou-new.svg'
17653
- }))))), loginModalParams.visible && (/*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
18093
+ }))))), loginModalParams.visible && ( /*#__PURE__*/React$1.createElement(LoginModal, _objectSpread2({}, loginModalParams))));
17654
18094
  };
17655
18095
 
17656
18096
  // -- 查询店铺 --
@@ -17658,7 +18098,7 @@ function getStoreByName(_x) {
17658
18098
  return _getStoreByName.apply(this, arguments);
17659
18099
  }
17660
18100
  function _getStoreByName() {
17661
- _getStoreByName = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
18101
+ _getStoreByName = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
17662
18102
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17663
18103
  while (1) switch (_context.prev = _context.next) {
17664
18104
  case 0:
@@ -17726,7 +18166,7 @@ var ChooseStore = function ChooseStore(props) {
17726
18166
  return _fetchUserList.apply(this, arguments);
17727
18167
  }
17728
18168
  function _fetchUserList() {
17729
- _fetchUserList = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
18169
+ _fetchUserList = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(storeName, init) {
17730
18170
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
17731
18171
  while (1) switch (_context3.prev = _context3.next) {
17732
18172
  case 0:
@@ -17774,7 +18214,7 @@ var ChooseStore = function ChooseStore(props) {
17774
18214
  return debounce$1(loadOptions, debounceTimeout);
17775
18215
  }, [debounceTimeout, key]);
17776
18216
  var changeInput = /*#__PURE__*/function () {
17777
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
18217
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(str) {
17778
18218
  var res;
17779
18219
  return _regeneratorRuntime().wrap(function _callee$(_context) {
17780
18220
  while (1) switch (_context.prev = _context.next) {
@@ -17796,7 +18236,7 @@ var ChooseStore = function ChooseStore(props) {
17796
18236
  };
17797
18237
  }();
17798
18238
  useEffect(function () {
17799
- _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
18239
+ _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
17800
18240
  var res;
17801
18241
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
17802
18242
  while (1) switch (_context2.prev = _context2.next) {
@@ -17922,8 +18362,8 @@ var ChooseStore = function ChooseStore(props) {
17922
18362
  }))))));
17923
18363
  };
17924
18364
 
17925
- var css_248z$k = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005cff;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
17926
- styleInject(css_248z$k);
18365
+ var css_248z$l = ".headerContent {\n position: relative;\n display: flex;\n align-items: center;\n height: 100%;\n background: #F3F3F3;\n box-shadow: 0 1px 4px #EBECEC;\n padding-left: 47px;\n}\n.navigationBtn {\n display: inline-block;\n height: 32px;\n line-height: 32px;\n border-radius: 5px;\n margin-right: 15px;\n padding: 0 10px;\n background-color: #F4F6F7;\n cursor: pointer;\n color: rgba(0, 0, 0, 0.5);\n}\n.navigationBtn:hover {\n border-color: #297eff;\n border-right-width: 1px;\n z-index: 1;\n}\n.headerContent {\n background-color: #ffffff;\n}\n.headerContent .ant-input-affix-wrapper,\n.headerContent .ant-input {\n color: rgba(0, 0, 0, 0.5);\n}\n.searchPanel {\n position: absolute;\n top: 36;\n left: 0;\n min-width: 268px;\n height: 220px;\n box-shadow: 0 1px 4px #EBECEC;\n background-color: #FFFFFF;\n overflow-y: auto;\n box-shadow: 0px 2px 4px 0px rgba(185, 185, 185, 0.5);\n padding: 0 10px;\n}\n.searchTitle {\n margin-top: 20px;\n font-size: 14px;\n font-weight: 400;\n text-align: left;\n color: #8c8c8c;\n}\n.themeColor {\n color: #005cff;\n}\n.itemPath {\n height: 30px;\n line-height: 30px;\n width: 100%;\n cursor: pointer;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.itemPath:hover {\n background-color: #E6EEFF;\n}\n";
18366
+ styleInject(css_248z$l);
17927
18367
 
17928
18368
  var judgeIsEmpty$2 = function judgeIsEmpty(value) {
17929
18369
  if (value == null || value == undefined || String(value).trim() == '') {
@@ -17961,7 +18401,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17961
18401
  var resultList = [];
17962
18402
  var newRouter = cloneDeep$1(router);
17963
18403
  var btnAuth = JSON.parse(localStorage.getItem(getMenuAuthDataKey()) || '[]');
17964
- var _deep = function deep(router) {
18404
+ var deep = function deep(router) {
17965
18405
  if (router && Array.isArray(router)) {
17966
18406
  router.forEach(function (item) {
17967
18407
  if (item.routes && Array.isArray(item.routes)) {
@@ -17971,7 +18411,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17971
18411
  d.nameEdit = true;
17972
18412
  }
17973
18413
  });
17974
- _deep(item.routes);
18414
+ deep(item.routes);
17975
18415
  } else if (!item.hideInMenu && (name ? formatMessage({
17976
18416
  id: "menu.".concat(item.name)
17977
18417
  }).indexOf(name) !== -1 : true)) {
@@ -17990,7 +18430,7 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
17990
18430
  }));
17991
18431
  }
17992
18432
  };
17993
- _deep(newRouter);
18433
+ deep(newRouter);
17994
18434
  setroutesData([].concat(resultList));
17995
18435
  };
17996
18436
  var renderLineStyl = function renderLineStyl(name) {
@@ -18072,22 +18512,22 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
18072
18512
  },
18073
18513
  title: item.fullPathName
18074
18514
  }, renderLineStyl(item.fullPathName));
18075
- }))))), showSelectStore && (/*#__PURE__*/React$1.createElement(ChooseStore, {
18515
+ }))))), showSelectStore && ( /*#__PURE__*/React$1.createElement(ChooseStore, {
18076
18516
  employeeCode: employeeCode
18077
18517
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
18078
18518
  };
18079
18519
 
18080
18520
  var addIcon = "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%3E%E7%BC%96%E7%BB%84%2014%401x%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%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%E8%87%AA%E5%AE%9A%E4%B9%89%E5%B7%A6%E4%BE%A7%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-21.000000%2C%20-71.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-6%22%20transform%3D%22translate%280.000000%2C%2060.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%BC%96%E7%BB%84-15%22%20transform%3D%22translate%2821.000000%2C%2010.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-14%22%20transform%3D%22translate%280.000000%2C%201.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%3Crect%20id%3D%22%E7%9F%A9%E5%BD%A2%22%20fill%3D%22%23D8D8D8%22%20opacity%3D%220%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%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%284.000000%2C%204.000000%29%22%20fill%3D%22%23B1BAD4%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%3Cpath%20d%3D%22M8%2C0%20C12.4183529%2C0%2016%2C3.58164706%2016%2C8%20C16%2C12.4183529%2012.4183529%2C16%208%2C16%20C3.58164706%2C16%200%2C12.4183529%200%2C8%20C0%2C3.58164706%203.58164706%2C0%208%2C0%20Z%20M8%2C1.4117647%20C4.36141178%2C1.4117647%201.4117647%2C4.36141175%201.4117647%2C8%20C1.4117647%2C11.6385882%204.36141175%2C14.5882353%208%2C14.5882353%20C11.6385882%2C14.5882353%2014.5882353%2C11.6385882%2014.5882353%2C8%20C14.5882353%2C4.36141175%2011.6385882%2C1.4117647%208%2C1.4117647%20Z%20M8.70588235%2C3.76470589%20L8.70588235%2C7.29411765%20L12.2352941%2C7.29411765%20L12.2352941%2C8.70588235%20L8.70588235%2C8.70588235%20L8.70588235%2C12.2352941%20L7.29411765%2C12.2352941%20L7.29411765%2C8.70541177%20L3.76470589%2C8.70588235%20L3.76470589%2C7.29411765%20L7.29411765%2C7.29364707%20L7.29411765%2C3.76470589%20L8.70588235%2C3.76470589%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%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";
18081
18521
 
18082
- var css_248z$l = ".setting_content > div {\n width: 50%;\n box-sizing: border-box;\n margin: 0 10px;\n}\n.setting_content {\n display: flex;\n}\n.tree_title {\n height: 50px;\n}\n.tree_content {\n height: 400px;\n overflow: auto;\n border: 1px solid #d9d9d9;\n padding: 5px;\n}\n.setting_content::after {\n clear: both;\n display: block;\n content: '';\n}\n.choosed_label_color {\n color: #f50;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n flex-grow: 1;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper .ant-tree-title {\n width: 100%;\n}\n.left_tree_content .ant-tree .ant-tree-treenode {\n width: 100%;\n}\n.right_tree_content .ant-tree .ant-tree-node-content-wrapper,\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n display: flex;\n margin-left: -3px;\n}\n.right_tree_content .ant-tree-checkbox,\n.left_tree_content .ant-tree-checkbox {\n top: auto;\n top: initial;\n}\n.node_title_content:hover .right_arrow {\n display: block !important;\n}\n.right_arrow {\n float: right;\n display: none;\n color: #999999;\n margin-right: 10px;\n}\n.right_tree_content .ant-tree-title {\n width: 100%;\n display: inline-block;\n padding-right: 10px;\n}\n.right_tree_content .ant-dropdown-trigger {\n color: gray !important;\n}\n.right_tree_content .tree_node_title {\n font-size: 20px;\n color: #d9d9d9;\n float: right;\n}\n.right_tree_content .tree_node_title span {\n margin-right: 5px;\n}\n";
18083
- styleInject(css_248z$l);
18522
+ var css_248z$m = ".setting_content > div {\n width: 50%;\n box-sizing: border-box;\n margin: 0 10px;\n}\n.setting_content {\n display: flex;\n}\n.tree_title {\n height: 50px;\n}\n.tree_content {\n height: 400px;\n overflow: auto;\n border: 1px solid #d9d9d9;\n padding: 5px;\n}\n.setting_content::after {\n clear: both;\n display: block;\n content: '';\n}\n.choosed_label_color {\n color: #f50;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n flex-grow: 1;\n}\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper .ant-tree-title {\n width: 100%;\n}\n.left_tree_content .ant-tree .ant-tree-treenode {\n width: 100%;\n}\n.right_tree_content .ant-tree .ant-tree-node-content-wrapper,\n.left_tree_content .ant-tree .ant-tree-node-content-wrapper {\n display: flex;\n margin-left: -3px;\n}\n.right_tree_content .ant-tree-checkbox,\n.left_tree_content .ant-tree-checkbox {\n top: auto;\n top: initial;\n}\n.node_title_content:hover .right_arrow {\n display: block !important;\n}\n.right_arrow {\n float: right;\n display: none;\n color: #999999;\n margin-right: 10px;\n}\n.right_tree_content .ant-tree-title {\n width: 100%;\n display: inline-block;\n padding-right: 10px;\n}\n.right_tree_content .ant-dropdown-trigger {\n color: gray !important;\n}\n.right_tree_content .tree_node_title {\n font-size: 20px;\n color: #d9d9d9;\n float: right;\n}\n.right_tree_content .tree_node_title span {\n margin-right: 5px;\n}\n";
18523
+ styleInject(css_248z$m);
18084
18524
 
18085
18525
  var arrowRight = "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%3E%E7%BC%96%E7%BB%84%20186%E5%A4%87%E4%BB%BD%203%3C%2Ftitle%3E%20%20%20%20%3Cg%20id%3D%22%E5%85%A8%E5%B1%80%E5%AF%BC%E8%88%AA%E7%9B%B8%E5%85%B3%E5%8A%9F%E8%83%BD%E9%9C%80%E6%B1%82%E8%AE%BE%E8%AE%A1%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%E8%87%AA%E5%AE%9A%E4%B9%89%E8%8F%9C%E5%8D%95%22%20transform%3D%22translate%28-949.000000%2C%20-484.000000%29%22%20fill-rule%3D%22nonzero%22%3E%20%20%20%20%20%20%20%20%20%20%20%20%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-8%22%20transform%3D%22translate%28534.000000%2C%20180.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%B1%BB%E7%9B%AE%E4%B8%80%E5%A4%87%E4%BB%BD-101%22%20transform%3D%22translate%2831.000000%2C%20298.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-186%E5%A4%87%E4%BB%BD-2%22%20transform%3D%22translate%28384.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%3Cg%20id%3D%22%E7%BC%96%E7%BB%84-132%E5%A4%87%E4%BB%BD-85%22%20opacity%3D%220%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%3Cpath%20d%3D%22M24%2C0%20L24%2C24%20L0%2C24%20L0%2C0%20L24%2C0%20Z%20M23.765625%2C0.234375%20L0.234375%2C0.234375%20L0.234375%2C23.765625%20L23.765625%2C23.765625%20L23.765625%2C0.234375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-235%22%20fill%3D%22%23979797%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%3Cpath%20d%3D%22M21.39%2C2.64%20L21.39%2C21.39%20L2.64%2C21.39%20L2.64%2C2.64%20L21.39%2C2.64%20Z%20M21.155625%2C2.874375%20L2.874375%2C2.874375%20L2.874375%2C21.155625%20L21.155625%2C21.155625%20L21.155625%2C2.874375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-236%22%20fill%3D%22%23979797%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%3Cpath%20d%3D%22M20.22%2C1.56%20L20.22%2C22.56%20L3.72%2C22.56%20L3.72%2C1.56%20L20.22%2C1.56%20Z%20M19.985625%2C1.794375%20L3.954375%2C1.794375%20L3.954375%2C22.325625%20L19.985625%2C22.325625%20L19.985625%2C1.794375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-237%22%20fill%3D%22%23FA6400%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%3Cpath%20d%3D%22M22.56%2C3.72%20L22.56%2C20.22%20L1.56%2C20.22%20L1.56%2C3.72%20L22.56%2C3.72%20Z%20M22.325625%2C3.954375%20L1.794375%2C3.954375%20L1.794375%2C19.985625%20L22.325625%2C19.985625%20L22.325625%2C3.954375%20Z%22%20id%3D%22%E7%9F%A9%E5%BD%A2%E5%A4%87%E4%BB%BD-238%22%20fill%3D%22%2344D7B6%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%3Cpath%20d%3D%22M12.06%2C1.56%20C17.8589899%2C1.56%2022.56%2C6.26101013%2022.56%2C12.06%20C22.56%2C17.8589899%2017.8589899%2C22.56%2012.06%2C22.56%20C6.26101013%2C22.56%201.56%2C17.8589899%201.56%2C12.06%20C1.56%2C6.26101013%206.26101013%2C1.56%2012.06%2C1.56%20Z%20M12.06%2C1.794375%20C6.39045187%2C1.794375%201.794375%2C6.39045187%201.794375%2C12.06%20C1.794375%2C17.7295481%206.39045187%2C22.325625%2012.06%2C22.325625%20C17.7295481%2C22.325625%2022.325625%2C17.7295481%2022.325625%2C12.06%20C22.325625%2C6.39045187%2017.7295481%2C1.794375%2012.06%2C1.794375%20Z%22%20id%3D%22%E6%A4%AD%E5%9C%86%E5%BD%A2%E5%A4%87%E4%BB%BD-59%22%20fill%3D%22%23F7B500%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%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%3Cg%20id%3D%22%E7%BC%96%E7%BB%84%E5%A4%87%E4%BB%BD-43%22%20transform%3D%22translate%281.560000%2C%201.680000%29%22%20fill%3D%22%23999999%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%3Cpath%20d%3D%22M10.44%2C0%20C16.2059506%2C0%2020.88%2C4.67404941%2020.88%2C10.44%20C20.88%2C16.2059506%2016.2059506%2C20.88%2010.44%2C20.88%20C4.67404941%2C20.88%200%2C16.2059506%200%2C10.44%20C0%2C4.67404941%204.67404941%2C0%2010.44%2C0%20Z%20M10.44%2C1.84235294%20C5.69164237%2C1.84235294%201.84235294%2C5.69164234%201.84235294%2C10.44%20C1.84235294%2C15.1883577%205.69164234%2C19.0376471%2010.44%2C19.0376471%20C15.1883577%2C19.0376471%2019.0376471%2C15.1883577%2019.0376471%2C10.44%20C19.0376471%2C5.69164234%2015.1883577%2C1.84235294%2010.44%2C1.84235294%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%3Cpolygon%20id%3D%22%E5%BD%A2%E7%8A%B6%22%20points%3D%2210.4408066%206.32%2014.3966662%2010.2757133%2010.4408066%2014.2314265%209.2540487%2013.0447125%2011.1949264%2011.1039067%206%2011.1033618%206%209.42518043%2011.1725861%209.42518043%209.25459358%207.50671398%2010.4408066%206.32%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";
18086
18526
 
18087
18527
  var TreeNode = Tree.TreeNode;
18088
18528
  var Search$2 = Input.Search;
18089
18529
  var dataList = [];
18090
- var _generateList = function generateList(data) {
18530
+ var generateList = function generateList(data) {
18091
18531
  for (var i = 0; i < data.length; i++) {
18092
18532
  var node = data[i];
18093
18533
  var path = node.path,
@@ -18097,11 +18537,11 @@ var _generateList = function generateList(data) {
18097
18537
  name: name
18098
18538
  });
18099
18539
  if (node.children) {
18100
- _generateList(node.children);
18540
+ generateList(node.children);
18101
18541
  }
18102
18542
  }
18103
18543
  };
18104
- var _getParentKey = function getParentKey(path, tree) {
18544
+ var getParentKey = function getParentKey(path, tree) {
18105
18545
  var parentKey;
18106
18546
  for (var i = 0; i < tree.length; i++) {
18107
18547
  var node = tree[i];
@@ -18110,8 +18550,8 @@ var _getParentKey = function getParentKey(path, tree) {
18110
18550
  return item.path === path;
18111
18551
  })) {
18112
18552
  parentKey = node.path;
18113
- } else if (_getParentKey(path, node.children)) {
18114
- parentKey = _getParentKey(path, node.children);
18553
+ } else if (getParentKey(path, node.children)) {
18554
+ parentKey = getParentKey(path, node.children);
18115
18555
  }
18116
18556
  }
18117
18557
  }
@@ -18142,7 +18582,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18142
18582
  var treeData = _this.state.treeData;
18143
18583
  var expandedKeys = dataList.map(function (item) {
18144
18584
  if (item.name.indexOf(value) > -1) {
18145
- return _getParentKey(item.path, treeData);
18585
+ return getParentKey(item.path, treeData);
18146
18586
  }
18147
18587
  return null;
18148
18588
  }).filter(function (item, i, self) {
@@ -18156,22 +18596,22 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18156
18596
  };
18157
18597
  _this.getPathList = function (originData) {
18158
18598
  var pathList = [];
18159
- var _getList = function getList(data) {
18599
+ var getList = function getList(data) {
18160
18600
  if (Array.isArray(data)) {
18161
18601
  data.forEach(function (item) {
18162
18602
  pathList.push(item.path);
18163
18603
  if (item.children) {
18164
- _getList(item.children);
18604
+ getList(item.children);
18165
18605
  }
18166
18606
  });
18167
18607
  } else {
18168
18608
  pathList.push(data.path);
18169
18609
  if (data.children) {
18170
- _getList(data.children);
18610
+ getList(data.children);
18171
18611
  }
18172
18612
  }
18173
18613
  };
18174
- _getList(originData);
18614
+ getList(originData);
18175
18615
  return pathList;
18176
18616
  };
18177
18617
  _this.handleAdd2Menu = function (path) {
@@ -18180,18 +18620,18 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18180
18620
  customerMenuData = _this$props.customerMenuData,
18181
18621
  setCustomerMenuData = _this$props.setCustomerMenuData;
18182
18622
  var filterItem;
18183
- var _filterMenuItem = function filterMenuItem(menuData) {
18623
+ var filterMenuItem = function filterMenuItem(menuData) {
18184
18624
  menuData.forEach(function (item) {
18185
18625
  if (item.path === path) {
18186
18626
  filterItem = _objectSpread2({}, item);
18187
18627
  return;
18188
18628
  }
18189
18629
  if (item.children) {
18190
- _filterMenuItem(item.children);
18630
+ filterMenuItem(item.children);
18191
18631
  }
18192
18632
  });
18193
18633
  };
18194
- _filterMenuItem(treeData);
18634
+ filterMenuItem(treeData);
18195
18635
  var addPathList = _this.getPathList(filterItem);
18196
18636
  var oldPathList = _this.getPathList(customerMenuData);
18197
18637
  var isRepet = false;
@@ -18221,8 +18661,8 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18221
18661
  return item.path === '/';
18222
18662
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
18223
18663
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
18224
- _setMenuTreeData(routesData);
18225
- _generateList(routesData);
18664
+ setMenuTreeData(routesData);
18665
+ generateList(routesData);
18226
18666
  this.setState({
18227
18667
  treeData: routesData
18228
18668
  });
@@ -18236,16 +18676,16 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18236
18676
  expandedKeys = _this$state.expandedKeys,
18237
18677
  autoExpandParent = _this$state.autoExpandParent,
18238
18678
  treeData = _this$state.treeData;
18239
- var _loop = function loop(data) {
18679
+ var loop = function loop(data) {
18240
18680
  return data.map(function (item) {
18241
18681
  var index = item.name.indexOf(searchValue);
18242
18682
  var beforeStr = item.name.substr(0, index);
18243
18683
  var afterStr = item.name.substr(index + searchValue.length);
18244
- var name = index > -1 ? (/*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
18684
+ var name = index > -1 ? ( /*#__PURE__*/React$1.createElement("span", null, beforeStr, /*#__PURE__*/React$1.createElement("span", {
18245
18685
  style: {
18246
18686
  color: '#f50'
18247
18687
  }
18248
- }, searchValue), afterStr)) : (/*#__PURE__*/React$1.createElement("span", null, item.name));
18688
+ }, searchValue), afterStr)) : ( /*#__PURE__*/React$1.createElement("span", null, item.name));
18249
18689
  if (item.children && item.children.length) {
18250
18690
  return /*#__PURE__*/React$1.createElement(TreeNode, {
18251
18691
  path: item.path,
@@ -18267,7 +18707,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18267
18707
  width: 18,
18268
18708
  src: arrowRight
18269
18709
  }))))
18270
- }, _loop(item.children));
18710
+ }, loop(item.children));
18271
18711
  }
18272
18712
  return /*#__PURE__*/React$1.createElement(TreeNode, {
18273
18713
  path: item.path,
@@ -18317,7 +18757,7 @@ var LeftTree = /*#__PURE__*/function (_React$Component) {
18317
18757
  onExpand: this.onExpand,
18318
18758
  expandedKeys: expandedKeys,
18319
18759
  autoExpandParent: autoExpandParent
18320
- }, _loop(treeData))));
18760
+ }, loop(treeData))));
18321
18761
  }
18322
18762
  }]);
18323
18763
  }(React$1.Component);
@@ -18350,24 +18790,24 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18350
18790
  var dropPosition = info.dropPosition - Number(dropPos[dropPos.length - 1]);
18351
18791
  var dragObj;
18352
18792
  var finalDropItem;
18353
- var _loop = function loop(data, path, callback) {
18793
+ var loop = function loop(data, path, callback) {
18354
18794
  for (var i = 0; i < data.length; i++) {
18355
18795
  if (data[i].path === path) {
18356
18796
  return callback(data[i], i, data);
18357
18797
  }
18358
18798
  if (data[i].children) {
18359
- _loop(data[i].children, path, callback);
18799
+ loop(data[i].children, path, callback);
18360
18800
  }
18361
18801
  }
18362
18802
  };
18363
18803
  var data = JSON.parse(JSON.stringify(_this.props.customerMenuData));
18364
- _loop(data, dragKey, function (item, index, arr) {
18804
+ loop(data, dragKey, function (item, index, arr) {
18365
18805
  arr.splice(index, 1);
18366
18806
  dragObj = item;
18367
18807
  });
18368
18808
  if (!info.dropToGap) {
18369
18809
  // Drop on the content
18370
- _loop(data, dropKey, function (item) {
18810
+ loop(data, dropKey, function (item) {
18371
18811
  item.children = item.children || [];
18372
18812
  item.children.unshift(dragObj);
18373
18813
  finalDropItem = _objectSpread2({}, item);
@@ -18378,7 +18818,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18378
18818
  // Is expanded
18379
18819
  dropPosition === 1 // On the bottom gap
18380
18820
  ) {
18381
- _loop(data, dropKey, function (item) {
18821
+ loop(data, dropKey, function (item) {
18382
18822
  item.children = item.children || [];
18383
18823
  item.children.unshift(dragObj);
18384
18824
  finalDropItem = _objectSpread2({}, item);
@@ -18386,7 +18826,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18386
18826
  } else {
18387
18827
  var ar;
18388
18828
  var i;
18389
- _loop(data, dropKey, function (item, index, arr) {
18829
+ loop(data, dropKey, function (item, index, arr) {
18390
18830
  ar = arr;
18391
18831
  i = index;
18392
18832
  });
@@ -18425,17 +18865,17 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18425
18865
  title: '编辑名称',
18426
18866
  callBack: function callBack(newName) {
18427
18867
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
18428
- var _editTreeDataName = function editTreeDataName(oldTreeData) {
18868
+ var editTreeDataName = function editTreeDataName(oldTreeData) {
18429
18869
  oldTreeData.forEach(function (treeItem) {
18430
18870
  if (treeItem.path === item.path) {
18431
18871
  treeItem.name = newName;
18432
18872
  }
18433
18873
  if (treeItem.children) {
18434
- _editTreeDataName(treeItem.children);
18874
+ editTreeDataName(treeItem.children);
18435
18875
  }
18436
18876
  });
18437
18877
  };
18438
- _editTreeDataName(oldTreeData);
18878
+ editTreeDataName(oldTreeData);
18439
18879
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
18440
18880
  _this.setState({
18441
18881
  modalInfo: {
@@ -18480,7 +18920,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18480
18920
  title: '新增子目录',
18481
18921
  callBack: function callBack(newName) {
18482
18922
  var oldTreeData = JSON.parse(JSON.stringify(customerMenuData));
18483
- var _addChildFolder = function addChildFolder(oldTreeData) {
18923
+ var addChildFolder = function addChildFolder(oldTreeData) {
18484
18924
  oldTreeData.forEach(function (treeItem) {
18485
18925
  if (treeItem.path === item.path) {
18486
18926
  treeItem.children ? treeItem.children.push({
@@ -18492,11 +18932,11 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18492
18932
  }];
18493
18933
  }
18494
18934
  if (treeItem.children) {
18495
- _addChildFolder(treeItem.children);
18935
+ addChildFolder(treeItem.children);
18496
18936
  }
18497
18937
  });
18498
18938
  };
18499
- _addChildFolder(oldTreeData);
18939
+ addChildFolder(oldTreeData);
18500
18940
  _this.props.setCustomerMenuData(_toConsumableArray(oldTreeData));
18501
18941
  _this.setState({
18502
18942
  modalInfo: {
@@ -18555,7 +18995,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18555
18995
  var _this$state = this.state,
18556
18996
  modalInfo = _this$state.modalInfo,
18557
18997
  checkedKeys = _this$state.checkedKeys;
18558
- var _loop2 = function loop(data) {
18998
+ var loop = function loop(data) {
18559
18999
  return data.map(function (item) {
18560
19000
  if (item.children && item.children.length) {
18561
19001
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
@@ -18572,7 +19012,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18572
19012
  e.stopPropagation();
18573
19013
  }
18574
19014
  }, /*#__PURE__*/React$1.createElement(Space, null, /*#__PURE__*/React$1.createElement(EllipsisOutlined, null))))))
18575
- }, _loop2(item.children));
19015
+ }, loop(item.children));
18576
19016
  }
18577
19017
  return /*#__PURE__*/React$1.createElement(TreeNode$1, {
18578
19018
  path: item.path,
@@ -18651,7 +19091,7 @@ var rightTree = /*#__PURE__*/function (_React$Component) {
18651
19091
  children: 'children'
18652
19092
  },
18653
19093
  onDrop: this.onDrop
18654
- }, _loop2(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
19094
+ }, loop(this.props.customerMenuData))), /*#__PURE__*/React$1.createElement(Modal, {
18655
19095
  width: 600,
18656
19096
  bodyStyle: {
18657
19097
  paddingTop: '32px',
@@ -18707,8 +19147,8 @@ var MenuSetting = /*#__PURE__*/forwardRef(function (_ref, ref) {
18707
19147
  }));
18708
19148
  });
18709
19149
 
18710
- var css_248z$m = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 45px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #E4E7ED;\n cursor: pointer;\n}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
18711
- styleInject(css_248z$m);
19150
+ var css_248z$n = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 45px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.customer_menu_content .ant-drawer-body {\n padding: 10px !important;\n}\n.menu_drawer_header_warp .ant-drawer-body {\n background-color: #F8F9FA;\n padding: 10px 0 0 0 !important;\n}\n.menu_title_line {\n font-size: 16px;\n font-weight: bold;\n color: #b1bad4;\n text-align: center;\n margin-bottom: 10px;\n}\n.menu_item {\n line-height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #E4E7ED;\n cursor: pointer;\n}\n.header_style {\n height: 50px;\n position: fixed;\n top: 0;\n left: 0;\n padding: 0;\n display: flex;\n align-items: center;\n background-color: #ffffff;\n}\n.global_menu_draw .ant-drawer-body {\n padding: 10px !important;\n}\n";
19151
+ styleInject(css_248z$n);
18712
19152
 
18713
19153
  var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18714
19154
  var isCollapse = _ref.isCollapse,
@@ -18764,7 +19204,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18764
19204
  pathname: item.path
18765
19205
  });
18766
19206
  };
18767
- var _getMenuDom = function getMenuDom(menuData) {
19207
+ var getMenuDom = function getMenuDom(menuData) {
18768
19208
  return menuData.map(function (item) {
18769
19209
  return /*#__PURE__*/React$1.createElement("div", {
18770
19210
  style: {
@@ -18779,7 +19219,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18779
19219
  fontWeight: item.children || !item.component ? 'bolder' : '400',
18780
19220
  paddingLeft: '4px'
18781
19221
  }
18782
- }, item.name), !!item.children && !!item.children.length && _getMenuDom(item.children));
19222
+ }, item.name), !!item.children && !!item.children.length && getMenuDom(item.children));
18783
19223
  });
18784
19224
  };
18785
19225
  return /*#__PURE__*/React$1.createElement("div", {
@@ -18805,7 +19245,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18805
19245
  style: {
18806
19246
  paddingLeft: '5px'
18807
19247
  }
18808
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
19248
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && ( /*#__PURE__*/React$1.createElement(Drawer$1, {
18809
19249
  style: {
18810
19250
  left: isDrawer ? 140 : 0
18811
19251
  },
@@ -18826,7 +19266,7 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18826
19266
  visible: isDrawer
18827
19267
  }, /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("p", {
18828
19268
  className: 'menu_title_line'
18829
- }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), _getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
19269
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355"), getMenuDom(menuData)))), /*#__PURE__*/React$1.createElement(Modal, _objectSpread2({
18830
19270
  title: /*#__PURE__*/React$1.createElement("span", {
18831
19271
  style: {
18832
19272
  fontWeight: '600',
@@ -18844,8 +19284,8 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
18844
19284
  })));
18845
19285
  });
18846
19286
 
18847
- var css_248z$n = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #005cff !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #005CFF;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #005CFF;\n}\n";
18848
- styleInject(css_248z$n);
19287
+ var css_248z$o = ".menu .anticon {\n margin-right: 8px;\n}\n.menu .ant-dropdown-menu-item {\n min-width: 160px;\n}\n.right {\n display: flex;\n float: right;\n height: 48px;\n margin-left: auto;\n overflow: hidden;\n}\n.right .action {\n display: flex;\n align-items: center;\n height: 48px;\n padding: 0 12px;\n cursor: pointer;\n transition: all 0.3s;\n}\n.right .action > span {\n vertical-align: middle;\n}\n.right .action:hover {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .action .opened {\n background: rgba(0, 0, 0, 0.025);\n}\n.right .search {\n padding: 0 12px;\n}\n.right .search:hover {\n background: transparent;\n}\n.right .account .avatar {\n margin-right: 8px;\n color: #005cff;\n vertical-align: top;\n background: rgba(255, 255, 255, 0.85);\n}\n.dark .action:hover {\n background: #252a3d;\n}\n.dark .action .opened {\n background: #252a3d;\n}\n.global_menu_draw_content {\n display: flex;\n height: 100%;\n}\n.global_menu_draw_content .allFunsList {\n margin-bottom: 10px;\n}\n.global_menu_draw_content .drawerWarp_left {\n width: 150px;\n height: 100%;\n flex-shrink: 0;\n border-right: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_left .left_item_title {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 12px;\n color: #8c8c8c;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item {\n font-family: PingFangSC-Regular;\n font-weight: 400;\n font-size: 14px;\n color: #000000;\n letter-spacing: 0;\n line-height: 20px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n cursor: pointer;\n margin: 20px 0px;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_left .left_item:hover {\n color: #005cff !important;\n}\n.global_menu_draw_content .drawerWarp_right {\n -moz-column-count: 4;\n column-count: 4;\n flex-grow: 1;\n padding-left: 10px;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header {\n padding: 0 0 0 10px !important;\n line-height: 30px;\n border: 0px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-header b {\n width: 100%;\n box-sizing: border-box;\n display: inline-block;\n border-bottom: 1px solid #f0f0f0;\n}\n.global_menu_draw_content .drawerWarp_right .ant-list-item {\n padding: 0 0 0 10px !important;\n line-height: 30px !important;\n}\n.global_menu_draw_content .drawerWarp_right .ant-drawer-close {\n position: absolute;\n right: 0;\n}\n.global_menu_draw_content .search_menu_content {\n flex-grow: 1;\n display: flex;\n flex-wrap: wrap;\n background-color: #ffffff;\n}\n.global_menu_draw_content .search_menu_content div {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 8px 20px;\n font-size: 14px;\n font-weight: 400;\n color: #000000;\n background: #f8f9fa;\n border-radius: 100px;\n margin-right: 10px;\n margin-bottom: 10px;\n}\n.global_menu_draw_content .search_menu_content div:hover {\n cursor: pointer;\n}\n.global_menu_draw_content .allFunsListWarp {\n width: 200px;\n margin-right: 10px;\n border-radius: 4px;\n -moz-column-break-inside: avoid;\n break-inside: avoid;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header {\n background-color: #005CFF;\n opacity: 0.8;\n}\n.global_menu_draw_content .choosedStyle .ant-list-header b {\n border-bottom: 1px solid #005CFF;\n}\n";
19288
+ styleInject(css_248z$o);
18849
19289
 
18850
19290
  var closeicon = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAiZJREFUSEvFll1LVFEUhh/1QqjAxALrot+ggR9RQWh1UZl9kNCtv8ALf0Q3/YVuiyIqLKOUyI80RP0VXVSU+UGKF2W88q7hzPacOY4QHhiGmVn7fdZe691rTwP/+WlI9Bv9eQfQq55HWqH3NxamgOz3+q0SWEJSYpFQVWIBUIDE+oARYBj4ATQBf0rEI+Yk8Ah4CHwEdjUDoHeRnwN3gBngJrBaAgnxVmAMOA88A4aKAAp8A5wzZABYK4Dkic8CWqPEdpPO9iB20Qa8BnqBae9EkCijKhbixx2rzOeAG8CvEFdg2uRYKIh20mOIslo3RGvUlxaLXwDmgesWr+pbnovyIFPe+oYbLnHV/CLw2eIreaUssmlATngn3YAg17yL8f2I55Uo68is/VSuLuC9AZeBBQN/1nJa0Q4ClHVKuEu/fXJZihxWSbQMEM5pBlQWHUQ9E+7JduKuPWeyFiDEj7mhl2xFrdE5+WAL/64FKQJkxV858yXgqq09CXQAer8FFELyAFnxl0A/sOiaf3cN2u2usy7X7SJI3rjW0DsKSFxuUeY6RN/sFjF00ARRXzrtLkE203LljQqJvwCuAMu2YojHZA13nTJE5XrnQSlIjJ3KqIgvjlhctZa4Mv9aMuxOu1yCvAXuAlvpsAvAU+DePsTTc5KFPAHup+M6GjsIjDrgS50XzhngMfDAtq66cNIRoUYf5MqUaNUNeCiXfsUB9fylcOyetf8AAkCfGYuSNSEAAAAASUVORK5CYII=";
18851
19291
 
@@ -18900,7 +19340,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18900
19340
  return item.path === '/';
18901
19341
  })) === null || _originRoutes$find === void 0 ? void 0 : _originRoutes$find.routes) || [];
18902
19342
  var routesData = JSON.parse(JSON.stringify(memoizeOneFormatter(showMenu, '')));
18903
- _setMenuTreeData(routesData);
19343
+ setMenuTreeData(routesData);
18904
19344
  routesData.forEach(function (item) {
18905
19345
  if (item.children) {
18906
19346
  routesDataList.push(item);
@@ -18930,7 +19370,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18930
19370
  setHeight(clientHeight - 190);
18931
19371
  setDrawHeight(clientHeight - 70);
18932
19372
  };
18933
- var _renderChildItem = function renderChildItem(child) {
19373
+ var renderChildItem = function renderChildItem(child) {
18934
19374
  if (!child.hideInMenu && child.children) {
18935
19375
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(List.Item, {
18936
19376
  style: {
@@ -18940,7 +19380,7 @@ var DrawContent$1 = function DrawContent(_ref) {
18940
19380
  }, formatMessage({
18941
19381
  id: "".concat(child.locale)
18942
19382
  })), child.children.map(function (menuItem) {
18943
- return _renderChildItem(menuItem);
19383
+ return renderChildItem(menuItem);
18944
19384
  }));
18945
19385
  } else if (!child.hideInMenu && child.path) {
18946
19386
  return /*#__PURE__*/React$1.createElement(List.Item, {
@@ -19082,7 +19522,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19082
19522
  onMenuClick(e, item);
19083
19523
  }
19084
19524
  }, item.name);
19085
- }))), !!SearhData.length ? (/*#__PURE__*/React$1.createElement("div", {
19525
+ }))), !!SearhData.length ? ( /*#__PURE__*/React$1.createElement("div", {
19086
19526
  className: 'search_menu_content'
19087
19527
  }, SearhData.map(function (item) {
19088
19528
  return /*#__PURE__*/React$1.createElement("div", {
@@ -19091,7 +19531,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19091
19531
  },
19092
19532
  key: item.path
19093
19533
  }, item.name);
19094
- }))) : (/*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
19534
+ }))) : ( /*#__PURE__*/React$1.createElement("div", null, /*#__PURE__*/React$1.createElement("div", {
19095
19535
  style: {
19096
19536
  height: "".concat(rightMenuHeight, "px"),
19097
19537
  overflowY: 'scroll',
@@ -19103,7 +19543,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19103
19543
  className: 'drawerWarp_right'
19104
19544
  }, homepageData && homepageData.filter(function (d) {
19105
19545
  return !d.hideInMenu;
19106
- }).length > 0 && (/*#__PURE__*/React$1.createElement(List, {
19546
+ }).length > 0 && ( /*#__PURE__*/React$1.createElement(List, {
19107
19547
  className: classNames('allFunsList', 'allFunsListWarp'),
19108
19548
  dataSource: homepageData,
19109
19549
  renderItem: function renderItem(child) {
@@ -19144,7 +19584,7 @@ var DrawContent$1 = function DrawContent(_ref) {
19144
19584
  bordered: true,
19145
19585
  dataSource: item.children,
19146
19586
  renderItem: function renderItem(child) {
19147
- return _renderChildItem(child);
19587
+ return renderChildItem(child);
19148
19588
  }
19149
19589
  });
19150
19590
  })), /*#__PURE__*/React$1.createElement("div", {
@@ -19260,8 +19700,8 @@ var CustomerMenuHeader = function CustomerMenuHeader(_ref) {
19260
19700
  })));
19261
19701
  };
19262
19702
 
19263
- var css_248z$o = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #005cff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
19264
- styleInject(css_248z$o);
19703
+ var css_248z$p = ".customer_menu_content {\n color: #b1bad4;\n background: #141620;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 18px;\n height: 40px;\n border-bottom: 1px solid #3d4047;\n}\n.customer_menu_content .ant-btn-link {\n color: #b1bad4 !important;\n font-size: 16px;\n height: 36px;\n}\n.menu_item {\n line-height: 30px;\n height: 30px;\n color: rgba(44, 47, 46);\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.link_style:hover {\n background-color: #e4e7ed;\n cursor: pointer;\n color: #005cff;\n}\n.sub_menu_content {\n box-shadow: 2px 0px 4px 0px rgba(185, 185, 185, 0.5);\n position: fixed;\n top: 50px;\n left: 140px;\n width: 200px;\n height: 100%;\n background-color: #fff;\n padding-top: 10px;\n z-index: 9999;\n}\n.tab_left_operate {\n display: flex;\n height: 28px;\n align-items: center;\n}\n.tab_left_operate > div {\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n cursor: pointer;\n}\n.tab_left_operate > div:last-child {\n box-shadow: 2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n}\n.tab_right_operate {\n height: 28px;\n width: 28px;\n font-size: 12px;\n color: #2C2F2ECC;\n display: flex;\n align-items: center;\n justify-content: center;\n border-right: 1px solid #E4E4E4;\n background-color: #fff;\n box-shadow: -2px -2px 4px 0px rgba(185, 185, 185, 0.9);\n z-index: 99;\n cursor: pointer;\n position: relative;\n}\n";
19704
+ styleInject(css_248z$p);
19265
19705
 
19266
19706
  /*
19267
19707
  * @Date: 2022-04-01 15:42:51
@@ -19302,10 +19742,10 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
19302
19742
  var limitedMenuData = localStorage.getItem(getLimitMenuDataKey()) ? JSON.parse(localStorage.getItem(getLimitMenuDataKey())) : [];
19303
19743
  var menuKeys = [];
19304
19744
  var docsId = [];
19305
- var _getLimitedMenuKeys = function getLimitedMenuKeys(data) {
19745
+ var getLimitedMenuKeys = function getLimitedMenuKeys(data) {
19306
19746
  data.forEach(function (item) {
19307
19747
  if (item.children && item.children.length > 0) {
19308
- _getLimitedMenuKeys(item.children);
19748
+ getLimitedMenuKeys(item.children);
19309
19749
  } else {
19310
19750
  var originPath = item.path.replace(/^\/\w+\//, '/');
19311
19751
  menuKeys.push(originPath);
@@ -19316,7 +19756,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
19316
19756
  });
19317
19757
  };
19318
19758
  try {
19319
- _getLimitedMenuKeys(limitedMenuData);
19759
+ getLimitedMenuKeys(limitedMenuData);
19320
19760
  } catch (e) {}
19321
19761
  return {
19322
19762
  menuKeys: menuKeys,
@@ -19550,10 +19990,10 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19550
19990
  return (node.path || '').includes('all-general-documents');
19551
19991
  };
19552
19992
  // 递归获取树列表
19553
- var _getTreeList = function getTreeList(data) {
19993
+ var getTreeList = function getTreeList(data) {
19554
19994
  data.forEach(function (node) {
19555
19995
  if (node.routes && node.routes.length > 0) {
19556
- _getTreeList(node.routes);
19996
+ getTreeList(node.routes);
19557
19997
  return;
19558
19998
  }
19559
19999
  // todo:暂时处理非wujie环境不做404管控
@@ -19584,7 +20024,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
19584
20024
  }
19585
20025
  });
19586
20026
  };
19587
- _getTreeList(treeData);
20027
+ getTreeList(treeData);
19588
20028
  return treeList;
19589
20029
  };
19590
20030
  _this.getDictionarySource = function (dicCode) {
@@ -20100,10 +20540,22 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20100
20540
  query: route.query,
20101
20541
  match: match,
20102
20542
  key: currentKey,
20543
+ state: route.state,
20103
20544
  tab: _this2.getPageTitle(route.pathname) + ''
20104
20545
  })]);
20105
20546
  newListenRouterKey = [].concat(_toConsumableArray(listenRouterKey), [currentKey]);
20106
20547
  }
20548
+ } else {
20549
+ // 更新已存储路由的query和state
20550
+ newListenRouterState = newListenRouterState.map(function (item) {
20551
+ if (item.key === currentKey) {
20552
+ return _objectSpread2(_objectSpread2({}, item), {}, {
20553
+ query: route.query,
20554
+ state: route.state
20555
+ });
20556
+ }
20557
+ return item;
20558
+ });
20107
20559
  }
20108
20560
  // -------------------处理页签关闭----------------------------
20109
20561
  lastTwoRouterArray.push(route.pathname);
@@ -20201,7 +20653,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20201
20653
  updateState = _ref8.updateState;
20202
20654
  return /*#__PURE__*/React$1.createElement("div", {
20203
20655
  className: "tab_title_content"
20204
- }, item.tab, item.key !== '/' && (/*#__PURE__*/React$1.createElement(ItemMenu, {
20656
+ }, item.tab, item.key !== '/' && ( /*#__PURE__*/React$1.createElement(ItemMenu, {
20205
20657
  info: item,
20206
20658
  operateFun: _this3.operateFun,
20207
20659
  listenRouterState: listenRouterState
@@ -20337,7 +20789,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20337
20789
  };
20338
20790
  }
20339
20791
  var OperationsSlot = {
20340
- left: (/*#__PURE__*/React$1.createElement("div", {
20792
+ left: ( /*#__PURE__*/React$1.createElement("div", {
20341
20793
  className: 'tab_left_operate'
20342
20794
  }, /*#__PURE__*/React$1.createElement("div", {
20343
20795
  onClick: function onClick() {
@@ -20353,7 +20805,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20353
20805
  _this3.setTabNavTransLate(-100);
20354
20806
  }
20355
20807
  }, /*#__PURE__*/React$1.createElement(DoubleLeftOutlined, null)))),
20356
- right: (/*#__PURE__*/React$1.createElement("div", {
20808
+ right: ( /*#__PURE__*/React$1.createElement("div", {
20357
20809
  style: {
20358
20810
  opacity: this.state.isSlider ? 1 : 0.5
20359
20811
  },
@@ -20451,7 +20903,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20451
20903
  onMouseLeave: function onMouseLeave() {
20452
20904
  _this3.setShowMenu(false);
20453
20905
  }
20454
- }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && (/*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
20906
+ }, defaultDom, showSubMenu && currentSubPath === menuItemProps.path && !collapse && ( /*#__PURE__*/React$1.createElement(CaretLeftOutlined, {
20455
20907
  style: {
20456
20908
  position: 'absolute',
20457
20909
  top: '14px',
@@ -20470,7 +20922,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20470
20922
  postMenuData: function postMenuData(menus) {
20471
20923
  return _toConsumableArray(filterByMenuDate(menus || [], _this3.state.keyWord));
20472
20924
  },
20473
- links: [!this.state.collapse ? (/*#__PURE__*/React$1.createElement(AllFunc$1, {
20925
+ links: [!this.state.collapse ? ( /*#__PURE__*/React$1.createElement(AllFunc$1, {
20474
20926
  ref: this.allFunc,
20475
20927
  itemPath: itemPath,
20476
20928
  handleClose: this.handleClose,
@@ -20488,7 +20940,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20488
20940
  },
20489
20941
  menu: {
20490
20942
  request: function () {
20491
- var _request = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20943
+ var _request = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
20492
20944
  return _regeneratorRuntime().wrap(function _callee$(_context) {
20493
20945
  while (1) switch (_context.prev = _context.next) {
20494
20946
  case 0:
@@ -20556,7 +21008,8 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
20556
21008
  getDictionarySource: _this3.getDictionarySource,
20557
21009
  getDictionaryTextByValue: _this3.getDictionaryTextByValue,
20558
21010
  timeFormat: _this3.timeFormat,
20559
- transparentProps: transparentProps
21011
+ transparentProps: transparentProps,
21012
+ activeKey: activeKey
20560
21013
  }));
20561
21014
  })), /*#__PURE__*/React$1.createElement("div", {
20562
21015
  className: "globalTabsOper",
@@ -20607,6 +21060,9 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
20607
21060
  // 适配wujie环境主应用下渲染打印编辑器
20608
21061
  return true;
20609
21062
  }
21063
+ if (nextProps.activeKey === nextProps.item.key && JSON.stringify(nextProps.item) !== JSON.stringify(this.props.item)) {
21064
+ return true;
21065
+ }
20610
21066
  return false;
20611
21067
  }
20612
21068
  }, {
@@ -20619,7 +21075,7 @@ var WrapperComponent = /*#__PURE__*/function (_React$Component) {
20619
21075
  getDictionaryTextByValue = _this$props4.getDictionaryTextByValue,
20620
21076
  timeFormat = _this$props4.timeFormat,
20621
21077
  transparentProps = _this$props4.transparentProps;
20622
- 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({
21078
+ 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({
20623
21079
  getDictionarySource: getDictionarySource,
20624
21080
  getDictionaryTextByValue: getDictionaryTextByValue,
20625
21081
  timeFormat: timeFormat
@@ -20643,12 +21099,12 @@ var index$5 = (function (props) {
20643
21099
  });
20644
21100
 
20645
21101
  // @ts-nocheck
20646
- var _getAllColumns = function getAllColumns(columns) {
21102
+ var getAllColumns = function getAllColumns(columns) {
20647
21103
  var result = [];
20648
21104
  columns.forEach(function (column) {
20649
21105
  if (column.children) {
20650
21106
  result.push(column);
20651
- result.push.apply(result, _getAllColumns(column.children));
21107
+ result.push.apply(result, getAllColumns(column.children));
20652
21108
  } else {
20653
21109
  result.push(column);
20654
21110
  }
@@ -20657,7 +21113,7 @@ var _getAllColumns = function getAllColumns(columns) {
20657
21113
  };
20658
21114
  var convertToRows = function convertToRows(originColumns) {
20659
21115
  var maxLevel = 1;
20660
- var _traverse = function traverse(column, parent) {
21116
+ var traverse = function traverse(column, parent) {
20661
21117
  if (parent) {
20662
21118
  column.level = parent.level + 1;
20663
21119
  if (maxLevel < column.level) {
@@ -20667,7 +21123,7 @@ var convertToRows = function convertToRows(originColumns) {
20667
21123
  if (column.children) {
20668
21124
  var colSpan = 0;
20669
21125
  column.children.forEach(function (subColumn) {
20670
- _traverse(subColumn, column);
21126
+ traverse(subColumn, column);
20671
21127
  colSpan += subColumn.colSpan;
20672
21128
  });
20673
21129
  column.colSpan = colSpan;
@@ -20677,13 +21133,13 @@ var convertToRows = function convertToRows(originColumns) {
20677
21133
  };
20678
21134
  originColumns.forEach(function (column) {
20679
21135
  column.level = 1;
20680
- _traverse(column);
21136
+ traverse(column);
20681
21137
  });
20682
21138
  var rows = [];
20683
21139
  for (var i = 0; i < maxLevel; i++) {
20684
21140
  rows.push([]);
20685
21141
  }
20686
- var allColumns = _getAllColumns(originColumns);
21142
+ var allColumns = getAllColumns(originColumns);
20687
21143
  allColumns.forEach(function (column) {
20688
21144
  if (!column.children) {
20689
21145
  column.rowSpan = maxLevel - column.level + 1;
@@ -20723,7 +21179,7 @@ var convertToRows = function convertToRows(originColumns) {
20723
21179
  };
20724
21180
  var headersToRows = function headersToRows(originColumns) {
20725
21181
  var maxLevel = 1;
20726
- var _traverse2 = function traverse(column, parent) {
21182
+ var traverse = function traverse(column, parent) {
20727
21183
  if (parent) {
20728
21184
  //计算当前元素属于第几个层级
20729
21185
  column.level = parent.level + 1;
@@ -20736,7 +21192,7 @@ var headersToRows = function headersToRows(originColumns) {
20736
21192
  var colSpan = 0;
20737
21193
  column.children.forEach(function (subColumn) {
20738
21194
  //进行递归
20739
- _traverse2(subColumn, column);
21195
+ traverse(subColumn, column);
20740
21196
  colSpan += subColumn.colSpan;
20741
21197
  });
20742
21198
  column.colSpan = colSpan;
@@ -20746,14 +21202,14 @@ var headersToRows = function headersToRows(originColumns) {
20746
21202
  };
20747
21203
  originColumns.forEach(function (column) {
20748
21204
  column.level = 1;
20749
- _traverse2(column);
21205
+ traverse(column);
20750
21206
  });
20751
21207
  var rows = [];
20752
21208
  var lastData = [];
20753
21209
  for (var i = 0; i < maxLevel; i++) {
20754
21210
  rows.push([]);
20755
21211
  }
20756
- var allColumns = _getAllColumns(originColumns);
21212
+ var allColumns = getAllColumns(originColumns);
20757
21213
  allColumns.forEach(function (column) {
20758
21214
  if (!column.children) {
20759
21215
  column.rowSpan = maxLevel - column.level + 1;
@@ -20769,8 +21225,8 @@ var headersToRows = function headersToRows(originColumns) {
20769
21225
  };
20770
21226
  };
20771
21227
 
20772
- var css_248z$p = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
20773
- styleInject(css_248z$p);
21228
+ var css_248z$q = ".editTableWrapper {\n width: 1000px;\n height: 500px;\n overflow: auto;\n position: relative;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n user-select: none;\n}\n.editTableWrapper table {\n table-layout: fixed;\n}\n.editTableWrapper .editTable {\n position: relative;\n overflow: hidden;\n border-top: 0;\n background: #fff;\n}\n.editTableWrapper .north__west {\n position: sticky;\n background-color: #f7f8fb;\n left: 0px;\n top: 0px;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .north__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 5;\n}\n.editTableWrapper .south__west {\n z-index: 4;\n position: absolute;\n left: 0px;\n top: 0;\n}\n.editTableWrapper .south__west th {\n background: #fff;\n font-size: 14px;\n color: #606266;\n z-index: 4;\n}\n.editTableWrapper .south__west td {\n font-size: 12px;\n background: #fff;\n color: #6a6a6a;\n}\n.editTableWrapper .south__west td svg {\n width: 20px;\n height: 20px;\n vertical-align: middle;\n}\n.editTableWrapper .editTable__block {\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n position: absolute;\n border-collapse: collapse;\n padding: 0;\n}\n.editTableWrapper .editTable__block th,\n.editTableWrapper .editTable__block td {\n box-sizing: border-box;\n font-size: 11px;\n color: #6a6a6a;\n}\n.editTableWrapper .value_table table {\n table-layout: fixed;\n min-width: 100%;\n}\n.editTableWrapper .table_border_style {\n border-collapse: separate;\n border-spacing: 0;\n border-left: 1px solid #f0f0f0;\n border-top: 1px solid #f0f0f0;\n}\n.editTableWrapper .table_border_style td {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n box-sizing: border-box;\n border-right: 1px solid #f0f0f0;\n border-bottom: 1px solid #f0f0f0;\n padding: 0 10px;\n font-size: 14px;\n line-height: 28px;\n}\n";
21229
+ styleInject(css_248z$q);
20774
21230
 
20775
21231
  var useSticky = function useSticky(sticky) {
20776
21232
  var _ref = _typeof(sticky) === 'object' ? sticky : {},
@@ -26770,7 +27226,7 @@ var isHightLight = function isHightLight(hightLightData, highLightLine) {
26770
27226
  }
26771
27227
  return lineStart <= highLightLine && lineEnd >= highLightLine;
26772
27228
  };
26773
- var _hasHighLightChildren = function hasHighLightChildren() {
27229
+ var hasHighLightChildren = function hasHighLightChildren() {
26774
27230
  var hightLightData = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
26775
27231
  var highLightLine = arguments.length > 1 ? arguments[1] : undefined;
26776
27232
  var children = hightLightData.children,
@@ -26781,7 +27237,7 @@ var _hasHighLightChildren = function hasHighLightChildren() {
26781
27237
  lineEnd = _loc2[2];
26782
27238
  if (children) {
26783
27239
  return isActiveObj(highLightLine, lineStart, lineEnd) || children.some(function (v) {
26784
- return _hasHighLightChildren(v, highLightLine);
27240
+ return hasHighLightChildren(v, highLightLine);
26785
27241
  });
26786
27242
  }
26787
27243
  return lineStart <= highLightLine && lineEnd >= highLightLine;
@@ -26793,7 +27249,7 @@ function createHighLightTreeData(treeData, highLightLine) {
26793
27249
  var data = Array.isArray(treeData) ? _toConsumableArray(treeData) : [treeData];
26794
27250
  data.forEach(function (node) {
26795
27251
  if (!node) return;
26796
- node.toggled = _hasHighLightChildren(node, highLightLine);
27252
+ node.toggled = hasHighLightChildren(node, highLightLine);
26797
27253
  node.active = isHightLight(node, highLightLine);
26798
27254
  if (node.children) {
26799
27255
  if (node.active) {
@@ -27005,8 +27461,8 @@ var nameRender = (function (data) {
27005
27461
  }, " ");
27006
27462
  });
27007
27463
 
27008
- var css_248z$q = ".si-tree {\n font-size: 14px;\n}\n.si-tree-node-block {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.si-tree-node-block:hover {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-block-actived {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-switcher {\n margin-right: 2px;\n}\n.si-tree-node-icon {\n margin-right: 4px;\n display: flex;\n}\n.tree-compact {\n margin-left: 4px;\n font-size: 13px;\n font-style: italic;\n color: #49aa19;\n}\n";
27009
- styleInject(css_248z$q);
27464
+ var css_248z$r = ".si-tree {\n font-size: 14px;\n}\n.si-tree-node-block {\n display: flex;\n align-items: center;\n padding: 2px 4px;\n cursor: pointer;\n -webkit-user-select: none;\n -moz-user-select: none;\n user-select: none;\n}\n.si-tree-node-block:hover {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-block-actived {\n background-color: #1990ffab;\n color: #fff;\n}\n.si-tree-node-switcher {\n margin-right: 2px;\n}\n.si-tree-node-icon {\n margin-right: 4px;\n display: flex;\n}\n.tree-compact {\n margin-left: 4px;\n font-size: 13px;\n font-style: italic;\n color: #49aa19;\n}\n";
27465
+ styleInject(css_248z$r);
27010
27466
 
27011
27467
  function parseData(data) {
27012
27468
  var res;
@@ -27217,8 +27673,8 @@ function registerSuggestions(monaco) {
27217
27673
  });
27218
27674
  }
27219
27675
 
27220
- var css_248z$r = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #005cff;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
27221
- styleInject(css_248z$r);
27676
+ var css_248z$s = ":global .si-editor-highlight {\n background: #1990ffab;\n}\n.title {\n color: #005cff;\n padding: 12px;\n font-weight: bold;\n}\n.editorWrapper {\n position: fixed;\n left: 0;\n right: 0;\n top: 0;\n bottom: 0;\n padding: 24px;\n background-color: #fff;\n z-index: 10000;\n}\n";
27677
+ styleInject(css_248z$s);
27222
27678
 
27223
27679
  var Title = Typography.Title;
27224
27680
  var STRTEMP = 'const config = ';
@@ -27412,7 +27868,7 @@ var Editor = (function (props) {
27412
27868
  }, [shallowHeight]);
27413
27869
  var hasConfigTree = type !== 'editor';
27414
27870
  return /*#__PURE__*/React$1.createElement("div", {
27415
- className: isFull ? css_248z$r.editorWrapper : ''
27871
+ className: isFull ? css_248z$s.editorWrapper : ''
27416
27872
  }, /*#__PURE__*/React$1.createElement("div", {
27417
27873
  style: {
27418
27874
  overflow: 'hidden'
@@ -27480,7 +27936,7 @@ var Editor = (function (props) {
27480
27936
  })), hasConfigTree && /*#__PURE__*/React$1.createElement(Col, {
27481
27937
  span: 8
27482
27938
  }, /*#__PURE__*/React$1.createElement("div", {
27483
- className: css_248z$r.title
27939
+ className: css_248z$s.title
27484
27940
  }, "\u5C5E\u6027\u8282\u70B9\u6811"), /*#__PURE__*/React$1.createElement(ConfigTree, {
27485
27941
  style: {
27486
27942
  height: 'calc(100vh - 300px)',
@@ -28224,7 +28680,7 @@ var valueType = {
28224
28680
  };
28225
28681
 
28226
28682
  var getDynamicDict = /*#__PURE__*/function () {
28227
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
28683
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(dictionaryCode) {
28228
28684
  return _regeneratorRuntime().wrap(function _callee$(_context) {
28229
28685
  while (1) switch (_context.prev = _context.next) {
28230
28686
  case 0:
@@ -28292,7 +28748,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28292
28748
  value: false
28293
28749
  }];
28294
28750
  var ref = useRef();
28295
- useMount(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
28751
+ useMount( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
28296
28752
  var _ref$current, source;
28297
28753
  return _regeneratorRuntime().wrap(function _callee$(_context) {
28298
28754
  while (1) switch (_context.prev = _context.next) {
@@ -28406,7 +28862,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28406
28862
  source: {
28407
28863
  relates: ['dictionaryCode', 'dictionaryCode_dynamic', 'choiceType'],
28408
28864
  type: function () {
28409
- var _type = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
28865
+ var _type = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2(_ref3) {
28410
28866
  var form, values, name, relates, source;
28411
28867
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
28412
28868
  while (1) switch (_context2.prev = _context2.next) {
@@ -28886,7 +29342,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
28886
29342
  source: {
28887
29343
  relates: ['choiceType', 'inputType'],
28888
29344
  type: function () {
28889
- var _type2 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
29345
+ var _type2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3(_ref10) {
28890
29346
  var values, name, form, source;
28891
29347
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
28892
29348
  while (1) switch (_context3.prev = _context3.next) {
@@ -29108,7 +29564,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29108
29564
  width: 900,
29109
29565
  maskClosable: false,
29110
29566
  onOk: function () {
29111
- var _onOk = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
29567
+ var _onOk = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
29112
29568
  var _ref$current4, _res$editableStatus;
29113
29569
  var res, _res$defaultValue;
29114
29570
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
@@ -29180,7 +29636,7 @@ var FieldsModifyModal = function FieldsModifyModal(props) {
29180
29636
  }()
29181
29637
  }), /*#__PURE__*/React$1.createElement(Form$1, _objectSpread2(_objectSpread2({}, formConfig), {}, {
29182
29638
  ref: ref
29183
- })), maintainOptionsModal.visible && (/*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
29639
+ })), maintainOptionsModal.visible && ( /*#__PURE__*/React$1.createElement(MaintainOptions, _objectSpread2({}, maintainOptionsModal))));
29184
29640
  };
29185
29641
 
29186
29642
  // @ts-nocheck
@@ -29361,8 +29817,8 @@ var FieldsSettingsTable = (function (props) {
29361
29817
  })), fieldsModify.visible && /*#__PURE__*/React$1.createElement(FieldsModifyModal, _objectSpread2({}, fieldsModify)));
29362
29818
  });
29363
29819
 
29364
- var css_248z$s = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
29365
- styleInject(css_248z$s);
29820
+ var css_248z$t = ".customFieldsDrawer .ant-col-8 {\n flex: 0 0 100%!important;\n max-width: 100%!important;\n}\n.customFieldsDrawer .ant-form-item {\n margin-bottom: 0!important;\n}\n.customFieldsDrawer .ant-form {\n margin-bottom: 15px;\n}\n.customFieldsDrawer .sula-template-query-table-fields-wrapper {\n align-items: center;\n}\n";
29821
+ styleInject(css_248z$t);
29366
29822
 
29367
29823
  function iterFileds(fields) {
29368
29824
  var filedsValue = [];
@@ -29794,7 +30250,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29794
30250
  return setVisible(false);
29795
30251
  },
29796
30252
  className: 'customFieldsDrawer'
29797
- }, detailTablesSetting.length == 0 && (/*#__PURE__*/React$1.createElement("div", {
30253
+ }, detailTablesSetting.length == 0 && ( /*#__PURE__*/React$1.createElement("div", {
29798
30254
  style: {
29799
30255
  display: 'flex'
29800
30256
  }
@@ -29803,13 +30259,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29803
30259
  flex: 1,
29804
30260
  width: 500
29805
30261
  }
29806
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
30262
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
29807
30263
  style: {
29808
30264
  padding: "10px 0",
29809
30265
  fontSize: "16px",
29810
30266
  fontWeight: "bolder"
29811
30267
  }
29812
- }, "\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", {
30268
+ }, "\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", {
29813
30269
  style: {
29814
30270
  flex: 1
29815
30271
  }
@@ -29818,7 +30274,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29818
30274
  onRun: onClickRun,
29819
30275
  value: jsonEditorVal,
29820
30276
  shallowHeight: height
29821
- })))), detailTablesSetting.length > 0 && (/*#__PURE__*/React$1.createElement(Tabs, {
30277
+ })))), detailTablesSetting.length > 0 && ( /*#__PURE__*/React$1.createElement(Tabs, {
29822
30278
  defaultActiveKey: activeKey,
29823
30279
  onChange: function onChange(v) {
29824
30280
  return setActiveKey(v);
@@ -29835,13 +30291,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29835
30291
  flex: 1,
29836
30292
  width: 500
29837
30293
  }
29838
- }, isEmpty(moduleParams) ? (/*#__PURE__*/React$1.createElement("div", {
30294
+ }, isEmpty(moduleParams) ? ( /*#__PURE__*/React$1.createElement("div", {
29839
30295
  style: {
29840
30296
  padding: "10px 0",
29841
30297
  fontSize: "16px",
29842
30298
  fontWeight: "bolder"
29843
30299
  }
29844
- }, "\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", {
30300
+ }, "\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", {
29845
30301
  style: {
29846
30302
  flex: 1
29847
30303
  }
@@ -29863,13 +30319,13 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
29863
30319
  flex: 1,
29864
30320
  width: 500
29865
30321
  }
29866
- }, !tablesConfigParams[k.tableCode] ? (/*#__PURE__*/React$1.createElement("div", {
30322
+ }, !tablesConfigParams[k.tableCode] ? ( /*#__PURE__*/React$1.createElement("div", {
29867
30323
  style: {
29868
30324
  padding: "10px 0",
29869
30325
  fontSize: "16px",
29870
30326
  fontWeight: "bolder"
29871
30327
  }
29872
- }, "\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", {
30328
+ }, "\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", {
29873
30329
  style: {
29874
30330
  flex: 1
29875
30331
  }
@@ -30015,7 +30471,7 @@ function getMetaData(_x) {
30015
30471
 
30016
30472
  // 获取数据
30017
30473
  function _getMetaData() {
30018
- _getMetaData = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
30474
+ _getMetaData = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(id) {
30019
30475
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30020
30476
  while (1) switch (_context.prev = _context.next) {
30021
30477
  case 0:
@@ -30237,7 +30693,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
30237
30693
  tableState = _useState4[0],
30238
30694
  setTableState = _useState4[1];
30239
30695
  var handleOpen = /*#__PURE__*/function () {
30240
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30696
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30241
30697
  var _props$customSelector, _props$customSelector2, _props$ctx4, _props$value, _props$value$map, _props$ctx5, _props$ctx5$form, _props$selectProps;
30242
30698
  var requestConfigNew, metaDataId, metaData, realMetaData, columns, fields, initValue, _queryTableRef$curren, _queryTableRef$curren2, _queryTableRef$curren3;
30243
30699
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -30556,7 +31012,7 @@ var CustomSelectorModal = /*#__PURE__*/forwardRef(function (props, ref) {
30556
31012
  destroyOnClose: true
30557
31013
  }, config && /*#__PURE__*/React$1.createElement(QueryTable, _objectSpread2({
30558
31014
  ref: queryTableRef
30559
- }, 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, {
31015
+ }, 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, {
30560
31016
  justify: "center",
30561
31017
  style: {
30562
31018
  marginBottom: 30,
@@ -30672,7 +31128,7 @@ var CustomSelector = (function (props) {
30672
31128
  var _props$ctx7;
30673
31129
  return setFieldValue((_props$ctx7 = props.ctx) === null || _props$ctx7 === void 0 ? void 0 : _props$ctx7.name, multipleForQuery ? [] : '', fieldSource);
30674
31130
  }
30675
- })), showType === 'modalTable' && (/*#__PURE__*/React$1.createElement(Button, {
31131
+ })), showType === 'modalTable' && ( /*#__PURE__*/React$1.createElement(Button, {
30676
31132
  type: "primary",
30677
31133
  style: {
30678
31134
  width: '30px',
@@ -30758,7 +31214,7 @@ var BsCascader = function BsCascader(_ref) {
30758
31214
  _useState2 = _slicedToArray(_useState, 2),
30759
31215
  handSource = _useState2[0],
30760
31216
  setHandSource = _useState2[1];
30761
- useEffect(/*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
31217
+ useEffect( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
30762
31218
  var resData, data;
30763
31219
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30764
31220
  while (1) switch (_context.prev = _context.next) {
@@ -30902,15 +31358,15 @@ var BsCascader = function BsCascader(_ref) {
30902
31358
  });
30903
31359
  };
30904
31360
 
30905
- var css_248z$t = ".base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n min-height: 80px;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n height: 40px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link {\n color: #008fe0;\n font-weight: bold;\n border: 0px !important;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link:hover,\n.base_rule .base_rule_line_title :global .ant-btn-link:focus {\n color: #008fe0;\n background-color: transparent;\n border: 0px;\n border-color: #008fe0;\n}\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):hover,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):active,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):focus {\n color: #008fe0;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 15px;\n overflow-x: auto;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 75%;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n justify-content: space-around;\n margin-top: -20px;\n padding-left: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border {\n margin-bottom: 10px;\n padding: 0px 10px 0px 10px;\n border: 1px dashed #d9d9d9;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_border_title {\n position: relative;\n top: -10px;\n left: 20px;\n width: 90px;\n text-align: center;\n background: #fff;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_action_item {\n display: flex;\n justify-content: space-between;\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute !important;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex !important;\n align-items: center;\n width: 50px;\n height: 30px !important;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px !important;\n color: #008fe0 !important;\n line-height: 30px !important;\n text-align: center !important;\n background-color: #ffffff !important;\n cursor: pointer !important;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n.action_list_item {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n padding: 10px;\n border: 1px solid #e1e1f0;\n border-radius: 2px;\n cursor: pointer;\n}\n:global .ant-popover-inner-content {\n padding: 0px;\n}\n";
30906
- styleInject(css_248z$t);
31361
+ var css_248z$u = ".base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n min-height: 80px;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n height: 40px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link {\n color: #008fe0;\n font-weight: bold;\n border: 0px !important;\n}\n.base_rule .base_rule_line_title :global .ant-btn-link:hover,\n.base_rule .base_rule_line_title :global .ant-btn-link:focus {\n color: #008fe0;\n background-color: transparent;\n border: 0px;\n border-color: #008fe0;\n}\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):hover,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):active,\n.base_rule .base_rule_line_title :global .ant-btn:not(.ant-btn-primary .ant-btn-danger):focus {\n color: #008fe0;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 15px;\n overflow-x: auto;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 75%;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n justify-content: space-around;\n margin-top: -20px;\n padding-left: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border {\n margin-bottom: 10px;\n padding: 0px 10px 0px 10px;\n border: 1px dashed #d9d9d9;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_border_title {\n position: relative;\n top: -10px;\n left: 20px;\n width: 90px;\n text-align: center;\n background: #fff;\n}\n.base_rule .base_rule_line_content .base_rule_item3 .rule_action_return_border .rule_action_item {\n display: flex;\n justify-content: space-between;\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute !important;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex !important;\n align-items: center;\n width: 50px;\n height: 30px !important;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px !important;\n color: #008fe0 !important;\n line-height: 30px !important;\n text-align: center !important;\n background-color: #ffffff !important;\n cursor: pointer !important;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n.action_list_item {\n display: flex;\n justify-content: space-between;\n margin-bottom: 10px;\n padding: 10px;\n border: 1px solid #e1e1f0;\n border-radius: 2px;\n cursor: pointer;\n}\n:global .ant-popover-inner-content {\n padding: 0px;\n}\n";
31362
+ styleInject(css_248z$u);
30907
31363
 
30908
31364
  // 查询规则对象属性thresholdList
30909
31365
  function getRegularThresholdRange(_x) {
30910
31366
  return _getRegularThresholdRange.apply(this, arguments);
30911
31367
  }
30912
31368
  function _getRegularThresholdRange() {
30913
- _getRegularThresholdRange = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
31369
+ _getRegularThresholdRange = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(params) {
30914
31370
  return _regeneratorRuntime().wrap(function _callee$(_context) {
30915
31371
  while (1) switch (_context.prev = _context.next) {
30916
31372
  case 0:
@@ -31064,7 +31520,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
31064
31520
  };
31065
31521
  //规则对象属性枚举值查询处理 queryIdentify有值是表示该属性有枚举选择
31066
31522
  _this.getRegularThresholdRange = /*#__PURE__*/function () {
31067
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
31523
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(queryIdentify, propertyCode, queryIdentifyType) {
31068
31524
  var thresholdQuery, extraRequestUrl, querParams, needQueryList, res;
31069
31525
  return _regeneratorRuntime().wrap(function _callee$(_context) {
31070
31526
  while (1) switch (_context.prev = _context.next) {
@@ -32009,7 +32465,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32009
32465
  isAll: true,
32010
32466
  needNameAndCode: true,
32011
32467
  notChangeOnSelect: true,
32012
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
32468
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
32013
32469
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
32014
32470
  while (1) switch (_context2.prev = _context2.next) {
32015
32471
  case 0:
@@ -32058,7 +32514,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32058
32514
  isAll: true,
32059
32515
  needNameAndCode: true,
32060
32516
  notChangeOnSelect: true,
32061
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
32517
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee3() {
32062
32518
  return _regeneratorRuntime().wrap(function _callee3$(_context3) {
32063
32519
  while (1) switch (_context3.prev = _context3.next) {
32064
32520
  case 0:
@@ -32109,7 +32565,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
32109
32565
  isAll: true,
32110
32566
  needNameAndCode: true,
32111
32567
  notChangeOnSelect: true,
32112
- initRequestSource: /*#__PURE__*/_asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
32568
+ initRequestSource: /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee4() {
32113
32569
  return _regeneratorRuntime().wrap(function _callee4$(_context4) {
32114
32570
  while (1) switch (_context4.prev = _context4.next) {
32115
32571
  case 0:
@@ -33808,7 +34264,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
33808
34264
  style: {
33809
34265
  marginLeft: '10px'
33810
34266
  },
33811
- className: css_248z$t.rule_field_style
34267
+ className: css_248z$u.rule_field_style
33812
34268
  }, this.renderConditionField());
33813
34269
  }
33814
34270
  }]);
@@ -34073,7 +34529,7 @@ var App$1 = function App(_ref) {
34073
34529
  borderRadius: '5px',
34074
34530
  cursor: 'pointer'
34075
34531
  }
34076
- }, isStaticNumber ? (/*#__PURE__*/React$1.createElement(Input, {
34532
+ }, isStaticNumber ? ( /*#__PURE__*/React$1.createElement(Input, {
34077
34533
  autoFocus: true,
34078
34534
  onClick: function onClick(e) {
34079
34535
  return e.stopPropagation();
@@ -34249,7 +34705,7 @@ var RuleField$1 = /*#__PURE__*/function (_Component) {
34249
34705
  disabled = _this$props.disabled;
34250
34706
  return /*#__PURE__*/React$1.createElement("div", null, ruleTypeData.map(function (i) {
34251
34707
  return /*#__PURE__*/React$1.createElement("div", {
34252
- className: css_248z$t.action_list_item
34708
+ className: css_248z$u.action_list_item
34253
34709
  }, /*#__PURE__*/React$1.createElement("div", {
34254
34710
  onClick: function onClick() {
34255
34711
  return handleOperatingAction(i.code, 'view');
@@ -34360,7 +34816,7 @@ function RenderCompItem(props) {
34360
34816
  dictData = _useState2[0],
34361
34817
  setDictData = _useState2[1];
34362
34818
  var getDictData = /*#__PURE__*/function () {
34363
- var _ref = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
34819
+ var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
34364
34820
  var _data$map;
34365
34821
  var data;
34366
34822
  return _regeneratorRuntime().wrap(function _callee$(_context) {
@@ -34402,7 +34858,7 @@ function RenderCompItem(props) {
34402
34858
  var style2 = {
34403
34859
  width: '100px'
34404
34860
  };
34405
- 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, {
34861
+ 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, {
34406
34862
  disabled: disabled,
34407
34863
  allowClear: true,
34408
34864
  onClear: function onClear() {
@@ -34413,7 +34869,7 @@ function RenderCompItem(props) {
34413
34869
  onBlur: function onBlur(e) {
34414
34870
  handleEdit(ites.code, String(e.target.value).trim() == '' ? undefined : e.target.value);
34415
34871
  }
34416
- })) || 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, {
34872
+ })) || 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, {
34417
34873
  disabled: disabled,
34418
34874
  // max={Number.MAX_SAFE_INTEGER}
34419
34875
  max: judgeIsEmpty(ites === null || ites === void 0 ? void 0 : ites.maxValue) ? Number.MAX_SAFE_INTEGER : ites.maxValue,
@@ -34426,7 +34882,7 @@ function RenderCompItem(props) {
34426
34882
  onChange: function onChange(value) {
34427
34883
  handleEdit(ites.code, value);
34428
34884
  }
34429
- })) || 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, {
34885
+ })) || 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, {
34430
34886
  showTime: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 32,
34431
34887
  format: (ites === null || ites === void 0 ? void 0 : ites.valueType) == 41 ? dateFormat : fullDateFormat,
34432
34888
  disabled: disabled,
@@ -34436,7 +34892,7 @@ function RenderCompItem(props) {
34436
34892
  onChange: function onChange(value, dateString) {
34437
34893
  handleEdit(ites.code, dateString);
34438
34894
  }
34439
- })) || 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, {
34895
+ })) || 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, {
34440
34896
  showTime: true,
34441
34897
  disabled: disabled,
34442
34898
  defaultValue: ites.defaultValue,
@@ -34445,7 +34901,7 @@ function RenderCompItem(props) {
34445
34901
  onChange: function onChange(value, timeString) {
34446
34902
  handleEdit(ites.code, timeString);
34447
34903
  }
34448
- })) || 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, {
34904
+ })) || 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, {
34449
34905
  disabled: disabled,
34450
34906
  defaultChecked: !!ites.defaultValue,
34451
34907
  style: style2,
@@ -34453,7 +34909,7 @@ function RenderCompItem(props) {
34453
34909
  onChange: function onChange(value) {
34454
34910
  handleEdit(ites.code, value);
34455
34911
  }
34456
- })) || 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({
34912
+ })) || 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({
34457
34913
  disabled: disabled,
34458
34914
  allowClear: true,
34459
34915
  showArrow: true
@@ -34471,7 +34927,7 @@ function RenderCompItem(props) {
34471
34927
  key: it,
34472
34928
  value: it
34473
34929
  }, ites.enumeration[it]);
34474
- }))) || 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, {
34930
+ }))) || 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, {
34475
34931
  disabled: disabled,
34476
34932
  inputType: ites === null || ites === void 0 ? void 0 : ites.inputType,
34477
34933
  defaultValue: ites.defaultValue,
@@ -34481,7 +34937,7 @@ function RenderCompItem(props) {
34481
34937
  handleEdit(ites.code, value);
34482
34938
  },
34483
34939
  dictionaryCode: ites.dictionaryCode
34484
- })) || 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, {
34940
+ })) || 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, {
34485
34941
  selectBusinessType: "physicalWarehouse",
34486
34942
  selectProps: _objectSpread2({
34487
34943
  style: styleCommon,
@@ -34503,7 +34959,7 @@ function RenderCompItem(props) {
34503
34959
  getPopupContainer: function getPopupContainer() {
34504
34960
  return document.body;
34505
34961
  }
34506
- })) || 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, {
34962
+ })) || 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, {
34507
34963
  selectBusinessType: "realWarehouse",
34508
34964
  selectProps: _objectSpread2({
34509
34965
  style: styleCommon,
@@ -34525,7 +34981,7 @@ function RenderCompItem(props) {
34525
34981
  getPopupContainer: function getPopupContainer() {
34526
34982
  return document.body;
34527
34983
  }
34528
- })) || 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, {
34984
+ })) || 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, {
34529
34985
  selectBusinessType: "virtualWarehouse",
34530
34986
  selectProps: _objectSpread2({
34531
34987
  style: styleCommon,
@@ -34547,7 +35003,7 @@ function RenderCompItem(props) {
34547
35003
  getPopupContainer: function getPopupContainer() {
34548
35004
  return document.body;
34549
35005
  }
34550
- })) || 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, {
35006
+ })) || 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, {
34551
35007
  selectBusinessType: "channelWarehouse",
34552
35008
  selectProps: _objectSpread2({
34553
35009
  style: styleCommon,
@@ -34569,7 +35025,7 @@ function RenderCompItem(props) {
34569
35025
  getPopupContainer: function getPopupContainer() {
34570
35026
  return document.body;
34571
35027
  }
34572
- })) || 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, {
35028
+ })) || 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, {
34573
35029
  selectBusinessType: "spuCommodity",
34574
35030
  selectProps: _objectSpread2({
34575
35031
  style: styleCommon,
@@ -34590,7 +35046,7 @@ function RenderCompItem(props) {
34590
35046
  getPopupContainer: function getPopupContainer() {
34591
35047
  return document.body;
34592
35048
  }
34593
- })) || 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, {
35049
+ })) || 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, {
34594
35050
  selectBusinessType: "skuCommodity",
34595
35051
  selectProps: _objectSpread2({
34596
35052
  style: styleCommon,
@@ -34611,13 +35067,13 @@ function RenderCompItem(props) {
34611
35067
  getPopupContainer: function getPopupContainer() {
34612
35068
  return document.body;
34613
35069
  }
34614
- })) || 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, {
35070
+ })) || 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, {
34615
35071
  disabled: disabled,
34616
35072
  isAll: true,
34617
35073
  needNameAndCode: true,
34618
35074
  notChangeOnSelect: true,
34619
35075
  initRequestSource: function () {
34620
- var _initRequestSource = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
35076
+ var _initRequestSource = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
34621
35077
  return _regeneratorRuntime().wrap(function _callee2$(_context2) {
34622
35078
  while (1) switch (_context2.prev = _context2.next) {
34623
35079
  case 0:
@@ -34659,7 +35115,7 @@ function RenderCompItem(props) {
34659
35115
  getPopupContainer: function getPopupContainer() {
34660
35116
  return document.body;
34661
35117
  }
34662
- })) || 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, {
35118
+ })) || 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, {
34663
35119
  disabled: disabled,
34664
35120
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34665
35121
  businessType: "department",
@@ -34672,7 +35128,7 @@ function RenderCompItem(props) {
34672
35128
  getPopupContainer: function getPopupContainer() {
34673
35129
  return document.body;
34674
35130
  }
34675
- })) || 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, {
35131
+ })) || 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, {
34676
35132
  disabled: disabled,
34677
35133
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34678
35134
  businessType: "purchase-organization",
@@ -34685,7 +35141,7 @@ function RenderCompItem(props) {
34685
35141
  getPopupContainer: function getPopupContainer() {
34686
35142
  return document.body;
34687
35143
  }
34688
- })) || 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, {
35144
+ })) || 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, {
34689
35145
  disabled: disabled,
34690
35146
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34691
35147
  businessType: "sales-organization",
@@ -34698,7 +35154,7 @@ function RenderCompItem(props) {
34698
35154
  getPopupContainer: function getPopupContainer() {
34699
35155
  return document.body;
34700
35156
  }
34701
- })) || 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, {
35157
+ })) || 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, {
34702
35158
  selectBusinessType: "supplier2",
34703
35159
  selectProps: _objectSpread2({
34704
35160
  style: styleCommon,
@@ -34719,7 +35175,7 @@ function RenderCompItem(props) {
34719
35175
  getPopupContainer: function getPopupContainer() {
34720
35176
  return document.body;
34721
35177
  }
34722
- })) || 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, {
35178
+ })) || 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, {
34723
35179
  selectBusinessType: "customer2",
34724
35180
  selectProps: _objectSpread2({
34725
35181
  style: styleCommon,
@@ -34740,7 +35196,7 @@ function RenderCompItem(props) {
34740
35196
  getPopupContainer: function getPopupContainer() {
34741
35197
  return document.body;
34742
35198
  }
34743
- })) || 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, {
35199
+ })) || 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, {
34744
35200
  selectBusinessType: "shopFile2",
34745
35201
  selectProps: _objectSpread2({
34746
35202
  style: styleCommon,
@@ -34761,7 +35217,7 @@ function RenderCompItem(props) {
34761
35217
  getPopupContainer: function getPopupContainer() {
34762
35218
  return document.body;
34763
35219
  }
34764
- })) || 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, {
35220
+ })) || 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, {
34765
35221
  selectBusinessType: "employee2",
34766
35222
  selectProps: _objectSpread2({
34767
35223
  style: styleCommon,
@@ -34782,7 +35238,7 @@ function RenderCompItem(props) {
34782
35238
  getPopupContainer: function getPopupContainer() {
34783
35239
  return document.body;
34784
35240
  }
34785
- })) || 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, {
35241
+ })) || 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, {
34786
35242
  disabled: disabled,
34787
35243
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34788
35244
  businessType: "stock-organization",
@@ -34795,7 +35251,7 @@ function RenderCompItem(props) {
34795
35251
  getPopupContainer: function getPopupContainer() {
34796
35252
  return document.body;
34797
35253
  }
34798
- })) || 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, {
35254
+ })) || 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, {
34799
35255
  disabled: disabled,
34800
35256
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34801
35257
  businessType: "settle-organization",
@@ -34808,7 +35264,7 @@ function RenderCompItem(props) {
34808
35264
  getPopupContainer: function getPopupContainer() {
34809
35265
  return document.body;
34810
35266
  }
34811
- })) || 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, {
35267
+ })) || 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, {
34812
35268
  selectBusinessType: "deliveryMode",
34813
35269
  selectProps: _objectSpread2({
34814
35270
  style: styleCommon,
@@ -34829,7 +35285,7 @@ function RenderCompItem(props) {
34829
35285
  getPopupContainer: function getPopupContainer() {
34830
35286
  return document.body;
34831
35287
  }
34832
- })) || 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, {
35288
+ })) || 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, {
34833
35289
  selectBusinessType: "role",
34834
35290
  selectProps: _objectSpread2({
34835
35291
  style: styleCommon,
@@ -34850,7 +35306,7 @@ function RenderCompItem(props) {
34850
35306
  getPopupContainer: function getPopupContainer() {
34851
35307
  return document.body;
34852
35308
  }
34853
- })) || 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, {
35309
+ })) || 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, {
34854
35310
  selectBusinessType: "brand",
34855
35311
  selectProps: _objectSpread2({
34856
35312
  style: styleCommon,
@@ -34871,7 +35327,7 @@ function RenderCompItem(props) {
34871
35327
  getPopupContainer: function getPopupContainer() {
34872
35328
  return document.body;
34873
35329
  }
34874
- })) || 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, {
35330
+ })) || 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, {
34875
35331
  disabled: disabled,
34876
35332
  treeCheckable: (ites === null || ites === void 0 ? void 0 : ites.inputType) === 30,
34877
35333
  businessType: "background-category",
@@ -34884,7 +35340,7 @@ function RenderCompItem(props) {
34884
35340
  getPopupContainer: function getPopupContainer() {
34885
35341
  return document.body;
34886
35342
  }
34887
- })) || 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, {
35343
+ })) || 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, {
34888
35344
  selectProps: _objectSpread2(_objectSpread2({
34889
35345
  style: styleCommon,
34890
35346
  placeholder: '请选择'
@@ -34907,7 +35363,7 @@ function RenderCompItem(props) {
34907
35363
  onChange: function onChange(value) {
34908
35364
  handleEdit(ites.code, value);
34909
35365
  }
34910
- })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && (/*#__PURE__*/React$1.createElement("div", {
35366
+ })) || null, (ites === null || ites === void 0 ? void 0 : ites.inputType) === 40 && ( /*#__PURE__*/React$1.createElement("div", {
34911
35367
  style: {
34912
35368
  display: 'flex'
34913
35369
  }
@@ -35419,7 +35875,7 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
35419
35875
  queryIdentify = _this.dynamicDictCodeToRangeIdMap["".concat(itemDetail.metaObjectCode, ".").concat(itemDetail.propertyPath)];
35420
35876
  queryIdentifyType = 'dynamicDictCodeIdentify';
35421
35877
  }
35422
- var parallelTreeData = _coverToParallel(ruleTreeData, []) || [];
35878
+ var parallelTreeData = coverToParallel(ruleTreeData, []) || [];
35423
35879
  var currentTreeItem = (itemDetail === null || itemDetail === void 0 ? void 0 : itemDetail.elementId) && parallelTreeData.find(function (i) {
35424
35880
  var _i$key;
35425
35881
  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);
@@ -36196,8 +36652,8 @@ var RuleObjectComponent = /*#__PURE__*/function (_Component) {
36196
36652
  }]);
36197
36653
  }(Component);
36198
36654
 
36199
- var css_248z$u = ".goBack_btn_content {\n position: relative;\n overflow: auto;\n}\n.goBack_btn_content .goback_btn {\n float: right;\n}\n.base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 14px 10px 10px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 1200px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n align-items: center;\n justify-content: space-around;\n width: calc(100% - 600px);\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex;\n align-items: center;\n width: 50px;\n height: 30px;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n";
36200
- styleInject(css_248z$u);
36655
+ var css_248z$v = ".goBack_btn_content {\n position: relative;\n overflow: auto;\n}\n.goBack_btn_content .goback_btn {\n float: right;\n}\n.base_rule p {\n margin: 0;\n}\n.base_rule .base_rule_content {\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title {\n position: relative;\n margin-bottom: 20px;\n}\n.base_rule .base_rule_line_title .rule_title {\n height: 35px;\n padding: 0 10px;\n font-weight: bold;\n font-size: 16px;\n line-height: 35px;\n}\n.base_rule .base_rule_line_title .base_rule_btn_style {\n position: absolute;\n right: 0px;\n}\n.base_rule .base_rule_line_content {\n display: flex;\n padding: 14px 10px 10px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn {\n margin-right: 10px;\n color: #89b9cf;\n font-size: 20px;\n}\n.base_rule .base_rule_line_content .base_rule_icon_btn:hover {\n cursor: pointer;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc_content {\n height: 45px;\n line-height: 45px;\n}\n.base_rule .base_rule_line_content .base_rule_item_desc {\n margin-right: 15px;\n}\n.base_rule .base_rule_line_content .base_rule_item1 {\n align-items: center;\n width: 120px;\n color: #f8ab3c;\n font-size: 16px;\n}\n.base_rule .base_rule_line_content .base_rule_item2 {\n width: 1200px;\n}\n.base_rule .base_rule_line_content .base_rule_item3 {\n display: flex;\n align-items: center;\n justify-content: space-around;\n width: calc(100% - 600px);\n}\n.base_rule .base_rule_line_content .line_color_red {\n color: #ed869b;\n}\n.base_rule .base_rule_line_content .base_rule_item4 {\n width: 80px;\n}\n.base_rule .footer_line > span {\n color: #008fe0;\n font-weight: bold;\n font-size: 16px;\n}\n.rule_name_title {\n display: inline-block;\n height: 30px;\n margin-right: 10px;\n margin-bottom: 10px;\n padding-left: 10px;\n color: #f8ab3c;\n font-size: 16px;\n line-height: 30px;\n}\n.logical_operate_content {\n position: relative;\n}\n.logical_operate_content .top_line {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content .bottom_line {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n width: 15px;\n height: 2px;\n background-color: #d6efe8;\n}\n.logical_operate_content::before {\n position: absolute;\n top: 0;\n left: 50%;\n z-index: 998;\n width: 2px;\n height: 100%;\n overflow: hidden;\n background: #d6efe8;\n content: ' ';\n}\n.logical_item_btn {\n position: absolute;\n top: 50%;\n left: 50%;\n z-index: 999;\n display: flex;\n align-items: center;\n width: 50px;\n height: 30px;\n margin-top: -15px;\n margin-left: -25px;\n padding: 0px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.logical_item_btn1 {\n position: absolute;\n bottom: 0;\n left: 50%;\n z-index: 999;\n display: inline-block;\n width: 30px;\n height: 30px;\n margin-left: -15px;\n color: #008fe0;\n line-height: 30px;\n text-align: center;\n background-color: #ffffff;\n cursor: pointer;\n}\n.rule_field_style {\n display: inline-block;\n}\n.icon_btn_style {\n margin-right: 10px;\n font-size: 20px;\n}\n.choose_logical_type {\n height: 25px;\n margin: 0px;\n padding: 0 10px;\n line-height: 25px;\n cursor: pointer;\n}\n.choose_logical_type:first-child {\n border-bottom: 1px solid #d9d9d9;\n}\n.choose_logical_type:hover {\n color: white;\n background-color: #008fe0;\n}\n";
36656
+ styleInject(css_248z$v);
36201
36657
 
36202
36658
  var formatOperationList = function formatOperationList(data) {
36203
36659
  var _result$find;
@@ -36346,13 +36802,13 @@ var handleRuleRequireCheck = function handleRuleRequireCheck(saveData, ruleActio
36346
36802
  var checkInfo = []; // 没有选必填执行动作(暂不考虑);执行动作下的对象未选
36347
36803
  // 处理对象-设置了必填-规则实例保存时数据必填校验
36348
36804
  if (isInstance && (regularDataList === null || regularDataList === void 0 ? void 0 : regularDataList.length) && (saveData === null || saveData === void 0 ? void 0 : saveData.length)) {
36349
- var list = _coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
36805
+ var list = coverToParallel(regularDataList, [], 'propertyList'); // 平铺对象树
36350
36806
  var requiredList = list.filter(function (c) {
36351
36807
  return c.required == 1;
36352
36808
  }) || []; // 获取对象属性为true的集合
36353
36809
  (requiredList === null || requiredList === void 0 ? void 0 : requiredList.length) && saveData.forEach(function (s, index) {
36354
36810
  var _s$expression, _s$expression$subExpr, _s$expression2, _coverExpressionTree$;
36355
- 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];
36811
+ 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];
36356
36812
  (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) {
36357
36813
  if (requiredList.some(function (r) {
36358
36814
  return r.id === e.elementId;
@@ -36930,18 +37386,18 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
36930
37386
  return /*#__PURE__*/React$1.createElement(Spin, {
36931
37387
  spinning: loading
36932
37388
  }, /*#__PURE__*/React$1.createElement("div", {
36933
- className: css_248z$u.base_rule
37389
+ className: css_248z$v.base_rule
36934
37390
  }, /*#__PURE__*/React$1.createElement("div", {
36935
- className: css_248z$u.base_rule_content
37391
+ className: css_248z$v.base_rule_content
36936
37392
  }, /*#__PURE__*/React$1.createElement("p", {
36937
- className: css_248z$u.base_rule_line_title
37393
+ className: css_248z$v.base_rule_line_title
36938
37394
  }, /*#__PURE__*/React$1.createElement("span", {
36939
- className: css_248z$u.rule_title
37395
+ className: css_248z$v.rule_title
36940
37396
  }, (_handleDiff = handleDiff()) === null || _handleDiff === void 0 ? void 0 : _handleDiff.title), /*#__PURE__*/React$1.createElement("p", {
36941
37397
  style: {
36942
37398
  float: 'right'
36943
37399
  }
36944
- })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? (/*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
37400
+ })), /*#__PURE__*/React$1.createElement("div", null, sceneId ? ( /*#__PURE__*/React$1.createElement(RuleObjectComponent, _objectSpread2(_objectSpread2({}, props === null || props === void 0 ? void 0 : props.RuleObjectComponentProps), {}, {
36945
37401
  onlyOneRule: (_handleDiff2 = handleDiff()) === null || _handleDiff2 === void 0 ? void 0 : _handleDiff2.onlyOneRule,
36946
37402
  ruleGroupInfo: {
36947
37403
  ruleGroupList: ruleGroupList,
@@ -36959,7 +37415,7 @@ var BaseRule = /*#__PURE__*/forwardRef(function (props, ref) {
36959
37415
  callBack: function callBack(newData) {
36960
37416
  upDateData(newData);
36961
37417
  }
36962
- }))) : (/*#__PURE__*/React$1.createElement("div", {
37418
+ }))) : ( /*#__PURE__*/React$1.createElement("div", {
36963
37419
  style: {
36964
37420
  padding: 20
36965
37421
  }
@@ -37186,8 +37642,8 @@ var index$7 = /*#__PURE__*/forwardRef(function (props, ref) {
37186
37642
  })));
37187
37643
  });
37188
37644
 
37189
- var css_248z$v = ".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";
37190
- styleInject(css_248z$v);
37645
+ var css_248z$w = ".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";
37646
+ styleInject(css_248z$w);
37191
37647
 
37192
37648
  var _excluded$k = ["titleExtra", "header", "showArrow"];
37193
37649
  var Panel = Collapse.Panel;
@@ -37238,9 +37694,9 @@ var index$8 = Object.assign(ExtendedCollapse, {
37238
37694
  Board: ExtendedPanel
37239
37695
  });
37240
37696
 
37241
- var css_248z$w = ".index-module_paragraphCopyWrapper__3rGOI {\n display: flex;\n margin-bottom: 4px;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopyLabel__1Qb8u {\n color: #8c8e91;\n font-size: 12px;\n white-space: nowrap;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopy__1y7Jo {\n min-width: 100px;\n margin-bottom: 0;\n font-size: 12px;\n flex: 1;\n}\n";
37697
+ var css_248z$x = ".index-module_paragraphCopyWrapper__3rGOI {\n display: flex;\n margin-bottom: 4px;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopyLabel__1Qb8u {\n color: #8c8e91;\n font-size: 12px;\n white-space: nowrap;\n}\n.index-module_paragraphCopyWrapper__3rGOI .index-module_paragraphCopy__1y7Jo {\n min-width: 100px;\n margin-bottom: 0;\n font-size: 12px;\n flex: 1;\n}\n";
37242
37698
  var styles = {"paragraphCopyWrapper":"index-module_paragraphCopyWrapper__3rGOI","paragraphCopyLabel":"index-module_paragraphCopyLabel__1Qb8u","paragraphCopy":"index-module_paragraphCopy__1y7Jo"};
37243
- styleInject(css_248z$w);
37699
+ styleInject(css_248z$x);
37244
37700
 
37245
37701
  var Paragraph = Typography.Paragraph;
37246
37702
  var Section = function Section(_ref) {
@@ -37334,4 +37790,4 @@ var ParagraphCopier = function ParagraphCopier(props) {
37334
37790
  }, children));
37335
37791
  };
37336
37792
 
37337
- export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, _coverToParallel as coverToParallel, createUniqID, downloadExcel, ergodicMenuRoutes, _formatter as formatter, getAccountID, getAccountId, getBreadcrumbNameMap, getCommonInfoKey, getConfigTableColumns, getCurrentTargetBgId, getCurrentTenantId, getDictionarySource, getDictionaryTextByValue, getEmployeeCode, getEmployeeId, getItemDefaultWidth$1 as getItemDefaultWidth, getJoinDictionaryText, getLastKey, getLimitMenuDataKey, getLocalStorageSaveKey, getMenuAuthDataKey, getSessionId, getSkuImg, getTenantList, getUserId, getUserName, go2BackAndClose, handleAntdColumnsSpecialParams, handleBaseUrlPre, handleBeforeUpload, handleBssulaColumnsSpecialParams, handleCommonTimeRender$1 as handleCommonTimeRender, handleConvertResponse, handleError, handleExport, handleExportBarCode, handleJudgeAuthButtons, handleOssUrl, handleRequestAuthHeader, handleRequestHeader, handleRequestUrl, handleStatusBadge, handleTextBreakSpaces, handleTextDouble$1 as handleTextDouble, handleTextDoubleOrId, handleTextLineFeed$1 as handleTextLineFeed, handleTextOverflow$1 as handleTextOverflow, handleTextTooltip, handleTextWarp, handleTextWarpCustom, handleTooltip$1 as handleTooltip, handleTooltipHours$1 as handleTooltipHours, handleUserPhone, judgeIsEmpty, judgeIsRequestError, judgeIsRequestSuccess, keyToWord, memoizeOneFormatter, noEmptyArr, noEmptyArray, paramsControl, parseWidth, precisionQuantity, randomString, readerXlsxToList, removeCurrentTenantId, removeTenantList, renderFixed2, renderNumberText, saveCurrentTenantId, saveTenantList, setConfigTableColumns, shouldUseAuth, socketFunctions, sulaTableRenderTooltip, tableColumnsImage$1 as tableColumnsImage, textIcon, updateGuanDate, userColumns$1 as userColumns, userInfoCard$1 as userInfoCard, uuid, writeListToXlsx };
37793
+ export { AddSelect, AddSkcSelect, AddSkuSelect, AddSpuSelect, AuthButton, BillEntry, BsCascader, index$5 as BsLayout, BsSulaQueryTable, BusinessSearchSelect$1 as BusinessSearchSelect, BusinessTreeSearchSelect$1 as BusinessTreeSearchSelect, index$1 as CheckOneUser, ColumnSettingTable, ColumnsEdit, CommodityEntry, CustomSelector, DataImport, DataValidation, index$3 as DetailPageWrapper, EllipsisTooltip, ExportIcon, index$8 as ExtendedCollapse, GuideWrapper, HandleTotalCount, index$4 as HomePageWrapper, JsonQueryTable, index$6 as MoreTreeTable, ParagraphCopier, QueryMutipleInput, RuleObjectComponent as RuleComponent, index$7 as RuleSetter, SearchSelect, Section, index$2 as StateFlow, ColumnSettingSulaTable as SulaColumnSettingTable, TableColumnSetting, TreeSearchSelect, authFunc, calculateValidPeriod, checkQuantityAccuracy, coverToParallel, 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 };