修改时间格式显示,添加shell运行错误状态
This commit is contained in:
parent
8c4f04d821
commit
b5073c1948
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue