修改shelllist状态提示

This commit is contained in:
junleea 2025-07-29 19:49:37 +08:00
parent 7a24b3efc2
commit 759b24fe43
1 changed files with 19 additions and 2 deletions

View File

@ -601,8 +601,25 @@ export default {
<el-table-column
prop="Status"
label="状态"
width="40"
></el-table-column>
width="100"
>
<template #default="scope">
<el-tag
v-if="scope.row.Status === 0"
>任务提交</el-tag
>
<el-tag
v-if="scope.row.Status === 1"
type="info"
>正在运行</el-tag>
<el-tag
v-if="scope.row.Status === 2"
type="success"
>已完成</el-tag>
</template>
</el-table-column>
<el-table-column
prop="Server"
label="服务器"