fix: style
This commit is contained in:
parent
2ebcb72215
commit
4d4f8841dc
@ -18,19 +18,25 @@
|
|||||||
<div style="width: 100%; height: 600px">
|
<div style="width: 100%; height: 600px">
|
||||||
<el-auto-resizer>
|
<el-auto-resizer>
|
||||||
<template #default="{ height, width }">
|
<template #default="{ height, width }">
|
||||||
<el-table-v2 :columns="columns" :data="tableData" :width="width" :height="height" fixed />
|
<el-table-v2
|
||||||
|
:columns="columns"
|
||||||
|
:data="tableData"
|
||||||
|
:width="width"
|
||||||
|
:height="height - 50"
|
||||||
|
fixed
|
||||||
|
/>
|
||||||
</template>
|
</template>
|
||||||
</el-auto-resizer>
|
</el-auto-resizer>
|
||||||
<div class="mt-2">
|
</div>
|
||||||
<el-pagination
|
<div class="mt-2">
|
||||||
:current-page="queryParms.pageNo"
|
<el-pagination
|
||||||
:page-size="queryParms.pageSize"
|
:current-page="queryParms.pageNo"
|
||||||
layout="total, prev, pager, next"
|
:page-size="queryParms.pageSize"
|
||||||
:total="tableTotal"
|
layout="total, prev, pager, next"
|
||||||
@size-change="getList"
|
:total="tableTotal"
|
||||||
@current-change="getList"
|
@size-change="getList"
|
||||||
/>
|
@current-change="getList"
|
||||||
</div>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</ContentWrap>
|
</ContentWrap>
|
||||||
</template>
|
</template>
|
||||||
@ -122,7 +128,7 @@ const queryParms = reactive({
|
|||||||
title: '',
|
title: '',
|
||||||
status: undefined,
|
status: undefined,
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10
|
pageSize: 100
|
||||||
})
|
})
|
||||||
|
|
||||||
const getList = async () => {
|
const getList = async () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user