From 426c8b34e6c0a6f97de69864c537cf5e0d7dbb08 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 15 十二月 2022 18:13:34 +0800
Subject: [PATCH] 2022-12-15 趋势分析 地图位置 ,弹窗修改
---
src/views/operate/myWait/index.vue | 13 +++++++------
1 files changed, 7 insertions(+), 6 deletions(-)
diff --git a/src/views/operate/myWait/index.vue b/src/views/operate/myWait/index.vue
index 52ba065..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"
@@ -68,6 +68,7 @@
>
<component
v-if="dialogUpdate"
+ @closeDialog="changeDialog"
@changeDialog="changeDialog"
v-bind:is="currentTabComponent"
:caseId="caseId"
@@ -170,7 +171,7 @@
dialogUpdate: false,
updateFlag: false,
userInfo: "",
- totalNum: null,
+ totalNum: 1,
pageSize: 10,
currentPage: 1,
all: false,
@@ -205,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 }));
},
@@ -566,7 +568,6 @@
&::v-deep .el-dialog__close {
width: 20px;
height: 20px;
- // color: #fff;
}
&::v-deep .el-dialog__body {
--
Gitblit v1.8.0