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

View File

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