mirror of
https://github.com/crawlab-team/crawlab.git
synced 2026-01-21 17:21:09 +01:00
* 更新Dockerfile构建文件,升级NodeJS依赖版本。 * 遵循ESLint重新格式化代码,修复部分警告 * 登录Token失效增加登出提示 * 网络请求问题增加错误错误提示 * 升级UI依赖库
41 lines
894 B
Vue
41 lines
894 B
Vue
<template>
|
|
<div class="legend">
|
|
<el-tag type="primary" size="small">
|
|
<i class="el-icon-loading" />
|
|
{{ $t('Pending') }}
|
|
</el-tag>
|
|
<el-tag type="warning" size="small">
|
|
<i class="el-icon-loading" />
|
|
{{ $t('Running') }}
|
|
</el-tag>
|
|
<el-tag type="success" size="small">
|
|
<i class="el-icon-check" />
|
|
{{ $t('Finished') }}
|
|
</el-tag>
|
|
<el-tag type="danger" size="small">
|
|
<i class="el-icon-error" />
|
|
{{ $t('Error') }}
|
|
</el-tag>
|
|
<el-tag type="info" size="small">
|
|
<i class="el-icon-video-pause" />
|
|
{{ $t('Cancelled') }}
|
|
</el-tag>
|
|
<el-tag type="danger" size="small">
|
|
<i class="el-icon-warning" />
|
|
{{ $t('Abnormal') }}
|
|
</el-tag>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'StatusLegend'
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.legend .el-tag {
|
|
margin-right: 5px;
|
|
}
|
|
</style>
|