This commit is contained in:
闫世杰 2024-08-01 17:29:17 +08:00
parent 1eed49a4b1
commit 1b28b43df1
1 changed files with 11 additions and 6 deletions

View File

@ -131,9 +131,9 @@
<el-table-column prop="sum" label="使用金额" width="115" align="center" /> <el-table-column prop="sum" label="使用金额" width="115" align="center" />
<el-table-column prop="sum" label="详情" width="135" align="center" /> <el-table-column prop="sum" label="详情" width="135" align="center" />
</el-table> </el-table>
<el-pagination background layout="prev, pager, next" :page-size="pagination.pageSize" <el-pagination background layout="prev, pager, next" :page-size="pagination1.pageSize"
:total="pagination.total" prev-text="上一页" next-text="下一页" :total="pagination1.total" prev-text="上一页" next-text="下一页"
v-model:current-page="pagination.currentPage" @current-change="handlePagination" /> v-model:current-page="pagination1.currentPage" @current-change="handlePagination" />
</div> </div>
</div> </div>
@ -205,7 +205,12 @@ const data1 = ref([
info: '人民医院******' info: '人民医院******'
}, },
]) ])
const pagination1 = reactive({
current: 1,
pageSize: 5,
total: 50,
showTotal: 0
})
const dialogShow = ref(false) const dialogShow = ref(false)
const tableType = reactive({ const tableType = reactive({
title: '基础养老金', title: '基础养老金',
@ -234,10 +239,10 @@ const paginationDialog = reactive({
showTotal: 0 showTotal: 0
}) })
const close = (pagination) => { const close = (pagination) => {
console.log dialogShow.value = false
} }
const handlePagination = (pagination) => { const handlePagination = (pagination) => {
console.log dialogShow.value = false
} }
</script> </script>