@tplc/business 0.2.25 → 0.2.27
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/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.2.27](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.26...v0.2.27) (2024-12-20)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### ✨ Features | 新功能
|
|
9
|
+
|
|
10
|
+
* list 支持 options ([7942bf8](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/7942bf85e27ce9f33e8f92d465885a1566733c09))
|
|
11
|
+
|
|
12
|
+
### [0.2.26](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.25...v0.2.26) (2024-12-20)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug Fixes | Bug 修复
|
|
16
|
+
|
|
17
|
+
* 修改action-view request 引入 ([373a160](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/373a160bd91eef12a43e96d74ac1e0fa459a7573))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### ✨ Features | 新功能
|
|
21
|
+
|
|
22
|
+
* engine 滚动 ([dc52e8f](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/dc52e8fce4a4a8e41d71c5b8321e1b1ac4157eb4))
|
|
23
|
+
* 页面滚动 ([2645508](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/commit/2645508cdf2a82034e94dc48223600edfb170123))
|
|
24
|
+
|
|
5
25
|
### [0.2.25](http://gitlab888.30jia.com.cn/bhBank/zero-code-pro/compare/v0.2.24...v0.2.25) (2024-12-16)
|
|
6
26
|
|
|
7
27
|
|
|
@@ -52,8 +52,9 @@ const props = defineProps({
|
|
|
52
52
|
],
|
|
53
53
|
},
|
|
54
54
|
})
|
|
55
|
-
const value = ref(props.defaultValue)
|
|
56
55
|
const model = defineModel<number[]>()
|
|
56
|
+
const value = ref(model.value || props.defaultValue)
|
|
57
|
+
|
|
57
58
|
const getDayInfo = async () => {
|
|
58
59
|
const { data } = await queryHolidayInfoList({
|
|
59
60
|
/** 本月的第一天 */
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
import { inject, Ref, ref, watch, watchEffect } from 'vue'
|
|
19
19
|
import useZPaging from 'z-paging/components/z-paging/js/hooks/useZPaging'
|
|
20
20
|
import { FORM_KEY } from '../../../../constants'
|
|
21
|
-
import { formatJson } from '../../../../utils/utils'
|
|
21
|
+
import { formatJson, getPageOptions } from '../../../../utils/utils'
|
|
22
22
|
import { LcbFilterListProps } from './type'
|
|
23
23
|
import useAutoHeight from '../../../../hooks/useAutoHeight'
|
|
24
24
|
|
|
@@ -85,6 +85,7 @@ const queryList = async (page: number, limit: number) => {
|
|
|
85
85
|
const { data } = await uni.$lcb.http.post(props.url, {
|
|
86
86
|
...props.baseParam,
|
|
87
87
|
...form?.value,
|
|
88
|
+
...getPageOptions(),
|
|
88
89
|
pageSearch: {
|
|
89
90
|
limit,
|
|
90
91
|
page,
|
package/package.json
CHANGED
package/types/utils/utils.d.ts
CHANGED
package/utils/utils.ts
CHANGED
|
@@ -15,3 +15,10 @@ export const getExposed = () => {
|
|
|
15
15
|
const page = pages[pages.length - 2]
|
|
16
16
|
return page.$vm.$.exposed
|
|
17
17
|
}
|
|
18
|
+
|
|
19
|
+
export const getPageOptions = () => {
|
|
20
|
+
const currentPage = getCurrentPages().pop() as {
|
|
21
|
+
options: Record<string, any>
|
|
22
|
+
}
|
|
23
|
+
return currentPage.options
|
|
24
|
+
}
|