diff --git a/src/frontend/devops-pipeline/src/components/ExecDetail/Artifactory.vue b/src/frontend/devops-pipeline/src/components/ExecDetail/Artifactory.vue index 5ef98f92dbd..894f9aa1aed 100644 --- a/src/frontend/devops-pipeline/src/components/ExecDetail/Artifactory.vue +++ b/src/frontend/devops-pipeline/src/components/ExecDetail/Artifactory.vue @@ -25,18 +25,37 @@ - - + + + - + + @@ -109,7 +128,10 @@ this.artifactories = res.records.map((item) => ({ ...item, - icon: item.folder ? 'folder' : extForFile(item.name) + icon: item.folder ? 'folder' : extForFile(item.name), + size: item.folder ? this.sizeFormatter(this.getFolderSize(item)) : this.sizeFormatter(item.size), + disabled: item.folder && this.sizeFormatter(this.getFolderSize(item)).includes('GB') && this.sizeFormatter(this.getFolderSize(item)).split(' ')[0] > 10, + disabledTips: this.$t('downloadDisabledTips') })) || [] this.hasPermission = permission if (this.artifactories.length <= 0) { diff --git a/src/frontend/devops-pipeline/src/components/Outputs/index.vue b/src/frontend/devops-pipeline/src/components/Outputs/index.vue index 1395955169f..c86ade6eef8 100644 --- a/src/frontend/devops-pipeline/src/components/Outputs/index.vue +++ b/src/frontend/devops-pipeline/src/components/Outputs/index.vue @@ -39,6 +39,7 @@ />