@bit-sun/business-component 4.2.0-alpha.jw-1 → 4.2.1-alpha.1-aiwei

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 (73) hide show
  1. package/.umirc.ts +9 -9
  2. package/dist/components/Business/AddSelectBusiness/index.d.ts +3 -4
  3. package/dist/components/Business/BsLayouts/Components/AllFunc/drawContent.d.ts +1 -2
  4. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +1 -2
  5. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/index.d.ts +1 -1
  6. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/leftTree.d.ts +1 -1
  7. package/dist/components/Business/BsLayouts/Components/CustomerMenu/MenuSetting/rightTree.d.ts +2 -2
  8. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/DrawContent.d.ts +1 -2
  9. package/dist/components/Business/BsLayouts/Components/CustomerMenu/globalMenu/customMenuHeader.d.ts +1 -2
  10. package/dist/components/Business/BsLayouts/Components/CustomerMenu/index.d.ts +1 -1
  11. package/dist/components/Business/BsLayouts/Components/GlobalHeader/index.d.ts +1 -2
  12. package/dist/components/Business/BsLayouts/Components/RightContent/LoginModal.d.ts +1 -2
  13. package/dist/components/Business/BsLayouts/index.d.ts +1 -1
  14. package/dist/components/Business/BsSulaQueryTable/SearchItemSetting.d.ts +5 -5
  15. package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -2
  16. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +6 -6
  17. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +14 -15
  18. package/dist/components/Business/CommodityEntry/index.d.ts +1 -2
  19. package/dist/components/Business/CommonAlert/index.d.ts +1 -2
  20. package/dist/components/Business/CommonGuideWrapper/index.d.ts +3 -3
  21. package/dist/components/Business/DetailPageWrapper/index.d.ts +11 -12
  22. package/dist/components/Business/HomePageWrapper/index.d.ts +1 -2
  23. package/dist/components/Business/ItemPropertySelector/index.d.ts +1 -2
  24. package/dist/components/Business/JsonQueryTable/components/FieldsModifyModal.d.ts +1 -2
  25. package/dist/components/Business/JsonQueryTable/components/FieldsSettingsTable.d.ts +1 -2
  26. package/dist/components/Business/JsonQueryTable/components/Formula.d.ts +1 -2
  27. package/dist/components/Business/JsonQueryTable/components/MaintainOptions.d.ts +1 -2
  28. package/dist/components/Business/JsonQueryTable/drawer/index.d.ts +1 -2
  29. package/dist/components/Business/PropertyModal/index.d.ts +1 -2
  30. package/dist/components/Business/PropertyModal/propertyGroup.d.ts +1 -1
  31. package/dist/components/Business/SearchSelect/index.d.ts +1 -1
  32. package/dist/components/Business/StateFlow/index.d.ts +1 -2
  33. package/dist/components/Business/TreeSearchSelect/index.d.ts +1 -1
  34. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +6 -6
  35. package/dist/components/Business/columnSettingTable/components/TableSumComponent.d.ts +1 -2
  36. package/dist/components/Business/columnSettingTable/index.d.ts +3 -3
  37. package/dist/components/Business/columnSettingTable/sulaSettingTable.d.ts +3 -3
  38. package/dist/components/Business/columnSettingTable/utils.d.ts +1 -2
  39. package/dist/components/Business/moreTreeTable/FixedScrollBar.d.ts +1 -1
  40. package/dist/components/Common/ParagraphCopier/index.d.ts +1 -1
  41. package/dist/components/Common/Section/index.d.ts +1 -1
  42. package/dist/components/Functional/AddSelect/index.d.ts +1 -2
  43. package/dist/components/Functional/AuthButton/index.d.ts +1 -2
  44. package/dist/components/Functional/DataImport/index.d.ts +3 -3
  45. package/dist/components/Functional/DataValidation/index.d.ts +4 -4
  46. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -2
  47. package/dist/components/Functional/QueryMutipleInput/index.d.ts +1 -2
  48. package/dist/components/Functional/QueryMutipleSelect/index.d.ts +1 -2
  49. package/dist/components/Functional/SearchSelect/index.d.ts +1 -1
  50. package/dist/components/Functional/SearchSelect/utils.d.ts +2 -3
  51. package/dist/components/Functional/TreeSearchSelect/index.d.ts +1 -2
  52. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/CustomSelectorModal.d.ts +1 -1
  53. package/dist/components/Solution/RuleComponent/CustomPlugin/CustomSelector/index.d.ts +1 -2
  54. package/dist/components/Solution/RuleComponent/Formula.d.ts +1 -2
  55. package/dist/components/Solution/RuleComponent/InnerSelect.d.ts +1 -2
  56. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +1 -2
  57. package/dist/components/Solution/RuleSetter/RuleInstance.d.ts +1 -2
  58. package/dist/components/Solution/RuleSetter/baseRule.d.ts +1 -1
  59. package/dist/components/Solution/RuleSetter/index.d.ts +1 -1
  60. package/dist/index.esm.js +321 -39
  61. package/dist/index.js +321 -39
  62. package/dist/plugin/TableColumnSetting/index.d.ts +5 -5
  63. package/dist/utils/TableUtils.d.ts +18 -19
  64. package/package.json +1 -1
  65. package/src/components/Business/BsLayouts/Components/CustomerMenu/index.tsx +2 -2
  66. package/src/components/Business/BsLayouts/index.tsx +2 -2
  67. package/src/components/Business/BsSulaQueryTable/index.tsx +11 -10
  68. package/src/components/Business/BsSulaQueryTable/setting.tsx +6 -0
  69. package/src/components/Business/SearchSelect/BusinessUtils.tsx +195 -11
  70. package/src/components/Business/SearchSelect/index.md +1 -1
  71. package/src/components/Functional/SearchSelect/index.tsx +1 -0
  72. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +9 -1
  73. package/src/components/Solution/RuleComponent/ruleFiled.js +25 -1
package/dist/index.js CHANGED
@@ -5994,6 +5994,7 @@ var SearchSelect = /*#__PURE__*/React$1.forwardRef(function (props, ref) {
5994
5994
  };
5995
5995
  var formItem = function formItem(list) {
5996
5996
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
5997
+ debugger;
5997
5998
  var setDisabled = function setDisabled(name) {
5998
5999
  if (fixedparamsDisabled && (fixedparameter === null || fixedparameter === void 0 ? void 0 : fixedparameter.length) && fixedparameter.find(function (item) {
5999
6000
  return item === name;
@@ -10028,6 +10029,7 @@ function commonFun(type, prefixUrl, parentProps) {
10028
10029
  var modalTableProps = _objectSpread2({
10029
10030
  modalTableTitle: '',
10030
10031
  tableSearchForm: tableSearchForm,
10032
+ visibleFieldsCount: 13,
10031
10033
  tableColumns: []
10032
10034
  }, modalTableBusProps);
10033
10035
  var needModalTable = (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable) !== undefined ? modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable : true;
@@ -10393,15 +10395,172 @@ function commonFun(type, prefixUrl, parentProps) {
10393
10395
  }
10394
10396
  }
10395
10397
  }, {
10396
- name: 'UNIQUE_SPEC',
10397
- label: '属性',
10398
+ name: 'qp-skcCode-in',
10399
+ label: 'SKC编码',
10398
10400
  field: {
10399
- type: 'proppertySelector'
10401
+ type: 'multipleQuerySearchSelect',
10402
+ props: {
10403
+ selectProps: {
10404
+ mode: "multiple",
10405
+ placeholder: '请输入SKC编码查询'
10406
+ },
10407
+ requestConfig: {
10408
+ url: '/items/sku//listNoPage/Simple',
10409
+ filter: 'qp-skcCode,name-orGroup,like',
10410
+ mappingTextField: 'name',
10411
+ mappingValueField: 'skcCode',
10412
+ sourceName: 'qp-skcCode-in',
10413
+ specialBracket: true,
10414
+ otherParams: {
10415
+ 'ownOrgSign': getCurrentTargetBgId(),
10416
+ 'ctl-count': true
10417
+ } // 默认参数
10418
+ }
10419
+ }
10400
10420
  }
10401
- }];
10421
+ }, {
10422
+ name: 'qp-year-in',
10423
+ type: 'select',
10424
+ label: '年份',
10425
+ field: {
10426
+ type: 'select',
10427
+ props: {
10428
+ mode: 'multiple',
10429
+ notFoundContent: '暂无数据',
10430
+ allowClear: true,
10431
+ showSearch: true,
10432
+ showArrow: true,
10433
+ maxTagCount: 1,
10434
+ optionFilterProp: 'children',
10435
+ filterOption: function filterOption(input, option) {
10436
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10437
+ }
10438
+ }
10439
+ }
10440
+ }, {
10441
+ name: 'qp-season-in',
10442
+ type: 'select',
10443
+ label: '季节',
10444
+ field: {
10445
+ type: 'select',
10446
+ props: {
10447
+ mode: 'multiple',
10448
+ notFoundContent: '暂无数据',
10449
+ allowClear: true,
10450
+ showSearch: true,
10451
+ showArrow: true,
10452
+ maxTagCount: 1,
10453
+ optionFilterProp: 'children',
10454
+ filterOption: function filterOption(input, option) {
10455
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10456
+ }
10457
+ }
10458
+ }
10459
+ }, {
10460
+ name: 'qp-zzbdbm-in',
10461
+ type: 'select',
10462
+ label: '波段',
10463
+ field: {
10464
+ type: 'select',
10465
+ props: {
10466
+ mode: 'multiple',
10467
+ notFoundContent: '暂无数据',
10468
+ allowClear: true,
10469
+ showSearch: true,
10470
+ showArrow: true,
10471
+ maxTagCount: 1,
10472
+ optionFilterProp: 'children',
10473
+ filterOption: function filterOption(input, option) {
10474
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10475
+ }
10476
+ }
10477
+ }
10478
+ }, {
10479
+ name: 'qp-zzdlbm-in',
10480
+ type: 'select',
10481
+ label: '大类',
10482
+ field: {
10483
+ type: 'select',
10484
+ props: {
10485
+ mode: 'multiple',
10486
+ notFoundContent: '暂无数据',
10487
+ allowClear: true,
10488
+ showSearch: true,
10489
+ showArrow: true,
10490
+ maxTagCount: 1,
10491
+ optionFilterProp: 'children',
10492
+ filterOption: function filterOption(input, option) {
10493
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10494
+ }
10495
+ }
10496
+ }
10497
+ }, {
10498
+ name: 'qp-zzzlbm-in',
10499
+ type: 'select',
10500
+ label: '中类',
10501
+ field: {
10502
+ type: 'select',
10503
+ props: {
10504
+ mode: 'multiple',
10505
+ notFoundContent: '暂无数据',
10506
+ allowClear: true,
10507
+ showSearch: true,
10508
+ showArrow: true,
10509
+ maxTagCount: 1,
10510
+ optionFilterProp: 'children',
10511
+ filterOption: function filterOption(input, option) {
10512
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10513
+ }
10514
+ }
10515
+ }
10516
+ }, {
10517
+ name: 'qp-zzxlbm-in',
10518
+ type: 'select',
10519
+ label: '小类',
10520
+ field: {
10521
+ type: 'select',
10522
+ props: {
10523
+ mode: 'multiple',
10524
+ notFoundContent: '暂无数据',
10525
+ allowClear: true,
10526
+ showSearch: true,
10527
+ showArrow: true,
10528
+ maxTagCount: 1,
10529
+ optionFilterProp: 'children',
10530
+ filterOption: function filterOption(input, option) {
10531
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10532
+ }
10533
+ }
10534
+ }
10535
+ }
10536
+ // { name: 'UNIQUE_SPEC', label: '属性', field: {
10537
+ // type: 'proppertySelector',
10538
+ // } },
10539
+ ];
10402
10540
  var defaultQSHL = [{
10403
10541
  isOpen: true,
10404
10542
  queryKey: 'qp-brandId-in'
10543
+ }, {
10544
+ isOpen: true,
10545
+ queryKey: 'qp-categoryId-in'
10546
+ }, {
10547
+ isOpen: true,
10548
+ queryKey: 'qp-year-in'
10549
+ }, {
10550
+ isOpen: true,
10551
+ queryKey: 'qp-season-in'
10552
+ }, {
10553
+ isOpen: true,
10554
+ queryKey: 'qp-zzbdbm-in'
10555
+ }, {
10556
+ isOpen: true,
10557
+ queryKey: 'qp-zzdlbm-in'
10558
+ }, {
10559
+ isOpen: true,
10560
+ queryKey: 'qp-zzzlbm-in'
10561
+ }, {
10562
+ isOpen: true,
10563
+ queryKey: 'qp-zzxlbm-in'
10405
10564
  }];
10406
10565
  var _queryHeaderParams2 = getQueryHeadersList({
10407
10566
  defaultQSHL: defaultQSHL,
@@ -10415,14 +10574,39 @@ function commonFun(type, prefixUrl, parentProps) {
10415
10574
  }, getQueryHeadersItem(_queryHeaderParams2, 'qp-brandId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
10416
10575
  pageSize: 5000,
10417
10576
  currentPage: 1
10418
- }, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in'))]).then(function (x) {
10577
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10578
+ 'qp-propertyCode-eq': 'PROP_YEAR',
10579
+ pageSize: 999
10580
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-year-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10581
+ 'qp-propertyCode-eq': 'PROP_SEASON',
10582
+ pageSize: 999
10583
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-season-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/band"), {
10584
+ pageSize: 999,
10585
+ currentPage: 1
10586
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzbdbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/rule/getClassPropertyValue/110000217"), {}, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzdlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10587
+ 'qp-propertyCode-eq': 'MID_CATA',
10588
+ pageSize: 999
10589
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzzlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10590
+ 'qp-propertyCode-eq': 'PROP_SUBCATEORY',
10591
+ pageSize: 999
10592
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in'))]).then(function (x) {
10419
10593
  formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
10420
10594
  formatTreeDataSource(x, 1, 4, tableSearchForm);
10595
+ formatSource(x, 0, getFieldIndex(tableSearchForm, 'qp-brandId-in'), tableSearchForm, ['id', 'name']);
10596
+ formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'qp-categoryId-in'), tableSearchForm);
10597
+ formatSource(x, 2, getFieldIndex(tableSearchForm, 'qp-year-in'), tableSearchForm, ['value', 'value']);
10598
+ formatSource(x, 3, getFieldIndex(tableSearchForm, 'qp-season-in'), tableSearchForm, ['value', 'value']);
10599
+ formatSource(x, 4, getFieldIndex(tableSearchForm, 'qp-zzbdbm-in'), tableSearchForm, ['bandCode', 'bandName']);
10600
+ formatSource(x, 5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm, ['value', 'value']);
10601
+ formatSource(x, 6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm, ['value', 'value']);
10602
+ formatSource(x, 7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm, ['value', 'value']);
10421
10603
  });
10422
10604
  modalTableProps = _objectSpread2({
10423
10605
  modalTableTitle: '选择SKU',
10424
10606
  tableSearchForm: tableSearchForm,
10425
10607
  isHorizontally: true,
10608
+ tableSearchColSpan: 6,
10609
+ visibleFieldsCount: 13,
10426
10610
  tableColumns: [{
10427
10611
  title: '序号',
10428
10612
  dataIndex: 'keyIndex',
@@ -11217,7 +11401,7 @@ function commonFun(type, prefixUrl, parentProps) {
11217
11401
  }, {
11218
11402
  name: 'qp-channelCode-in',
11219
11403
  type: 'treeSelect',
11220
- label: '销售渠道',
11404
+ label: '战区',
11221
11405
  field: {
11222
11406
  type: 'treeSelect',
11223
11407
  props: {
@@ -11239,7 +11423,7 @@ function commonFun(type, prefixUrl, parentProps) {
11239
11423
  }, {
11240
11424
  name: 'qp-refCode-in',
11241
11425
  type: 'treeSelect',
11242
- label: '营销区域',
11426
+ label: '大区',
11243
11427
  field: {
11244
11428
  type: 'treeSelect',
11245
11429
  props: {
@@ -12118,7 +12302,7 @@ function commonFun(type, prefixUrl, parentProps) {
12118
12302
  }, {
12119
12303
  name: 'qp-channelCode-in',
12120
12304
  type: 'treeSelect',
12121
- label: '所属销售渠道',
12305
+ label: '战区',
12122
12306
  field: {
12123
12307
  type: 'treeSelect',
12124
12308
  props: {
@@ -12140,7 +12324,7 @@ function commonFun(type, prefixUrl, parentProps) {
12140
12324
  }, {
12141
12325
  name: 'qp-commonRelationAreaCode-in',
12142
12326
  type: 'treeSelect',
12143
- label: '营销区域',
12327
+ label: '大区',
12144
12328
  field: {
12145
12329
  type: 'treeSelect',
12146
12330
  props: {
@@ -12197,6 +12381,26 @@ function commonFun(type, prefixUrl, parentProps) {
12197
12381
  }
12198
12382
  }
12199
12383
  }
12384
+ }, {
12385
+ name: 'qp-manageSupervisor-like',
12386
+ label: '管理督导',
12387
+ type: 'input'
12388
+ }, {
12389
+ name: 'qp-directSupervisor-like',
12390
+ label: '直接督导',
12391
+ type: 'input'
12392
+ }, {
12393
+ name: 'qp-distributionItem-like',
12394
+ label: '分销商品',
12395
+ type: 'input'
12396
+ }, {
12397
+ name: 'qp-headItem-like',
12398
+ label: '总部商品',
12399
+ type: 'input'
12400
+ }, {
12401
+ name: 'qp-storeChannelName-like',
12402
+ label: '管理模式',
12403
+ type: 'input'
12200
12404
  }];
12201
12405
  var _queryHeaderParams10 = getQueryHeadersList({
12202
12406
  querySelectHeadersList: querySelectHeadersList,
@@ -12290,6 +12494,36 @@ function commonFun(type, prefixUrl, parentProps) {
12290
12494
  return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
12291
12495
  },
12292
12496
  width: 80
12497
+ }, {
12498
+ title: '品牌',
12499
+ dataIndex: 'brandName',
12500
+ defaultSort: 8,
12501
+ width: 80
12502
+ }, {
12503
+ title: '管理督导',
12504
+ dataIndex: 'manageSupervisor',
12505
+ defaultSort: 9,
12506
+ width: 100
12507
+ }, {
12508
+ title: '直接督导',
12509
+ dataIndex: 'directSupervisor',
12510
+ defaultSort: 10,
12511
+ width: 100
12512
+ }, {
12513
+ title: '分销商品',
12514
+ dataIndex: 'distributionItem',
12515
+ defaultSort: 11,
12516
+ width: 100
12517
+ }, {
12518
+ title: '总部商品',
12519
+ dataIndex: 'headItem',
12520
+ defaultSort: 12,
12521
+ width: 100
12522
+ }, {
12523
+ title: '管理模式',
12524
+ dataIndex: 'storeChannelName',
12525
+ defaultSort: 13,
12526
+ width: 100
12293
12527
  }],
12294
12528
  noEmptySearchField: true
12295
12529
  }, modalTableBusProps);
@@ -14831,7 +15065,7 @@ function getStorageVale(storageKeyString) {
14831
15065
  var _storageKeyString$spl = storageKeyString.split('.'),
14832
15066
  _storageKeyString$spl2 = _toArray(_storageKeyString$spl),
14833
15067
  localstorage = _storageKeyString$spl2[0],
14834
- restKeyArrays = _storageKeyString$spl2.slice(1);
15068
+ restKeyArrays = _arrayLikeToArray(_storageKeyString$spl2).slice(1);
14835
15069
  var localStorageInfo = window.localStorage.getItem(localstorage);
14836
15070
  if (!restKeyArrays.length) return localStorageInfo;
14837
15071
  var returnVal = JSON.parse(localStorageInfo || '{}');
@@ -17869,6 +18103,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17869
18103
  title: '列首',
17870
18104
  dataIndex: 'fixedLeft',
17871
18105
  render: function render(text, record) {
18106
+ if (_this.props.disableColumnFixed) {
18107
+ return null;
18108
+ }
17872
18109
  return /*#__PURE__*/React__default['default'].createElement("span", {
17873
18110
  onClick: function onClick() {
17874
18111
  var sortDataSource = _this.state.sortDataSource;
@@ -17945,6 +18182,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17945
18182
  title: '列尾',
17946
18183
  dataIndex: 'fixedRight',
17947
18184
  render: function render(text, record) {
18185
+ if (_this.props.disableColumnFixed) {
18186
+ return null;
18187
+ }
17948
18188
  return /*#__PURE__*/React__default['default'].createElement("span", {
17949
18189
  onClick: function onClick() {
17950
18190
  var sortDataSource = _this.state.sortDataSource;
@@ -19194,7 +19434,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
19194
19434
  }, /*#__PURE__*/React__default['default'].createElement("th", _objectSpread2({}, restProps)));
19195
19435
  };
19196
19436
  var BsSulaQueryTable = (function (props) {
19197
- var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _value$exportConfig6;
19437
+ var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _props$tableProps, _value$exportConfig6;
19198
19438
  var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
19199
19439
  var rowsRef = React$1.useRef(null);
19200
19440
  // 获取 table columns中所有的 key 防止有的地方是 dataindex
@@ -19277,8 +19517,7 @@ var BsSulaQueryTable = (function (props) {
19277
19517
  setPagePath = _useState0[1];
19278
19518
  var _useLocation = umi.useLocation(),
19279
19519
  pathname = _useLocation.pathname,
19280
- _useLocation$state = _useLocation.state,
19281
- state = _useLocation$state === void 0 ? {} : _useLocation$state;
19520
+ _useLocation$state = _useLocation.state;
19282
19521
  var _useState1 = React$1.useState(false),
19283
19522
  _useState10 = _slicedToArray(_useState1, 2),
19284
19523
  isFullScreen = _useState10[0],
@@ -19754,17 +19993,16 @@ var BsSulaQueryTable = (function (props) {
19754
19993
  isFullScreen: isFullScreen
19755
19994
  });
19756
19995
  React$1.useEffect(function () {
19757
- if (!localStorage.getItem('isTabChange') || (state === null || state === void 0 ? void 0 : state.updateCurrentPage)) {
19758
- if (pagePath === pathname) {
19759
- var _config$ref, _config$ref$current, _config$ref$current$t, _config$ref$current$t2;
19760
- // @ts-ignore
19761
- (_config$ref = config.ref) === null || _config$ref === void 0 ? void 0 : (_config$ref$current = _config$ref.current) === null || _config$ref$current === void 0 ? void 0 : (_config$ref$current$t = _config$ref$current.tableRef) === null || _config$ref$current$t === void 0 ? void 0 : (_config$ref$current$t2 = _config$ref$current$t.current) === null || _config$ref$current$t2 === void 0 ? void 0 : _config$ref$current$t2.refreshTable();
19762
- }
19763
- }
19764
- setTimeout(function () {
19765
- // 处理页面刷新两面
19766
- localStorage.removeItem('isTabChange');
19767
- }, 0);
19996
+ // if (!localStorage.getItem('isTabChange') || state?.updateCurrentPage) {
19997
+ // if (pagePath === pathname) {
19998
+ // // @ts-ignore
19999
+ // config.ref?.current?.tableRef?.current?.refreshTable();
20000
+ // }
20001
+ // }
20002
+ // setTimeout(() => {
20003
+ // // 处理页面刷新两面
20004
+ // localStorage.removeItem('isTabChange');
20005
+ // }, 0);
19768
20006
  }, [pathname]);
19769
20007
  var expandedRowKeys = props === null || props === void 0 ? void 0 : (_props$expandable = props.expandable) === null || _props$expandable === void 0 ? void 0 : _props$expandable.expandedRowKeys;
19770
20008
  //todo summary属性已经被使用,为了兼容之前的,现在使用 summaryList
@@ -19855,6 +20093,7 @@ var BsSulaQueryTable = (function (props) {
19855
20093
  id: "bs-sula-query-table"
19856
20094
  }, /*#__PURE__*/React__default['default'].createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React__default['default'].createElement(SortableTable$1, {
19857
20095
  ref: sortTableRef,
20096
+ disableColumnFixed: (_props$tableProps = props.tableProps) === null || _props$tableProps === void 0 ? void 0 : _props$tableProps.isVirtualTable,
19858
20097
  setShowColumns: setResizeShowColumns,
19859
20098
  showColumn: showColumn,
19860
20099
  setInitialTableInfo: setInitialTableInfo,
@@ -19931,7 +20170,7 @@ var matchPath = function matchPath(pathname) {
19931
20170
  if (!match) return null;
19932
20171
  var _match = _toArray(match),
19933
20172
  url = _match[0],
19934
- values = _match.slice(1);
20173
+ values = _arrayLikeToArray(_match).slice(1);
19935
20174
  var isExact = pathname === url;
19936
20175
  if (exact && !isExact) return null;
19937
20176
  return {
@@ -21012,6 +21251,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
21012
21251
  })), /*#__PURE__*/React__default['default'].createElement(GlobalHeaderRight, null));
21013
21252
  };
21014
21253
 
21254
+ 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";
21255
+
21015
21256
  var css_248z$o = ".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";
21016
21257
  styleInject(css_248z$o);
21017
21258
 
@@ -21717,7 +21958,28 @@ var CustomerMenu = /*#__PURE__*/React$1.forwardRef(function (_ref, ref) {
21717
21958
  };
21718
21959
  return /*#__PURE__*/React__default['default'].createElement("div", {
21719
21960
  className: 'customer_menu_content'
21720
- }, !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
21961
+ }, /*#__PURE__*/React__default['default'].createElement("div", {
21962
+ style: {
21963
+ cursor: 'pointer'
21964
+ },
21965
+ onClick: function onClick(e) {
21966
+ handleClose();
21967
+ settingModalFn(_objectSpread2(_objectSpread2({}, settingModal), {}, {
21968
+ visible: true
21969
+ }));
21970
+ }
21971
+ }, /*#__PURE__*/React__default['default'].createElement("img", {
21972
+ style: {
21973
+ marginTop: '-3px'
21974
+ },
21975
+ width: 24,
21976
+ src: addIcon
21977
+ }), /*#__PURE__*/React__default['default'].createElement(antd.Button, {
21978
+ type: 'link',
21979
+ style: {
21980
+ paddingLeft: '5px'
21981
+ }
21982
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React__default['default'].createElement(antd.Drawer, {
21721
21983
  style: {
21722
21984
  left: isDrawer ? 140 : 0
21723
21985
  },
@@ -22219,7 +22481,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
22219
22481
  if (item.children && item.children.length > 0) {
22220
22482
  _getLimitedMenuKeys(item.children);
22221
22483
  } else {
22222
- var originPath = (item.path || item.frontendPath).replace(/^\/\w+\//, '/');
22484
+ var originPath = item.path.replace(/^\/\w+\//, '/');
22223
22485
  menuKeys.push(originPath);
22224
22486
  if (pathToRegexp('/operation-and-maintenance-center/configuration-management/all-general-documents-specific/:id').test(originPath)) {
22225
22487
  getId(originPath) && docsId.push(getId(originPath));
@@ -22469,7 +22731,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22469
22731
  return;
22470
22732
  }
22471
22733
  // todo:暂时处理非wujie环境不做404管控
22472
- if (!window.__POWERED_BY_WUJIE__ && !_this.props.isSingleSystem) {
22734
+ if (!window.__POWERED_BY_WUJIE__) {
22473
22735
  treeList.push({
22474
22736
  tab: node.locale,
22475
22737
  key: node.path,
@@ -32588,7 +32850,7 @@ var JsonQueryTable = /*#__PURE__*/React__default['default'].memo(function (props
32588
32850
  });
32589
32851
  Promise.all(axiosArr).then(function (_ref5) {
32590
32852
  var _ref6 = _toArray(_ref5),
32591
- resArr = _ref6.slice(0);
32853
+ resArr = _arrayLikeToArray(_ref6).slice(0);
32592
32854
  var configParams = {};
32593
32855
  detailTablesSetting.map(function (item, index) {
32594
32856
  var _resArr$index;
@@ -35986,7 +36248,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35986
36248
  }
35987
36249
  }
35988
36250
  // 配送方式选择器
35989
- if (dataChoiceBusinessType == 310) {
36251
+ if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
35990
36252
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
35991
36253
  return /*#__PURE__*/React__default['default'].createElement(React__default['default'].Fragment, null, /*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
35992
36254
  selectBusinessType: "deliveryMode",
@@ -36000,9 +36262,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36000
36262
  disabled: disabled,
36001
36263
  labelInValue: true,
36002
36264
  value: values[0],
36003
- requestConfig: {
36265
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36266
+ otherParams: {
36267
+ // 配送方式只选择标准配送方式
36268
+ 'qp-recordChannnelCode-eq': 80
36269
+ }
36270
+ } : {}), {}, {
36004
36271
  filterInit: 'qp-code-in'
36005
- },
36272
+ }),
36006
36273
  onChange: function onChange(value) {
36007
36274
  if (dataInputBusinessType === 12) {
36008
36275
  values[0] = value.map(function (i) {
@@ -36032,9 +36299,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36032
36299
  disabled: disabled,
36033
36300
  labelInValue: true,
36034
36301
  value: values[1],
36035
- requestConfig: {
36302
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36303
+ otherParams: {
36304
+ // 配送方式只选择标准配送方式
36305
+ 'qp-recordChannnelCode-eq': 80
36306
+ }
36307
+ } : {}), {}, {
36036
36308
  filterInit: 'qp-code-in'
36037
- },
36309
+ }),
36038
36310
  onChange: function onChange(value) {
36039
36311
  if (dataInputBusinessType === 12) {
36040
36312
  values[1] = value.map(function (i) {
@@ -36078,9 +36350,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36078
36350
  disabled: disabled,
36079
36351
  labelInValue: true,
36080
36352
  value: _currentValue0,
36081
- requestConfig: {
36353
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36354
+ otherParams: {
36355
+ // 配送方式只选择标准配送方式
36356
+ 'qp-recordChannnelCode-eq': 80
36357
+ }
36358
+ } : {}), {}, {
36082
36359
  filterInit: 'qp-code-in'
36083
- },
36360
+ }),
36084
36361
  onChange: function onChange(value) {
36085
36362
  if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36086
36363
  values = value.map(function (i) {
@@ -37780,7 +38057,7 @@ function RenderCompItem(props) {
37780
38057
  getPopupContainer: function getPopupContainer() {
37781
38058
  return document.body;
37782
38059
  }
37783
- })) || 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__default['default'].createElement(BusinessSearchSelect$1, {
38060
+ })) || 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 || (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311) && (/*#__PURE__*/React__default['default'].createElement(BusinessSearchSelect$1, {
37784
38061
  selectBusinessType: "deliveryMode",
37785
38062
  selectProps: _objectSpread2({
37786
38063
  style: styleCommon,
@@ -37792,9 +38069,14 @@ function RenderCompItem(props) {
37792
38069
  disabled: disabled,
37793
38070
  labelInValue: true,
37794
38071
  value: showValue(ites.code),
37795
- requestConfig: {
38072
+ requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
38073
+ otherParams: {
38074
+ // 配送方式只选择标准配送方式
38075
+ 'qp-recordChannnelCode-eq': 80
38076
+ }
38077
+ } : {}), {}, {
37796
38078
  filterInit: 'qp-code-in'
37797
- },
38079
+ }),
37798
38080
  onChange: function onChange(value) {
37799
38081
  handleEdit(ites.code, value);
37800
38082
  },
@@ -38,14 +38,14 @@ declare class TableColumnSetting extends React.Component<TableColumnSettingProps
38
38
  } | {
39
39
  title: string;
40
40
  dataIndex: string;
41
- render: (text: any, record: any) => React.JSX.Element;
41
+ render: (text: any, record: any) => JSX.Element;
42
42
  className?: undefined;
43
43
  width?: undefined;
44
44
  } | {
45
45
  title: string;
46
46
  dataIndex: string;
47
47
  className: string;
48
- render: () => React.JSX.Element;
48
+ render: () => JSX.Element;
49
49
  width?: undefined;
50
50
  })[];
51
51
  showModal: () => void;
@@ -53,13 +53,13 @@ declare class TableColumnSetting extends React.Component<TableColumnSettingProps
53
53
  handleCancel: (e: React.MouseEvent<HTMLElement>) => void;
54
54
  handleTableHeadHidden: (title: string) => void;
55
55
  onSortEnd: ({ oldIndex, newIndex }: any) => void;
56
- DraggableContainer: (props: any) => React.JSX.Element;
57
- DraggableBodyRow: ({ className, style, ...restProps }: any) => React.JSX.Element;
56
+ DraggableContainer: (props: any) => JSX.Element;
57
+ DraggableBodyRow: ({ className, style, ...restProps }: any) => JSX.Element;
58
58
  onChange: (e: any, title: any) => void;
59
59
  handleReset: () => void;
60
60
  handleResetSetting: () => Promise<unknown>;
61
61
  onSearch: (e: any) => void;
62
62
  onSearchSort: (e: any) => void;
63
- render(): React.JSX.Element;
63
+ render(): JSX.Element;
64
64
  }
65
65
  export default TableColumnSetting;