From cc512dff1a5d7e45a2c2b628fcd45019ed3b5c0e Mon Sep 17 00:00:00 2001
From: wl <173@qq.com>
Date: 星期五, 06 一月 2023 15:24:23 +0800
Subject: [PATCH] fix: 修复发送消息按钮不能点击
---
src/views/systemSetting/baseSetting/user/components/main/index.vue | 64 +++++++-------------------------
1 files changed, 14 insertions(+), 50 deletions(-)
diff --git a/src/views/systemSetting/baseSetting/user/components/main/index.vue b/src/views/systemSetting/baseSetting/user/components/main/index.vue
index fbb6ce5..1629e32 100644
--- a/src/views/systemSetting/baseSetting/user/components/main/index.vue
+++ b/src/views/systemSetting/baseSetting/user/components/main/index.vue
@@ -5,9 +5,7 @@
<el-table
ref="multipleTable"
:header-cell-style="{
- background: '#06122c',
- 'font-size': '12px',
- color: '#4b9bb7',
+ 'font-size': '14px',
'font-weight': '650',
'line-height': '45px',
}"
@@ -72,6 +70,10 @@
<span @click="handleChangeRole(scope.row, 'depart')"
>淇敼閮ㄩ棬</span
>
+ <span class="line">|</span>
+ <span @click="handleChangeStatus(scope.row)">{{
+ scope.row.status === true ? "鍋滅敤" : "鍚敤"
+ }}</span>
</div>
</template>
</el-table-column>
@@ -380,10 +382,11 @@
// 淇敼鐢ㄦ埛鐘舵��
handleChangeStatus(obj) {
let { id, status } = obj;
- status == true ? (status = 1) : (status = 0);
+ status == true ? (status = 0) : (status = 1);
this.$axios
.post(`sccg/admin/updateStatus/` + id + "?status=" + status)
.then((res) => {
+ this.getUserList();
});
},
// 鑾峰彇鐢ㄦ埛鍒楄〃
@@ -476,7 +479,7 @@
</script>
<style lang="scss" scoped>
main {
- background-color: #09152f;
+ // background-color: #09152f;
margin-top: 20px;
padding-bottom: 50px;
border: 1pox solid #fff;
@@ -494,7 +497,7 @@
.funs {
display: flex;
.funs-sp {
- border: 1px solid #17324c;
+ // border: 1px solid #17324c;
}
.funsItem {
line-height: 28px;
@@ -513,18 +516,7 @@
width: 120px;
}
- &::v-deep .el-input__inner {
- border: none;
- background-color: #09152f;
- }
-
- &:hover {
- border: 1px solid #4b9bb7;
- }
-
- &:hover .el-checkbox {
- color: #4b9bb7;
- }
+
}
}
@@ -538,8 +530,8 @@
&::v-deep li,
&::v-deep .btn-prev,
&::v-deep .btn-next {
- background-color: #071f39;
- color: #4b9bb7;
+ // background-color: #071f39;
+ // color: #4b9bb7;
}
&::v-deep .active {
@@ -551,8 +543,8 @@
}
.el-table {
- color: #4b9bb7;
- font-size: 10px;
+ // color: #4b9bb7;
+ // font-size: 10px;
.operation {
display: flex;
font-size: 10px;
@@ -565,33 +557,5 @@
}
}
}
- // &::v-deep .switchStyle .el-switch__label {
- // position: absolute;
- // display: none;
- // color: #fff;
- // }
-
- // &::v-deep .el-switch__core {
- // background-color: rgba(166, 166, 166, 1);
- // }
-
- // &::v-deep .switchStyle .el-switch__label--left {
- // z-index: 9;
- // left: 20px;
- // }
-
- // &::v-deep .switchStyle .el-switch__label--right {
- // z-index: 9;
- // left: 4px;
- // }
-
- // &::v-deep .switchStyle .el-switch__label.is-active {
- // display: block;
- // }
-
- // &::v-deep .switchStyle.el-switch .el-switch__core,
- // &::v-deep .el-switch .el-switch__label {
- // width: 56px !important;
- // }
}
</style>
\ No newline at end of file
--
Gitblit v1.8.0