From 485aef90f3240c06747d1e7bf6a0edfe4c2dbe0c Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期一, 13 二月 2023 16:31:10 +0800
Subject: [PATCH] 2023/2/13 肖辉 侧边栏处理
---
src/views/systemSetting/baseSetting/department/updateUser/index.vue | 19 ++++++++++++++++++-
1 files changed, 18 insertions(+), 1 deletions(-)
diff --git a/src/views/systemSetting/baseSetting/department/updateUser/index.vue b/src/views/systemSetting/baseSetting/department/updateUser/index.vue
index c5ab3b6..82bd250 100644
--- a/src/views/systemSetting/baseSetting/department/updateUser/index.vue
+++ b/src/views/systemSetting/baseSetting/department/updateUser/index.vue
@@ -39,6 +39,12 @@
<li class="li-btn" v-if="updateFlag">
<i class="el-icon-plus" @click="openUser = true"></i>
</li>
+ <li class="li-btn" v-if="updateFlag">
+ <el-tooltip class="item" effect="light" content="娓呴櫎閫変腑浜哄憳" placement="top" :enterable="false">
+ <i class="el-icon-minus" @click="clrarUser"></i>
+ </el-tooltip>
+
+ </li>
</ul>
<div class="card" v-if="openUser">
<el-card class="box-card">
@@ -201,6 +207,11 @@
}
});
},
+ // 娓呴櫎閫変腑鐢ㄦ埛
+ clrarUser(){
+ this.checkedList=[]
+ },
+
addUser() {
this.checkedList = [];
this.userList.forEach((item) => {
@@ -316,6 +327,12 @@
width: 36px;
height: 36px;
border-radius: 50%;
+ .el-icon-plus{
+ cursor: pointer;
+ }
+ .el-icon-minus{
+ cursor: pointer;
+ }
}
.card {
@@ -377,4 +394,4 @@
.el-input {
width: 280px !important;
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.8.0