诊断模版增加分页
This commit is contained in:
parent
6004d64e1b
commit
951b42fc05
@ -119,6 +119,13 @@
|
|||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
<!-- 分页 -->
|
||||||
|
<Pagination
|
||||||
|
:total="total"
|
||||||
|
v-model:page="queryParams.pageNo"
|
||||||
|
v-model:limit="queryParams.pageSize"
|
||||||
|
@pagination="getList"
|
||||||
|
/>
|
||||||
</ContentWrap>
|
</ContentWrap>
|
||||||
|
|
||||||
<!-- 表单弹窗:添加/修改 -->
|
<!-- 表单弹窗:添加/修改 -->
|
||||||
@ -142,7 +149,7 @@ const total = ref(0) // 列表的总页数
|
|||||||
const categoryOptions = ref<any[]>([]) // 类别选项
|
const categoryOptions = ref<any[]>([]) // 类别选项
|
||||||
const queryParams = reactive({
|
const queryParams = reactive({
|
||||||
pageNo: 1,
|
pageNo: 1,
|
||||||
pageSize: 10,
|
pageSize: 50,
|
||||||
id: undefined,
|
id: undefined,
|
||||||
type: undefined,
|
type: undefined,
|
||||||
status: undefined,
|
status: undefined,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user