分页统一

This commit is contained in:
郁万成 2024-11-04 09:17:03 +08:00
parent 36e91f2d98
commit e04a4415b6
3 changed files with 4 additions and 4 deletions

View File

@ -200,7 +200,7 @@ const getalarmsList = () => {
// })
}
const okSubmit = (val) => {
const okSubmit = (val: any) => {
console.log(val)
getalarmsList()
}
@ -231,7 +231,7 @@ onMounted(() => {
objectType: 10002,
}).then((res) => {
if (res.code == 200) {
airBlowerList.value = res.data.map((item) => {
airBlowerList.value = res.data.map((item: any) => {
return {
label: item.code,
value: item.id,

View File

@ -277,7 +277,7 @@ const linkMonitorTableData = ref<LinkMonitorTableType[]>([])
//
const paginationOptions = reactive({
current: 1,
pageSize: 10,
pageSize: 20,
total: 0,
pageSizes: [20, 50, 100],
})

View File

@ -232,7 +232,7 @@ const pageSetting = reactive({
current: 1,
pageSize: 20,
total: 0,
pageSizes: [10, 20, 30],
pageSizes: [20, 50, 100],
})
const getcurrentPage = () => {