@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.
- package/dist/components/Business/BsLayouts/Components/ChooseStore/index.d.ts +3 -0
- package/dist/components/Business/BsLayouts/Components/ChooseStore/services.d.ts +1 -0
- package/dist/components/Business/BsLayouts/Components/RightContent/i18n.d.ts +9 -0
- package/dist/components/Business/BsLayouts/service.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/index.d.ts +1 -0
- package/dist/components/Business/BsSulaQueryTable/setting.d.ts +1 -1
- package/dist/components/Business/BsSulaQueryTable/utils.d.ts +1 -0
- package/dist/components/Business/columnSettingTable/columnSetting.d.ts +1 -0
- package/dist/components/Functional/ExportFunctions/ExportIcon/index.d.ts +1 -1
- package/dist/components/Functional/QueryMutipleInput/index.d.ts +2 -1
- package/dist/components/Solution/RuleComponent/RenderCompItem.d.ts +2 -0
- package/dist/components/Solution/RuleComponent/services.d.ts +1 -1
- package/dist/index.esm.js +1563 -1070
- package/dist/index.js +1548 -1053
- package/dist/utils/request.d.ts +2 -0
- package/dist/utils/utils.d.ts +6 -0
- package/package.json +6 -4
- package/src/assets/arrow_top.svg +18 -0
- package/src/components/Business/AddSelectBusiness/index.tsx +38 -19
- package/src/components/Business/BsLayouts/Components/ChooseStore/index.less +0 -0
- package/src/components/Business/BsLayouts/Components/ChooseStore/index.tsx +193 -0
- package/src/components/Business/BsLayouts/Components/ChooseStore/services.ts +10 -0
- package/src/components/Business/BsLayouts/Components/GlobalHeader/index.tsx +7 -1
- package/src/components/Business/BsLayouts/Components/RightContent/LoginModal.tsx +3 -3
- package/src/components/Business/BsLayouts/Components/RightContent/i18n.ts +9 -0
- package/src/components/Business/BsLayouts/Components/RightContent/index.tsx +19 -2
- package/src/components/Business/BsLayouts/index.tsx +44 -34
- package/src/components/Business/BsLayouts/service.ts +2 -2
- package/src/components/Business/BsSulaQueryTable/SearchItemSetting.tsx +9 -9
- package/src/components/Business/BsSulaQueryTable/bssulaquerytable.less +5 -0
- package/src/components/Business/BsSulaQueryTable/index.tsx +346 -175
- package/src/components/Business/BsSulaQueryTable/setting.tsx +125 -87
- package/src/components/Business/BsSulaQueryTable/utils.tsx +57 -34
- package/src/components/Business/CommonGuideWrapper/index.tsx +11 -2
- package/src/components/Business/JsonQueryTable/index.tsx +10 -12
- package/src/components/Business/SearchSelect/utils.ts +3 -3
- package/src/components/Business/columnSettingTable/columnSetting.tsx +10 -8
- package/src/components/Business/columnSettingTable/utils.tsx +29 -29
- package/src/components/Functional/AddSelect/helps.ts +4 -3
- package/src/components/Functional/AddSelect/index.tsx +79 -33
- package/src/components/Functional/BillEntry/index.tsx +3 -3
- package/src/components/Functional/DataImport/index.tsx +3 -3
- package/src/components/Functional/DataValidation/index.tsx +3 -3
- package/src/components/Functional/ExportFunctions/ExportIcon/index.tsx +10 -5
- package/src/components/Functional/QueryMutipleInput/index.tsx +2 -1
- package/src/components/Functional/SearchSelect/index.less +6 -0
- package/src/components/Functional/SearchSelect/index.tsx +152 -45
- package/src/components/Functional/TreeSearchSelect/index.tsx +24 -22
- package/src/components/Solution/RuleComponent/RenderCompItem.tsx +641 -0
- package/src/components/Solution/RuleComponent/index.js +7 -652
- package/src/components/Solution/RuleComponent/services.ts +2 -2
- package/src/plugin/TableColumnSetting/index.tsx +2 -2
- package/src/utils/request.ts +53 -0
- package/src/utils/utils.ts +37 -21
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
SortableElement,
|
|
15
15
|
SortableHandle,
|
|
16
16
|
} from 'react-sortable-hoc';
|
|
17
|
-
import
|
|
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
|
-
|
|
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>
|