Commit ac9c46bc authored by 罗林杰's avatar 罗林杰

修改定时任务日志

parent 72af9683
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
style="width: 150px" style="width: 150px"
/> />
</el-form-item> </el-form-item>
<el-form-item label="任务执行时间"> <el-form-item label="创建时间">
<el-date-picker <el-date-picker
v-model="dateRange" v-model="dateRange"
size="small" size="small"
...@@ -60,7 +60,12 @@ ...@@ -60,7 +60,12 @@
</el-table-column> </el-table-column>
<el-table-column label="任务执行时间" prop="taskTime" :show-overflow-tooltip="true"> <el-table-column label="任务执行时间" prop="taskTime" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<span>{{ scope.row.taskTime | transformDateByFormat('YYYY-MM-DD') }}</span> {{ scope.row.taskTime || '-' }}
</template>
</el-table-column>
<el-table-column label="创建时间" prop="createDate" :show-overflow-tooltip="true">
<template slot-scope="scope">
<span>{{ scope.row.createDate | transformDateByFormat('YYYY-MM-DD HH:mm:ss') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="执行情况" prop="taskState" :show-overflow-tooltip="true"> <el-table-column label="执行情况" prop="taskState" :show-overflow-tooltip="true">
...@@ -140,7 +145,7 @@ export default { ...@@ -140,7 +145,7 @@ export default {
this.loading = true this.loading = true
listSysScheduledTaskLog(this.addDateRange(this.queryParams, this.dateRange)).then( listSysScheduledTaskLog(this.addDateRange(this.queryParams, this.dateRange)).then(
response => { response => {
this.sysScheduledTaskLogList = response.rows this.sysScheduledTaskLogList = response.data
this.total = response.total this.total = response.total
this.loading = false this.loading = false
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment