From 3fe6be8e6eeae41fcfabc5876cac2fddd1c860f0 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期四, 21 一月 2021 11:41:07 +0800
Subject: [PATCH] 朔黄首页数据统计分析tab静态页完善

---
 src/pages/library/components/personList.vue |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/pages/library/components/personList.vue b/src/pages/library/components/personList.vue
index 073c8a1..697ca59 100644
--- a/src/pages/library/components/personList.vue
+++ b/src/pages/library/components/personList.vue
@@ -175,10 +175,13 @@
     </div>
     <div class="pt5" style="height:40px;position:relative">
       <el-pagination
+        @size-change="handleSizeChange"
         @current-change="refrash"
         :current-page="BaseManageData.page"
         :page-size="BaseManageData.size"
+        :page-sizes="[10,20,50,100]"
         style="position:absolute;right:10px;bottom:5px"
+        layout="total,sizes,prev,pager,next,jumper"
         :total="BaseManageData.total"
       ></el-pagination>
     </div>
@@ -725,6 +728,11 @@
       this.BaseManageData.page = current;
       this.getPersonList();
     },
+    handleSizeChange(val){
+      //this.pageSize = val;
+      this.BaseManageData.size = val;
+      this.getPersonList();
+    },
     handleClick(row) {
       this.form = row;
       this.dialogFormVisible = true;

--
Gitblit v1.8.0