v1.4 版本发布,修复bug、优化细节、新增定时任务管理,详细信息查看发行版说明

This commit is contained in:
郑杰
2019-01-08 17:01:08 +08:00
parent ff0c36b5d4
commit 7afe6a2129
25 changed files with 522 additions and 8435 deletions

View File

@@ -24,7 +24,7 @@
</el-table-column>
<el-table-column prop="createTime" label="创建日期" width="180px">
<template slot-scope="scope">
<span>{{ time(scope.row.createTime) }}</span>
<span>{{ parseTime(scope.row.createTime) }}</span>
</template>
</el-table-column>
</el-table>
@@ -51,6 +51,7 @@ export default {
})
},
methods: {
parseTime,
beforeInit() {
this.url = 'api/logs'
const sort = 'id,desc'
@@ -61,9 +62,6 @@ export default {
if (username && username) { this.params['username'] = username }
if (logType !== '' && logType !== null) { this.params['logType'] = logType }
return true
},
time(time) {
return parseTime(time)
}
}
}