From 098d8690d2ddede82bb64e003fe0a0fda2c13b70 Mon Sep 17 00:00:00 2001
From: zhangtianqi <ztq17634040974@163.com>
Date: Wed, 21 Dec 2022 11:02:09 +0800
Subject: [PATCH] 第三方系统页面 分页count

---
 hg-monitor-web-base/src/main/resources/static/vue3/src/views/thirdSet/index.js | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/hg-monitor-web-base/src/main/resources/static/vue3/src/views/thirdSet/index.js b/hg-monitor-web-base/src/main/resources/static/vue3/src/views/thirdSet/index.js
index da9d6c5..26b5e1e 100644
--- a/hg-monitor-web-base/src/main/resources/static/vue3/src/views/thirdSet/index.js
+++ b/hg-monitor-web-base/src/main/resources/static/vue3/src/views/thirdSet/index.js
@@ -64,17 +64,28 @@ export default {
                 width: '170'
             }
         ])
+        let count = Vue.ref(0);
+        let page = Vue.ref(1);
+        let limit = Vue.ref(10);
 
 
         // 获取系统
         let getDetailList = () => {
-            proxy.$http.get(`/api-web/thirdParty/conf/list`, {keywords:keyword.value}, function (res) {
+            proxy.$http.get(`/api-web/thirdParty/conf/list`, {keywords:keyword.value,page:page.value,limit:limit.value}, function (res) {
                 if (res && res.success == true) {
+                    // console.log(res);
+                    count.value = res.count;
                     tableData.value = res.data;
                 }
             })
         };
 
+        let loadTableDataList = ({page, limit})=>{
+            page.value = page;
+            limit.value = limit;
+            getDetailList();
+        }
+
         let getUser = (arr) => {
             let types = arr.map(function (v) {
                 return v.username;
@@ -294,7 +305,9 @@ export default {
             userList,
             columns,
             handleClose,
-            docRulesForm
+            docRulesForm,
+            loadTableDataList,
+            count,
         }
     }
 }
--
libgit2 0.24.0