From d14c8eb5cc9b3ca53a99b355e4a0539a68435928 Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期二, 03 一月 2023 09:51:29 +0800
Subject: [PATCH] fix: 栏目设置取消
---
src/views/operate/myWait/index.vue | 38 ++++++++++++++++++--------------------
1 files changed, 18 insertions(+), 20 deletions(-)
diff --git a/src/views/operate/myWait/index.vue b/src/views/operate/myWait/index.vue
index 52ba065..8e49ee7 100644
--- a/src/views/operate/myWait/index.vue
+++ b/src/views/operate/myWait/index.vue
@@ -18,9 +18,6 @@
<el-table
ref="multipleTable"
:header-cell-style="{
- background: '#06122c',
- 'font-size': '12px',
- color: '#4b9bb7',
'font-weight': '650',
'line-height': '45px',
}"
@@ -60,7 +57,7 @@
<!-- 鏌ョ湅淇敼椤甸潰 -->
<el-dialog
:visible.sync="dialogUpdate"
- width="80%"
+ width="60%"
:title="title"
:destroy-on-close="true"
:key="updateFlag"
@@ -68,6 +65,7 @@
>
<component
v-if="dialogUpdate"
+ @closeDialog="changeDialog"
@changeDialog="changeDialog"
v-bind:is="currentTabComponent"
:caseId="caseId"
@@ -170,7 +168,7 @@
dialogUpdate: false,
updateFlag: false,
userInfo: "",
- totalNum: null,
+ totalNum: 1,
pageSize: 10,
currentPage: 1,
all: false,
@@ -205,10 +203,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 }));
},
@@ -354,7 +353,7 @@
}
header {
- background-color: #09152f;
+ background-color: white;
.headerContent {
padding: 0 40px;
@@ -376,7 +375,7 @@
color: #1d3f57;
&::v-deep .el-input__inner {
- background-color: #09152f;
+ background-color: #fff;
border: 1px solid #17324c;
}
}
@@ -405,7 +404,7 @@
}
main {
- background-color: #09152f;
+ background-color: #fff;
margin-top: 20px;
padding-bottom: 50px;
@@ -442,7 +441,7 @@
&::v-deep .el-input__inner {
border: none;
- background-color: #09152f;
+ // background-color: #09152f;
}
&:hover {
@@ -465,7 +464,7 @@
&::v-deep li,
&::v-deep .btn-prev,
&::v-deep .btn-next {
- background-color: #071f39;
+ // background-color: #071f39;
color: #4b9bb7;
}
@@ -478,8 +477,8 @@
}
.el-table {
- color: #4b9bb7;
- font-size: 10px;
+ // color: #4b9bb7;
+ // font-size: 10px;
&::v-deep .cell {
text-overflow: ellipsis;
@@ -488,7 +487,7 @@
}
&::v-deep .el-table__empty-block {
- background-color: #09152f;
+ // background-color: #09152f;
}
&::v-deep .el-table__empty-block {
@@ -509,11 +508,11 @@
}
.el-table::v-deep .warning-row {
- background: #06122c;
+ // background: #06122c;
}
.el-table::v-deep .success-row {
- background: #071f39;
+ // background: #071f39;
}
&::v-deep .switchStyle .el-switch__label {
@@ -548,7 +547,7 @@
&::v-deep .el-dialog__header,
&::v-deep .el-dialog__body {
- background-color: #06122c;
+ // background-color: #06122c;
}
&::v-deep .el-dialog__header {
@@ -566,7 +565,6 @@
&::v-deep .el-dialog__close {
width: 20px;
height: 20px;
- // color: #fff;
}
&::v-deep .el-dialog__body {
--
Gitblit v1.8.0