From 085fa2fb257e9f11f8f6d34bf12e2dc281c36b4d Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期四, 09 二月 2023 11:28:21 +0800
Subject: [PATCH] 2023/2/9 肖辉 修改部门管理
---
src/views/operate/myWait/index.vue | 60 ++++++++++++++++++++++++++++++++----------------------------
1 files changed, 32 insertions(+), 28 deletions(-)
diff --git a/src/views/operate/myWait/index.vue b/src/views/operate/myWait/index.vue
index d970add..b6bdec3 100644
--- a/src/views/operate/myWait/index.vue
+++ b/src/views/operate/myWait/index.vue
@@ -16,11 +16,11 @@
<div class="mainContent">
<!-- 鏁版嵁灞曠ず -->
<el-table
+ border
+ stripe
ref="multipleTable"
:header-cell-style="{
- background: '#06122c',
- 'font-size': '12px',
- color: '#4b9bb7',
+ background: '#F5F5F5',
'font-weight': '650',
'line-height': '45px',
}"
@@ -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,15 @@
methods: {
getTableData() {
myWait
- .getMybackLog({ num: this.context, current: this.currentPage, pageSize: this.pageSize })
- .then(({ records }) => {
+ .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 }));
},
@@ -347,18 +352,18 @@
<style lang="scss" scoped>
.userList {
text-align: left;
- margin: 10px 20px;
+ padding: 10px 20px;
color: #4b9bb7;
-
+ border: 1px solid #ccc;
.headerTitle {
line-height: 40px;
}
header {
- background-color: #09152f;
+ background-color: white;
.headerContent {
- padding: 0 40px;
+ padding: 0;
display: flex;
line-height: 100px;
justify-content: space-between;
@@ -377,8 +382,8 @@
color: #1d3f57;
&::v-deep .el-input__inner {
- background-color: #09152f;
- border: 1px solid #17324c;
+ background-color: #fff;
+ //border: 1px solid #17324c;
}
}
}
@@ -392,7 +397,7 @@
.el-button {
padding: 12px 25px;
- border-radius: 20px;
+ //border-radius: 20px;
}
}
@@ -406,7 +411,7 @@
}
main {
- background-color: #09152f;
+ background-color: #fff;
margin-top: 20px;
padding-bottom: 50px;
@@ -427,7 +432,7 @@
line-height: 28px;
display: flex;
align-items: center;
- border: 1px solid #17324c;
+ border: 1px solid #dcdfe6;
border-radius: 4px;
font-size: 12px;
margin-left: 10px;
@@ -443,7 +448,7 @@
&::v-deep .el-input__inner {
border: none;
- background-color: #09152f;
+ // background-color: #09152f;
}
&:hover {
@@ -466,7 +471,7 @@
&::v-deep li,
&::v-deep .btn-prev,
&::v-deep .btn-next {
- background-color: #071f39;
+ // background-color: #071f39;
color: #4b9bb7;
}
@@ -479,8 +484,8 @@
}
.el-table {
- color: #4b9bb7;
- font-size: 10px;
+ // color: #4b9bb7;
+ // font-size: 10px;
&::v-deep .cell {
text-overflow: ellipsis;
@@ -489,7 +494,7 @@
}
&::v-deep .el-table__empty-block {
- background-color: #09152f;
+ // background-color: #09152f;
}
&::v-deep .el-table__empty-block {
@@ -498,11 +503,11 @@
.operation {
display: flex;
-
+ color: var(--operation-color);
.line {
padding: 0 5px;
}
-
+ color: var(--operation-color);
span:hover {
cursor: pointer;
}
@@ -510,11 +515,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 {
@@ -549,7 +554,7 @@
&::v-deep .el-dialog__header,
&::v-deep .el-dialog__body {
- background-color: #06122c;
+ // background-color: #06122c;
}
&::v-deep .el-dialog__header {
@@ -567,11 +572,10 @@
&::v-deep .el-dialog__close {
width: 20px;
height: 20px;
- // color: #fff;
}
&::v-deep .el-dialog__body {
padding: 0;
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0