分页统一

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

View File

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

View File

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