@bit-sun/business-component 2.4.19 → 3.0.0-alpha.1

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 (54) hide show
  1. package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +3 -0
  2. package/dist/components/Business/BsLayouts/Components/ChooseStore/services.d.ts +1 -0
  3. package/dist/components/Business/BsLayouts/Components/RightContent/i18n.d.ts +9 -0
  4. package/dist/components/Business/BsLayouts/service.d.ts +1 -1
  5. package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -0
  6. package/dist/components/Business/BsSulaQueryTable/setting.d.ts +1 -1
  7. package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -0
  8. package/dist/components/Business/columnSettingTable/columnSetting.d.ts +1 -0
  9. package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -1
  10. package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
  11. package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -0
  12. package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
  13. package/dist/index.esm.js +1563 -1070
  14. package/dist/index.js +1548 -1053
  15. package/dist/utils/request.d.ts +2 -0
  16. package/dist/utils/utils.d.ts +6 -0
  17. package/package.json +6 -4
  18. package/src/assets/arrow_top.svg +18 -0
  19. package/src/components/Business/AddSelectBusiness/index.tsx +38 -19
  20. package/src/components/Business/BsLayouts/Components/ChooseStore/index.less +0 -0
  21. package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +193 -0
  22. package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +10 -0
  23. package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +7 -1
  24. package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +3 -3
  25. package/src/components/Business/BsLayouts/Components/RightContent/i18n.ts +9 -0
  26. package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +19 -2
  27. package/src/components/Business/BsLayouts/index.tsx +44 -34
  28. package/src/components/Business/BsLayouts/service.ts +2 -2
  29. package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +9 -9
  30. package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +5 -0
  31. package/src/components/Business/BsSulaQueryTable/index.tsx +346 -175
  32. package/src/components/Business/BsSulaQueryTable/setting.tsx +125 -87
  33. package/src/components/Business/BsSulaQueryTable/utils.tsx +57 -34
  34. package/src/components/Business/CommonGuideWrapper/index.tsx +11 -2
  35. package/src/components/Business/JsonQueryTable/index.tsx +10 -12
  36. package/src/components/Business/SearchSelect/utils.ts +3 -3
  37. package/src/components/Business/columnSettingTable/columnSetting.tsx +10 -8
  38. package/src/components/Business/columnSettingTable/utils.tsx +29 -29
  39. package/src/components/Functional/AddSelect/helps.ts +4 -3
  40. package/src/components/Functional/AddSelect/index.tsx +79 -33
  41. package/src/components/Functional/BillEntry/index.tsx +3 -3
  42. package/src/components/Functional/DataImport/index.tsx +3 -3
  43. package/src/components/Functional/DataValidation/index.tsx +3 -3
  44. package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +10 -5
  45. package/src/components/Functional/QueryMutipleInput/index.tsx +2 -1
  46. package/src/components/Functional/SearchSelect/index.less +6 -0
  47. package/src/components/Functional/SearchSelect/index.tsx +152 -45
  48. package/src/components/Functional/TreeSearchSelect/index.tsx +24 -22
  49. package/src/components/Solution/RuleComponent/RenderCompItem.tsx +641 -0
  50. package/src/components/Solution/RuleComponent/index.js +7 -652
  51. package/src/components/Solution/RuleComponent/services.ts +2 -2
  52. package/src/plugin/TableColumnSetting/index.tsx +2 -2
  53. package/src/utils/request.ts +53 -0
  54. package/src/utils/utils.ts +37 -21
@@ -1,8 +1,8 @@
1
- import axios from 'axios';
1
+ import request from '@/utils/request';
2
2
 
3
3
  export async function outLogin(params: any) {
4
4
 
5
- let res = await axios({
5
+ let res = await request({
6
6
  url: '/user/web/loginOut',
7
7
  method: 'GET',
8
8
  })
@@ -14,7 +14,7 @@ import {
14
14
  SortableElement,
15
15
  SortableHandle,
16
16
  } from 'react-sortable-hoc';
17
- import axios from 'axios';
17
+ import request from '@/utils/request';
18
18
  import { SearchOutlined } from '@ant-design/icons';
19
19
  import { arrayMoveImmutable } from 'array-move';
20
20
  import close from '../../../assets/close.svg';
@@ -51,7 +51,7 @@ class SearchItemTable extends React.Component {
51
51
  }))
52
52
  : '';
53
53
 
54
- axios({
54
+ request({
55
55
  url: handleRequestUrl('/user','/appConfig/saveQueryCriteria', appRequestConfig),
56
56
  method: 'POST',
57
57
  data: {
@@ -94,7 +94,7 @@ class SearchItemTable extends React.Component {
94
94
  "detail": JSON.stringify(configvalue)
95
95
  })
96
96
  }
97
-
97
+
98
98
  localStorage.setItem(ENUM.BROWSER_CACHE.SEARCH_FIELDS_CONDITION, JSON.stringify(configArray));
99
99
  this.setState({
100
100
  visible: false,
@@ -154,10 +154,10 @@ class SearchItemTable extends React.Component {
154
154
  };
155
155
 
156
156
  componentDidMount() {
157
- const {
158
- datasource,
159
- showSearchFields,
160
- bsTableCode
157
+ const {
158
+ datasource,
159
+ showSearchFields,
160
+ bsTableCode
161
161
  }: any = this.props;
162
162
 
163
163
  let config = this.getConfigFromlocalstorage();
@@ -420,7 +420,7 @@ class SearchItemTable extends React.Component {
420
420
  <div>
421
421
  <Button key="back" onClick={this.handleReset} style={{marginRight: 0}}>
422
422
  恢复默认
423
- </Button>,
423
+ </Button>
424
424
  <Button key="back" onClick={this.handleResetSetting}>
425
425
  重置设置
426
426
  </Button>
@@ -428,7 +428,7 @@ class SearchItemTable extends React.Component {
428
428
  <div>
429
429
  <Button key="submit" onClick={this.handleCancel} style={{marginRight: 0}}>
430
430
  取消
431
- </Button>,
431
+ </Button>
432
432
  <Button key="submit" type="primary" onClick={this.handleOk}>
433
433
  确认
434
434
  </Button>
@@ -0,0 +1,5 @@
1
+ #bs-sula-query-table {
2
+ .ant-table-title+.ant-table-container table {
3
+ visibility: unset !important;
4
+ }
5
+ }