diff --git a/src/components/customField/AddForm.vue b/src/components/customField/AddForm.vue index 5ea1d9d..7983bdf 100644 --- a/src/components/customField/AddForm.vue +++ b/src/components/customField/AddForm.vue @@ -380,12 +380,8 @@ export default { }, fileIsDownload () { // 文件是否可下载 if (Object.keys(this.filePerm).includes(this.uploadName)) { - // 系统管理员可下载 - if (this.isSystemAdmin) { - return true - } else { - return false - } + // 需要特殊判断的字段不可下载 + return false } else { // 不是需要特殊判断的字段正常可下载 return true diff --git a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue index d910210..8416de8 100644 --- a/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue +++ b/src/views/enterpriseStandardLibrary/standard/detail/EnterpriseStandardDetail.vue @@ -218,12 +218,8 @@ export default { methods: { fileIsDownload (fieldName) { // 文件是否可下载 if (Object.keys(this.filePerm).includes(fieldName)) { - // 系统管理员可下载 - if (this.isSystemAdmin) { - return true - } else { - return false - } + // 需要特殊判断的字段不可下载 + return false } else { // 不是需要特殊判断的字段正常可下载 return true