diff --git a/frontend/src/components/InfoView/TaskInfoView.vue b/frontend/src/components/InfoView/TaskInfoView.vue index d55945b0..d4b55d68 100644 --- a/frontend/src/components/InfoView/TaskInfoView.vue +++ b/frontend/src/components/InfoView/TaskInfoView.vue @@ -17,9 +17,18 @@ style="margin-left:10px; cursor:pointer;" > + {{$t('Log with errors')}} + + + {{$t('Empty results')}} + diff --git a/frontend/src/components/Status/StatusTag.vue b/frontend/src/components/Status/StatusTag.vue index 1f4f0c89..befe2ab3 100644 --- a/frontend/src/components/Status/StatusTag.vue +++ b/frontend/src/components/Status/StatusTag.vue @@ -1,5 +1,6 @@ @@ -38,6 +39,16 @@ export default { return s.label } return 'NA' + }, + icon () { + if (this.status === 'finished') { + return 'el-icon-check' + } else if (this.status === 'running') { + return 'el-icon-loading' + } else if (this.status === 'error') { + return 'el-icon-error' + } + return '' } } } diff --git a/frontend/src/i18n/zh.js b/frontend/src/i18n/zh.js index 5dbf2919..419fcd9d 100644 --- a/frontend/src/i18n/zh.js +++ b/frontend/src/i18n/zh.js @@ -213,6 +213,7 @@ export default { 'Updating log...': '正在更新日志...', 'Error Count': '错误数', 'Log with errors': '日志错误', + 'Empty results': '空结果', // 任务列表 'Node': '节点',