This commit is contained in:
Captain.B 2020-04-13 10:28:00 +08:00
parent 45f4ac0193
commit 336b6c4af6
2 changed files with 11 additions and 2 deletions

View File

@ -53,6 +53,9 @@
<el-tag size="mini" type="success" v-else-if="row.status === 'Running'">
{{ row.status }}
</el-tag>
<el-tag size="mini" type="info" v-else-if="row.status === 'Completed'">
{{ row.status }}
</el-tag>
<el-tooltip placement="top" v-else-if="row.status === 'Error'" effect="light">
<template v-slot:content>
<div>{{row.description}}</div>
@ -61,9 +64,9 @@
{{ row.status }}
</el-tag>
</el-tooltip>
<el-tag size="mini" type="info" v-else>
<span v-else>
{{ row.status }}
</el-tag>
</span>
</template>
</el-table-column>
<el-table-column

View File

@ -52,6 +52,9 @@
<el-tag size="mini" type="success" v-else-if="row.status === 'Running'">
{{ row.status }}
</el-tag>
<el-tag size="mini" type="info" v-else-if="row.status === 'Completed'">
{{ row.status }}
</el-tag>
<el-tooltip placement="top" v-else-if="row.status === 'Error'" effect="light">
<template v-slot:content>
<div>{{row.description}}</div>
@ -60,6 +63,9 @@
{{ row.status }}
</el-tag>
</el-tooltip>
<span v-else>
{{ row.status }}
</span>
</template>
</el-table-column>
<el-table-column