@bit-sun/business-component 4.2.0-alpha.jw-1 → 4.2.1-alpha.2-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 +324 -50
  61. package/dist/index.js +324 -50
  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 +196 -12
  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.esm.js CHANGED
@@ -5971,6 +5971,7 @@ var SearchSelect = /*#__PURE__*/forwardRef(function (props, ref) {
5971
5971
  };
5972
5972
  var formItem = function formItem(list) {
5973
5973
  if (isModalVisible && (list === null || list === void 0 ? void 0 : list.length)) {
5974
+ debugger;
5974
5975
  var setDisabled = function setDisabled(name) {
5975
5976
  if (fixedparamsDisabled && (fixedparameter === null || fixedparameter === void 0 ? void 0 : fixedparameter.length) && fixedparameter.find(function (item) {
5976
5977
  return item === name;
@@ -10005,6 +10006,7 @@ function commonFun(type, prefixUrl, parentProps) {
10005
10006
  var modalTableProps = _objectSpread2({
10006
10007
  modalTableTitle: '',
10007
10008
  tableSearchForm: tableSearchForm,
10009
+ visibleFieldsCount: 13,
10008
10010
  tableColumns: []
10009
10011
  }, modalTableBusProps);
10010
10012
  var needModalTable = (modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable) !== undefined ? modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needModalTable : true;
@@ -10370,15 +10372,172 @@ function commonFun(type, prefixUrl, parentProps) {
10370
10372
  }
10371
10373
  }
10372
10374
  }, {
10373
- name: 'UNIQUE_SPEC',
10374
- label: '属性',
10375
+ name: 'qp-skcCode-in',
10376
+ label: 'SKC编码',
10375
10377
  field: {
10376
- type: 'proppertySelector'
10378
+ type: 'multipleQuerySearchSelect',
10379
+ props: {
10380
+ selectProps: {
10381
+ mode: "multiple",
10382
+ placeholder: '请输入SKC编码查询'
10383
+ },
10384
+ requestConfig: {
10385
+ url: '/items/sku//listNoPage/Simple',
10386
+ filter: 'qp-skcCode,name-orGroup,like',
10387
+ mappingTextField: 'name',
10388
+ mappingValueField: 'skcCode',
10389
+ sourceName: 'qp-skcCode-in',
10390
+ specialBracket: true,
10391
+ otherParams: {
10392
+ 'ownOrgSign': getCurrentTargetBgId(),
10393
+ 'ctl-count': true
10394
+ } // 默认参数
10395
+ }
10396
+ }
10377
10397
  }
10378
- }];
10398
+ }, {
10399
+ name: 'qp-year-in',
10400
+ type: 'select',
10401
+ label: '年份',
10402
+ field: {
10403
+ type: 'select',
10404
+ props: {
10405
+ mode: 'multiple',
10406
+ notFoundContent: '暂无数据',
10407
+ allowClear: true,
10408
+ showSearch: true,
10409
+ showArrow: true,
10410
+ maxTagCount: 1,
10411
+ optionFilterProp: 'children',
10412
+ filterOption: function filterOption(input, option) {
10413
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10414
+ }
10415
+ }
10416
+ }
10417
+ }, {
10418
+ name: 'qp-season-in',
10419
+ type: 'select',
10420
+ label: '季节',
10421
+ field: {
10422
+ type: 'select',
10423
+ props: {
10424
+ mode: 'multiple',
10425
+ notFoundContent: '暂无数据',
10426
+ allowClear: true,
10427
+ showSearch: true,
10428
+ showArrow: true,
10429
+ maxTagCount: 1,
10430
+ optionFilterProp: 'children',
10431
+ filterOption: function filterOption(input, option) {
10432
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10433
+ }
10434
+ }
10435
+ }
10436
+ }, {
10437
+ name: 'qp-zzbdbm-in',
10438
+ type: 'select',
10439
+ label: '波段',
10440
+ field: {
10441
+ type: 'select',
10442
+ props: {
10443
+ mode: 'multiple',
10444
+ notFoundContent: '暂无数据',
10445
+ allowClear: true,
10446
+ showSearch: true,
10447
+ showArrow: true,
10448
+ maxTagCount: 1,
10449
+ optionFilterProp: 'children',
10450
+ filterOption: function filterOption(input, option) {
10451
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10452
+ }
10453
+ }
10454
+ }
10455
+ }, {
10456
+ name: 'qp-zzdlbm-in',
10457
+ type: 'select',
10458
+ label: '大类',
10459
+ field: {
10460
+ type: 'select',
10461
+ props: {
10462
+ mode: 'multiple',
10463
+ notFoundContent: '暂无数据',
10464
+ allowClear: true,
10465
+ showSearch: true,
10466
+ showArrow: true,
10467
+ maxTagCount: 1,
10468
+ optionFilterProp: 'children',
10469
+ filterOption: function filterOption(input, option) {
10470
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10471
+ }
10472
+ }
10473
+ }
10474
+ }, {
10475
+ name: 'qp-zzzlbm-in',
10476
+ type: 'select',
10477
+ label: '中类',
10478
+ field: {
10479
+ type: 'select',
10480
+ props: {
10481
+ mode: 'multiple',
10482
+ notFoundContent: '暂无数据',
10483
+ allowClear: true,
10484
+ showSearch: true,
10485
+ showArrow: true,
10486
+ maxTagCount: 1,
10487
+ optionFilterProp: 'children',
10488
+ filterOption: function filterOption(input, option) {
10489
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10490
+ }
10491
+ }
10492
+ }
10493
+ }, {
10494
+ name: 'qp-zzxlbm-in',
10495
+ type: 'select',
10496
+ label: '小类',
10497
+ field: {
10498
+ type: 'select',
10499
+ props: {
10500
+ mode: 'multiple',
10501
+ notFoundContent: '暂无数据',
10502
+ allowClear: true,
10503
+ showSearch: true,
10504
+ showArrow: true,
10505
+ maxTagCount: 1,
10506
+ optionFilterProp: 'children',
10507
+ filterOption: function filterOption(input, option) {
10508
+ return option.props.children.toLowerCase().indexOf(input.toLowerCase()) >= 0;
10509
+ }
10510
+ }
10511
+ }
10512
+ }
10513
+ // { name: 'UNIQUE_SPEC', label: '属性', field: {
10514
+ // type: 'proppertySelector',
10515
+ // } },
10516
+ ];
10379
10517
  var defaultQSHL = [{
10380
10518
  isOpen: true,
10381
10519
  queryKey: 'qp-brandId-in'
10520
+ }, {
10521
+ isOpen: true,
10522
+ queryKey: 'qp-categoryId-in'
10523
+ }, {
10524
+ isOpen: true,
10525
+ queryKey: 'qp-year-in'
10526
+ }, {
10527
+ isOpen: true,
10528
+ queryKey: 'qp-season-in'
10529
+ }, {
10530
+ isOpen: true,
10531
+ queryKey: 'qp-zzbdbm-in'
10532
+ }, {
10533
+ isOpen: true,
10534
+ queryKey: 'qp-zzdlbm-in'
10535
+ }, {
10536
+ isOpen: true,
10537
+ queryKey: 'qp-zzzlbm-in'
10538
+ }, {
10539
+ isOpen: true,
10540
+ queryKey: 'qp-zzxlbm-in'
10382
10541
  }];
10383
10542
  var _queryHeaderParams2 = getQueryHeadersList({
10384
10543
  defaultQSHL: defaultQSHL,
@@ -10392,14 +10551,39 @@ function commonFun(type, prefixUrl, parentProps) {
10392
10551
  }, getQueryHeadersItem(_queryHeaderParams2, 'qp-brandId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/category/queryCategoryTree"), {
10393
10552
  pageSize: 5000,
10394
10553
  currentPage: 1
10395
- }, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in'))]).then(function (x) {
10554
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-categoryId-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10555
+ 'qp-propertyCode-eq': 'PROP_YEAR',
10556
+ pageSize: 999
10557
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-year-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10558
+ 'qp-propertyCode-eq': 'PROP_SEASON',
10559
+ pageSize: 999
10560
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-season-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/band"), {
10561
+ pageSize: 999,
10562
+ currentPage: 1
10563
+ }, 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"), {
10564
+ 'qp-propertyCode-eq': 'MID_CATA',
10565
+ pageSize: 999
10566
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzzlbm-in')), loadSelectSource$1("".concat(prefixUrl.formSelectFix, "/item/propertyValue"), {
10567
+ 'qp-propertyCode-eq': 'PROP_SUBCATEORY',
10568
+ pageSize: 999
10569
+ }, getQueryHeadersItem(_queryHeaderParams2, 'qp-zzxlbm-in'))]).then(function (x) {
10396
10570
  formatSource(x, 0, 3, tableSearchForm, ['id', 'name']);
10397
10571
  formatTreeDataSource(x, 1, 4, tableSearchForm);
10572
+ formatSource(x, 0, getFieldIndex(tableSearchForm, 'qp-brandId-in'), tableSearchForm, ['id', 'name']);
10573
+ formatTreeDataSource(x, 1, getFieldIndex(tableSearchForm, 'qp-categoryId-in'), tableSearchForm);
10574
+ formatSource(x, 2, getFieldIndex(tableSearchForm, 'qp-year-in'), tableSearchForm, ['value', 'value']);
10575
+ formatSource(x, 3, getFieldIndex(tableSearchForm, 'qp-season-in'), tableSearchForm, ['value', 'value']);
10576
+ formatSource(x, 4, getFieldIndex(tableSearchForm, 'qp-zzbdbm-in'), tableSearchForm, ['bandCode', 'bandName']);
10577
+ formatSource(x, 5, getFieldIndex(tableSearchForm, 'qp-zzdlbm-in'), tableSearchForm, ['value', 'value']);
10578
+ formatSource(x, 6, getFieldIndex(tableSearchForm, 'qp-zzzlbm-in'), tableSearchForm, ['value', 'value']);
10579
+ formatSource(x, 7, getFieldIndex(tableSearchForm, 'qp-zzxlbm-in'), tableSearchForm, ['value', 'value']);
10398
10580
  });
10399
10581
  modalTableProps = _objectSpread2({
10400
10582
  modalTableTitle: '选择SKU',
10401
10583
  tableSearchForm: tableSearchForm,
10402
10584
  isHorizontally: true,
10585
+ tableSearchColSpan: 6,
10586
+ visibleFieldsCount: 13,
10403
10587
  tableColumns: [{
10404
10588
  title: '序号',
10405
10589
  dataIndex: 'keyIndex',
@@ -11181,20 +11365,12 @@ function commonFun(type, prefixUrl, parentProps) {
11181
11365
  type: 'select',
11182
11366
  label: '逻辑仓类型',
11183
11367
  initialSource: getDictionarySource$1('SC00004')
11184
- }, {
11185
- name: 'belongArea',
11186
- field: {
11187
- type: 'select',
11188
- props: {
11189
- mode: 'multiple'
11190
- }
11191
- },
11192
- label: '管理大区',
11193
- initialSource: getDictionarySource$1('BUSINESS_belongArea')
11194
- }, {
11368
+ },
11369
+ // { name: 'belongArea', field: {type: 'select', props: {mode: 'multiple',}}, label: '管理大区', initialSource: getDictionarySource('BUSINESS_belongArea'), },
11370
+ {
11195
11371
  name: 'qp-channelCode-in',
11196
11372
  type: 'treeSelect',
11197
- label: '销售渠道',
11373
+ label: '战区',
11198
11374
  field: {
11199
11375
  type: 'treeSelect',
11200
11376
  props: {
@@ -11216,7 +11392,7 @@ function commonFun(type, prefixUrl, parentProps) {
11216
11392
  }, {
11217
11393
  name: 'qp-refCode-in',
11218
11394
  type: 'treeSelect',
11219
- label: '营销区域',
11395
+ label: '大区',
11220
11396
  field: {
11221
11397
  type: 'treeSelect',
11222
11398
  props: {
@@ -12095,7 +12271,7 @@ function commonFun(type, prefixUrl, parentProps) {
12095
12271
  }, {
12096
12272
  name: 'qp-channelCode-in',
12097
12273
  type: 'treeSelect',
12098
- label: '所属销售渠道',
12274
+ label: '战区',
12099
12275
  field: {
12100
12276
  type: 'treeSelect',
12101
12277
  props: {
@@ -12117,7 +12293,7 @@ function commonFun(type, prefixUrl, parentProps) {
12117
12293
  }, {
12118
12294
  name: 'qp-commonRelationAreaCode-in',
12119
12295
  type: 'treeSelect',
12120
- label: '营销区域',
12296
+ label: '大区',
12121
12297
  field: {
12122
12298
  type: 'treeSelect',
12123
12299
  props: {
@@ -12174,6 +12350,26 @@ function commonFun(type, prefixUrl, parentProps) {
12174
12350
  }
12175
12351
  }
12176
12352
  }
12353
+ }, {
12354
+ name: 'qp-manageSupervisor-like',
12355
+ label: '管理督导',
12356
+ type: 'input'
12357
+ }, {
12358
+ name: 'qp-directSupervisor-like',
12359
+ label: '直接督导',
12360
+ type: 'input'
12361
+ }, {
12362
+ name: 'qp-distributionItem-like',
12363
+ label: '分销商品',
12364
+ type: 'input'
12365
+ }, {
12366
+ name: 'qp-headItem-like',
12367
+ label: '总部商品',
12368
+ type: 'input'
12369
+ }, {
12370
+ name: 'qp-storeChannelName-like',
12371
+ label: '管理模式',
12372
+ type: 'input'
12177
12373
  }];
12178
12374
  var _queryHeaderParams10 = getQueryHeadersList({
12179
12375
  querySelectHeadersList: querySelectHeadersList,
@@ -12267,6 +12463,36 @@ function commonFun(type, prefixUrl, parentProps) {
12267
12463
  return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
12268
12464
  },
12269
12465
  width: 80
12466
+ }, {
12467
+ title: '品牌',
12468
+ dataIndex: 'brandName',
12469
+ defaultSort: 8,
12470
+ width: 80
12471
+ }, {
12472
+ title: '管理督导',
12473
+ dataIndex: 'manageSupervisor',
12474
+ defaultSort: 9,
12475
+ width: 100
12476
+ }, {
12477
+ title: '直接督导',
12478
+ dataIndex: 'directSupervisor',
12479
+ defaultSort: 10,
12480
+ width: 100
12481
+ }, {
12482
+ title: '分销商品',
12483
+ dataIndex: 'distributionItem',
12484
+ defaultSort: 11,
12485
+ width: 100
12486
+ }, {
12487
+ title: '总部商品',
12488
+ dataIndex: 'headItem',
12489
+ defaultSort: 12,
12490
+ width: 100
12491
+ }, {
12492
+ title: '管理模式',
12493
+ dataIndex: 'storeChannelName',
12494
+ defaultSort: 13,
12495
+ width: 100
12270
12496
  }],
12271
12497
  noEmptySearchField: true
12272
12498
  }, modalTableBusProps);
@@ -14808,7 +15034,7 @@ function getStorageVale(storageKeyString) {
14808
15034
  var _storageKeyString$spl = storageKeyString.split('.'),
14809
15035
  _storageKeyString$spl2 = _toArray(_storageKeyString$spl),
14810
15036
  localstorage = _storageKeyString$spl2[0],
14811
- restKeyArrays = _storageKeyString$spl2.slice(1);
15037
+ restKeyArrays = _arrayLikeToArray(_storageKeyString$spl2).slice(1);
14812
15038
  var localStorageInfo = window.localStorage.getItem(localstorage);
14813
15039
  if (!restKeyArrays.length) return localStorageInfo;
14814
15040
  var returnVal = JSON.parse(localStorageInfo || '{}');
@@ -17846,6 +18072,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17846
18072
  title: '列首',
17847
18073
  dataIndex: 'fixedLeft',
17848
18074
  render: function render(text, record) {
18075
+ if (_this.props.disableColumnFixed) {
18076
+ return null;
18077
+ }
17849
18078
  return /*#__PURE__*/React$1.createElement("span", {
17850
18079
  onClick: function onClick() {
17851
18080
  var sortDataSource = _this.state.sortDataSource;
@@ -17922,6 +18151,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17922
18151
  title: '列尾',
17923
18152
  dataIndex: 'fixedRight',
17924
18153
  render: function render(text, record) {
18154
+ if (_this.props.disableColumnFixed) {
18155
+ return null;
18156
+ }
17925
18157
  return /*#__PURE__*/React$1.createElement("span", {
17926
18158
  onClick: function onClick() {
17927
18159
  var sortDataSource = _this.state.sortDataSource;
@@ -19171,7 +19403,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
19171
19403
  }, /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps)));
19172
19404
  };
19173
19405
  var BsSulaQueryTable = (function (props) {
19174
- var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _value$exportConfig6;
19406
+ var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _props$tableProps, _value$exportConfig6;
19175
19407
  var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
19176
19408
  var rowsRef = useRef(null);
19177
19409
  // 获取 table columns中所有的 key 防止有的地方是 dataindex
@@ -19254,8 +19486,7 @@ var BsSulaQueryTable = (function (props) {
19254
19486
  setPagePath = _useState0[1];
19255
19487
  var _useLocation = useLocation(),
19256
19488
  pathname = _useLocation.pathname,
19257
- _useLocation$state = _useLocation.state,
19258
- state = _useLocation$state === void 0 ? {} : _useLocation$state;
19489
+ _useLocation$state = _useLocation.state;
19259
19490
  var _useState1 = useState(false),
19260
19491
  _useState10 = _slicedToArray(_useState1, 2),
19261
19492
  isFullScreen = _useState10[0],
@@ -19731,17 +19962,16 @@ var BsSulaQueryTable = (function (props) {
19731
19962
  isFullScreen: isFullScreen
19732
19963
  });
19733
19964
  useEffect(function () {
19734
- if (!localStorage.getItem('isTabChange') || (state === null || state === void 0 ? void 0 : state.updateCurrentPage)) {
19735
- if (pagePath === pathname) {
19736
- var _config$ref, _config$ref$current, _config$ref$current$t, _config$ref$current$t2;
19737
- // @ts-ignore
19738
- (_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();
19739
- }
19740
- }
19741
- setTimeout(function () {
19742
- // 处理页面刷新两面
19743
- localStorage.removeItem('isTabChange');
19744
- }, 0);
19965
+ // if (!localStorage.getItem('isTabChange') || state?.updateCurrentPage) {
19966
+ // if (pagePath === pathname) {
19967
+ // // @ts-ignore
19968
+ // config.ref?.current?.tableRef?.current?.refreshTable();
19969
+ // }
19970
+ // }
19971
+ // setTimeout(() => {
19972
+ // // 处理页面刷新两面
19973
+ // localStorage.removeItem('isTabChange');
19974
+ // }, 0);
19745
19975
  }, [pathname]);
19746
19976
  var expandedRowKeys = props === null || props === void 0 ? void 0 : (_props$expandable = props.expandable) === null || _props$expandable === void 0 ? void 0 : _props$expandable.expandedRowKeys;
19747
19977
  //todo summary属性已经被使用,为了兼容之前的,现在使用 summaryList
@@ -19832,6 +20062,7 @@ var BsSulaQueryTable = (function (props) {
19832
20062
  id: "bs-sula-query-table"
19833
20063
  }, /*#__PURE__*/React$1.createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React$1.createElement(SortableTable$1, {
19834
20064
  ref: sortTableRef,
20065
+ disableColumnFixed: (_props$tableProps = props.tableProps) === null || _props$tableProps === void 0 ? void 0 : _props$tableProps.isVirtualTable,
19835
20066
  setShowColumns: setResizeShowColumns,
19836
20067
  showColumn: showColumn,
19837
20068
  setInitialTableInfo: setInitialTableInfo,
@@ -19908,7 +20139,7 @@ var matchPath = function matchPath(pathname) {
19908
20139
  if (!match) return null;
19909
20140
  var _match = _toArray(match),
19910
20141
  url = _match[0],
19911
- values = _match.slice(1);
20142
+ values = _arrayLikeToArray(_match).slice(1);
19912
20143
  var isExact = pathname === url;
19913
20144
  if (exact && !isExact) return null;
19914
20145
  return {
@@ -20989,6 +21220,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
20989
21220
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
20990
21221
  };
20991
21222
 
21223
+ 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";
21224
+
20992
21225
  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";
20993
21226
  styleInject(css_248z$o);
20994
21227
 
@@ -21694,7 +21927,28 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
21694
21927
  };
21695
21928
  return /*#__PURE__*/React$1.createElement("div", {
21696
21929
  className: 'customer_menu_content'
21697
- }, !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
21930
+ }, /*#__PURE__*/React$1.createElement("div", {
21931
+ style: {
21932
+ cursor: 'pointer'
21933
+ },
21934
+ onClick: function onClick(e) {
21935
+ handleClose();
21936
+ settingModalFn(_objectSpread2(_objectSpread2({}, settingModal), {}, {
21937
+ visible: true
21938
+ }));
21939
+ }
21940
+ }, /*#__PURE__*/React$1.createElement("img", {
21941
+ style: {
21942
+ marginTop: '-3px'
21943
+ },
21944
+ width: 24,
21945
+ src: addIcon
21946
+ }), /*#__PURE__*/React$1.createElement(Button, {
21947
+ type: 'link',
21948
+ style: {
21949
+ paddingLeft: '5px'
21950
+ }
21951
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
21698
21952
  style: {
21699
21953
  left: isDrawer ? 140 : 0
21700
21954
  },
@@ -22196,7 +22450,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
22196
22450
  if (item.children && item.children.length > 0) {
22197
22451
  _getLimitedMenuKeys(item.children);
22198
22452
  } else {
22199
- var originPath = (item.path || item.frontendPath).replace(/^\/\w+\//, '/');
22453
+ var originPath = item.path.replace(/^\/\w+\//, '/');
22200
22454
  menuKeys.push(originPath);
22201
22455
  if (pathToRegexp('/operation-and-maintenance-center/configuration-management/all-general-documents-specific/:id').test(originPath)) {
22202
22456
  getId(originPath) && docsId.push(getId(originPath));
@@ -22446,7 +22700,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22446
22700
  return;
22447
22701
  }
22448
22702
  // todo:暂时处理非wujie环境不做404管控
22449
- if (!window.__POWERED_BY_WUJIE__ && !_this.props.isSingleSystem) {
22703
+ if (!window.__POWERED_BY_WUJIE__) {
22450
22704
  treeList.push({
22451
22705
  tab: node.locale,
22452
22706
  key: node.path,
@@ -32565,7 +32819,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
32565
32819
  });
32566
32820
  Promise.all(axiosArr).then(function (_ref5) {
32567
32821
  var _ref6 = _toArray(_ref5),
32568
- resArr = _ref6.slice(0);
32822
+ resArr = _arrayLikeToArray(_ref6).slice(0);
32569
32823
  var configParams = {};
32570
32824
  detailTablesSetting.map(function (item, index) {
32571
32825
  var _resArr$index;
@@ -35963,7 +36217,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35963
36217
  }
35964
36218
  }
35965
36219
  // 配送方式选择器
35966
- if (dataChoiceBusinessType == 310) {
36220
+ if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
35967
36221
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
35968
36222
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35969
36223
  selectBusinessType: "deliveryMode",
@@ -35977,9 +36231,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
35977
36231
  disabled: disabled,
35978
36232
  labelInValue: true,
35979
36233
  value: values[0],
35980
- requestConfig: {
36234
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36235
+ otherParams: {
36236
+ // 配送方式只选择标准配送方式
36237
+ 'qp-recordChannnelCode-eq': 80
36238
+ }
36239
+ } : {}), {}, {
35981
36240
  filterInit: 'qp-code-in'
35982
- },
36241
+ }),
35983
36242
  onChange: function onChange(value) {
35984
36243
  if (dataInputBusinessType === 12) {
35985
36244
  values[0] = value.map(function (i) {
@@ -36009,9 +36268,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36009
36268
  disabled: disabled,
36010
36269
  labelInValue: true,
36011
36270
  value: values[1],
36012
- requestConfig: {
36271
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36272
+ otherParams: {
36273
+ // 配送方式只选择标准配送方式
36274
+ 'qp-recordChannnelCode-eq': 80
36275
+ }
36276
+ } : {}), {}, {
36013
36277
  filterInit: 'qp-code-in'
36014
- },
36278
+ }),
36015
36279
  onChange: function onChange(value) {
36016
36280
  if (dataInputBusinessType === 12) {
36017
36281
  values[1] = value.map(function (i) {
@@ -36055,9 +36319,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36055
36319
  disabled: disabled,
36056
36320
  labelInValue: true,
36057
36321
  value: _currentValue0,
36058
- requestConfig: {
36322
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36323
+ otherParams: {
36324
+ // 配送方式只选择标准配送方式
36325
+ 'qp-recordChannnelCode-eq': 80
36326
+ }
36327
+ } : {}), {}, {
36059
36328
  filterInit: 'qp-code-in'
36060
- },
36329
+ }),
36061
36330
  onChange: function onChange(value) {
36062
36331
  if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36063
36332
  values = value.map(function (i) {
@@ -37757,7 +38026,7 @@ function RenderCompItem(props) {
37757
38026
  getPopupContainer: function getPopupContainer() {
37758
38027
  return document.body;
37759
38028
  }
37760
- })) || 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, {
38029
+ })) || 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$1.createElement(BusinessSearchSelect$1, {
37761
38030
  selectBusinessType: "deliveryMode",
37762
38031
  selectProps: _objectSpread2({
37763
38032
  style: styleCommon,
@@ -37769,9 +38038,14 @@ function RenderCompItem(props) {
37769
38038
  disabled: disabled,
37770
38039
  labelInValue: true,
37771
38040
  value: showValue(ites.code),
37772
- requestConfig: {
38041
+ requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
38042
+ otherParams: {
38043
+ // 配送方式只选择标准配送方式
38044
+ 'qp-recordChannnelCode-eq': 80
38045
+ }
38046
+ } : {}), {}, {
37773
38047
  filterInit: 'qp-code-in'
37774
- },
38048
+ }),
37775
38049
  onChange: function onChange(value) {
37776
38050
  handleEdit(ites.code, value);
37777
38051
  },