调度中心日志详情

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 duration: string
status: number status: number
createTime: string createTime: string
result: string
} }
// 任务日志列表 // 任务日志列表

View File

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