This commit is contained in:
guochunsi
2026-01-14 11:41:04 +08:00
parent d0c8ea0223
commit 6055033289
49 changed files with 2043 additions and 1740 deletions

View File

@@ -233,8 +233,8 @@ const state: BasicTableProps = reactive<BasicTableProps>({
const response = await fetchList(params)
return {
data: {
records: response.data.data.records,
total: response.data.data.total
records: response.data.records,
total: response.data.total
}
}
},
@@ -248,7 +248,7 @@ const { getDataList, currentChangeHandle, sizeChangeHandle, tableStyle } = useTa
const init = async () => {
try {
const data = await list()
planList.value = data.data.data || []
planList.value = data.data || []
if (planList.value.length > 0) {
queryForm.groupId = planList.value[0].id
}

View File

@@ -67,8 +67,8 @@
current: page.currentPage,
size: page.pageSize
}, this.params)).then(response => {
this.tableData = response.data.data.records
this.page.total = response.data.data.total
this.tableData = response.data.records
this.page.total = response.data.total
this.tableLoading = false
})
},