feat:设备使用记录

This commit is contained in:
houjunxiang
2026-03-05 16:54:47 +08:00
parent 749ac7f507
commit 9c88c45d66
357 changed files with 21486 additions and 5845 deletions

View File

@@ -7,7 +7,7 @@ export function useListData({ searchParams, api, needInitListData = false, proce
const loadingData = ref(true)
const pageParams = reactive({
pageNo: 1,
pageSize: 10
pageSize: 15
})
const total = ref(0)
const loadStatus = ref('loadmore')
@@ -16,8 +16,8 @@ export function useListData({ searchParams, api, needInitListData = false, proce
// 模拟获取数据的方法
const getListData = async () => {
const params = {
...unref(searchParams),
...pageParams
...pageParams,
...unref(searchParams)
}
let { list, total: pageTotal } = await api(params)
total.value = pageTotal