From cf9fcbf83a424decedf4f3ac6c31c8f4eaa08c3f Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Thu, 13 Apr 2023 21:12:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=B8=8D=E5=85=81=E8=AE=B8?= =?UTF-8?q?=E9=9D=9E=E7=AE=A1=E7=90=86=E5=91=98=E7=A7=BB=E5=8A=A8=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/repository/RepositoryList.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue index 8e29130..aa52c36 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue @@ -1107,7 +1107,7 @@ this.$message({message: '文件夹不可进行移动操作!!',type: 'warning'}); return; } - if (this.singleSelectedRepository.isPublish == true) { + if (this.singleSelectedRepository.isPublish == true && "admin" != this.crrentUserId) { this.$message({message: '当前文件已处于发布状态,不可进行移动文件操作!!', type: 'warning'}); return; } @@ -1127,7 +1127,7 @@ return; } if(this.checkedRepositorys[i].versionStatus!=""){ - if(this.checkedRepositorys[i].versionStatus.isPublish==true){ + if(this.checkedRepositorys[i].versionStatus.isPublish==true && "admin" != this.crrentUserId){ this.$message({message: '当前文件已处于发布状态,不可进行移动文件操作!!',type: 'warning'}); return; }