调度中心日志详情

This commit is contained in:
XinWei 2024-07-17 15:53:57 +08:00
parent bd9eb37b07
commit f4a21daa0e
2 changed files with 4 additions and 3 deletions

View File

@ -12,6 +12,7 @@ export interface JobLogVO {
duration: string
status: number
createTime: string
result: string
}
// 任务日志列表

View File

@ -1,5 +1,5 @@
<template>
<Dialog v-model="dialogVisible" title="任务详细" width="700px">
<Dialog v-model="dialogVisible" title="任务详细" width="900px">
<el-descriptions :column="1" border>
<el-descriptions-item label="日志编号" min-width="60">
{{ detailData.id }}
@ -25,8 +25,8 @@
<el-descriptions-item label="任务状态">
<dict-tag :type="DICT_TYPE.INFRA_JOB_LOG_STATUS" :value="detailData.status" />
</el-descriptions-item>
<el-descriptions-item label="执行结果">
{{ detailData.duration + ' result' }}
<el-descriptions-item label="执行结果" >
{{ detailData.result }}
</el-descriptions-item>
</el-descriptions>
</Dialog>