From b3972e244faaf10afd5dc02f126331a34c8661fb Mon Sep 17 00:00:00 2001
From: fangyuan <527392886@qq.com>
Date: 星期一, 12 十二月 2022 10:42:32 +0800
Subject: [PATCH] 案件池,调度管理批量操作修改

---
 src/views/operate/myWait/index.vue |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/views/operate/myWait/index.vue b/src/views/operate/myWait/index.vue
index 75bcda1..67f3ad1 100644
--- a/src/views/operate/myWait/index.vue
+++ b/src/views/operate/myWait/index.vue
@@ -171,7 +171,7 @@
       dialogUpdate: false,
       updateFlag: false,
       userInfo: "",
-      totalNum: null,
+      totalNum: 1,
       pageSize: 10,
       currentPage: 1,
       all: false,
@@ -206,10 +206,11 @@
   methods: {
     getTableData() {
       myWait
-        .getMybackLog({ num: this.context })
-        .then((res) => {
-          this.tableData = res;
+        .getMybackLog({ num: this.context, current: this.currentPage, pageSize: this.pageSize })
+        .then(({ records, total }) => {
+          this.tableData = records;
           this.tableData = this.tableData.filter((item) => !!item);
+          this.totalNum = total;
         })
         .catch((err) => this.$message({ type: "error", message: err }));
     },
@@ -567,7 +568,6 @@
   &::v-deep .el-dialog__close {
     width: 20px;
     height: 20px;
-    // color: #fff;
   }
 
   &::v-deep .el-dialog__body {

--
Gitblit v1.8.0