浏览代码

核酸检测结果每页显示条数更改

lighter 2 年之前
父节点
当前提交
a3044f5a93
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/examination/CovidExamResult.vue

+ 2 - 2
src/views/examination/CovidExamResult.vue

@@ -29,7 +29,7 @@
       <el-pagination
           :current-page="currentPage"
           :page-size="pageSize"
-          :page-sizes="[15, 30, 45, 70, 100]"
+          :page-sizes="[50, 100, 500, 1000, 5000, 10000]"
           :total="totalSize"
           layout="total, sizes, prev, pager, next, jumper"
           style="margin-top: 5px"
@@ -64,7 +64,7 @@ export default {
     const totalSize = ref(0)
     const list = ref([])
 
-    const pageSize = ref(30)
+    const pageSize = ref(50)
     const currentPage = ref(1)
     const handleSizeChange = (val) => {
       pageSize.value = val