From d49ffb6b38604f6a7ad777f9df8a83c6c8ee1f4f Mon Sep 17 00:00:00 2001 From: kim131 <1035828775@qq.com> Date: Thu, 5 Nov 2020 17:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=96=E6=B6=88=E6=96=87=E4=BB=B6=E5=8D=8F?= =?UTF-8?q?=E5=90=8C=20=E4=BB=A5=E5=8F=8A=E5=88=A4=E6=96=AD=E5=B7=A5?= =?UTF-8?q?=E4=BD=9C=E4=B8=AD=E9=83=A8=E5=88=86=E4=BB=A3=E7=A0=81=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components_web/distWork/distWork.vue | 22 +++++++-------- src/views/main_web/workspace/workspace.vue | 28 +++++++++---------- 2 files changed, 25 insertions(+), 25 deletions(-) diff --git a/src/views/components_web/distWork/distWork.vue b/src/views/components_web/distWork/distWork.vue index b58c92ee..edb959b8 100644 --- a/src/views/components_web/distWork/distWork.vue +++ b/src/views/components_web/distWork/distWork.vue @@ -1133,17 +1133,17 @@ export default { handleCheckedOne(topIndex, user, e) { if(!this.isShowManager) { - // if(user.userID == sessionStorage.userId) - // { - // this.$notify.info({ - // title: "温馨提示", - // message: "不能移除自己哦", - // offset: 100, - // duration: 5000 - // }); - // user.selected=true; - // return; - // } + if(user.id == sessionStorage.userId) + { + this.$notify.info({ + title: "温馨提示", + message: "不能移除自己哦", + offset: 100, + duration: 5000 + }); + user.selected=true; + return; + } if(user.id == this.currUser.accountId) { this.$notify.info({ diff --git a/src/views/main_web/workspace/workspace.vue b/src/views/main_web/workspace/workspace.vue index 7df3d036..0102b816 100644 --- a/src/views/main_web/workspace/workspace.vue +++ b/src/views/main_web/workspace/workspace.vue @@ -538,7 +538,7 @@