@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.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',
@@ -11194,7 +11378,7 @@ function commonFun(type, prefixUrl, parentProps) {
11194
11378
  }, {
11195
11379
  name: 'qp-channelCode-in',
11196
11380
  type: 'treeSelect',
11197
- label: '销售渠道',
11381
+ label: '战区',
11198
11382
  field: {
11199
11383
  type: 'treeSelect',
11200
11384
  props: {
@@ -11216,7 +11400,7 @@ function commonFun(type, prefixUrl, parentProps) {
11216
11400
  }, {
11217
11401
  name: 'qp-refCode-in',
11218
11402
  type: 'treeSelect',
11219
- label: '营销区域',
11403
+ label: '大区',
11220
11404
  field: {
11221
11405
  type: 'treeSelect',
11222
11406
  props: {
@@ -12095,7 +12279,7 @@ function commonFun(type, prefixUrl, parentProps) {
12095
12279
  }, {
12096
12280
  name: 'qp-channelCode-in',
12097
12281
  type: 'treeSelect',
12098
- label: '所属销售渠道',
12282
+ label: '战区',
12099
12283
  field: {
12100
12284
  type: 'treeSelect',
12101
12285
  props: {
@@ -12117,7 +12301,7 @@ function commonFun(type, prefixUrl, parentProps) {
12117
12301
  }, {
12118
12302
  name: 'qp-commonRelationAreaCode-in',
12119
12303
  type: 'treeSelect',
12120
- label: '营销区域',
12304
+ label: '大区',
12121
12305
  field: {
12122
12306
  type: 'treeSelect',
12123
12307
  props: {
@@ -12174,6 +12358,26 @@ function commonFun(type, prefixUrl, parentProps) {
12174
12358
  }
12175
12359
  }
12176
12360
  }
12361
+ }, {
12362
+ name: 'qp-manageSupervisor-like',
12363
+ label: '管理督导',
12364
+ type: 'input'
12365
+ }, {
12366
+ name: 'qp-directSupervisor-like',
12367
+ label: '直接督导',
12368
+ type: 'input'
12369
+ }, {
12370
+ name: 'qp-distributionItem-like',
12371
+ label: '分销商品',
12372
+ type: 'input'
12373
+ }, {
12374
+ name: 'qp-headItem-like',
12375
+ label: '总部商品',
12376
+ type: 'input'
12377
+ }, {
12378
+ name: 'qp-storeChannelName-like',
12379
+ label: '管理模式',
12380
+ type: 'input'
12177
12381
  }];
12178
12382
  var _queryHeaderParams10 = getQueryHeadersList({
12179
12383
  querySelectHeadersList: querySelectHeadersList,
@@ -12267,6 +12471,36 @@ function commonFun(type, prefixUrl, parentProps) {
12267
12471
  return getDictionaryTextByValue$1('BUSINESS_StoreType', text);
12268
12472
  },
12269
12473
  width: 80
12474
+ }, {
12475
+ title: '品牌',
12476
+ dataIndex: 'brandName',
12477
+ defaultSort: 8,
12478
+ width: 80
12479
+ }, {
12480
+ title: '管理督导',
12481
+ dataIndex: 'manageSupervisor',
12482
+ defaultSort: 9,
12483
+ width: 100
12484
+ }, {
12485
+ title: '直接督导',
12486
+ dataIndex: 'directSupervisor',
12487
+ defaultSort: 10,
12488
+ width: 100
12489
+ }, {
12490
+ title: '分销商品',
12491
+ dataIndex: 'distributionItem',
12492
+ defaultSort: 11,
12493
+ width: 100
12494
+ }, {
12495
+ title: '总部商品',
12496
+ dataIndex: 'headItem',
12497
+ defaultSort: 12,
12498
+ width: 100
12499
+ }, {
12500
+ title: '管理模式',
12501
+ dataIndex: 'storeChannelName',
12502
+ defaultSort: 13,
12503
+ width: 100
12270
12504
  }],
12271
12505
  noEmptySearchField: true
12272
12506
  }, modalTableBusProps);
@@ -14808,7 +15042,7 @@ function getStorageVale(storageKeyString) {
14808
15042
  var _storageKeyString$spl = storageKeyString.split('.'),
14809
15043
  _storageKeyString$spl2 = _toArray(_storageKeyString$spl),
14810
15044
  localstorage = _storageKeyString$spl2[0],
14811
- restKeyArrays = _storageKeyString$spl2.slice(1);
15045
+ restKeyArrays = _arrayLikeToArray(_storageKeyString$spl2).slice(1);
14812
15046
  var localStorageInfo = window.localStorage.getItem(localstorage);
14813
15047
  if (!restKeyArrays.length) return localStorageInfo;
14814
15048
  var returnVal = JSON.parse(localStorageInfo || '{}');
@@ -17846,6 +18080,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17846
18080
  title: '列首',
17847
18081
  dataIndex: 'fixedLeft',
17848
18082
  render: function render(text, record) {
18083
+ if (_this.props.disableColumnFixed) {
18084
+ return null;
18085
+ }
17849
18086
  return /*#__PURE__*/React$1.createElement("span", {
17850
18087
  onClick: function onClick() {
17851
18088
  var sortDataSource = _this.state.sortDataSource;
@@ -17922,6 +18159,9 @@ var SortableTable$1 = /*#__PURE__*/function (_React$Component) {
17922
18159
  title: '列尾',
17923
18160
  dataIndex: 'fixedRight',
17924
18161
  render: function render(text, record) {
18162
+ if (_this.props.disableColumnFixed) {
18163
+ return null;
18164
+ }
17925
18165
  return /*#__PURE__*/React$1.createElement("span", {
17926
18166
  onClick: function onClick() {
17927
18167
  var sortDataSource = _this.state.sortDataSource;
@@ -19171,7 +19411,7 @@ var ResizeableTitle$2 = function ResizeableTitle(props) {
19171
19411
  }, /*#__PURE__*/React$1.createElement("th", _objectSpread2({}, restProps)));
19172
19412
  };
19173
19413
  var BsSulaQueryTable = (function (props) {
19174
- var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _value$exportConfig6;
19414
+ var _rowsRef$current5, _props$expandable, _sortTableRef$current3, _props$tableProps, _value$exportConfig6;
19175
19415
  var bsTableCode = (props === null || props === void 0 ? void 0 : props.tableCode) || window.location.hash; //设置列字段的唯一标识
19176
19416
  var rowsRef = useRef(null);
19177
19417
  // 获取 table columns中所有的 key 防止有的地方是 dataindex
@@ -19254,8 +19494,7 @@ var BsSulaQueryTable = (function (props) {
19254
19494
  setPagePath = _useState0[1];
19255
19495
  var _useLocation = useLocation(),
19256
19496
  pathname = _useLocation.pathname,
19257
- _useLocation$state = _useLocation.state,
19258
- state = _useLocation$state === void 0 ? {} : _useLocation$state;
19497
+ _useLocation$state = _useLocation.state;
19259
19498
  var _useState1 = useState(false),
19260
19499
  _useState10 = _slicedToArray(_useState1, 2),
19261
19500
  isFullScreen = _useState10[0],
@@ -19731,17 +19970,16 @@ var BsSulaQueryTable = (function (props) {
19731
19970
  isFullScreen: isFullScreen
19732
19971
  });
19733
19972
  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);
19973
+ // if (!localStorage.getItem('isTabChange') || state?.updateCurrentPage) {
19974
+ // if (pagePath === pathname) {
19975
+ // // @ts-ignore
19976
+ // config.ref?.current?.tableRef?.current?.refreshTable();
19977
+ // }
19978
+ // }
19979
+ // setTimeout(() => {
19980
+ // // 处理页面刷新两面
19981
+ // localStorage.removeItem('isTabChange');
19982
+ // }, 0);
19745
19983
  }, [pathname]);
19746
19984
  var expandedRowKeys = props === null || props === void 0 ? void 0 : (_props$expandable = props.expandable) === null || _props$expandable === void 0 ? void 0 : _props$expandable.expandedRowKeys;
19747
19985
  //todo summary属性已经被使用,为了兼容之前的,现在使用 summaryList
@@ -19832,6 +20070,7 @@ var BsSulaQueryTable = (function (props) {
19832
20070
  id: "bs-sula-query-table"
19833
20071
  }, /*#__PURE__*/React$1.createElement(MemoQueryTable, _objectSpread2({}, memoConfig)), /*#__PURE__*/React$1.createElement(SortableTable$1, {
19834
20072
  ref: sortTableRef,
20073
+ disableColumnFixed: (_props$tableProps = props.tableProps) === null || _props$tableProps === void 0 ? void 0 : _props$tableProps.isVirtualTable,
19835
20074
  setShowColumns: setResizeShowColumns,
19836
20075
  showColumn: showColumn,
19837
20076
  setInitialTableInfo: setInitialTableInfo,
@@ -19908,7 +20147,7 @@ var matchPath = function matchPath(pathname) {
19908
20147
  if (!match) return null;
19909
20148
  var _match = _toArray(match),
19910
20149
  url = _match[0],
19911
- values = _match.slice(1);
20150
+ values = _arrayLikeToArray(_match).slice(1);
19912
20151
  var isExact = pathname === url;
19913
20152
  if (exact && !isExact) return null;
19914
20153
  return {
@@ -20989,6 +21228,8 @@ var GlobalHeaderCom = function GlobalHeaderCom(props) {
20989
21228
  })), /*#__PURE__*/React$1.createElement(GlobalHeaderRight, null));
20990
21229
  };
20991
21230
 
21231
+ 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";
21232
+
20992
21233
  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
21234
  styleInject(css_248z$o);
20994
21235
 
@@ -21694,7 +21935,28 @@ var CustomerMenu = /*#__PURE__*/forwardRef(function (_ref, ref) {
21694
21935
  };
21695
21936
  return /*#__PURE__*/React$1.createElement("div", {
21696
21937
  className: 'customer_menu_content'
21697
- }, !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
21938
+ }, /*#__PURE__*/React$1.createElement("div", {
21939
+ style: {
21940
+ cursor: 'pointer'
21941
+ },
21942
+ onClick: function onClick(e) {
21943
+ handleClose();
21944
+ settingModalFn(_objectSpread2(_objectSpread2({}, settingModal), {}, {
21945
+ visible: true
21946
+ }));
21947
+ }
21948
+ }, /*#__PURE__*/React$1.createElement("img", {
21949
+ style: {
21950
+ marginTop: '-3px'
21951
+ },
21952
+ width: 24,
21953
+ src: addIcon
21954
+ }), /*#__PURE__*/React$1.createElement(Button, {
21955
+ type: 'link',
21956
+ style: {
21957
+ paddingLeft: '5px'
21958
+ }
21959
+ }, "\u81EA\u5B9A\u4E49\u83DC\u5355")), !isCollapse && (/*#__PURE__*/React$1.createElement(Drawer$1, {
21698
21960
  style: {
21699
21961
  left: isDrawer ? 140 : 0
21700
21962
  },
@@ -22196,7 +22458,7 @@ var getAuthMenuPathAndDocsId = function getAuthMenuPathAndDocsId(pathToRegexp) {
22196
22458
  if (item.children && item.children.length > 0) {
22197
22459
  _getLimitedMenuKeys(item.children);
22198
22460
  } else {
22199
- var originPath = (item.path || item.frontendPath).replace(/^\/\w+\//, '/');
22461
+ var originPath = item.path.replace(/^\/\w+\//, '/');
22200
22462
  menuKeys.push(originPath);
22201
22463
  if (pathToRegexp('/operation-and-maintenance-center/configuration-management/all-general-documents-specific/:id').test(originPath)) {
22202
22464
  getId(originPath) && docsId.push(getId(originPath));
@@ -22446,7 +22708,7 @@ var BasicLayout = /*#__PURE__*/function (_React$PureComponent) {
22446
22708
  return;
22447
22709
  }
22448
22710
  // todo:暂时处理非wujie环境不做404管控
22449
- if (!window.__POWERED_BY_WUJIE__ && !_this.props.isSingleSystem) {
22711
+ if (!window.__POWERED_BY_WUJIE__) {
22450
22712
  treeList.push({
22451
22713
  tab: node.locale,
22452
22714
  key: node.path,
@@ -32565,7 +32827,7 @@ var JsonQueryTable = /*#__PURE__*/React$1.memo(function (props) {
32565
32827
  });
32566
32828
  Promise.all(axiosArr).then(function (_ref5) {
32567
32829
  var _ref6 = _toArray(_ref5),
32568
- resArr = _ref6.slice(0);
32830
+ resArr = _arrayLikeToArray(_ref6).slice(0);
32569
32831
  var configParams = {};
32570
32832
  detailTablesSetting.map(function (item, index) {
32571
32833
  var _resArr$index;
@@ -35963,7 +36225,7 @@ var RuleField = /*#__PURE__*/function (_Component) {
35963
36225
  }
35964
36226
  }
35965
36227
  // 配送方式选择器
35966
- if (dataChoiceBusinessType == 310) {
36228
+ if (dataChoiceBusinessType == 310 || dataChoiceBusinessType == 311) {
35967
36229
  if (INTERVAL_TYPE.indexOf(selectOperation) > -1) {
35968
36230
  return /*#__PURE__*/React$1.createElement(React$1.Fragment, null, /*#__PURE__*/React$1.createElement(BusinessSearchSelect$1, {
35969
36231
  selectBusinessType: "deliveryMode",
@@ -35977,9 +36239,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
35977
36239
  disabled: disabled,
35978
36240
  labelInValue: true,
35979
36241
  value: values[0],
35980
- requestConfig: {
36242
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36243
+ otherParams: {
36244
+ // 配送方式只选择标准配送方式
36245
+ 'qp-recordChannnelCode-eq': 80
36246
+ }
36247
+ } : {}), {}, {
35981
36248
  filterInit: 'qp-code-in'
35982
- },
36249
+ }),
35983
36250
  onChange: function onChange(value) {
35984
36251
  if (dataInputBusinessType === 12) {
35985
36252
  values[0] = value.map(function (i) {
@@ -36009,9 +36276,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36009
36276
  disabled: disabled,
36010
36277
  labelInValue: true,
36011
36278
  value: values[1],
36012
- requestConfig: {
36279
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36280
+ otherParams: {
36281
+ // 配送方式只选择标准配送方式
36282
+ 'qp-recordChannnelCode-eq': 80
36283
+ }
36284
+ } : {}), {}, {
36013
36285
  filterInit: 'qp-code-in'
36014
- },
36286
+ }),
36015
36287
  onChange: function onChange(value) {
36016
36288
  if (dataInputBusinessType === 12) {
36017
36289
  values[1] = value.map(function (i) {
@@ -36055,9 +36327,14 @@ var RuleField = /*#__PURE__*/function (_Component) {
36055
36327
  disabled: disabled,
36056
36328
  labelInValue: true,
36057
36329
  value: _currentValue0,
36058
- requestConfig: {
36330
+ requestConfig: _objectSpread2(_objectSpread2({}, dataChoiceBusinessType === 311 ? {
36331
+ otherParams: {
36332
+ // 配送方式只选择标准配送方式
36333
+ 'qp-recordChannnelCode-eq': 80
36334
+ }
36335
+ } : {}), {}, {
36059
36336
  filterInit: 'qp-code-in'
36060
- },
36337
+ }),
36061
36338
  onChange: function onChange(value) {
36062
36339
  if (dataInputBusinessType === 12 || SET_TYPE.indexOf(selectOperation) > -1) {
36063
36340
  values = value.map(function (i) {
@@ -37757,7 +38034,7 @@ function RenderCompItem(props) {
37757
38034
  getPopupContainer: function getPopupContainer() {
37758
38035
  return document.body;
37759
38036
  }
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, {
38037
+ })) || 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
38038
  selectBusinessType: "deliveryMode",
37762
38039
  selectProps: _objectSpread2({
37763
38040
  style: styleCommon,
@@ -37769,9 +38046,14 @@ function RenderCompItem(props) {
37769
38046
  disabled: disabled,
37770
38047
  labelInValue: true,
37771
38048
  value: showValue(ites.code),
37772
- requestConfig: {
38049
+ requestConfig: _objectSpread2(_objectSpread2({}, (ites === null || ites === void 0 ? void 0 : ites.choiceType) === 311 ? {
38050
+ otherParams: {
38051
+ // 配送方式只选择标准配送方式
38052
+ 'qp-recordChannnelCode-eq': 80
38053
+ }
38054
+ } : {}), {}, {
37773
38055
  filterInit: 'qp-code-in'
37774
- },
38056
+ }),
37775
38057
  onChange: function onChange(value) {
37776
38058
  handleEdit(ites.code, value);
37777
38059
  },