|
|
|
@ -208,7 +208,7 @@ const tableObject = ref({ |
|
|
|
|
loading: false, |
|
|
|
|
total: 1, |
|
|
|
|
pageSize: 20, |
|
|
|
|
currentPage: 1 |
|
|
|
|
pageNo: 1 |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
const showColumns = ref([]) |
|
|
|
@ -220,7 +220,7 @@ function getCheckedColumns(list) { |
|
|
|
|
|
|
|
|
|
function resetQuery() { |
|
|
|
|
searchRef.value.reset() |
|
|
|
|
tableObject.value.currentPage = 1 |
|
|
|
|
tableObject.value.pageNo = 1 |
|
|
|
|
getTableList() |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -232,7 +232,7 @@ async function getTableList() { |
|
|
|
|
const queryParams = await searchRef.value.getFormModel() |
|
|
|
|
const params = { |
|
|
|
|
...queryParams, |
|
|
|
|
pageNo: tableObject.value.currentPage, |
|
|
|
|
pageNo: tableObject.value.pageNo, |
|
|
|
|
pageSize: tableObject.value.pageSize, |
|
|
|
|
queryType: queryType.value |
|
|
|
|
} |
|
|
|
|