From 574ef73c1c48118d780fad527be8c346054508ad Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期三, 14 十二月 2022 17:39:23 +0800
Subject: [PATCH] 地图样式修改

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

diff --git a/src/views/operate/myWait/index.vue b/src/views/operate/myWait/index.vue
index 75bcda1..4258e03 100644
--- a/src/views/operate/myWait/index.vue
+++ b/src/views/operate/myWait/index.vue
@@ -60,7 +60,7 @@
         <!-- 鏌ョ湅淇敼椤甸潰 -->
         <el-dialog
           :visible.sync="dialogUpdate"
-          width="80%"
+          width="60%"
           :title="title"
           :destroy-on-close="true"
           :key="updateFlag"
@@ -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