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; }