修改时间格式显示,添加shell运行错误状态

This commit is contained in:
junleea 2025-08-03 17:37:07 +08:00
parent 8c4f04d821
commit b5073c1948
1 changed files with 20 additions and 1 deletions

View File

@ -638,7 +638,26 @@ export default {
type="danger" type="danger"
>执行出错</el-tag> >执行出错</el-tag>
</template> </template>
</el-table-column>
<el-table-column
prop="ShellRuntime"
label="Shell运行时间(秒)"
width="50"
>
<template #default="scope">
<!-- 转为秒两位小数-->
{{ Math.ceil(scope.row.ShellDuration) }}
</template>
</el-table-column>
<el-table-column
prop="ShellDuration"
label="任务持续时间(秒)"
width="50"
>
<template #default="scope">
<!-- 转为秒两位小数-->
{{ Math.ceil(scope.row.ShellDuration) }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column